hi,sectionsbest.
We have a MPU6000 SPI access Problem, please help,thanks!
We use spi access MPU6000 reg at 1mhz(or 512k hz) and use follow flow :
1、Power on and wait at least 100mS
2、Reset device and wait again 100mS
: PWR_MGMT_1 write 0x80
wait 100mS
3、Wake up device
: PWR_MGMT_1 write 0x00
wait 100mS
: PWR_MGMT_2 write 0xd0
wait 100mS
4、Put in "1" I2C_IF_DIS to disable I2C operation
:USER_CTRL write 0x10
5、write other reg(spi write wave is right) 。
6、read other reg。
but:all reg is reset default avlue after read:
WHO_AM_I register is 0x68
PWR_MGMT_1 register is 0x40
other register is 0x0
So, we found other register write data is not work. We hope to get help for how to work it . thanks!
- Log in to post comments
phpbb Topic ID
16023