Posted on August 30, 2012 at 13:02
Hello, sorry for my bad English. I'm developing an application for a STM32F103ZE that reads the value from three sensor via I2C bus, use the SysTick timer, use USART1 to communicate with the pc, generates four ...
Posted on August 30, 2012 at 21:14
I can use only this type of sensor. The problem is the i2c bus that stucks with all kind of interrupt, also with USART interrupt. I think that the interrupt desinchronizes the mcu with the i2c slave and the mcu...
Posted on August 30, 2012 at 19:45I tried to deactive the ext interrupt before read the sensor data via I2C bus and to active it after the operation: the mcu doesn't stuck, but the measure of the pulse width with the external interrupt doesn't work ...
Posted on August 30, 2012 at 16:41
ok in debug mode I found the problem. The mcu stop the execution on this instruction:
while(!I2C_CheckEvent(MPU6050_I2C, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED)); that I use to communicate with the...