Set outputs with AT commands
Posted: Tue Aug 12, 2025 5:27 pm
I'm trying to drive high the GPIO 19 and 22 PINs on the ESP-C6-MINI-1U module.
I'm doing it with AT+SYSREG because I have 3250 modules with AT V4.0.0 firmware .
The sequence I'm doing is this:
AT+RESTORE
OK
AT+SYSREG=1,0x600B4928,0x00001200 //MUX SET GPIO19
OK
AT+SYSREG=0,0x600B4928 //Read if the set is done
+SYSREG:0x0 (The register doesn't write)
AT+SYSREG=1,0x600B4934,0x00001200 //MUX SET GPIO22
AT+SYSREG=0,0x600B4934 //Read if the set is done
+SYSREG:0x0 (The register doesn't write)
AT+SYSREG=1,0x60091020,0x00480000 // Configure outputs
OK
AT+SYSREG=1,0x60091004,0x00480000 // Drive High the pins
OK
The main problem is that the mux doesn't write, but I just need to achiueve to set the two pins at logic level HIGH
Someone can please provide me the correct sequence?
I'm doing it with AT+SYSREG because I have 3250 modules with AT V4.0.0 firmware .
The sequence I'm doing is this:
AT+RESTORE
OK
AT+SYSREG=1,0x600B4928,0x00001200 //MUX SET GPIO19
OK
AT+SYSREG=0,0x600B4928 //Read if the set is done
+SYSREG:0x0 (The register doesn't write)
AT+SYSREG=1,0x600B4934,0x00001200 //MUX SET GPIO22
AT+SYSREG=0,0x600B4934 //Read if the set is done
+SYSREG:0x0 (The register doesn't write)
AT+SYSREG=1,0x60091020,0x00480000 // Configure outputs
OK
AT+SYSREG=1,0x60091004,0x00480000 // Drive High the pins
OK
The main problem is that the mux doesn't write, but I just need to achiueve to set the two pins at logic level HIGH
Someone can please provide me the correct sequence?