Skip to main content
jodonnell
Associate II
Mar 9, 2007 1:51 PM UTC
Question

I2C Master Read Interrupt example

Posted on March 09, 2007 at 14:51

I2C Master Read Interrupt example

This topic has been closed for replies.

2 replies

jodonnell
jodonnellAuthor
Associate II
Mar 8, 2007 12:42 PM UTC
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

kleshov
Associate
Mar 9, 2007 1:51 PM UTC
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