Ethan_Lin 0 Posted November 22, 2023 Devices :Tinker board 2s Sometimes, devices will block the I2C bus, but I want to resolve this issue through software without the need for a reboot or power cycling. I have some ideas, such as altering GPIO status, but this method has proven unsuccessful. I hope someone can provide a viable solution. Share this post Link to post Share on other sites
Ethan_Lin 0 Posted November 22, 2023 23 minutes ago, Ethan_Lin said: Devices :Tinker board 2s , OS : Android 11 Sometimes, devices will block the I2C bus, but I want to resolve this issue through software without the need for a reboot or power cycling. I have some ideas, such as altering GPIO status, but this method has proven unsuccessful. I hope someone can provide a viable solution. Share this post Link to post Share on other sites
tooz 52 Posted November 22, 2023 hello @Ethan_Lin, what's the os/ version and i2c bus you're using? did you connect it to other peripherals? Share this post Link to post Share on other sites
Ethan_Lin 0 Posted November 22, 2023 4 minutes ago, tooz said: hello @Ethan_Lin, what's the os/ version and i2c bus you're using? did you connect it to other peripherals? thanks for reply tooz I have connected ADC and DAC. Initially, they functioned properly, but after frequent input and output data operations, I noticed that the returned data became incorrect. Share this post Link to post Share on other sites
tooz 52 Posted November 22, 2023 hello @Ethan_Lin, 1. from what you've described i'd suggest to check the devices (the dac, adc) 2. please collect the logs when the issue occurs, you can use adb with the command: adb shell su -c dmesg > dmesg.log Share this post Link to post Share on other sites