Closed jnthas closed 2 years ago
Check your SPI settings and clocks and make sure everything is within the datasheet spec. Other than that I would use a logic analyzer to see the SPI bus traffic during these operations. Since this is not a demonstrated bug in the library, this issue will now be closed.
Hello. I'm writing this issue with hope that you could give me some help or guidance. I've ported your library to work with CH552 microcontrollers, it was simple because your library is easy to use and well written. Source is here https://github.com/DeqingSun/ch55xduino/tree/ch55xduino/ch55xduino/ch55x/libraries/SPIFlash During my tests, I'm facing a strange behavior when I'm reading data. I'm using a W25Q32 (4MB) Let me explain step-by-step what happens, maybe you've already been through this. Any help is appreciated:
Notice there is a pattern in the readings, only the page 1,2,4,8 and 16 contains the byte I wrote.