Receiving data through the SPI and UART in interrupt mode

Vineethad
Posts: 55
Joined: Wed Jul 19, 2023 7:45 am

Receiving data through the SPI and UART in interrupt mode

Postby Vineethad » Thu Oct 19, 2023 5:37 am

Hi Everyone,


I am using ESP32C3 module and the tool is ESPRESSIF IDE. I have done the receiving data through the SPI and UART in polling mode. Now I want to receive data through the SPI and UART in interrupt mode, I didn't get any interrupt functions for ESP32C3. Please help me to suggest these related interrupt functions.



Thanks & Regards,
D.Vineetha.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Receiving data through the SPI and UART in interrupt mode

Postby ESP_Sprite » Thu Oct 19, 2023 12:13 pm

You're using ESP-IDF? Why do you think you're using a polling mode?

Vineethad
Posts: 55
Joined: Wed Jul 19, 2023 7:45 am

Re: Receiving data through UART in interrupt mode

Postby Vineethad » Sat Oct 28, 2023 9:51 am

sorry for the delay.

Yes ,I am using ESP-IDF. I am looking to use UART interrupt in esp32C3, but I have no idea on how to do it. I could not even find a library that did this.
Is there any way to use UART interrupt ?


Thanks & Regards,
D. Vineetha.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Receiving data through the SPI and UART in interrupt mode

Postby ESP_Sprite » Sat Oct 28, 2023 1:18 pm

Again, why do you think you're currently using polling mode? What driver do you use and how are you using it?

Who is online

Users browsing this forum: No registered users and 95 guests