Interrupts for Serial port incoming data #1596
Unanswered
ardlc-1212
asked this question in
Q&A
Replies: 2 comments 7 replies
-
By If for some reason you want to re-implement the IRQ handler for the UART ports, I suggest looking at https://github.com/earlephilhower/arduino-pico/blob/master/cores/rp2040/SerialUART.cpp which has both polled and IRQ driven UART control. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry let me clear it for you:
Thanks, Arda |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have been trying to set up a code that uses interrupts to give me a notification when there is a byte to read in the Serial input buffer. I wasn't able to find any documentation on it but theoretically speaking, page 316 of rp2040 datasheet "3.2.6. IRQ Flags", if I'm not wrong, mentions that we can create system level interrupts from the state machines which can be used to inform the processor of a incoming byte completion or even completion of x amount of bits/bytes. Is there any implementation of this? Help would be greatly appreciated also thanks for giving me your time <3
Beta Was this translation helpful? Give feedback.
All reactions