I am working on iMX8QXP based custom board with Yocto L5.4.24-2.1.0.
On our board, we are trying to communicate S27KS0641 HyperRAM using the FlexSPI interface. I did not find any driver specific to this which I can use.
So I have created my own driver inspired by spi_nor.c. After adjusting the dummy bytes I am able to read the ID register, read-write the Configuration register. But I am not able to correctly(with 100% accuracy) read-write data to/from memory.
Is there anything I am doing wrong?
Is there any driver which uses hyperbus interface and communicates to the memory connected to the flexSPI interface?
There won't be any issues for read and write operations, if you are following all of the timing specs mentioned in our datasheet. Please double check and confirm that all of the timing specs are followed.
Could you please capture the logic analyzer waveform for read and write operations and share with us? We can review them and let you know if there are any issues.
Thanks and Regards,