Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218666

Forum Post: i2c clock lost one pulse when communicate with the mpu9250

$
0
0
I'm porting the MotionDriver from the STM32F4 discovery board to the TM4C123 launchpad these days. I use the i2cm_drv.c from the sensor lib to handle the i2c communication with the MPU9250 in the interruption manner. I met a strange problem in the i2c communication, sometimes when the launchpad writes to or read from the MPU9250, the i2c clock lost one pulse, then the i2c bus enter the error state. The pull-up resistor for the i2c is 10k ohm at the mpu9250. The LA snaps and my whole project are attached, could anyone give me some suggestions? Thanks with regards (Please visit the site to view this file)

Viewing all articles
Browse latest Browse all 218666

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>