Hello group. I am trying to figure out what I need to do to interface my MSP430F149 to a Microchip 24LC256 serial eeprom. I have read the TI doc SLAA115, "I2C Interfacing of the MSP430 to a 24xx Series EEPROM", and app. notes on the Microchip website. The SLAA115 references a sample application that no longer exists under that name on the TI site. According to what I have read, I can just use any two general I/O pins for the SCL clock line and SDA data line and I need to add pull-up resistors on the lines in order to get the logic highs and lows by changing the pin directions. I get all this. However, I don't get how or what is needed to generate and control the clock signal line. This particular eeprom has a max frequency of 400 kHz. Can someone please clear this up for me? Any links to sample code or further explanation would be greatly appreciated. Thank you in advance. Mike
I2C interface w/ external EEPROM
Started by ●October 16, 2003
Reply by ●October 16, 20032003-10-16
I have posted the code for this a while ago. If you can't find it let me know. Ted Gregorius (Pres) TAG Systems Racing Products, Inc. www.tagrace.com ----- Original Message ----- From: pitbullpc2 To: msp430@msp4... Sent: Thursday, October 16, 2003 3:10 PM Subject: [msp430] I2C interface w/ external EEPROM Hello group. I am trying to figure out what I need to do to interface my MSP430F149 to a Microchip 24LC256 serial eeprom. I have read the TI doc SLAA115, "I2C Interfacing of the MSP430 to a 24xx Series EEPROM", and app. notes on the Microchip website. The SLAA115 references a sample application that no longer exists under that name on the TI site. According to what I have read, I can just use any two general I/O pins for the SCL clock line and SDA data line and I need to add pull-up resistors on the lines in order to get the logic highs and lows by changing the pin directions. I get all this. However, I don't get how or what is needed to generate and control the clock signal line. This particular eeprom has a max frequency of 400 kHz. Can someone please clear this up for me? Any links to sample code or further explanation would be greatly appreciated. Thank you in advance. Mike .