Gpio6 of wp7608 on mangOH


#1

Hi All,

I would like to understand the GPIO6 functional behaviour. Does this gpio has any specific functionality wrt to modem ?

Initially, this signal was configured as input and no access from linux as shown below. It means any specific reason for configuring as input ?

AT+WIOCFG?
+WIOCFG: 2,16,0,0,1,0,0
+WIOCFG: 6,0,0,0,1,0,0
+WIOCFG: 7,16,0,0,1,0,0
+WIOCFG: 8,16,0,0,1,0,0
+WIOCFG: 13,16,0,0,1,0,0
+WIOCFG: 21,16,0,0,1,0,0
+WIOCFG: 22,16,0,0,1,0,0
+WIOCFG: 23,16,0,0,1,0,0
+WIOCFG: 24,16,0,0,1,0,0
+WIOCFG: 25,16,0,0,1,0,0
+WIOCFG: 28,16,0,0,1,0,0
+WIOCFG: 29,16,0,0,1,0,0
+WIOCFG: 30,16,0,0,1,0,0
+WIOCFG: 31,16,0,0,1,0,0
+WIOCFG: 32,16,0,0,1,0,0
+WIOCFG: 33,16,0,0,1,0,0
+WIOCFG: 35,16,0,0,1,0,0
+WIOCFG: 42,16,0,0,1,0,0

OK

So I changed this signal to output from the AT Commands as shown below

AT+WIOCFG=6,16,1,1,0,0,0

I would like to use the gpio6 as like gpio2(Reset signal to Ethernet bridge ) in mangoH.
Is that possible to achieve the same behavior with the gpio6 ?

Thanks,
Siva


#2

Hi Siva,

To my understanding, GPIO6 of WP7608 is named RESET_OUT_N and serving as reset signal for external peripheral.
Please refer to PTS section 4.14 “Reset Out (RESET_OUT_N)” for details.
https://source.sierrawireless.com/resources/airprime/hardware_specs_user_guides/airprime_wp76xx_product_technical_specification/

If that doesn’t match your requirement, +WIOCFG can be used to configure and allocate it to Linux sysfs/Legato use.
That is possible since Release 6, please refer to table in section 14.2 of customer release note for that change:
https://source.sierrawireless.com/resources/airprime/software/release_notes/wp76xx-release-10,-d-,1-customer-release-notes/

Note, the original “+WIOCFG: 6,0,0,0,1,0,0” means it is allocated as RESET_OUT_N by default for MangOH.

Hope it helps.
Thx


#3

Hi Stirulaka

The GPIO6 is special IO of module.
It has multi function in different condition.

If some “custom” function is enable, it will be occupied. for example “DSSS”- Dual SIM Switch System, RESET_OUT_N.

Please avoid such multi function pin.