Search found 63 matches

by doglike
Tue Oct 13, 2020 9:29 am
Forum: ESP-IDF
Topic: wifi task on core0 influences precessing speed of core1 tasks
Replies: 3
Views: 3712

wifi task on core0 influences precessing speed of core1 tasks

Hi, I have following situation (see comment in code section). Anybody an idea, why the processing of a http-request from a client (wifi_handler on core0) influences the task processing speed on core1 ? I thought the cores are working independently... Or is SPI the problem here? I have to stop the wi...
by doglike
Tue Aug 11, 2020 8:05 am
Forum: ESP-IDF
Topic: Best possible code optimization for speed
Replies: 4
Views: 5164

Re: Best possible code optimization for speed

O2 optimization level is also set. Then I've done almost everything that is possible... :)
Thanks!
by doglike
Mon Aug 10, 2020 12:56 pm
Forum: ESP-IDF
Topic: Best possible code optimization for speed
Replies: 4
Views: 5164

Re: Best possible code optimization for speed

Hi, Task_1ms() is running with highest prio and there are also some other tasks on that core. So with the delay I free up cpu recource for the other tasks. I want speed up the calc time of Task_1ms(), so that the other tasks have as much cpu time as possible within this 1ms steps. The ipol_routine()...
by doglike
Fri Aug 07, 2020 2:19 pm
Forum: ESP-IDF
Topic: Best possible code optimization for speed
Replies: 4
Views: 5164

Best possible code optimization for speed

Hi, I am running a quite complex math. interpolation routine within a cyclic 1ms Freertos task. I want to run that piece of code as fast as it is possible, because of the high-frequent 1ms calls What I did until now is to put the ipol_routine() to IRAM. Are there any other suggestions or possibiliti...
by doglike
Tue Jun 30, 2020 10:08 pm
Forum: ESP-IDF
Topic: Deactivate UART completely
Replies: 1
Views: 2213

Deactivate UART completely

Hi, I would like to have my esp32 pcb manufactured and make the first flash myself. All other flashes only happen OTA. So for security reasons I want to deactivate UART completely with die firmware, that will be flashed @ first flash. Can you guys give me a hint, how I can do this? Thanks in advance...
by doglike
Tue Jun 16, 2020 7:39 am
Forum: General Discussion
Topic: CAN-Bus API multiple filter configuration
Replies: 6
Views: 10745

Re: CAN-Bus API multiple filter configuration

To be honest, after reading posts like this + the docs several time, I still didn't understand how to set the filter correctly :oops: I have this code snipped from an example with the comment, that this is a no-filter-config. void can_setRxFilter(void) { CAN_filter = { Single_Mode, 0, 0, 0, 0, 0xFF,...
by doglike
Mon Mar 16, 2020 9:32 am
Forum: ESP-IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 16739

Re: Wear levelling FATFS performance really slow even for reading?

Important hint:
You have to make sure that there is always only one process/task that is accessing LittleFs at the same time.
Otherwise you will get error-codes, malfunction or even a complete crash.

SPIFFS and FFat are more robust in that cases.
by doglike
Thu Mar 12, 2020 8:09 am
Forum: ESP-IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 16739

Re: Wear levelling FATFS performance really slow even for reading?

OK fine. I could get it running yesterday and it looks good :) I am using this implementation, because of a very nice esp_spiffs_xxx like API: https://github.com/joltwallet/esp_littlefs First tests: - writing 60kB file in 600ms :) (SPIFFS=800ms, FFAT=9sec) Thanks for that, vonnieda @ESP team: Is the...
by doglike
Thu Mar 12, 2020 8:01 am
Forum: ESP-IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 8348

Re: anyone using Ubuntu under Windows 10?

No issues at all. Just passthrough the connected USB port to Virtualbox, that's it.