cancel
Showing results for 
Search instead for 
Did you mean: 

"OPMODE" in STM32L4 LPTIM description

Uwe Bonnes
Principal II

All the STM32L4 reference manuals. describe LPTIM_CFGR

Bit 20 WAVE: Waveform shape

       The WAVE bit controls the output shape

       0: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)

OPMODE bit is mentioned nowhere else .

STM32G4 datasheet has

Bit 20 WAVE: Waveform shape

       The WAVE bit controls the output shape

       0: Deactivate Set-once mode, PWM or One Pulse waveform depending on how the timer was

           started, CNTSTRT for PWM or SNGSTRT for One Pulse waveform.

This description does make more sense. Please correct in L4 reference manuals.

1 REPLY 1
Amel NASRI
ST Employee

Hello Uwe,

Yes indeed, the description you find in STM32G4 reference manual is the correct one. The L4 reference manuals will be updated to add the same description.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.