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
  • yes.

    1.In the code sample rate set  is 5Hz, If i require to change it to suppose 25Hz ,Do i need to make here 39 instead of 199 ?

    p_mpu_config.smplrt_div = 199;   // Change sampelrate. Sample Rate = Gyroscope Output Rate / (1 + SMPLRT_DIV). 199 gives a sample rate of 5Hz

    2.Data is sent directly when i enable the notification after connection to device .what changes do i need make if i want to send data only after i write a value to characteristic ?

Children
Related