Skip to main content
Visitor II
August 23, 2023
Question

Interfacing M95P32-I/E EEPROM with MCP2210 USB-to-SPI Module

  • August 23, 2023
  • 1 reply
  • 1512 views
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!
    This topic has been closed for replies.

    1 reply

    Graduate II
    August 23, 2023

    MCP2210 is from another manufacturer.

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