Hi, I'm using SLN-LOCAL2-IOT development kit (i.MXRT106S). My use case is to make the CPU sleep and wake upon receiving signals at WAKEUP pin. I think the system is going to SNVS mode after the following code snippet.
But when i gave a low signal at WAKEUP pin (GPIO5 0 pin), it's not waking up.
I tried changing some lines of pin_mux.c too
But still there's no change in the situation. Is there any other configuration we should change?
Hi Ashwanth
in snvs mode all power supplies are turned off except SNVS according to
Table 13. Low power mode current and power consumption i.MX RT1060 Crossover MCUs for Consumer Products
so wake can be possible only with pins powered by SNVS power domain, like "ONOFF" as described in
Table 83. 10 x 10 mm functional contact assignments Column "Power Group".
Best regards
igor
Hi igor,
Thanks for responding. I understand that wake can be possible only with pins powered by SNVS power domain. The pin which i'm currently using as wake pin is described below.
Few seconds after the device shift to SNVS mode, i gave a low signal to the Test Point of this pin, but still it does not wake up.
>The pin which i'm currently using as wake pin is described below
one can try to configure pad WAKE as NMI (ALT7)
(sect.11.5.1 SW_MUX_CTL_PAD_WAKEUP SW MUX Control Register
(IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP),
sect.11.7.342 NMI_GLUE_NMI_SELECT_INPUT DAISY Register
(IOMUXC_NMI_SELECT_INPUT) ).
Also one can check if SNVS is powered, test with ONOFF.
Best regards
igor
Hi igor,
Thanks for your inputs. I have configured those as:
Still the wakeup doesn't happen.
one can try not with GPIO5, but with configuring pad WAKE as NMI (ALT7),
as was suggested in last reply.
Best regards
igor
Thanks for your response igor and sorry for the delayed response from my side,
I modified the configurations as:
But still the wakeup operation does not happen.
NOTE: I could not find the macro to alter the IOMUXC_NMI_SELECT_INPUT field descriptions and thus it remains unchanged.
there is special iMX RT forum, so for SLN-LOCAL2-IOT development kit (i.MXRT106S)
suggest to post issue there
https://community.nxp.com/t5/i-MX-RT/bd-p/imxrt
Best regards
igor