Cannot wakeup from SNVS mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot wakeup from SNVS mode

1,797 Views
dashdwan
Contributor III

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.

Screenshot from 2021-10-28 20-25-20.png

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

Screenshot from 2021-10-28 20-21-45.png

But still there's no change in the situation. Is there any other configuration we should change?

 

0 Kudos
Reply
8 Replies

1,785 Views
igorpadykov
NXP Employee
NXP Employee

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

0 Kudos
Reply

1,775 Views
dashdwan
Contributor III

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.

Screenshot from 2021-10-29 10-13-35.png

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. 

Tags (2)
0 Kudos
Reply

1,767 Views
igorpadykov
NXP Employee
NXP Employee

>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

0 Kudos
Reply

1,753 Views
dashdwan
Contributor III

Hi igor,

Thanks for your inputs. I have configured those as:

Screenshot from 2021-10-29 18-57-22.png

 

Still the wakeup doesn't happen.

0 Kudos
Reply

1,747 Views
igorpadykov
NXP Employee
NXP Employee

one can try not with GPIO5, but with configuring pad WAKE as NMI (ALT7),

as was suggested in last reply.

 

Best regards
igor

0 Kudos
Reply

1,730 Views
dashdwan
Contributor III

Thanks for your response igor and sorry for the delayed response from my side,

I modified the configurations as:

Screenshot from 2021-11-01 10-29-03.png

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.

0 Kudos
Reply

1,725 Views
igorpadykov
NXP Employee
NXP Employee

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

 

 

 

0 Kudos
Reply

1,720 Views
dashdwan
Contributor III

Hi igor,

Thanks for your suggestion. I have posted the issue here. 

 

0 Kudos
Reply