Forum Discussion
MCOUNSELL
Occasional Contributor
7 years agoalt_qspi_read() QSPI addressing problem
alt_qspi_read() is returning data from the QSPI address -1. I've written data to the QSPI by two different methods. quartus_hps.exe and also using alt_qspi_write function it in both cases the data ...
Oaksys
New Contributor
2 years agoYou need to change the number of read dummy cycles. I guess in your case from 10 to 8. In the hwlib I am using, this number can be changed in alt_qspi.c. It might be possible to use alt_qspi_device_read_config_get and alt_qspi_device_read_config_set to change the dummy cycle setting, but it needs to be done after calling alt_qspi_enable since this function will revert to the settings in alt_qspi.c.
The number of read dummy cycles can change if the QSPI reference clock is changed.