Skip to main content
OGaie
Associate II
August 4, 2019
Solved

STM32L476G-DISCO USART NOT WORKING?!

  • August 4, 2019
  • 3 replies
  • 2307 views

I'm using an stm32l476G-DISCO and i want to transmit a message using the usart, 

the code compiled with no error using the CubeMX but the terminal is not showing anything.

i configured pin P5 as TX_USART2 and P6 as RX_USART2

is it a usb driver problem? or should I use a PL2303 USB to serial ?

This topic has been closed for replies.
Best answer by OGaie

Problem solved i had a problem on the Solder-bridges SB15/SB17 ... Thank you

3 replies

Tesla DeLorean
Guru
August 4, 2019

PD5/PD6 should be usable. Will present as a virtual COM port on the ST-LINK

Solder-bridges SB13 and SB16 need to be made, and SB15/SB17 OFF

https://www.st.com/content/ccc/resource/technical/document/user_manual/d1/84/86/4b/08/82/47/91/DM00172179.pdf/files/DM00172179.pdf/jcr:content/translations/en.DM00172179.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
OGaie
OGaieAuthor
Associate II
August 4, 2019

Solder-bridges are something internal already exists , it used to be working the usart , now its not

Tesla DeLorean
Guru
August 4, 2019

Do you have an oscilloscope? Can you output a stream of 'U' characters?

Erase part and step with the debugger.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
OGaie
OGaieAuthorBest answer
Associate II
August 7, 2019

Problem solved i had a problem on the Solder-bridges SB15/SB17 ... Thank you