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)
Hi @JoshuaG1 ,
Please use the flexspi driver API to read and write. Don't manipulate register directly.
Regards,
Jing