Update i2c_firmware/README.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# OpenWRT 24.10.4 Firmware with GPIO I²C for GL.iNet XE300
|
# OpenWRT 24.10.4 Firmware with GPIO I²C for GL.iNet XE300
|
||||||
|
|
||||||
Custom OpenWRT build enabling **GPIO-based I²C master** on the GL.iNet XE300 (QCA9531) using `i2c-gpio` driver and clean DTS integration.
|
Custom OpenWRT build enabling **GPIO-based I²C master** on the XE300 using `i2c-gpio` driver and clean DTS integration.
|
||||||
|
|
||||||
## Locate & Edit DTS
|
## Locate & Edit DTS
|
||||||
|
|
||||||
@@ -30,6 +30,12 @@ i2cdetect -y 0
|
|||||||
cat /sys/kernel/debug/gpio
|
cat /sys/kernel/debug/gpio
|
||||||
i2cdump -y 0 0x48 # Adjust address accordingly
|
i2cdump -y 0 0x48 # Adjust address accordingly
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
- ✅ If you connect the resistors after boot, bus works great (ADS1115 detected at 0x48).
|
||||||
|
- ✅ Reboots are fine — problem only occurs on cold boot / full power cycle.
|
||||||
|
- ✅ The ADS1115 can be powered before boot or after — no issue.
|
||||||
|
- ❌ The presence of 3.3V on SDA/SCL at boot causes the SoC to hang.
|
||||||
|
|
||||||
Ubuntu 22.04+ build tools:
|
Ubuntu 22.04+ build tools:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user