Sorry for the slightly off-topic post. I have a STM32 Nucleo Board (F446RE), which I had to break off the ST-Link to get it to fit in my small case. I am using the SimpleFOCShield 2.0.4 shield with it.
It doesnt seem that the serial is exposed on that breakaway board?
CN6:
1 VDD_TARGET VDD from application
2 SWCLK SWD clock
3 GND ground
4 SWDIO SWD data input/output
5 NRST RESET of target STM32
6 SWO Reserved
it’s possible the serial traces are routed through the break-away part.
If you still need a serial stream you can use something like the RTT lib that was linked on this forum before - this works over the SWD connection