nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

NRF problem with mpu6050 and twi.

Here is the situation:I can read the accvalues by uart without the ble, but when I was trying to read the values on the phone with the ble, it didnt work. I modified the official tutorial code"ble_uart", it can be built, but the bluetooth didnt work. Also, I tried the original "ble_uart" code without mpu6050, it actually worked, Buuuut ! When it was working , I intered mpu6050 in nrf52840, the blut tooth didnt work! I just couldnt figure it out. Pleas help meeee.

Parents
  • Hello,

    Are you actually using UART or TWI between the MPU6050 and the nRF? 

    And if I understand you correctly, it is working one at the time (either Bluetooth or MPU), so what happens when you try to run it? Does the log say anything? Can you upload your main.c and your sdk_config.h? Perhaps it can give some hints on what may be the problem.

    Best regards,

    Edvin

Reply
  • Hello,

    Are you actually using UART or TWI between the MPU6050 and the nRF? 

    And if I understand you correctly, it is working one at the time (either Bluetooth or MPU), so what happens when you try to run it? Does the log say anything? Can you upload your main.c and your sdk_config.h? Perhaps it can give some hints on what may be the problem.

    Best regards,

    Edvin

Children
Related