cancel
Showing results for 
Search instead for 
Did you mean: 

Memory flash issue - read status register getting 0xff

TVela.1
Associate III

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

1 REPLY 1

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..