Forum Discussion
PHeri1
New Contributor
6 years agoalt_avalon_i2c_master_tx will always fail with -1 error code
In basic I have this: module top ( input clk, output [7:0] led, inout tri1 i2c_scl, inout tri1 i2c_sda ); wire i2c_scl_in; wire i2c_sda_in; wire i2c_...
druva1
Occasional Contributor
6 years agoI recommend to check this example of Master - slave communication: https://www.macnica.co.jp/business/semiconductor/articles/intel/129485/
even though is in Japanese (use google translate to read the pdf with the instructions) you can get the example files, they worked for me.
Cheers
PHeri1
New Contributor
6 years agounfortunately, this example exits with error code -2 (ALT_AVALON_I2C_TIMEOUT)