nucleo f401re uart example
I tried the the nucleo f401re example UART_printf. Build fine with no error. When running the code I do not get any chars coming out of the TX (D1) pin.
Does anybody knows what’s wrong?
Did some googling and found this:
“By default, Arduino header pins D0 & D1 are disconnected on all Nucleos. Instead, Serial2 Tx/Rx are routed to the ST-Link board to give debug output over USB to host PC.
Refer to http://developer.mbed.org/platforms/ST-Nucleo-F401RE/ and choose other pins for your motor connection.eg Serial1 Tx/Rx on D8/D2”
quote from here:
https://developer.mbed.org/questions/6017/Im-trying-to-make-a-uart-communication-w/
Can anybody confirm that?
Why would ST include a sample that does not work with the board?
Anyway attempted changing the code to Uart_1, but no luck so far.
Mat