Jump to content
I2Cdevlib Forums

ItamarEliakim

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by ItamarEliakim

  1. Hi All, I am trying to operate the MPU6050 on nucleo-STM32f446re, everything works just fine with the raw data, i get values for the a_x,a_y,a_z,g_x,g_y,g_z. When i try to initialize the DMP exactly as written in the Arduino library, the initialization passes : if (MPU6050_writeProgMemoryBlock(dmpMemory, MPU6050_DMP_CODE_SIZE)) { if (MPU6050_writeProgDMPConfigurationSet(dmpConfig, MPU6050_DMP_CONFIG_SIZE)) { the I2C bus hangs during the call for - getFIFOBytes(fifoBuffer, fifoCount); After the BUS halts the only thing that helps is to switch the power to the device, probably related to the DMP error halt. tried to lower the clock to 100Khz, change the rate, change the register - 0x02, 0x16, 0x02, 0x00, #0x01#, None of them helped. Someone maybe had the same issues? Appreciate your help, Itamar
×
×
  • Create New...