Replies: 1 comment
-
@rtborg I also had some issues on RT1061 with flexspi2 at a low frequency (30 MHz) with w25q512nw1, plus some read problems.
Initially I couldn’t even read the correct JEDEC ID. To fix that, I had to change the divider and mux of the reference PLL:
It’s also worth verifying the actual clock output on a scope, since the DTS value doesn’t always match reality - you may need to tweak the mux/div settings manually. Later I hit a problem with the read command (0xEC), where the first byte was consistently missing. To work around it, I patched flash_mcux_flexspi_nor.c as follows:
In my case I have two NOR flashes: One on flexspi at 133 MHz and One on flexspi2 at 30 MHz |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a custom board using MIMXRT1166 and w25q64 quad flash attached to flexspi2, which is intended to be used as data storage. When I try to use the flash shell, I cannot write to memory:
When debugging the flash driver, I can see that JEDEC ID is read correctly in file flash_mcux_flexspi_nor.c
The DQS pin is not connected.
Devicetree configuration is below. I have not scoped the signals yet. Is there anything that I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions