use of nmi(level7) via esp_intr_alloc is prohibited during system initialization
https://github.com/espressif/esp-idf/ ... u.c#L241
https://github.com/espressif/esp-idf/b ... c.h#L294
Search found 48 matches
- Sun Apr 21, 2024 3:45 am
- Forum: ESP-IDF
- Topic: How properly, under RTOS, to set up the highest priority non-maskable interrupt vector?
- Replies: 23
- Views: 1280
- Sun Apr 14, 2024 4:54 am
- Forum: ESP32 Arduino
- Topic: GDMA MEM TRANS does not work
- Replies: 6
- Views: 2402
Re: GDMA MEM TRANS does not work
I made and tested a simple m2m example #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "soc/gdma_reg.h" #include "soc/gdma_struct.h" #include "soc/periph_defs.h" #include "soc/system_reg.h" #include "esp_rom_lldesc.h" #include "string.h" #include "rom/cache.h" #include "esp_cache....
- Fri Apr 12, 2024 6:45 am
- Forum: ESP-IDF
- Topic: FreeRTOS Task causes TWDT triggered
- Replies: 14
- Views: 1943
Re: FreeRTOS Task causes TWDT triggered
Hi
I would not do parameter passing via global variables not protected by mutex ( spinlock )
In ESP-IDF there are proper mechanisms to pass data between tasks ( queue .... ),
gpio_task received data, sent it to the queue, oled_task took it from the queue and sent it to the screen
I would not do parameter passing via global variables not protected by mutex ( spinlock )
In ESP-IDF there are proper mechanisms to pass data between tasks ( queue .... ),
gpio_task received data, sent it to the queue, oled_task took it from the queue and sent it to the screen
- Thu Apr 11, 2024 1:54 am
- Forum: ESP-IDF
- Topic: FreeRTOS Task causes TWDT triggered
- Replies: 14
- Views: 1943
Re: FreeRTOS Task causes TWDT triggered
Hi
If your queue is empty
will return control immediately without delay, you will get a loop without waiting, put
If your queue is empty
Code: Select all
xQueueueReceive(queue, &message, 0)
will return control immediately without delay, you will get a loop without waiting, put
Code: Select all
xQueueueReceive(queue, &message, portMAX_DELAY)
- Mon Apr 08, 2024 12:49 pm
- Forum: ESP32 Arduino
- Topic: GDMA MEM TRANS does not work
- Replies: 6
- Views: 2402
Re: GDMA MEM TRANS does not work
Hi
As far as I see it is esp32s3
Are you sure that
burst alligned ( 32 byte ) ?
As far as I see it is esp32s3
Are you sure that
uint8_t *dst, uint8_t *src, uint32_t len
burst alligned ( 32 byte ) ?
- Sun Mar 24, 2024 12:28 pm
- Forum: ESP-IDF
- Topic: Using GPIO43 and GPIO44 on ESP32-S3
- Replies: 7
- Views: 905
Re: Using GPIO43 and GPIO44 on ESP32-S3
menuconfig CONFIG_ESP_CONSOLE_NONE=y or CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y gpio_reset_pin(43); gpio_reset_pin(42); gpio_set_direction(43,GPIO_MODE_OUTPUT); gpio_set_direction(42,GPIO_MODE_OUTPUT); while(1) { gpio_set_level(43,1); gpio_set_level(42,1); gpio_set_level(43,0); gpio_set_level(42,0); gp...
- Sun Mar 24, 2024 9:33 am
- Forum: ESP-IDF
- Topic: Using GPIO43 and GPIO44 on ESP32-S3
- Replies: 7
- Views: 905
Re: Using GPIO43 and GPIO44 on ESP32-S3
Hi
if you are using esp32s3 devkit then gpio43 and gpio44 are connected to usb-uart converter
accordingly you will conflict with RXD/TXD signals of usb-uart converter
https://dl.espressif.com/dl/schematics/ ... 221130.pdf.
if you are using esp32s3 devkit then gpio43 and gpio44 are connected to usb-uart converter
accordingly you will conflict with RXD/TXD signals of usb-uart converter
https://dl.espressif.com/dl/schematics/ ... 221130.pdf.
- Sun Mar 17, 2024 2:25 am
- Forum: General Discussion
- Topic: Help with SPI reading/writing to as5048a
- Replies: 3
- Views: 2206
Re: Help with SPI reading/writing to as5048a
Hi. You can try spi_device_interface_config.cs_ena_pretrans Amount of SPI bit-cycles the cs should be activated before the transmission (0-16). https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/spi_master.html#_CPPv4N29spi_device_interface_config_t15cs_ena_pretran...
- Mon Feb 19, 2024 1:39 pm
- Forum: ESP32 Arduino
- Topic: ESP32 S3 accessing the same variable from both cores
- Replies: 4
- Views: 668
Re: ESP32 S3 accessing the same variable from both cores
hi
volatile variables do not protect variables from date races
esp idf provides two possible protection options depending on application requirements
mutex and spinlock
volatile variables do not protect variables from date races
esp idf provides two possible protection options depending on application requirements
mutex and spinlock
- Sun Feb 18, 2024 4:27 am
- Forum: ESP-IDF
- Topic: Struggles with INMP441 -- i2s connects; zeroed data!
- Replies: 5
- Views: 578
Re: Struggles with INMP441 -- i2s connects; zeroed data!
hi
try increasing
#define I2S_SAMPLE_RATE 3000
try increasing
#define I2S_SAMPLE_RATE 3000