How can i interface MPU9250 with nRF52 DK

Rahul patel gravatar image

asked 2017-10-06 14:15:56 +0100

updated 2017-10-12 07:08:06 +0100

As i am new in embedded programming,I was trying to connect MPU 9250 with nRF52 DK by using given examples. now it is showing error

  #error "No MPU defined. Please define MPU in Target Options C/C++ Defines"

where i have to defined mpu ?

edit retag flag offensive close delete report spam


What kind of header file errors?

Have you seen this repository?

Martin Børs-Lind ( 2017-10-06 15:48:23 +0100 )editconvert to answer

1 answer

Sort by » oldest newest most voted
MartinBL gravatar image

answered 2017-10-12 15:47:48 +0100

Define your MPU here:


If you have an MPU9250 then you can use MPU9255 instead as shown in the image. I believe they have the same functionality and register map.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower


Asked: 2017-10-06 14:15:56 +0100

Seen: 116 times

Last updated: okt. 12