Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: felipegn on March 27, 2014, 08:53:15 PM

Title: TWI0
Post by: felipegn on March 27, 2014, 08:53:15 PM
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.
Title: Re: TWI0
Post by: olimex on March 27, 2014, 09:00:28 PM
you can check this

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A13/MOD-RTC