Forum Discussion
Altera_Forum
Honored Contributor
12 years agoGetting data from a rtc device through I2C
Hi all, I would like to retrieve information from a RTC device which is directly connected to a GPIO, using the i2c protocol. So, the first step was to load the i2c-gpio driver with this piece ...
Altera_Forum
Honored Contributor
12 years agoHi Kazu,
Thank you for these explanations. Indeed, the 'hardware' SCL and SDA pins are open-drained with a 4k7 resistor, so I configured them as such in the module I wrote. Our design uses the basic altera GPIO, and I came upon this webpage: http://www.alterawiki.com/wiki/gpio where the author uses the opencore GPIO instead of the basic altera GPIO. So, do you think the bug I cope with can come from this difference? jrm