CMU ISR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
1,797 次查看
Amr_Awny
Contributor II

In CMU0, CMU3, CMU4 

the ISR of each fire 0x02, FLLI 

What are the values should be written in their division register in order to clear the ISR FLLI bit ?

 

CMU0

=160Mhz*16*4/16Mhz =640

LFREF = 640*0.95 = 608 --> 0x260

HFREF = 800*1.05 = 672 --> 0x2A0

MC_CGM_AC0_DC0=0x80010000

 

CMU3

=80Mhz*16*4/16Mhz =320

LFREF = 320*0.95 = 304 --> 0x130

HFREF = 320*1.05 = 336 --> 0x150

MC_CGM_AC0_DC2 = 0x80000000

 

CMU4

=80Mhz*16*4/16Mhz =320

LFREF = 320*0.95 = 304 --> 0x130

HFREF = 320*1.05 = 336 --> 0x150

MC_CGM_AC1_DC1= 0x80000000

Amr_Awny_0-1652285062870.png

 

0 项奖励
回复
1 解答
1,783 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure clock selector MC_CGM_ACn_SC is selecting right clock, I assume PLL0 configured for 160Mhz. Or what is your selections?
Then use divider to be consistent with your calculation and clock source selected.

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,784 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure clock selector MC_CGM_ACn_SC is selecting right clock, I assume PLL0 configured for 160Mhz. Or what is your selections?
Then use divider to be consistent with your calculation and clock source selected.

BR, Petr

0 项奖励
回复