stm32F103+MMA8452+MAG3110.
I2Cspeed:100KHz
MAG3110 offen work well.
MMA8452: send start,wait SB flag,OK.send DevicAddr,wait AddFlag,OK.send data(8 bit register address),not a ACK.
1.the communication often error,once error the communication not longer work well,send start,wait SB flag,OK.send DevicAddr,wait AddFlag,OK.send data(8 bit register address),not a ACK.
2.if I erase stm32F103 program and power down about 1 minute ,then power up and program stm32F103,the MMA8452 will communication again until next time error. why?
3.If I only power down stm32F103 about 1 minute ,then power up,the MMA8452 will not communication again.send start,wait SB flag,OK.send DevicAddr,wait AddFlag,OK.send data(8 bit register address),not a ACK. why?