This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-F280049C: Interfacing AT24C04 with F280049c launchxl

Part Number: LAUNCHXL-F280049C

Tool/software: Code Composer Studio

Hello,

I am sourabh working on launchxl f280049c board. Now i am trying to interface AT24c04 EEPROM ic with this board.  I used C:\ti\c2000\C2000Ware_2_00_00_03\driverlib\f28004x\examples\i2c code for this but i am not getting the desired output. 

Address set for EEPROM is 0x50 by grounding A0,A1 and A2 of eeprom IC. And change the pin configuration to 35 for SDA,37 for SCL for F280049c.

Is this code directly work with 24c04 ic or i have to make changes in it? which changes i have to do with this code.?

Thanking You,

Sourabh

  • Hi Sourabh,

    I don't believe the example will work with AT24c04 straight out of the box, you'll need to make some edits to it.

    The example is configured to work with an eeprom that expects a low and high address byte in the initial command. Please see the AT24c04 device datasheet and try to replicate the protocol documented, it looks like it only needs one "word address" byte in the command.

    Best,

    Kevin