Items with no label
3335 Discussions

Use SPI and I2C with Euclid to talk to Arduino

SIlie
Novice
1,940 Views

I want to send/receive data from Arduino Zero to Euclid with SPI and I2C.

Euclid product datasheet has this info:

"debug hook - LPC, USB debug, UART, SPI, I2C".

1. Why is SPI/I2C called "debug hook" - maybe because some of the internal Euclid sensors are attached to the SPI and I2C?

2. Can I use the SPI and I2C from the debug hook to talk to Arduino using Intel's MRAA library https://iotdk.intel.com/docs/master/mraa/index.html mraa: Main Page ? MRAA supports SPI and I2C for Joule, Galileo and Edison boards, but Euclid is not listed.

I plan for a project with 10+ servos daisy chained on a I2C bus and controlled either directly by Euclid or from Arduino talking to Euclid. The servos send a lot of feedback: temperature, torque, position, etc and UART may be slow.

7 Replies
idata
Employee
451 Views

Hello urobo,

 

 

Thanks for reaching out!

 

 

Please let us see what we can find out about this. We'll get back to you as soon as possible.

 

 

Pedro M.
0 Kudos
SIlie
Novice
451 Views

Hi Pedro,

thank you for looking into my question!

0 Kudos
Zhenyu_H_Intel
Employee
451 Views

In Euclid SPI is only used for flash BIOS. The I2C interface is in the back side of the Euclid, if the user wants to use it, he should have a debug board. The debug board is not the default accessory. If you have the debug card you can use the following pins.

0 Kudos
idata
Employee
451 Views

Hello urobo,

 

 

Is HunterHu's helpful regarding the question SPI and I2C? Did this information answered your question? Or, do you have any other doubts?

 

 

Regarding using MRAA, it has not been validated with Euclid so we are not sure if it will work or not.

 

 

Pedro M.
0 Kudos
SIlie
Novice
451 Views

thank you hunterhu and Pedro. I'd like to order the debug board and try to get i2c working. do you know where i can order this part?

0 Kudos
idata
Employee
451 Views

Hi urobo,

The Euclid itself can be ordered in https://click.intel.com/intelr-euclidtm-development-kit.html https://click.intel.com/intelr-euclidtm-development-kit.html.

I have not been able to find where to order the debug board, let me see if I can find this information.

Pedro M.

0 Kudos
idata
Employee
451 Views

Hi urobo,

 

 

Unfortunately, the debug card for Euclid is not available.

 

 

Pedro M.
0 Kudos
Reply