Hello all.

 

I've been trying for a few days to get i2c working on the MSP430F2274.
Originally, I wrote my own code to try to accomplish this. After
failing, I tried to get several pieces of example code I found online
working. Finally settling on the IAR examples from TI, I have
breadboarded the circuit described in the opening comment of the
attached source files, and while it's running, I see no activity on the
bus (I have the whole rig attached to an oscilloscope). 

 

Is there anything I've obviously missed? Thanks so much to whoever can
help.

 

-Woody

 

(by the way, the file ending in 08 is source for the master, and ending
in 09 is source from the slave. These files originally came from TI, I
just modified them to compile with mspgcc.)

Attachment: msp430x22x4_uscib0_i2c_08.c
Description: msp430x22x4_uscib0_i2c_08.c

Attachment: msp430x22x4_uscib0_i2c_09.c
Description: msp430x22x4_uscib0_i2c_09.c

Reply via email to