Forum Discussion
Altera_Forum
Honored Contributor
19 years agoOV's SCCB is I2C. GPIO is general prupose PIO. I think there are a lot of things you need to learn. FIrst you should study some PIO exercises, such as LED, button switch etc. Next you can find some application note on I2C from www.nxp.com. Then you can build your own I2C interface routines. Get some reading about interface and embeded programming books. You'd learn from the bottom up.
Sorry, I cannot help you step by step. I posted a i2c-gpio driver for uClinux, but I don't know if it help.