I found it really difficult to write DMP driver for nRF51.
I've already downloaded motion_driver_6.12 from the official website.
How do I translate it to meet nRF51 APIs?
Has anybody done this before?
Could you kindly help us?
I am afraid that we do not have any DMP driver for Invensense accelerometer/gyro ICs in the nRF5 SDK, but I recommend that you take a look at this Github repo created by a Nordic employee. It should point you in the right direction.
I found this example which is good for me.