Skip to main content
Visitor II
January 8, 2022
Solved

M95M02-dr EEPROM Cant write data.

  • January 8, 2022
  • 1 reply
  • 899 views

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.

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    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

    1 reply

    Technical Moderator
    January 10, 2022

    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