I am using SPI0 of nrf52.Following is the code:
I am using SPI0 of nrf52.Following is the code:
Hi Martin, Yes you are right.Actually I was not waiting for flag "m_transfer_completed" to generate.That is when "m_transfer_completed=true" then only I can send next byte to the ADXL362 register. As per your comment I have modified my code and now I can communicate (Read as well as Write) with ADXL362.Thanks for your comment.
That's good! I'm glad you made it work.