This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C_DR register wont be cleared

I'm using stm32f103c8 and PCA9685 devices. I'm trying to send data to PCA9685 via I2C bus. I send data using I2C_DR register. But when i write a data to I2C_DR register it sticks to it. After the data is send thee I2C_DR register should be cleared but it wont happen in my code. I have no idea why this is happening. This is what i see in logic analyzer.

0