Search found 20 matches

by jkingdon
Thu Feb 22, 2024 11:26 am
Forum: ESP-IDF
Topic: ESPNOW Slower than expected RTT (Round Trip Time)
Replies: 7
Views: 17625

Re: ESPNOW Slower than expected RTT (Round Trip Time)

Is this still working for anyone? I'm seeing minimum round trip times of about 6ms with 250 byte payload with no observable impact from calling esp_wifi_internal_set_fix_rate after disabling ampdu. I found issue https://github.com/espressif/esp-idf/issues/3238 which has one similar report of fix_rat...
by jkingdon
Sat Mar 26, 2022 1:34 am
Forum: ESP-IDF
Topic: UART flush doesn't clear RX buffer
Replies: 3
Views: 7902

Re: UART flush doesn't clear RX buffer

Many thanks - this problem has been driving me up the wall for weeks, so it's great to know the solution is on it's way.
by jkingdon
Wed Dec 08, 2021 11:44 pm
Forum: ESP-IDF
Topic: ESP32-C3 timer peripheral problems? (no, user error)
Replies: 1
Views: 2966

Re: ESP32-C3 timer peripheral problems? (no, user error)

To close this out, the root cause was unsafe access to spi_device_polling_transmit() from multiple tasks, eventually causing that function to hang and block the task driven from the timer interrupts. I miss-interpreted the lack of activity from that task as it not getting triggered when in fact it h...
by jkingdon
Tue Dec 07, 2021 10:46 pm
Forum: ESP-IDF
Topic: ESP32-C3 timer peripheral problems? (no, user error)
Replies: 1
Views: 2966

ESP32-C3 timer peripheral problems? (no, user error)

Update: so this is definitely a user code problem (i.e. me), not a hardware or esp-idf problem. I added some debug pin wiggling to the timer library and I can see that it's still generating interrupts when my app goes down. I chased back up to my isr callback function and it's still getting to there...
by jkingdon
Thu Oct 21, 2021 1:57 pm
Forum: ESP-IDF
Topic: ESP32-C3-DEVKITM-1 continously resetting
Replies: 6
Views: 7671

Re: ESP32-C3-DEVKITM-1 continously resetting

I’m just wondering how you are connecting to the ESP32-C3 Dev Kit and debugging with Visual Studio Code and PlatformIO. And what OS. I filled this PlatformIO issue because I couldn’t get that setup to work without wiring up a separate USB connector. https://github.com/platformio/platform-espressif3...
by jkingdon
Wed Oct 20, 2021 5:41 pm
Forum: ESP-IDF
Topic: ESP32-C3-DEVKITM-1 continously resetting
Replies: 6
Views: 7671

Re: ESP32-C3-DEVKITM-1 continously resetting

Thanks @silbstep, this was driving me nuts!
by jkingdon
Tue Sep 29, 2020 3:28 pm
Forum: Hardware
Topic: TTGO T-Display Serial Pins
Replies: 1
Views: 7609

Re: TTGO T-Display Serial Pins

They are remappable so you can choose which pins you want to use when you initialise the serial port. There are some defaults defined: #ifndef RX1 #define RX1 9 #endif #ifndef TX1 #define TX1 10 #endif #ifndef RX2 #define RX2 16 #endif #ifndef TX2 #define TX2 17 #endif See void HardwareSerial::begin...
by jkingdon
Thu Sep 24, 2020 12:15 pm
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 17294

Re: Gaps in ADC voltage response when using DMA

Hi Scott, Thanks for your thoughts. Espressif have acknowledged the problem and are working on a fix. see https://www.esp32.com/viewtopic.php?p=65313#p65313 I'd love to know more about the mechanism of the failure too - it's quite intriguing. Input signal is clean on the scope, and I've tried severa...
by jkingdon
Fri Sep 18, 2020 1:37 am
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 17294

Re: Gaps in ADC voltage response when using DMA

That's great news! Thanks for the update.
by jkingdon
Tue Sep 15, 2020 2:51 pm
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 17294

Re: Gaps in ADC voltage response when using DMA

Hey @plusorc many thanks for trying it out! It's good to know it's not just me/the esp32s I have here.

It seems unlikely this is a real problem in the hardware, after all, the ADC works if we call it without using DMA/I2S, so now the thing is to figure out what I've done wrong :)