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

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F401RET6 microcontroller.
Be the first to answer this question.