cancel
Showing results for 
Search instead for 
Did you mean: 

Problem of External EEPROM (M95128-W) Reading Master Receive only 0xFF

Shail Shah
Associate II

uc : STM32446

EEPROM : M95128-W

Interface : SPI

We are sending signal 0x06 (Write Enable) oxo5 (RDSR) and getting response from EEPROM (SPI Slave)0xFF instead of 0x2.

Any Data send via SPI we are receiving 0xFF. 

How to send and receive data to EEPROM With correct sequence?

How to know Slave sending data or Slave not active?

What is the possible reason to get 0xFF every sending of one byte.

Tried using different phase and polarity of signal and even put delay after sending one command.

1 REPLY 1
Pierre P.
Senior III

​Hello,

How to send and receive data to EEPROM With correct sequence?

Select & deselect the eeprom between each instructions ( Select ==> 0x06==> Deselect==> Select ==> 0x05 0x00 ==> Deselect)

How to know Slave sending data or Slave not active?

A deselect stops any transmission if salve active.

What is the possible reason to get 0xFF every sending of one byte

Eeprom not selected

please follow AC/DC characteristics ( max 20MHz and vcc range according to datasheet)

https://www.st.com/resource/en/datasheet/m95128-r.pdf

BR

EEPROM suPPort Team