Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI'm coming back after a while ;-)
So I eventually succeed in detecting my i2c device (RTC) despite I still get some half-amplitude i2c signals. Actually it was not a software issue but rather a FPGA configuration problem. To explain it simple: https://www.alteraforum.com/forum/attachment.php?attachmentid=7811 On figure 1, you can see that we used intermediate signals between the GPIO and the SDA and SCL hardware pins to adapt the 2-bit-wide bus. However it seems that it was not a proper solution because when by-passing these signals I could be able to scan successfully the rtc, using the i2cdetect utility. But, as I described below, I still get some weird i2c frames... Anyway, I can now get data from my rtc device so my problem is solved! Thanks to both of you ;-)