cancel
Showing results for 
Search instead for 
Did you mean: 

I2C master-mode repeated start

robertadams9
Associate II
Posted on June 10, 2008 at 14:24

I2C master-mode repeated start

2 REPLIES 2
robertadams9
Associate II
Posted on May 17, 2011 at 12:36

I am using the I2C port of an stm32f103 in master mode, and I want to use

a ''repeated start'' condition between transactions, for example,

start, slave-adr, subadr0, subadr1, data, data, data, ...

repeated start, subadr0, subadr1, data, data, data, ...

repeated start, subadr0, subadr1, data, data, data, ...

But it seems that whenever I set the start bit in CR1, it generates the slave address all over again. Is there a way to avoid this?

Thanks!

Bob

robertadams9
Associate II
Posted on May 17, 2011 at 12:36

never, mind, my mistake; a repeated start is supposed to send the slave address again.

Bob