2023-02-10 10:47 AM
Hi Experts,
I'm working with the MCU "STM32F427VIT6" and the flash memory "GD25B16ETIGR" and I have a problem when I try to read the "read status register (05h)" I get 0xFF. However I know I have no problem on the SPI connection because I can read the ID (90h) and it works correctly.
My sequence is:
-. Release power down and Read register ID (ABh)
-. Read register MFG and ID (C8 and 14)
-. Write ten bytes as 0x00 in "write enable (06h)"
-. Read status register 1 (and I'm getting 0xFF)
Could you please give me a recommendation to solve this issue?
Regards,
Tania
2023-02-10 12:54 PM
Show some actual code/implementation
You should be able to read back multiple bytes, after the 0x05 clocks out, and subsequently it should output the status register repeatedly. Show in read half a dozen bytes.
The 0x06 should just be a single byte transaction.
https://www.elm-tech.com/en/products/spi-flash-memory/gd25b16e/gd25b16e.pdf