Forum Discussion
Altera_Forum
Honored Contributor
8 years agoNIOS II/f altera_avalon_i2c, possible BUG in HAL
Hi, I need a I2C master for my NIOS II/f. I thought using the I2C master which is shipped by Altera in Quartus Prime 17.0 should serve my needs. However I'm a bit worried about the software q...
Mosari
New Contributor
3 years agoHi jmcguire3
Thank you for reply and post scope pic.
After that. I always use modify altera_avalon_i2c.h.
User need define ALT_AVALON_I2C_DIFF_LCNT_HCNT by speed for now.
I try 50kHz. So I set DIFF_LCNT_HCNT "120"
and using ALT_AVALON_I2C_SS_MAX_HZ = "50000".
Work is OK.
User need set thats manually.
reported.