Hi,
I am having some trouble getting the AHB bus flash read/write feature to work reliably.
Question 1:
In the NXP posting:
https://community.nxp.com/t5/i-MX-RT/Can-we-use-a-XIP-flash-and-a-data-flash-at-the-same-FlexSPI/m-p...
The following sentence is in the reply marked as the solution:
"Yes, you can use A1 to XIP while use B1 to save data. XIP use AHB bus. Program use IPS bus."
Does that mean you can only program flash using the IPS bus and therefore cannot use the AHB bus?
In other words, for the RT1021, is writing to flash not available over the AHB bus and you have to send the page program commands via FlexSPI directly? Note that I have erased the flash before trying this.
Question 2:
I have noticed that reading from flash using the AHB Bus seems to only work reliably if I set it up with an SPI read command. If I use a QSPI read command it reads back incorrectly. I can confirm the data is correct using the FlexSPI api directly. This is with both caches disabled.
Is the AHB feature only expected to work with SPI commands not QSPI ones?
Many thanks for your help.
Kind regards,
Ronnie