Search found 9043 matches
- Tue Apr 16, 2024 2:03 am
- Forum: Hardware
- Topic: ESP32-C3FN4 Schematic review
- Replies: 3
- Views: 311
Re: ESP32-C3FN4 Schematic review
USB-C specs say you should connect the receptacle to ground ( here , page 135) so you can get rid of C1/R3. I'd personally add an 10uF on VCC as well, but that's more intuition than grounded in theory. Wrt adding resistors/inductors, please follow the hardware reference guide , for instance the C3 d...
- Tue Apr 16, 2024 1:51 am
- Forum: General Discussion
- Topic: ESP32 Failed to allocate RSA interrupt 261
- Replies: 5
- Views: 382
Re: ESP32 Failed to allocate RSA interrupt 261
You're probably running out of interrupts, and the encryption mqtt wants to do indirectly initializes the hardware RSA peripheral, which needs an interrupt to work. You can free up interrupts by marking them as shared (use the correct flag when initializing peripherals for that) or you can disable h...
- Tue Apr 16, 2024 1:48 am
- Forum: General Discussion
- Topic: Wake up for a specific time after deep sleep
- Replies: 6
- Views: 396
Re: Wake up for a specific time after deep sleep
'delay' doesn't do anything wrt sleep modes. You probably want to read up on deep sleep a bit and retry writing your code.
- Tue Apr 16, 2024 1:39 am
- Forum: General Discussion
- Topic: Flash write/read issue
- Replies: 6
- Views: 656
Re: Flash write/read issue
That cannot be it; nvs initialization is not asynchroneous so nvs is available when the initialization routine finishes. My bet is still that your program runs for a small while (less than 900ms, seemingly) between the flashing being done and your serial monitor starting. Flashing resets the chip af...
- Mon Apr 15, 2024 2:55 am
- Forum: ESP32 Arduino
- Topic: What is the proper way to modify 'CONFIG_FREERTOS_HZ' in 'Arduino ESP32', similar to using 'menuconfig' in 'ESP-IDF'?
- Replies: 3
- Views: 403
Re: What is the proper way to modify 'CONFIG_FREERTOS_HZ' in 'Arduino ESP32', similar to using 'menuconfig' in 'ESP-IDF'
Check esp_timer, it should be easily able to give you 400Hz. You can also use one of the hardware timers;I think Arduino has support for those built-in.
- Sun Apr 14, 2024 1:21 am
- Forum: ESP-IDF
- Topic: Nanosecond delay
- Replies: 6
- Views: 691
Re: Nanosecond delay
Can I ask what you're trying to achieve here? On the ESP32 series, you're usually better off using one of the peripherals rather than trying to bitbang something. For instance, you may want to look at the RMT peripheral if you need to generate 'weird' signals.
- Sun Apr 14, 2024 1:17 am
- Forum: ESP32 Arduino
- Topic: What is the proper way to modify 'CONFIG_FREERTOS_HZ' in 'Arduino ESP32', similar to using 'menuconfig' in 'ESP-IDF'?
- Replies: 3
- Views: 403
Re: What is the proper way to modify 'CONFIG_FREERTOS_HZ' in 'Arduino ESP32', similar to using 'menuconfig' in 'ESP-IDF'
I don't think you can, not without recompiling the ESP-IDF libraries Arduino uses. Is there any reason you need to? If you need high-resolution timer callbacks, it's usually better to use things like ESP-IDFs esp_timer rather than increasing the tick rate.
- Sun Apr 14, 2024 1:16 am
- Forum: ESP-IDF
- Topic: Generate signal with timer
- Replies: 8
- Views: 707
Re: Generate signal with timer
Not sure where you get that a timer group contains 4 timers. From the TRM: 'The ESP32 contains two timer modules, each containing two timers. '. In general, the gptimer driver abstracts away over this: if you ask it for a timer, it'll give you the first one that is free.
- Sun Apr 14, 2024 1:09 am
- Forum: ESP-IDF
- Topic: FreeRTOS xSemaphoreTake assert failed
- Replies: 2
- Views: 309
Re: FreeRTOS xSemaphoreTake assert failed
It's likely a buffer overflow or some other memory corruption somewhere, but between the magic values that you use (3? 2000? 2048?) I have a hard time squirreling out what's happening exactly.
- Sun Apr 14, 2024 12:59 am
- Forum: General Discussion
- Topic: Flash write/read issue
- Replies: 6
- Views: 656
Re: Flash write/read issue
Could it be that your code is running without you seeing it? Could be that between flashing and opening the monitor (which resets the processor), the CPU gets to execute code for a little bit.