STM32L4 serial communication doesnt work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 12:56 AM
hey,
i have an STM32L432KBU6 and i want to serial communicate with my chip. I connected the SWCLK, SWDIO and the SWO pin and followed a couple tutorial on youtube but i just cant get the Serial communication done. i just want to open serial monitor like the adruino has. i tried it with the VCP(virtual com port), cuz my st link v3 has it and it doenst work.
sorry for my bad english, but if you have the answer i would be very happy :)
thanks for reading it.
- Labels:
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 3:42 AM
SWO pin is different than VCP. Both do work, e.g. on a STM32L432 Nucleo32 board. Board schematics are avail for reference. You may also consult app note "stm32 microcontroller debug toolbox"
hth
KnarfB
edit: SWO is avail on the newest Nucleo-32 only (G431KB) and larger Nucleo boards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 4:57 AM
You'd need to wire a UART to use the ST-LINK/V3 VCP
​
To use SWO you'd need to use your debugger, there is a Serial Debug in Keil, and the ST-LINK Utilities and STM32 Cube Programmer should have a SWV Window. Need to have the core clock right for it to work.​
Up vote any posts that you find helpful, it shows what's working..
