2017-12-19 03:48 AM
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
2017-12-20 01:02 AM
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).
2017-12-21 09:28 AM
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.