There is a gist posted on github here : https://gist.github.com/BoschSensortec/53a27010ff5af5350b3641ee46d34762 it shows an example on how to interact with BMI270 using the sensor API on Arduino platforms (as long as it has SPI or I2C and reasonable amount of memory). hopefully this helps.
... View more