Page 1 of 1

I2C and SPI access?

Posted: 28 Aug 2019, 18:06
by Awestruck
Hi -

I just discovered the RevPi. Very nice product!

In addition to some more industrial like sensors/I/O, I'm going to need to access SPI and I2C.
Is this possible with RevPi or add on I/O modules?

I'm just diving in now to learn a bit and a description I read of the IO modules made me thing they are purely digital I/O, not general purpose or configurable to something like I2C or SPI or 5V digital pin.

Thank you.

Re: I2C and SPI access?

Posted: 09 Sep 2019, 13:40
by RR4711
SPI should be possible on the "RevPiConnect" header for the "CON-XXX" modules (the connector on the right side), not on the RevPiCore.

The RevPiConnect exposes a UART and SPI, and one GPIO Pin. I had success using the GPIO ("INT"-Pin ) as 1Wire Master, the SPI I still need to test but should work as well. It's not "officially" supported I guess. KUNBUS uses it for attaching special hardware, e.g. the CON-CAN module.
You may want to look into the schematics of the RevPiConnect.

Markus

Re: I2C and SPI access?

Posted: 19 Sep 2019, 11:05
by dirk
Hi together, yes you may have access to the schematics here: https://revolution.kunbus.com/tutorials ... rect=en_US
The Con Bridge adapter is what you need (ConBridge-WD.SchDoc in the PDF). Here is the pinout:
https://revolution.kunbus.com/tutorials ... n-connect/