2418776_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2418776_en-US

2418776_en-US

Initial PWM output value with eFlexPWM

Hi,

Working with eFlexPWM of MCXA132, I want to modify the initial value for PWM23.
For that I do next steps:


1. SM1CTRL2[PWM23_INIT] = 1

2. SM1CTRL2[FRCEN] = 1
    SM1CTRL2[FORCE] = 1    (note that SM1CTRL2[FORCE_SEL] is 000)

3. MCTRL[RUN] = 010

But first PWM cycle always starts with output at level 0.

Where can be the problem?

Thanks in advance

MCXA
Tags (1)
No ratings
Version history
Last update:
yesterday
Updated by: