Search found 46 matches

by srjasz
Fri Sep 13, 2024 1:58 pm
Forum: ESP-IDF
Topic: USB speed test
Replies: 6
Views: 2051

Re: USB speed test

The only thing the ESP32 was doing was sending USB, so yes, it was a very tight loop. The PC application that was doing the receiving was written by my colleague. He has a lot of experience with USB communication, especially in high speed industrial control applications. We were able to verify that ...
by srjasz
Wed Sep 11, 2024 2:04 pm
Forum: ESP-IDF
Topic: USB speed test
Replies: 6
Views: 2051

Re: USB speed test

I should have mentioned that this was transmitting only. The product I am designing will be transmitting continuous sensor data which is the critical path. It will only be receiving a small amount of configuration data at initialization so no simultaneous transmit and receive. I should have also men...
by srjasz
Tue Sep 10, 2024 6:38 pm
Forum: ESP-IDF
Topic: USB speed test
Replies: 6
Views: 2051

USB speed test

Just sharing the results of my USB speed tests. I am using s3 at 160Mhz. I found that the fastest speed possible was about 500K Bytes per second. That's in the area that I have been seeing form other peoples posts. To get that speed the RTOS spends about 40% of its time running the USB code, so not ...
by srjasz
Mon Jul 29, 2024 3:10 pm
Forum: ESP-IDF
Topic: IDF version incompatibility making trouble
Replies: 10
Views: 2522

Re: IDF version incompatibility making trouble

It's even worse than that. The installation done by the Online Installer is different than for the Offline Installer for the same version. Make sure you save the Offline Installer for each version you use as you may need it in the future.
by srjasz
Mon Jul 29, 2024 2:58 pm
Forum: ESP-IDF
Topic: How to get ESP-IDF v5.2 (not 5.2.2)
Replies: 4
Views: 1115

Re: How to get ESP-IDF v5.2 (not 5.2.2)

If you use the Universal Online Installer 2.27, the big green box at the top of https://dl.espressif.com/dl/esp-idf/ and follow the prompts, you will eventually get to a page in the installation that looks like this. espressif.PNG which will allow you to select 5.2. I have also had the online instal...
by srjasz
Fri Jul 26, 2024 5:48 pm
Forum: ESP-IDF
Topic: Build freezes
Replies: 1
Views: 1011

Build freezes

After several weeks of perfect, daily, use, I installed new idf version5.3. I am trying to build using both the command prompt and power shell. When I try to build, blink, hello_world, or sample_project, they all freeze during the build. I have tried a fullclean but get the same results. I don't get...
by srjasz
Thu Jul 18, 2024 6:18 pm
Forum: ESP-IDF
Topic: 9.6us delay in core 1 at rtos tick
Replies: 2
Views: 1021

Re: 9.6us delay in core 1 at rtos tick

Great, thanks.
by srjasz
Thu Jul 18, 2024 3:10 pm
Forum: ESP-IDF
Topic: 9.6us delay in core 1 at rtos tick
Replies: 2
Views: 1021

9.6us delay in core 1 at rtos tick

I am running a sensor acquisition and processing loop in a single task on core 1. It is the only task that I have created and runs in an infinite loop. There are three other tasks, IDLE, a timer, and an inter processor communication task that are created during FreeRTOS initialization but only one t...
by srjasz
Thu Jul 11, 2024 9:23 pm
Forum: ESP-IDF
Topic: app_main slows by 40% when a task is running on APP CPU
Replies: 10
Views: 3280

Re: app_main slows by 40% when a task is running on APP CPU

OK, getting close. I have found that the code running in the task on core 1 gets interrupted for 6.7us, every 10ms. It is the only task running on core 1 other than IDLE1 and ipc1. I don't know if it is every 10ms though. I assume that is the scheduler as 10ms is suspiciously similar to the tick tim...
by srjasz
Thu Jul 11, 2024 4:07 pm
Forum: ESP-IDF
Topic: app_main slows by 40% when a task is running on APP CPU
Replies: 10
Views: 3280

Re: app_main slows by 40% when a task is running on APP CPU

Thanks for the suggestion. I tried IRAM_ATTR and it is much much better, but based on the jitter is see on the scope, not quite the same as if the task that does nothing is not created. I went a step further and added code to the empty loop running on core 0 that does a I2C transfer which is a bit t...