Search found 12 matches

by Langelot
Fri Jul 15, 2022 8:12 am
Forum: ESP-IDF
Topic: ESP32-S3 USB speed
Replies: 2
Views: 3505

Re: ESP32-S3 USB speed

Thank you for your quick reply, it is very interesting to know what the theoretical max speed is. As you said I am still far from that. I guess that someone from Espressif did some speed tests for validation purposes, could you or this person share the code and kconfig so that people can start from ...
by Langelot
Thu Jul 14, 2022 3:14 pm
Forum: ESP-IDF
Topic: ESP32-S3 USB speed
Replies: 2
Views: 3505

ESP32-S3 USB speed

Hello everyone, I have just run some USB speed tests, for my system I need a TX speed of about 10 Mbits/s. I managed to get a speed of 4.25 Mbits/s. To reach this speed I set the CPU frequency to 240 MHz and the CDC FIFO size of TX channel to 20000 in menuconfig. I am sending 20000 bytes chunks of d...
by Langelot
Fri Oct 15, 2021 7:16 am
Forum: ESP32 Arduino
Topic: Is it possible to disable FreeRTOS ticks on core 1 with IDE Arduino ?
Replies: 0
Views: 1684

Is it possible to disable FreeRTOS ticks on core 1 with IDE Arduino ?

Hello everyone, Everything is into the subject. I have searched the internet for that and apparently it seems to be possible but no real solution was explained. I need to do this because I have time critical actions that can't be started by interrupts (too much latency) and that can't be handled by ...
by Langelot
Thu Sep 30, 2021 1:48 pm
Forum: ESP32 Arduino
Topic: Interrupts and cores: can I free one core of any interrupts?
Replies: 3
Views: 7626

Re: Interrupts and cores: can I free one core of any interrupts?

Hello ESP_Sprite, What you said is interesting and exactly what I need, I have the same issue. How can you do that? I have tried vTaskSuspendAll() on core 1 but there is still a few miroseconds interruption each millisecond. I searched the internet but I can't find how to do disable the ticks and th...
by Langelot
Thu Jun 24, 2021 4:03 pm
Forum: ESP32 Arduino
Topic: ESP32 Thing SparkFun RMT Pulse Generator 4 Channels Jitter 100ns
Replies: 4
Views: 7549

Re: ESP32 Thing SparkFun RMT Pulse Generator 4 Channels Jitter 100ns

Hello space2021, I have the same need as yours, I would like to create 2 RMT signals that start at the exact same time (or with a small and repetitive jitter). Did you found a way to solve this? Thank you.
by Langelot
Mon Jun 21, 2021 4:44 pm
Forum: ESP-IDF
Topic: RMT signals synchronization
Replies: 0
Views: 1441

RMT signals synchronization

Hello everyone, I am trying to generate 2 synchronized signals using the RMT peripheral (timings are critical). I managed to generate the signals properly and they are synchronized and looping forever, however I fail to have a known and repeatable phase shift between the signals. After the driver in...
by Langelot
Mon Jun 21, 2021 3:40 pm
Forum: ESP32 Arduino
Topic: I2S hack for data reading started by external signal
Replies: 6
Views: 5836

Re: I2S hack for data reading started by external signal

Ok, thank you for your help. For I have found up to now, RMT seems to be a possibility, but I have difficulties to synchronize the signals. I will start a new thread for these questions.
by Langelot
Fri Jun 18, 2021 3:29 pm
Forum: ESP32 Arduino
Topic: I2S hack for data reading started by external signal
Replies: 6
Views: 5836

Re: I2S hack for data reading started by external signal

In fact, at 500ksps the clock line needs to be stopped each 2us, it means that when the interrupt will start we will already be one cycle late. If we could keep the clock line active then yes I agree, its not a problem to loose a few samples, but the issue here is that this clock line must be interr...
by Langelot
Thu Jun 17, 2021 10:56 am
Forum: ESP32 Arduino
Topic: I2S hack for data reading started by external signal
Replies: 6
Views: 5836

Re: I2S hack for data reading started by external signal

Thank you for your reply! According the component datasheet, the clock signal must be interrupted when the ADC is busy in order to avoid clock pertubations when sampling. The clock signal is given by the ESP I2S peripheral not by the ADC. So it would mean interrupting this clock signal... In additio...
by Langelot
Wed Jun 16, 2021 2:43 pm
Forum: ESP32 Arduino
Topic: I2S hack for data reading started by external signal
Replies: 6
Views: 5836

I2S hack for data reading started by external signal

Hello everyone, I am trying to read an ADC at a high sampling rate (500ksps). The two available SPI ports of the ESP32 are already used for another purpose requiring full bandwidth. First I tried to do it by bitbanging. It works but only at slow sampling rates (<75ksps) mainly because toogling the I...