Web1 jun. 2024 · I used mpu9250_read_fifo_register(st->hw->addr, st->reg->fifo_r_w, length, data). length = 22. However, if you do it this way I believe you increment the register … Web9 sep. 2024 · 首先用DEBUG模式,定位到是哪一句出了问题,,st.chip_cfg.dmp_on这个值不等于1 , 所以无法正常运行。 将这一句谷歌一下, , 得到的解答是,, MPU …
TxIMU_MPU9150_DMP/inv_mpu.c at master · neweins/TxIMU_MPU9150_DMP
Webreturn -1; st.chip_cfg.dmp_loaded = 1; st.chip_cfg.dmp_sample_rate = sample_rate; return 0;} /** * @brief Enable/disable DMP support. * @param[in] enable 1 to turn on the DMP. * @return 0 if successful. */ int mpu_set_dmp_state(unsigned char enable) {unsigned char … Web26 sep. 2015 · if (mpu_dmp_get_data (&pitch,&roll,&yaw)==0) 在这句中,mpu_dmp_get_data (&pitch,&roll,&yaw)的返回值为-1,if进不去,我一层一层查下去, … full length wide floor mirror
How to read fifo data in TWI? - Nordic Q&A - Nordic DevZone
WebGPS Coupled IMU on nRF51822 with cortex m0. Contribute to neweins/TxIMU_MPU9150_DMP development by creating an account on GitHub. Web9 apr. 2015 · st->chip_cfg.sensors equal 0. Have you any Idea of the origin of the problem ? Many thanks ! PS : have you tryed the MPU9250 ? If not, and if you are interested, I'd be happy to send you one on a breakout board ! Hi, The key issue in here is mpu_init which returns -7. the chip_cfg.sensors is correct to be 0 at this stage. Webif (!st.chip_cfg.dmp_on) return -1; Someone found a problem with the power supply. This code is to detect whether DMP is working properly. The problem with dmp_on is that the dmp part is not working properly. Check whether the module power supply is 3.3V or 5v. ② ginger scalp care shampoo review