Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by tonnoplast@Jan 26 2007, 05:32 AM hi. should you give the open cores i2c please?
and where is possible to find the code on c language for that? i tried the one on portable reference platform but it's not right.
many thanks
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20882)
--- quote end ---
--- Quote End --- I think using a hardware i2c core is over-killed to the simple problem. You can use pio to access i2c with a simple software approach. You can look at the i2c bus or chips spec. There are bitbanging pio drivers on Linux. Most PC motherboards use pio to access i2c/smbus, too.