Hi,
This is my equipment.
- Portenta H7
- Porttenta Mid Carrier.
- 24LC1025 I2C EEPROM. (I added the datasheet below)
I would like use the 24LC1025 to store a handfull of variables. I have worked my way through the I2C libtraries that include I2C port scanners etc. I alos found that the Midcarrier H7 combinaton has 3 x I2C ports but one must be carfull which ones you use.
I tested out a number of teh libraries even one the Rob tiljaard made for this sepcific EEPROM. I think it probaly not correct working with the H7.
I connected my EEPROM to the I2C2 pins on the mid carrier breakout pins. I alos wired in 10k resitsors as pull ups for the SCL and SDA pins.
One the EEprom I connected the rest of the pins in this way.
- A0 - GND on the midcarrier breakout pins.
- A1 - GND on the midcarrier breakout pins.
- A2 - Vcc Out on the midcarrier breakout pins.
- Vss - GND on the midcarrier breakout pins.
- SDA - I2C2 SDA on the midcarrier breakout pins. (10k Pull up)
- SCL - I2C2 SCL on the midcarrier breakout pins. (10k Pull up)
- WP - GND on the midcarrier breakout pins.
- VCC - Vcc Out on the midcarrier breakout pins.
Here is my qeustions.
- Which I2C port on the breakout headers is correct to use for this EEOPROM? Will I2C2 work?
- Are the connections as I discribe correct?
- Can you please recommned sample code, valid library or any other resource I can look at to assit me in connecting the EEPROM. So that I can write and read to it.
Any comments and suggestions are welcome.
24AA1025-24LC1025-24FC1025-1024-Kbit-I2C-Serial-EEPROM-20001941M.pdf (481.6 KB)