Ethan_Lin
-
Content Count
9 -
Joined
-
Last visited
Posts posted by Ethan_Lin
-
-
-
-
58 minutes ago, tooz said:hello @tooz
"Thank you for your response and help. I'm trying the methods you mentioned but still encountering some issues:
1. I don't have the 'clock-frequency' file on 'i2cspeed.sh'.
2. I attempted to change the path on 'i2cspeed.sh' to point to each file with 'clock-frequency', but none showed as being modified to 100k.
3. How can I modify 'i2c6_100K.dtbo' to experiment with higher and lower settings for comparison?" -
1 hour ago, tooz said:hello @Ethan_Lin,
to change the i2c speed in android 11 is similar to debian:
adb root adb remount adb pull /dtoverlay/config.txt (#uncomment intf:i2c6=on, and add overlay=i2c6_100k) adb push i2c6_100K.dtbo config.txt /dtoverlay/
the dtbo file can be downloaded here: https://www.asuswebstorage.com/navigate/a/#/s/258BFBD7E61045C9BECB7DA044378A844
I'm trying what you mentioned. I've also seen the same approach in other articles, but in my experiments,
I couldn't verify that it has successfully changed the speed. On Android, "i2cspeed.sh" doesn't seem to execute.
How can I change 100K to 400K or any other value?
-
I've looked at other articles, but there's nothing about the settings for the Android version here.
The current specifications I've gathered for I2C range from 100k to 400k, and it's also mentioned that it can be 1M, but I haven't found how to set it. I'd like to know what its minimum can be.
-
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.
-
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.
-
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.
How to set I2C Speed --- Android 11
in Android
Posted
hello @tooz
Tinker_Board_2-Android11-v2.0.15-20230601.img