Home > other >  Interrupt MPU6050 movement problem
Interrupt MPU6050 movement problem

Time:09-27

Hi,
MPU9250 movement interrupt wake MCU I already adjusted the,
But after 6050 configuration register INT level has been the same (high), help you a great god, and how to solve???
The code is as follows:
Single_Write (GYRO_ADDRESS x6b 0, 0 x80);//107
Nrf_delay_ms (500);
X6b Single_Write (GYRO_ADDRESS, 0, 0 x00);//107
Single_Write (x07 GYRO_ADDRESS x6c 0, 0);//? I 108 & gt;> 0 x37//the INT Pin/Bypass the Enable Configuration
Nrf_delay_ms (10);

X1c Single_Write (GYRO_ADDRESS, 0, 0 x00);//? 28 I & gt;> 0 x1 selects the full scale range
Nrf_delay_ms (10);
X1f Single_Write (GYRO_ADDRESS, 0, 0 x01);//31 & gt;> Motion Detection Threshold
Nrf_delay_ms (10);
X38 Single_Write (GYRO_ADDRESS, 0, 0 x40);//56 & gt;> The Interrupt Enable MOT_EN;
Nrf_delay_ms (10);
X37 Single_Write (GYRO_ADDRESS, 0, 0 x80);////HIGH> 55;> LOW;
Nrf_delay_ms (10);
X69 Single_Write (GYRO_ADDRESS, 0, 0 x30);//105 & gt;> ????? Motion Detection Control
Nrf_delay_ms (10);
X6b Single_Write (GYRO_ADDRESS, 0, 0 x20);//107 & gt;>
Nrf_delay_ms (100);



CodePudding user response:

Turn to the great god,,,,,,,

CodePudding user response:

Eldest brother, can share mpu9250 interrupt wake MCU?

CodePudding user response:

Should be you have a problem that 0 x37 registers configuration you can try
  • Related