MKV46F Sample code for eFlexPWM with 312 ps resolution

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

MKV46F Sample code for eFlexPWM with 312 ps resolution

993件の閲覧回数
isaotakashima
Contributor IV

Currently I made demo code for eFlexPWM with Nano-Edge 312 ps resolution based on "pwm" project in SDK 2.3 using TWR-KV46F150M.

Before add below register settings, eFelxPWM output PWM pulse.

- PWMA_SM0FRCTRL[FRAC_PU] = 1

- PWMA_SM0FRCTRL[FRAC1_EN] = 1

- PWMA_SM0FRCTRL[FRAC23_EN] = 1

- PWMA_SM0FRCTRL[FRAC45_EN] = 1

After add above register settings, eFlexPWM does not output PWM pulse.

Are there any restrictions on register setting for fractional delay logic?

Can you send sample code for eFlexPWM with Nano-Edge 312 ps resolution?

Please reply as soon as possible.

Best regards,

Takashima

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

834件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I think this may because the fractional delay logic can only be used when the IPBus clock is running at 100 MHz. Since the xtal crystal is 8M, it is hard to generate 100M PWM clock.

Regards,

Jing

0 件の賞賛
返信