Unable to read IMX7S QuadSPI LUT registers

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to read IMX7S QuadSPI LUT registers

132 Views
mark9
Contributor II

Hello

I am trying to debug some QuadSPI problems and ran into the follow odd behaviour when attempting to read from memory from a u-boot shell.

The reference manual says the LUT Key Register (QuadSPIx_LUTKEY) is at Base address + 300h offset, and Look-up Table register (QuadSPIx_LUT0) is at Base address + 310h offset.
However I cannot seem to read them. The base address for the QuadSPI is 0x30BB0000

=> md 0x30bb0300 4
30bb0300: ffffffff ffffffff ffffffff ffffffff    ................

The reset value for (QuadSPIx_LUTKEY) should not be 0xfffffff

Reading Serial Flash Address Register (QuadSPIx_SFAR) at Base address + 100h offset yields:

> md 0x30bb0100 4
30bb0100: 6008ff80 00000000 00000000 00000000    ...`............

Which seems right...

0 Kudos
2 Replies

26 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Mark,

Did you able to see the Quad_QSPI_lut0? is not Base address + 410h?

Regards

0 Kudos

26 Views
mark9
Contributor II

Hi Bio_TICFSL, thanks for following up! I gave up on this. 

I followed as it said in the datasheet which as of a few weeks ago was the latest.

pastedImage_1.png

If you are saying it should be 410h, then that could be the problem!

0 Kudos