piclist 2000\06\04\184141a >
Thread: SSP I2C Problems
www.piclist.com/techref/i2cs.htm?key=i2c
flavicon
picon face BY : Les email (remove spam text)

part 0 1127 bytes content-type:application/octet-stream;Hi
   I am attempting to write to a 24C32 serial eeprom, using the SSP I2C
configured for master mode. Without ANY success. The eeprom does not seem to
be acknowledging, so the pic hangsup while waiting for it. I am pulling my
hair out over this (not much left anyway!). I setup everything according to
the datasheets and even used the macro's from the PIC list site (no luck!).
The code is attached. Any info on this would be helpful, there is very
little info on the net or anywhere alse for that matter. The datasheets and
mid-range reference are sparce in their information (WHO writes these
things?). I can get the eeprom working with bit-banging the I2C bus, so I
know my hardware is OK, (pullups and such). I know I am missing something
stupidly simple, but cannot for the life of me see what.

                                       Thanks guys

                                               Les

Content-Type: application/octet-stream;
       name="SSP_I2C.Asm"
Content-Disposition: attachment;
       filename="SSP_I2C.Asm"

Attachment converted: creation:SSP_I2C.Asm (????/----) (00016122)
<000f01bfce76$63916900$5212883e@default>

See also: www.piclist.com/techref/i2cs.htm?key=i2c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) SSP I2C Problems

month overview.

new search...