Set flexspi flash clock frequency to 104Mhz

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

Set flexspi flash clock frequency to 104Mhz

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

Hi all,

 

My project is based on IMXRT1061 with a mx25l25645g nor flash.

The dummy cycle of the nor flash is 8.

Therefore, accroding to the datasheet of the nor flash, the clock frequency should be set to 104Mhz.

And I found the table from this post.

MCW_1-1714646384755.png

Is it correct if I set the clock  with the setting below?

I think it would be 102Mhz.

The other question, is it possible to make the frquency closer to 104Mhz?

 

CLOCK_InitUsb1Pfd(kCLOCK_Pfd0, 21);
CLOCK_SetMux(kCLOCK_FlexspiMux, 3);
CLOCK_SetDiv(kCLOCK_FlexspiDiv, 2);

 

 

 

 

Best regards,

Doris

 

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
303 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @MCW,

I highly recomend you use MCUXpresso's ConfigTools, as this will allow you to set up the clock in a much more detailed and friendly way. From your description, I believe you had to set the FlexSPI divisor to 4 in order to get 102 MHz:

EdwinHz_0-1715029148558.png

This would be a possible solution to the 104MHz requirement. The only other I found was using PLL2 PFD2, with this set to 316.8 MHz, and the FlexSPI divider on /3:

EdwinHz_2-1715029840769.png

 

Further adjusting System PLL can get you closer to 104MHz, but keep in mind that this PLL is used extensivly throuout the chip, so other modules' frequencies will also change slightly:

EdwinHz_3-1715029932513.png

 

BR,
Edwin.

在原帖中查看解决方案

2 回复数
304 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @MCW,

I highly recomend you use MCUXpresso's ConfigTools, as this will allow you to set up the clock in a much more detailed and friendly way. From your description, I believe you had to set the FlexSPI divisor to 4 in order to get 102 MHz:

EdwinHz_0-1715029148558.png

This would be a possible solution to the 104MHz requirement. The only other I found was using PLL2 PFD2, with this set to 316.8 MHz, and the FlexSPI divider on /3:

EdwinHz_2-1715029840769.png

 

Further adjusting System PLL can get you closer to 104MHz, but keep in mind that this PLL is used extensivly throuout the chip, so other modules' frequencies will also change slightly:

EdwinHz_3-1715029932513.png

 

BR,
Edwin.

234 次查看
MCW
Contributor III
Hi Edwin,

The information is helpful.
Thank you.

Best regards,
Doris
0 项奖励
回复