Tool/software: Linux
Hi all,
I try to communicate with Beaglebone Black via I2C2 bus, like below:
+ SCL(P12_16) -> P9_19 on BBB
+ SDA(P12_20) -> P9_20 on BBB
The position of SW1 is "I2C" and SW2 is "LOW". Although the result seem not good, I can send and receive data to MICRO_CHIP_24LC64, slave address is at 0x50:
root@beaglebone:~# i2cset -y 2 0x50 0x00 0x00
root@beaglebone:~#
root@beaglebone:~# i2cget -y 2 0x50 0x00
0x12
When i send data to TLV320AIC304, slave address is at 0x30 ( or 0x18, i don't know exactly), It's error. Terminal is:
root@beaglebone:~# i2cset -y 2 0x30 0x00 0x00
Error: Write failed
root@beaglebone:~# i2cset -y 2 0x18 0x00 0x00
Error: Could not set address to 0x18: Device or resource busy
root@beaglebone:~#
Can everybody help me to check?
Thanks