Skip to main content
Visitor II
March 17, 2020
Solved

Porting USART code to STM32L0.

  • March 17, 2020
  • 1 reply
  • 614 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

    Graduate II
    March 17, 2020

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