TWI0

Started by felipegn, March 27, 2014, 08:53:15 PM

Previous topic - Next topic

felipegn

Hello guys. I'm new in single board computers and I would be gratefull if someone could help me.

In my Olinuxino A20 I'm already using the two UEXTs for serial communication.
I'm having issues with the date, because everytime I restart the board the date is set to 2010.
So I was thinking about adding a real-time clock via I2C. The only I2C interface not used is TWI0 in the GPIO.

Can you guys help me by showing me how to use TWI0.

Thank you.