Search found 33 matches

by doglike
Tue Aug 11, 2020 8:05 am
Forum: ESP32 IDF
Topic: Best possible code optimization for speed
Replies: 4
Views: 215

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: ESP32 IDF
Topic: Best possible code optimization for speed
Replies: 4
Views: 215

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: ESP32 IDF
Topic: Best possible code optimization for speed
Replies: 4
Views: 215

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: ESP32 IDF
Topic: Deactivate UART completely
Replies: 1
Views: 162

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: 3084

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: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 4531

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: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 4531

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: ESP32 IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 2003

Re: anyone using Ubuntu under Windows 10?

No issues at all. Just passthrough the connected USB port to Virtualbox, that's it.
by doglike
Wed Mar 11, 2020 1:27 pm
Forum: ESP32 IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 2003

Re: anyone using Ubuntu under Windows 10?

I am using Ubuntu with Virtualbox on a Win10 machine. Without any issues.
Dont forget to configure the number of CPU cores in Virtualbox to use full CPU power during build

Go to advanced search