Search found 6 matches

by chriscckan
Fri Jan 19, 2024 3:07 pm
Forum: Report Bugs
Topic: ESP32-S3 Multiple I2s Instances exhausts interrupt resources
Replies: 6
Views: 55391

Re: ESP32-S3 Multiple I2s Instances exhausts interrupt resources

I have exactly the same problem about running out of interrupt on ESP32S3. But there is no such example about sharing interrupt in the example folder of ESP IDF. The online ESP IDF document "Interrupt allocation" chapter is far not sufficient to clarify the use of share interrupt. I look into some d...
by chriscckan
Mon Dec 18, 2023 11:24 am
Forum: ESP-IDF
Topic: ESP-IDF UART NMEA parser example code not working while UART ECHO example do
Replies: 0
Views: 17771

ESP-IDF UART NMEA parser example code not working while UART ECHO example do

I am using ESP32S3 dev kit with GPIO8 connected to a GSP module output at 9600baud, I have checked using PC the GPS output is working fine, NMEA msg can be received by PC. Also run the ESP-IDF v5.1 UART-ECHO example code, change the GPIO to 8 and the code can run and display the received UART RxD co...
by chriscckan
Mon Sep 11, 2023 1:18 pm
Forum: ESP-IDF
Topic: spi_device_polling_transmit(spi, &t) return error and assert reboot in SPI Master example code .c
Replies: 2
Views: 1236

SPI master example code, if set keep_cs_active will cause reset problem

I am using ESP-IDF v5.1 on ESP32-S3 board, I trace the SPI master example code and finally I found this flag cause the argument problem so ret will not be ESP OK so assert will cause reboot of the system. But how come people can only set false for this cs keep active, and cannot set true for it in t...
by chriscckan
Mon Sep 11, 2023 12:49 pm
Forum: ESP-IDF
Topic: spi_device_polling_transmit(spi, &t) return error and assert reboot in SPI Master example code .c
Replies: 2
Views: 1236

spi_device_polling_transmit(spi, &t) return error and assert reboot in SPI Master example code .c

I am using ESP32-S3 dev board with ESP_IDF v5.1, when running the example code of SPI master with minimum changes (only LCD command set), the program will cause assert failed and then reboot, 100% happen, this is due to ret value is not ESP OK, it said argument problem. But actual code is exactly th...
by chriscckan
Tue Sep 05, 2023 3:09 pm
Forum: ESP-IDF
Topic: How to resume fopen() functionality after SD used by USB MSC
Replies: 1
Views: 790

Re: How to resume fopen() functionality after SD used by USB MSC

I do according to the README of USB MSC device example code, using self power flag and VBUS monitor IO, however it totally not help. After doing more reading on the "tusb_msc_storage.h" comment, I try to call tinyusb_msc_storage_mount(BASE_PATH) when unpluged, I found this API will disconnect the MS...
by chriscckan
Tue Sep 05, 2023 9:50 am
Forum: ESP-IDF
Topic: How to resume fopen() functionality after SD used by USB MSC
Replies: 1
Views: 790

How to resume fopen() functionality after SD used by USB MSC

using ESP32-S3, I have setup the SD card and USB MSC using following API sequence at boot time: esp_vfs_fat_sdmmc_mount(); tinyusb_msc_storage_init_sdmmc(); tinyusb_msc_storage_mount(); tinyusb_driver_install(); before it was plugged into PC, fopen() and all file operation is working fine. when plug...