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.
Tool/software:
Hello Team,
I am working on LAUNCHXL F28P65X eval kit. For my project, I am aiming to achieve a low-power mode (halt mode) as described in the user manual. I have attempted to use the example provided in CCS Studio, but those examples are for single-core applications. My project is based on a dual-core environment, and I have a few questions regarding this:
Do I need to configure separate GPIO wakeup pins for CPU1 and CPU2, or can the same pins be used for both?
How can I register the WAKEINT
interrupt using SysConfig or do I need to do using function APIs?
Is it necessary to configure the WAKEINT
interrupt on both cores, or is it sufficient to configure it on just one?
From my understanding, the SysCtl_enterHaltMode
function should be called from both cores to enter low-power mode. I am using the same GPIO pin (XINT) to detect state changes and trigger this function. How can I define the same interrupt on both cores and ensure that SysCtl_enterHaltMode
is executed properly?
Whenever my GPIO pin goes high indicating sleep signal I want to enter into halt mode and when the same pin goes low indicating wake signal, I want to come out of halt mode and start with the normal operation. Also moving forward, I want to add watchdog-based wake signal which will periodically wake the microcontroller.
Looking forward to your response.
Regards,
Rohit
Hi Rohit,
I will look at the example and see how we can make it working for dual cpu. Will update you when I have more information.
Regards,
Hadi