I2c device never sets SB bit after start is transmitted.
My MPU is STM32L152RET6
I am using i2c channel 1 to communicate with an i2c device. I used the standard device set and verified the hardware appears to be set up correctly. When I set the "Start" bi in control register 1 (CR1), a start condition is generated on the i2c bus but the next thing the driver does is wait for the "SB" bit to got high in the status register 1 (SR1). This is the normal behavior. However, SB never goes high. I tried writing the address of the i2c device ins the data register (DR) (just to see if it would transmit the address) but it did not work. The problem is the SB bit never sets and the driver times out. Any ideas what might be wring?
