Set flexspi flash clock frequency to 104Mhz

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Set flexspi flash clock frequency to 104Mhz

ソリューションへジャンプ
285件の閲覧回数
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 解決策
238件の閲覧回数
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 返答(返信)
239件の閲覧回数
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.

169件の閲覧回数
MCW
Contributor III
Hi Edwin,

The information is helpful.
Thank you.

Best regards,
Doris
0 件の賞賛
返信