How to NUCLEO64, UART and Printf output?
Hello,
I want to use UART2 on a NUCLEO-L073RZ for printf output but cannot
get it to work for the life of me, please help.
Context:
In this scenario, I need the UART2 output direct from the PA2 / PA3
pins on the ST Morpho header (CN10), in other words, not from the
Tx / Rx pins on the ST-Link debugger.
So, according to UM1724 Section 6.9, I've soldered closed SB62 and
SB63, and, I've also removed the 0ohm resistors from SB13 & SB14.
Problem:
I've tried various code bases for configuring and enabling printf
output over UART2, but for the sake of clarity and uniformity, I've
tested the CRYP_AESModes example source code, as published in the
NUCLEO-L073RZ module from ST and cannot get ANY discernible output
from UART2.
To test the output I have my standard FTDI USB module, tested and
working with various other boards, wired up appropriately with
Tx / Rx / GND as usual, however, there is no visible or measurable
activity over the pins. Also, according to RM0367 Section 29.5,
Tx should be high when enabled yet inactive, however, it is not.
I'm very much at a loss here where to go next.
What am I missing?
Does anyone have some nice, simple "Hello, world" level source code
for a NUCLEO board I could reference?
I just want to be able to output over USART, it's usually a trivial exercise on most other platforms I've worked on.
Any help appreciated.
