Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I studied Your project as a tutorial. It really helped! Would You please post Your NIOS II + I2C design to show how to program NIOS to do I2C inititialization and how to set I2C bidirectional pins in open collector mode. Or please point me to some good tutorial on this subject. --- Quote End --- Aphraton I remember using Quartus version 7.x and editing the pin list to insure that each one correctly corresponded to the needs of the project. Any discrepancy was met with many glaring compiler errors so one quickly learned the ropes. However the newer version of the compiler seems to use the input/output declarations in the Verilog code to assign the pin type. In the attached PDF I put several more screen grabs of that project and some source code for you to look at. Please let me know what parts of this are still not clear. lrp