cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4R9-EVAL UART Promblem

Eitan Michaelson
Associate
Posted on December 19, 2017 at 12:48

Hello, I'm struggling to make (any of) the UART examples for the STM32L4R9-EVAL board work, so far without any success. Has any one here was able to get any data from the UART port (through the ST_Link interface) on this specific board?

Working With the latest Keil along with ST Cube version :

STM32Cube_FW_L4_V1.10.0

Thanks

2 REPLIES 2
Posted on December 20, 2017 at 10:02

Have you determined whether any data is actually exiting the 

STM32L4 chip?

ie, is the problem in the chip, or in the ST-Link/PC ?

(I don't know this specific board but, usually, the UART pins are accessible on a header).

Posted on December 21, 2017 at 18:28

The VCP should be accessible via USART3 and PB10/PB11, the RS232 via LPUART1 PG7,PG8

GPIOG needs special initialization. LPUART1 needs a prescaler to hit 9600. Review initialization, and check not bombing into Error_Handler() or while(1) loop.

GPIOB and USART3 should be straight forward.

Have several UART working on the STM32L4R9I-DISCO, would need an EVAL to test code for that.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..