imxrt1061 set semc clock to 133Mhz

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

imxrt1061 set semc clock to 133Mhz

跳至解决方案
565 次查看
MCW
Contributor III

Hi all,

 

I find the default semc clock frequency is around 163Mhz in evkbmimxrt1060_semc sample code.

And the clock frequency is changed to about 109Mhz when I set the value of  kCLOCK_SemcDiv to 2.

However, I want to change the clock frequecny to 133Mhz.

So how could I reduce the semc clock to 133Mhz?

MCW_1-1694747640589.png

Best regards,

Doris

 

标签 (1)
0 项奖励
1 解答
519 次查看
mjbcswitzerland
Specialist V

Hi

You can achieve 132MHz SEMC_CLK_ROOT by removing the line CLOCK_InitSys_Pdf() [this leaves PLL2-PDF2 at its default value of 396MHz] or setting it to CLOCK_InitSys_Pdf(24).
and setting CLOCK_SetDiv(KClock_SemcDiv, 2).

For the explications see pages 20 and 5 of https://www.utasker.com/docs/iMX/i.MX_RT_1021_uTasker.pdf

Regards

Mark

For i.MX and Kinetis stock availability see https://www.utasker.com/Shop/semi.html

在原帖中查看解决方案

0 项奖励
2 回复数
520 次查看
mjbcswitzerland
Specialist V

Hi

You can achieve 132MHz SEMC_CLK_ROOT by removing the line CLOCK_InitSys_Pdf() [this leaves PLL2-PDF2 at its default value of 396MHz] or setting it to CLOCK_InitSys_Pdf(24).
and setting CLOCK_SetDiv(KClock_SemcDiv, 2).

For the explications see pages 20 and 5 of https://www.utasker.com/docs/iMX/i.MX_RT_1021_uTasker.pdf

Regards

Mark

For i.MX and Kinetis stock availability see https://www.utasker.com/Shop/semi.html

0 项奖励
426 次查看
MCW
Contributor III

Hi @mjbcswitzerland ,

 

Thanks for your help.

The semc clock is set to 132Mhz now.

 

Best regards,

Doris

0 项奖励