In my project whcih use EC21-E (QuecOpen EC21EFAR06A05M4G_OCPU_20.001.20.001_SDK) pin 4 is used as wakeup pin which is driven by an MCU (and a transistor+resistor to provide “level shitfer” to 1.8V voltage)
So far so good…
I have noted a strange behavior if EC21 modem is turned off (i.e. AT+CFUN=0). In that case when MCU triggers the module to exit from sleep, the voltage level measured at pin4 goes to about 650mV and not to 1.8V as expected. The result is that the module doesn’t exit from sleep.
If modem is turned ON (i.e. AT+CFUN=1) everything works as expected.
Is there any hardware limitation to manage sleep exit if modem is OFF?
If the version you are using is the above phenomenon(PIN4:CFUN 1, 1.8V; CFUN 0 , 0.6V), you need to remove the pin settings in airplane mode. This part is on the modem side, so you cannot be modified base on QuecOpen SDK.
Sure,you can modify the mdm9607-pinctrl.dsti, and please refer to qcom, mdm9607-pinctrl.txt, and please note that the default functions described in this table may not exactly match the version you are using, and you can double check with the configuration from DTS.
Thanks @Puck-Q,
I will check out if I’m able to modify pinctrl file even if I don’t know if I should search for gpio4 or gpio11 as per pin assignment spreadsheet.