Forum Discussion
Altera_Forum
Honored Contributor
21 years agoi2c bus not work i think ?
I have add the I2C opencores component in SOPC builder, add the logic in quartus and assigned the pins. copiled the kernell en filesystem. i have started the i2cset I get this on my consol...
Altera_Forum
Honored Contributor
21 years agoIt is working !!
# i2cdetect
Error: No i2c-bus specified!
Syntax: i2cdetect I2CBUS
I2CBUS is an integer
With -f, scans all addresses (NOT RECOMMENDED)
With -q, uses only quick write commands for probing (NOT RECOMMENDED)
With -r, uses only read byte commands for probing (NOT RECOMMENDED)
If provided, FIRST and LAST limit the probing range.
i2cdetect -l lists installed busses only
Installed I2C busses:
i2c-1 unknown Opencores i2c 1 Algorith
m unavailable
i2c-0 unknown Opencores i2c 0 Algorith
m unavailable I get also pulses on the pins that i assginged. wehen i run "i2cdetect -f 0" or i2cdetect -f 1"