cancel
Showing results for 
Search instead for 
Did you mean: 

M95M02-dr EEPROM Cant write data.

CDe S.1
Associate II

Hi,

I've been trying to write data into M95M02 EEPROM with SPI and i cant seem to write data into the memory according to the data sheet. I checked the write status with status register and WIP bit is set to 0 within the write cycle, meaning there is no write in progress. (Status register works fine). I've given logic level high to write protect bit, enabling modification of BP0 and BP1, and its currently set to write protect mode 'none'. But still i cant seem to write any data into the EEPROM. Anyway i can fix this?

PS. I'm checking my SPI trasnmissions with a logic analyser.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

Unfortunately, you did not include a program snippet on how to try to access the EEPROM.

But independently of that I would recommend to have a look at the software expansion package X-CUBE-EEPRMA1 which was developed especially for external EEPROMs.

Good luck!

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Peter BENSCH
ST Employee

Unfortunately, you did not include a program snippet on how to try to access the EEPROM.

But independently of that I would recommend to have a look at the software expansion package X-CUBE-EEPRMA1 which was developed especially for external EEPROMs.

Good luck!

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.