I2C transfer with repeated START condition

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
lmamakos
Posts: 20
Joined: Sun May 13, 2012 3:59 pm

I2C transfer with repeated START condition

Post 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.
User avatar
barthess
Posts: 861
Joined: Wed Dec 08, 2010 7:55 pm
Been thanked: 7 times

Re: I2C transfer with repeated START condition

Post by barthess »

Sure. Look in testhal/STM32F1x/I2C/lis3.c for example.
Post Reply