cancel
Showing results for 
Search instead for 
Did you mean: 

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 attachedwrite enablewrite enablewriteEEPROM pagewriteEEPROM pageRead single data outputRead single data outputschematicschematic
 
Let me know if you can help with this. Thanks in advance!
1 REPLY 1
RhSilicon
Lead

MCP2210 is from another manufacturer.

https://forum.microchip.com/s/