Skip to main content
Visitor II
February 24, 2003
Question

I2C slave configuration

  • February 24, 2003
  • 2 replies
  • 720 views
Posted on February 24, 2003 at 11:06

I2C slave configuration

    This topic has been closed for replies.

    2 replies

    djroseAuthor
    Visitor II
    May 17, 2011
    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.
    djroseAuthor
    Visitor II
    May 17, 2011
    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