Questions about HW_CLKCTRL_SSPx

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

Questions about HW_CLKCTRL_SSPx

跳至解决方案
770 次查看
lategoodbye
Senior Contributor I

Hi,

i've some questions regarding to HW_CLKCTRL_SSPx on the i.MX28, which are not really clear from the reference manual:

What are the exact consequences of changing DIV_FRAC_EN?

Is it necessary to check BUSY or CLKGATE before changing DIV_FRAC_EN?

What does it mean to the DIV field if DIV_FRAC_EN=1?

Is there a relation / constraint between HW_CLKCTRL_SSPx.DIV_FRAC_EN and HW_CLKCTRL_CLKSEQ.BYPASS_SSPx?

Best regards

Stefan Wahren

标签 (2)
0 项奖励
1 解答
521 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Stefan

DIV_FRAC_EN enables fractional divider, this is described in

i.MX28 Reference Manual sect.10.3.2 Fractional Clock Divide Mode

http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf

>Is it necessary to check BUSY or CLKGATE before changing DIV_FRAC_EN?

yes

>Is there a relation / constraint between HW_CLKCTRL_SSPx.DIV_FRAC_EN

>and HW_CLKCTRL_CLKSEQ.BYPASS_SSPx?

no, this bit allows to switch to XTAL as clock source for SSP. Please check

description in sect.10.8.26:

"PLL0 and 9-phase fractional divider must already be configured when

this bit is cleared."

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
1 回复
522 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Stefan

DIV_FRAC_EN enables fractional divider, this is described in

i.MX28 Reference Manual sect.10.3.2 Fractional Clock Divide Mode

http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf

>Is it necessary to check BUSY or CLKGATE before changing DIV_FRAC_EN?

yes

>Is there a relation / constraint between HW_CLKCTRL_SSPx.DIV_FRAC_EN

>and HW_CLKCTRL_CLKSEQ.BYPASS_SSPx?

no, this bit allows to switch to XTAL as clock source for SSP. Please check

description in sect.10.8.26:

"PLL0 and 9-phase fractional divider must already be configured when

this bit is cleared."

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励