We've a cusom LS1027 board, with a fast QSPI NOR chip connected to the FSPI interface. The chip can transfer 4-wire data at 166MHz.
When I set this in the devicetree as max-frequency, it doesn't work properly and the driver outputs this message:
DLL lock failed, please fix it!
If I change the max-frequency to 50MHz, everything works, but the speed is way lower than it ought to be (obviously). I'd be happy to "fix it" but there's no clue whatsoever as to what the problem is.
I noticed that on our LS1028ARDB board, the frequency has also been limited to only 50 MHz, and the behavior is the same, it also outputs this error if I up the frequency.
What's up with the FSPI? It's supposed to go much higher than 50MHz, but apparently not in the real world?
Hi @mikelooijmans,
I am already working on your question, when I have any update I will let you know
Regards
If I patch the driver to use RX mode "1" instead of "0", it works at 100 MHz. It's unclear from the datasheet what speeds are supposed to work in what mode, and how the RDS pin is to be used.