Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by sjtuj@Sep 4 2006, 07:33 AM where can i find the so-called programming example?
thank you!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18039)
--- quote end ---
--- Quote End --- Summary of information: In this forum under "Post your own IP" check the post "Integrate the Opencores's I2C ip into SOPC" As mentioned by jdhar there is "A ready made avalon component - no need to do all of this." under: http://via.fps-tech.org/svn/fpga/cores/i2c_master/trunk/ (http://via.fps-tech.org/svn/fpga/cores/i2c_master/trunk/) -> copy the folder and files into a folder in your Quartus project directory, SOPC Builder will find the component automatically. Add the component to your SOPC Builder system and connect the signals to some pins. The single hdl files, some usefull documentation and programming examples (chapter 6 of "i2c_specs.doc") can be found under: http://www.opencores.org/cvsweb.shtml/i2c/ (http://www.opencores.org/cvsweb.shtml/i2c/) The code from Fischer or alex824 (thank you very much guys!!!) can be copied into a .c file and then just use that functions. Hope this makes it easier or faster for somebody http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif