Hello.
In ESP32 Wrover-E,
UART 0 is for the debugging and standard IO by default
Is it possible to add Rx Interrupts on the UART0?
Hope to get your help.
Is it possible to add Rx Interrupts on the UART0
-
- Posts: 9745
- Joined: Thu Nov 26, 2015 4:08 am
Re: Is it possible to add Rx Interrupts on the UART0
Well, technically UART0 is the same as other UARTs, so yes. It gets a bit more complicated if you want to keep debugging output. Can you tell us what your specific use case here is?
Re: Is it possible to add Rx Interrupts on the UART0
Thank you for your reply
I want to use UART0 for communication (reception/transmission) between a PC and an ESP32
and also keep debugging output.
Any help to resolve this issue is greatly appreciated ?
thanks
I want to use UART0 for communication (reception/transmission) between a PC and an ESP32
and also keep debugging output.
Any help to resolve this issue is greatly appreciated ?
thanks
-
- Posts: 9745
- Joined: Thu Nov 26, 2015 4:08 am
Re: Is it possible to add Rx Interrupts on the UART0
The easiest way would be to install the UART blocking driver (note you don't need to set the pins as they're already correct here) and then either use the API described in there, or use the higher-level posix printf/getchar/... APIs that work on stdin/stdout.
Re: Is it possible to add Rx Interrupts on the UART0
Thanks for your response
I need to receive data using UART0 received interrupt on non-blocking mode
I didn’t understand anything to read ESP32 datasheet.
Can you please help me to write the code for Arduino-ESP32.
Thanks
I need to receive data using UART0 received interrupt on non-blocking mode
I didn’t understand anything to read ESP32 datasheet.
Can you please help me to write the code for Arduino-ESP32.
Thanks
Who is online
Users browsing this forum: Google [Bot] and 113 guests