arduino-libraries / Arduino_BMI270_BMM150

GNU Lesser General Public License v2.1
18 stars 11 forks source link

Provide SPI support for this library. #39

Closed ha11otronix closed 4 months ago

ha11otronix commented 4 months ago

Hi, I was trying to see if we can use SPI for these sensor instead of I2C. Is there way to use SPI on this library?

aentinger commented 4 months ago

Hi @ha11otronix :coffee: :wave:

In theory SPI could be used with this library as both BMI270 and BMM150 have both I2C and SPI interfaces. On the Nano 33 BLE Sense however we are hardware-bound to use the Wire interface. I imagine supporting SPI is therefore no priority for Arduino. However, if you'd provide a clean pull-request I'd be open to merge SPI support.