Forum Discussion
tehjingy_Altera
Regular Contributor
3 years agoHi snehal_p
I found that the DE1SOC has a multiplexer for the I2C.
Could you try setting the HPS_I2C_CONTROL (GPIO48) high before trying out the i2c command?
Regards
Jingyang, Teh
- snehal_p3 years ago
Contributor
Hello Jingyang,
PFA screenshot of the debug console, 68h is the address for the rtc breakout board. It seems that it is detecting rtc and also returns value for i2cget command but when executing rtc application it returns wrong values.
PFA rtc.c code.
Thanks,
snehal_p