AnsweredAssumed Answered

Problem in writing data to eeprom

Question asked by khosravi.zarrin on Nov 5, 2016
Latest reply on Nov 14, 2016 by Erwan Y

I have an M95320 EEPROM and I have connected it to an Infineon microcontroller XC2331D. Enclosed you can find the circuit diagram for the EEPROM.
I have tried to communicate with the EEPROM through SPI ports and write character ‘a’ to EEPROM and read it back, but the result is always 0xFF. I have monitored the EEPROM SPI ports using Logic analyzer and enclosed you can find the monitoring results.

Since you can see, I have read the status register content and I have received a correct data on MISO port, therefore it seems that the data has not been written to the EEPROM and that is why the received value is always 0xFF.

My question is why the data has not been written to the EEPROM while the signal on HOLD and WP pins of EEPROM is high?

Any feedback you can give me on this would be gratefully received.