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.
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
已解决! 转到解答。
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:
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:
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:
BR,
Edwin.
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:
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:
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:
BR,
Edwin.