Skip to main content
Mich1
Associate III
May 14, 2019
Question

STM32L431 LPTIM2 mode Stop 2

  • May 14, 2019
  • 3 replies
  • 947 views

In the datasheet page 25, it is indicated that in mode stop 2 LPTIM2 is frozen. But in STM32CubeMx Version 5.2.0 we can see that LPTIM2 Clock mux can choose LSE so the timer is not frozen. Is there an error in the datasheet?

This topic has been closed for replies.

3 replies

Nesrine.JLASSI
Visitor II
May 15, 2019

Hi @Community member​ 

I redid the same scenario, you can't choose LSE in the LPTIM2 Clock .0690X000008vvU6QAI.png

Best regards,

Nesrine

After Forever
Senior III
May 15, 2019

Nesrine

> I redid the same scenario, you can't choose LSE in the LPTIM2 Clock .

Have you enabled the LSE in RCC settings? I redid the scenario too, and I can choose LSE as LPTIM2 Clock.

Mich

> Is there an error in the datasheet?

I think there is no contradiction, you can clock LPTIM2 from LSE, but LPTIM2 isn't active in stop mode 2, even if LSE is active.

Mich1
Mich1Author
Associate III
May 16, 2019

How should I understand first line at page 142 of the reference manual? Stop 2 => 2 columns (dash and Wakeup capability) what is the meaning of dash?

LPTIM2 is optional in stop mode 2 for Wakeup capability but not for dash column for the STM32L431. How do I undestand that?