UART 1 interrupt

Manikandan
Posts: 8
Joined: Thu Aug 01, 2024 5:01 am

UART 1 interrupt

Postby Manikandan » Tue Nov 26, 2024 11:37 am

How to generate interrupt for uart 1.For esp32s3

snutw_
Posts: 38
Joined: Wed Aug 21, 2024 1:48 pm

Re: UART 1 interrupt

Postby snutw_ » Tue Nov 26, 2024 2:47 pm

I suppose you want an UART event.
Try this example: examples\peripherals\uart\uart_events

Manikandan
Posts: 8
Joined: Thu Aug 01, 2024 5:01 am

Re: UART 1 interrupt

Postby Manikandan » Mon Dec 02, 2024 9:28 am

by the example code,response is not getting

User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

Re: UART 1 interrupt

Postby ok-home » Mon Dec 02, 2024 2:26 pm

Since the version ESP IDF 5.0 direct use of interrupts in the driver UART removed
much more convenient to use the event from the example.
if you need to actually interrupts need to go into programming registers UART that in 95% of cases does not make sense

Who is online

Users browsing this forum: No registered users and 51 guests