MPC5606B phase-shifted PWM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5606B phase-shifted PWM

1,455件の閲覧回数
sohyunjang
Contributor III

Hi.

I use MPC5606B.

And I try to generate 180 degree phase shift.

I use PA[0] and PA[1] by Output pulse width and frequency modulation buffered (OPWFMB)

So How I generate 180 degree phase shifted PWM?

Which register should I change?

タグ(3)
0 件の賞賛
返信
1 返信

1,277件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

One possible way could be init the CTN register by shifted value when PWM generators are disabled.

The CNT register is writtable in eMIOS GPIO mode. Assuming you are in GPIO mode the steps could be

- Disable Global Prescaler

- Disable Channel Prescaler

- Write initial value at internal counter

- Set A/B register

- Set channel to OPWFMB mode

- Set prescaler ratio

- Enable Channel Prescaler

- Enable Global Prescaler

BR, Petr

0 件の賞賛
返信