I am trying to interface my nrf51 DK with the Lis3dh sensor . I have one reference code by elmot for the project and it is working.
https://github.com/elmot/nRF51822xxAA-LIS3DH
But for better understanding, I tried to implement the same code using the template example in the peripheral folder in SDK. my code is compiling perfectly but does not give any output.
i checked UART and SPI functions individually and found out there is some problem in spi interface.
https://github.com/RajatSirohi/Lis3dh_nrf51
Please help me for the same. thanks