I'm using Raspi 5 to communicate with an Arduino via I2C.
In `raspi-config`, I enable I2C, and I set parameters in `/boot/firmware/config.txt`:
I set the address at `0x08` for the slave.
But the slave device is still missing:
With response:I use serval slaves and get the same issue.
Diagnostics I have done so far:
In `raspi-config`, I enable I2C, and I set parameters in `/boot/firmware/config.txt`:
Code:
dtparam=i2c_arm=ondtparam=i2c_arm_baudrate=400000
But the slave device is still missing:
Code:
i2cdetect -y 1
Code:
0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Diagnostics I have done so far:
- the waves of `i2cdetect` without any slave connection (channel 1 for SCK and 2 for SDA):
- `raspinfo` shows a suspicious message:after reboot, there is no such message in `raspinfo`, but it shows again after I run `i2cdetect`.
Code:
i2c_designware 1f00074000.i2c: i2c_dw_handle_tx_abort: lost arbitration
Statistics: Posted by wangprice — Wed Jul 31, 2024 2:46 pm