Skip to main content
GErma.1
Associate III
March 17, 2020
Solved

Porting USART code to STM32L0.

  • March 17, 2020
  • 1 reply
  • 630 views

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.
Best answer by Tesla DeLorean

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

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 17, 2020

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..