Skip to main content
Visitor II
March 9, 2007
Question

I2C Master Read Interrupt example

  • March 9, 2007
  • 2 replies
  • 869 views
Posted on March 09, 2007 at 14:51

I2C Master Read Interrupt example

    This topic has been closed for replies.

    2 replies

    jodonnellAuthor
    Visitor II
    March 8, 2007
    Posted on March 08, 2007 at 13:42

    Are there any examples of an interrupt driven I2C read (using restart)?

    I actually need to do multiple read-write sequences from interrupts. I saw a previous post and the write was interrupt driven, but the reads were sequential code.

    Thanks

    Jon O'Donnell

    NuVo Technologies

    Visitor II
    March 9, 2007
    Posted on March 09, 2007 at 14:51

    I've used interrupt-driven I2C IO to interface the ADS7823 which is an ADC. It happens to use repeated START as well. See if you find the file useful.

    Regards,

    - mike

    ________________

    Attachments :

    adc.c.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtGU&d=%2Fa%2F0X0000000aKr%2FzvLCAwYBqbUzgjAcOMzVmuCDYRSURPSTfx.IYdlozq4&asPdf=false