Loading...
 
Skip to main content

System Workbench for STM32


How to make UART communication over STLINK

Hi again,

After checking the STM32F746 Discovery board electrical schematics I discovered that STLINK v2.1
block gives out by means of a STM32F103 mcu present on the board two signals, VCP_RX and
VCP_TX that are respectively routed on the PB7 and PA9 pins of STM32F746NG.
Being PB7/PA9 pins also the alternate function of UART1 (PB7 is UART1_RX and PA9 is UART1_TX),
I think that I can simply use the example code of UART hal (suitably modified) to give to my discovery
board the chance to communicate over the STLINK via its Virtual Com to the PC host.

Am I right? What do you think about this solution?

Scrat