Search found 9042 matches
- Tue Apr 16, 2024 1:51 am
- Forum: General Discussion
- Topic: ESP32 Failed to allocate RSA interrupt 261
- Replies: 5
- Views: 377
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: 395
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: 653
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: 688
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: 705
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: 307
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: 653
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.
- Sun Apr 14, 2024 12:44 am
- Forum: General Discussion
- Topic: Espressif and product upgrade path
- Replies: 5
- Views: 523
Re: Espressif and product upgrade path
Well that's an MCU without any connectivity, and is even less suited than what's out there already. Note that the intent of the P4 is for it to easily and transparently pair up with one of our C-series chips (e.g. the C3 or C6 or in the future the C5) allowing it to connect to things in the same wa...