XDK GATEWAY and Arduino UNO
Answer
4/11/17 1:39 PM

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.

0 (0 Votes)
RE: XDK GATEWAY and Arduino UNO
Answer
4/12/17 8:14 AM as a reply to DOUG BELL.

Hello Doug,

 

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.

 

Best regards,

Mathias

0 (0 Votes)
RE: XDK GATEWAY and Arduino UNO
Answer
4/12/17 9:00 PM as a reply to Mathias Bruendel.

Hello Doug,

 

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.

 

Kind regards,

Franjo

0 (0 Votes)