Skip to main content
GErma.1
Associate III
Mar 17, 2020 1:15 AM UTC
Solved

Porting USART code to STM32L0.

I am porting a code written for the stm32f4 to stm32l0. 

The code uses the ll diver to configure USART1 with the following statement:

LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOA)

The LL_AHB1_GRP1_PERIPH_GPIOA value is not defined for the STM32L0.

Where can i found more information on the clock configuration?

BR

Gilberto

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Mar 17, 2020 2:24 AM UTC

The reference manual would cover th​e clock sources and register definitions and usage.

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

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Mar 17, 2020 2:24 AM UTC

The reference manual would cover th​e clock sources and register definitions and usage.

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