Using audio or video PLL as source clock for eFlexPWM

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

Using audio or video PLL as source clock for eFlexPWM

跳至解决方案
779 次查看
Mysterion
Contributor II

For our application we are in need to provide an PWM output with a fine-tunable, precise frequency in the range of about 10MHz to 20MHz (customer preference: +/- 50Hz for the set value).

I'm aware of the FlexPWM's fractional feature - however, the resulting accuracy isn't sufficient, besides distortion effecs, as there's no NanoEdge placement block in the i.MXRT series. The most promising approach would be using the audio or video PLL as clock source for FlexPWM. That's where my problem starts:

  • FlexPWM only accepts IPBus clock, external and aux clock (from submodule 0), So I have to go with the external clock
  • FlexPWM external clock seems only be routable via XBar when there's no XBar input for PLL4/5 clock
  • when routing CCM CLKO1 to GPIO_SD_B4 via IOMux, there's no way to connect the appropriate XBar input to GPIO_SD_B4 at the same time
  • similar problems, when clocking FlexIO, which accepts PLL5 clock, but its outputs cannot be routed via XBar

My fallback solution is to connect GPIO_SD_B4 on pin level to a pin, which routes back via XBar to FlexPWM external clock. But I almost can't believe, there's no chip internal way for realising my intent. Any hints?

标签 (1)
标记 (2)
0 项奖励
1 解答
761 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Mysterion ,

Yes, PLL clock can't transmit via XBAR. It seems your fallback solution is the only way to go.

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
1 回复
762 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Mysterion ,

Yes, PLL clock can't transmit via XBAR. It seems your fallback solution is the only way to go.

 

Regards,

Jing

0 项奖励