UART powerline communication with NUCLEO_F401RE

04 Apr 2019

Someone can help me programming nucleo F401RE for an uart communication? I have to send a serial message to a modem powerline board TDA5051: you can find the datasheet here https://www.nxp.com/docs/en/data-sheet/TDA5051A.pdf

I have two nucleo F401RE and two modem TDA5051 and I would like to test them with some exchange messages and I would like to see the messages exchange in the pc terminal (cool-term).

I use Visual Studio Code and ozone for debbugging.

Someone could indicate where Can I find some code for this application?

thank you

27 Sep 2019

Hi,

Look at this document: https://os.mbed.com/docs/mbed-os/v5.14/apis/serial.html#serial-examples You will find all necessary functions from there. The basic is to create Serial io: Serial device2(PA_2, PA_3,115200); tx, rx, baudrate You can see pin names from the document: https://os.mbed.com/platforms/ST-Nucleo-F401RE/

Regards, Pekka