Are the TX and RX FIFOs connected on the IMXRT1170-EVK

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

Are the TX and RX FIFOs connected on the IMXRT1170-EVK

233 Views
JoshuaG1
Contributor II

I am attempting to read and write to the QSPI flash using the "flash page program" and "read normal" commands found in the Polling transfer SDK example. 

I am writing a value to the FIFO array "base->TFDR[i]" and then attempting to read from "base->RFDR[i]" afterwards in a separate function. However when writing, the value i am writing doesn't show up in the array when i hover over the variable. and when reading the RFDR, it shows the exact same address, but doesn't have any of the same values in!

Why is this so and how would i go about successfully writing and reading into the flash. (My program is booted from internal RAM and the flash is external) 

Tags (1)
0 Kudos
1 Reply

216 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @JoshuaG1 ,

Please use the flexspi driver API to read and write. Don't manipulate register directly.

 

Regards,

Jing

0 Kudos