Question
Interfacing M95P32-I/E EEPROM with MCP2210 USB-to-SPI Module
1 - I modified this code for a 24bit address provided on this website by http://www.kerrywong.com/2012/10/15/mcp2210-library-spi-eeprom/ but for some reason i am unable to write and read the correct value.
2 - I am successfully able to initialize, reset and make GPIO pins high and low using the same library.
3- A temperature sensor is also working for me and i am reading the correct values for it through spi.
4 - Reading EEPROM gives me 255 each time.
5 - On the oscillioscope, all pins CS, MOSI and MISO on the EEPROM are acting as provided in the datasheet.
6 - My code snaps are as attached
write enable
writeEEPROM page
Read single data output
schematic
write enable
writeEEPROM page
schematicLet me know if you can help with this. Thanks in advance!
