cancel
Showing results for 
Search instead for 
Did you mean: 

I2C slave configuration

djrose
Associate II
Posted on February 24, 2003 at 11:06

I2C slave configuration

2 REPLIES 2
djrose
Associate II
Posted on May 17, 2011 at 11:53

Has anyone had any success with code to use the uPSD as an I2C SLAVE?

Whatever I try (and I've now tried a lot), I cannot get the uPSD to generate an acknowledge on receipt of a valid control (aka address) byte - Causing the master to indicate a failed transfer.

I found some example code on the ST web site, but this only included MASTER functionality.
djrose
Associate II
Posted on May 17, 2011 at 11:53

Was about to give up on this - Then noticed the details of the P3SFS register.

Once I conditioned the port pins to be used for I2C I started to receive acknowledgements.

Silly me