BHI260AP example euler software

Hello,

I am using NRF52832. In the sample code I have set common.c and common.h according to NRF52832. I'm reading parts like Product ID correctly, the value is 0x89. rslt=bhy2_upload_firmware_to_ram(bhy2_firmware_image, sizeof(bhy2_firmware_image), &bhy2); When it comes to the part, it reads as rslt=0xfb, that is -3. I am using Bosch_APP30_SHUTTLE_BHI260_aux_BMM150.fh.h firmare image. When this happens, the kernel version is read incorrectly with a value of 0. Do you think spi communication software is wrong or I have to do something else?

NRF52832 compatible spi read and spi write software

can you please help me? Can you give a detailed explanation? I have limited time and a lot of BHI260APs will be used for a project.

Best reply by BSTRobin

Hi uuranbey,

You could refer SPI part in attached nRF52840 example code. I hope it will be useful to you.

BMI270_SPI_nRF52840.zip
52.41KB
View original
2 replies
Resolved