I want to use UART with on board.So,is it possible to use st-link as a uart communication.
If yes,then how and if not then any other option to communicate with uart by using on board circuit.
Thanks & Regards,
You need the latest version of the board (coded DISC1?). The ST-link version in this newest board is able to bridge target MCU UART to the emulated by the USB drivers of the st-link (on the PC).
Then you enable the uart on the target MCU - if in cubemx it's really simple and use hal_uart_transmit/receive function to send a piece of data toward pc. On the pc side the usb drivers will emulate COMx and the app using this link (through the emulated COMx) should have this COMx configured.
I use this concept a lot on different nucleo / disco board. Sadly have an old 429 board and in this case I need an extra uart/usb converter
32F429IDISCOVERY - Discovery kit with STM32F429ZI MCU * New order code STM32F429I-DISC1 (replaces STM32F429I-DISCO) - ST…
Thank you guys for replies.
I have checked connection of uart pins and its connected as you told.(PA9 with SB11 and PA10 with SB15).
I can use uart communication by connecting external uart with PA9 and PA10 pins.
But when i tried to use directly USB ST-LINK,its not working.
So,if i want to use USB st-link directly.Any hardware connection(jumper) or software configuration required?.
Thanks in advanced.
I have never used it for this board (usually use nucleo and stm32l476) so I do not know. From the board manual it should be ready (mbed ready as well).
Could you detail what is not working? How did you test it? Is the new COMx available in the Windows Device Manager? Did yo try to connect a terminal app?
Only the DISC1 model of the board has a suitable ST-LINK that supports the VCP mode.
Finally,i can use ST-LINK as a serial communication.
I have changed nothing.Just retried and its working properly.
It's rather stable solution - VCOM - I use it for years
Yes.There is no need of external usb to uart converter.
Retrieving data ...