Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52 with MPU9255

Hi ,I am using nrf52 DK with mpu9255.I am using source code given here here.of this link,I have taken  'nrf5-ble-data-ready-interrupts' example .code  builts fine in keil v5 though.I am not getting accel values.

help will be appreciated.

Parents Reply
  • i am using same code for board .I have changed SCL and SDA as follows

    In main.c

    #define MPU_MPU_INT_PIN     12  //as INT pin10  for given kit .Physical number 12

    in nrf_drv_mpu_twi.c

    #define MPU_TWI_SCL_PIN 9        
    #define MPU_TWI_SDA_PIN 8     

    because Pin  p0.06 i.e physical number 8 and  P0.07 i.e physical pin number 9

    I am not  getting values for accel and magneto  .please suggest which about pin number/code change

    Here i am using nRF52 DK as a debugger/programmer.another h/w is my application h/w

Children
Related