This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello TI Team,
I am using an example code for MSP430FR5969, I want the device to go into LMP4 mode and after 60 seconds I should restart itself automatically without external interupt(Like a button). How can I achieve this
The code I am using is attached down this thread.
Hey Pukhraj,
What do you want to have on during your low power sleep? The code example you are showing here is for LPM4.5. In LPM4.5, everything this shutdown and only external wake-up is possible.
Will you have an RTC? There is an LPM3.5 mode, which shutsdown everything but the RTC and then your RTC could wake you every 60 seconds. It's very slightly higher power and, but I think this is probably the ideal mode for you.
Thanks,
JD
So, can you share me the code for the LMP3.5 node where the device can go into sleep for 60 seconds and then wake up. Like I am able to download the code but the code is configured for 2 second interval. How do I change it so that the microcontroller is off for 60 seconds and then again power ON the GPIO's.
Thankyou,
Best regards,
Pukhraj Singh
Hey Pukhraj,
Yes, as you mentioned, we have a LPM3.5 example that wakes from RTC every 2 seconds, here: https://dev.ti.com/tirex/explore/node?node=A__AAMul1n2VPAevkaO2S7xVw__msp430ware__IOGqZri__LATEST
To change from 2 seconds to 60 seconds, the easiest way would probably be to change the divider in InitRTC() and WakeUpLPM35() functions.
Thanks,
JD
Hello JD,
I am very new to MSP430. It would be great if you can explain or edit what is needed to be changed in the divider parameter in InitRTC() and WakeUpLPM35() functions.
Thank you!
Best regards,
Pukhraj Singh
Pukhraj,
Unfortunately, I haven't had a chance to dig in and give specific code change recommendations, but perhaps you can look at the RTC MSP Academy and hopefully it will help you out. It's a written, interactive training. It's written for a FR2x device, but you can probably follow somewhat closely along on the FR5x.
Thanks,
JD
**Attention** This is a public forum