Hi,
I'm working on the low power idle mode and wakeup via GPIO5 L6 (WAKEUP pin) in SLN-LOCAL2-IOT board. For this, I have modified the code which i got from this reply
Unfortunately, I encounter some strange issues:
What could be causing these issues? How to solve these issues?
My code is attached below.
已解决! 转到解答。
Hi @dashdwan
1 Could you please suggest some chips in iMX RT series which supports these modes?
-Answer: RT1050,RT1060, you can use the MIMXRT1060-EVK board to test it.
2.I actually need to switch to some low power mode which supports resume wake up. Is there any other option other than System Idle to do the same?
-Answer: You can use :
Press E for enter: System Idle - System Wait mode
After wakeup, will go on execute from the entre low power area.
Now, no other mode. Why you don't use the system Idle mode?
Best Regards,
Kerry
Hi @dashdwan ,
Thanks for your new question post.
Your issue is mainly caused by the low power + debug mode.
As I told you previously, low power mode need to download the code to the board, then test it without the debugger. You can use the printf screen to check it. As the low power mode will turn off the SWD debug, that's why you meet the abnormal issues.
So, just don't debug, download code to the chip, and test it. If you can, you even can solder the UART interface out, then use the TTL-USB tool to connect the UART, then you can use the PC console tool to check the printf information.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
Hi @kerryzhou ,
I did check without debugger initially, it doesn't seemed working then. This forced me to debug and check about what has gone wrong.
I would also like to add few more updates to this issue.
I would also like to bring to your notice that i cannot access the target directly from terminal when i flash this specific code.
So it's not possible for me to get the printf. Thus I'm using LED blinks for the indications.
Do you see any other possibilities for the abnormal behavior mentioned?
Hi @dashdwan
To the idle mode, use my attached code, you will find, each time, you press the wakeup, the led blinking again.
Your issue is cased by you didn't familiar with the code, I fix the mode to the :
Press E for enter: System Idle - System Wait mode
And use the Wakeup pin to wake up it, the test it the as my previous reply
Test my attached project again.
If you still have issues about it, please kindly le me know.
Best Regards,
Kerry
Hi @kerryzhou
I had already tested and verified the System Idle mode by setting the ch variable to E.
In this case, i required the Low Power Idle Mode (ch = 'F').
I have used the below code to check that, but it doesn't work fine after we reconnect the device.
I have now observed that upon reconnecting, the device does move to sleep (LED blink stops), but doesn't wake up.
Could you please check that?
Hi @dashdwan ,
Please use my above attached code and test it.
If you need 'F', just modify the project code:ch = 'F', then test it.
Please test it based on my code, I have tested it, no matter power off and power on it again, all works.
If you still have issues, kindly let me know.
Best Regards,
Kerry
Hi @kerryzhou
Thanks you checked the code. But unfortunately, it is not working in my device.
I changed it back to 'E' and tested; its working then.
The low power idle is not working yet, i can't figure out what has gone wrong!
Hi @dashdwan ,
Seems the low power RUN and low power Idle is cut off from the RT106S chip.
You are right, I find D, F can't works, seems no this mode.
But, A,BC,E,G,H works.
Do you mind use the A,B,C,E,G,H mode?
Best Regards,
Kerry
Hi @kerryzhou
Thanks for your response. I have two more queries.
Hi @dashdwan
1 Could you please suggest some chips in iMX RT series which supports these modes?
-Answer: RT1050,RT1060, you can use the MIMXRT1060-EVK board to test it.
2.I actually need to switch to some low power mode which supports resume wake up. Is there any other option other than System Idle to do the same?
-Answer: You can use :
Press E for enter: System Idle - System Wait mode
After wakeup, will go on execute from the entre low power area.
Now, no other mode. Why you don't use the system Idle mode?
Best Regards,
Kerry