LS1027A (LS1028) FSPI not working at 100+ MHz speeds

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1027A (LS1028) FSPI not working at 100+ MHz speeds

272 Views
mikelooijmans
Contributor III

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?

0 Kudos
Reply
5 Replies

175 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @mikelooijmans,

Apologies for the delayed response,

Could you please share with me a image from the signals of FSPI when the frequency goes down?

Regards

0 Kudos
Reply

157 Views
mikelooijmans
Contributor III

I would if I had any idea what you mean by that.

The issue here is documentation.

Looks like the driver needs to support RX mode "1" for some configurations (like ours), but the documentation is unclear on what mode to use when.

Also, what is the max speed the controller supports? Our NOR flash chip supports 166 MHz (SDR) so it should be possible to go higher.

0 Kudos
Reply

149 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @mikelooijmans,

According to the datasheet the maximum speed of the controller FlexSPI is 100 MHz 

Regards

0 Kudos
Reply

253 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @mikelooijmans,

I am already working on your question, when I have any update I will let you know

Regards

0 Kudos
Reply

239 Views
mikelooijmans
Contributor III

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.

0 Kudos
Reply