06-08-2023 01:56 AM
Hi, I am trying to communicate with the BMI270 chip with the nRF52840 DK over SPI. I am trying to get the chip_id by performing a dummy read on device start up. However, when I perform a second read to access the chip_id, this is what I get on the SDO (MISO) line. The clock is operating at 2 MHz.
This is what my code looks like broken down into parts:
1. IMU initialization
2. nRF CLI interface command to read chip_id
This is what my SPI initialization looks like:
And here is what my SPI transfer code looks like:
06-09-2023 11:12 AM
Hi Aglenn5,
You can refer attached example code on Nordic nRF52840.
06-09-2023 09:26 PM
Hi, I don’t see any attached example code in your reply. Is there a link you can send me? Thanks!
06-12-2023 03:28 AM
08-23-2023 09:36 AM
Hi Aglenn5,
The decompression password is: bst.123