Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years ago.
Nucleo-F401RE - UART-1 interrupt
Hi I'm using a Nucleo-F401RE and the serial UART-1 (D2, D8) To simplify the code I'm using the UART-1-RX-interrupt with a code like:
_uart.attach(&My_Rx_IRQ, Serial::RxIrq);
I can confirm the Rx_IRQ is raised but the "_uart.readable()" returns always FALSE while totally bypassing the "_uart.readable()" and calling directly the "_uart.getc()" I'm able to read some bytes... but I last some bytes in any case...
At the end: is UART-Rx-IRQ supported on MBed?
Thanks Regards Francesco