Page 1 of 1

I2C transfer with repeated START condition

Posted: Tue Jun 05, 2012 1:51 am
by lmamakos
Is is possible to perform an I2C transfer to a peripheral with a repeated START condition? The case is to WRITE some address register in the device, and then perform a READ operation from the addressed register.

Re: I2C transfer with repeated START condition

Posted: Tue Jun 05, 2012 7:08 am
by barthess
Sure. Look in testhal/STM32F1x/I2C/lis3.c for example.