Hi,
Thanks for your inquiry.
Sorry that we don't have sample codes for NRF52840 MCU for BMI270 and BMP388. However, the API source codes on the Github for BMI270 and BMP388 are generic C code that can be integrated into different MCUs. You only need to define register read function using I2C/SPI, register write function using I2C/SPI and delay function in your NRF52840. Then you should be able to use the API source codes of BMI270 and BMP388.
Please see the attached BMI270 Arduino sample code using SPI interface.
Thanks.
... View more