Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1427 Posts: 7608
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 81 Posts: 350
Will XDK GATEWAY allow an Arduino UNO to interface to the SPI and interrupts of the BMI160 in the XDK110?
I need to create API for our target Nordic MCU, which will be interfaced to SPI and interrupts of BMI160.
There is example software ( GITHUB hanyazou/BMI160-Arduino) for interface of Arduino UNO to to SPI and interrupts of the BMI160 on a purple CJMCU-160 breakout board.
The internal sensors of the XDK are connected to its own MCU and are not directly available to the outside. It sounds to me like you would need the bare sensor evaluation board for your idea.
But if you're just interested in getting the sensor data, the XDK allows you to read out the BMI and send the data, e.g. via USB or Bluetooth. There are examples included in the workbench for this.
as Mathias already mentioned, bypassing the XDK MCU and the sensor specific MCU is not possible. They are physically connected to each other, and the sensor specific MCUs are not physically accessible by the extension bus.
Additionally to Mathias's suggestion about building an XDK application to collect data from the BMI160 via BLE or USB, you can connect the Arduino with SPI via the extension bus to the XDK to exchange data too. Thus you can use the SPI example from the extension bus guide you can find in the related pages, as starting point to learn how to implement it.
Please tell me if this is helpful and do not hesitate to ask if you have further questions.