Question
F429 I2C bug
Hi, i'm using stm32f429 to develop i2c communication, the mcu cannot generate START signal after running a few minutes but the SDA and SCL all high, I add the CR1 register to watch and find the CR1 cannot be modified after calling the bellowing:
breakpoint1: I2C1->CR1 |= (1<<10); // Enable the ACK
I2C1->CR1 |= (1<<8); // Generate START
breakpoint2: while (!(I2C1->SR1 & (1<<0)));
CR1 can be modified to be what I set after reset the mcu, .
