MKV46F Sample code for eFlexPWM with 312 ps resolution

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MKV46F Sample code for eFlexPWM with 312 ps resolution

992 次查看
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 回复

833 次查看
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 项奖励
回复