Other Parts Discussed in Thread: SYSCONFIG
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 thatSysCtl_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