Forum Discussion
Oaksys
New Contributor
2 years agoQSPI read write
Hello. I am writing and reading to a Infineon S25FL512S memory with alt_qspi_write and alt_qspi_read. I write a small block of data and gets this result Write: 0x87654321 0x87654321 Read 0x7258...
- 2 years ago
Hi Oaksys,
Not sure will this help which relates to the dummy cycles, It mentioned that "Third-party quad SPI flash devices may have fixed or configurable dummy clock cycle":
Anyway I will close and transition the thread to community support since the issue has been resolved.
Thanks.
Regards,
Aik Eu
Oaksys
New Contributor
2 years agoSorry for the vague error description. I found the issue in the hwlib file alt_qspi.c. After changing the read_dummy_cycles for the S25FL512S memory from 7 to 6 everything is working fine. If anyone has a good explanation why this hack works for my setup I will be thankful.