This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there any example on interfacing nrf52840 with icm 20601 using spim?

Hi guys, I just want to know if there's a way for the above and how if yes.

Parents Reply
  • Hi,Kumar

    I had think about that and I've tried to check all the 4 cases. But, strangely, the device ID returned was always 0x00 in the 4 cases.....

    nrf_drv_spi_transfer() returned NRF_SUCCESS, seemed that there's no problem in transmission.  But the returned value 0x00 showed that read_data function wasn't work.......

    Have you read and write icm successfully by spi?Can you show me your code for a example?

    thanks a lot.

    Jerry 

Children
Related