SCU wake event not working

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

SCU wake event not working

610 Views
Lakshmi_AG
Contributor III

We are trying to wake up AP cores from sleep mode using SCU wake event,

Using below SCU configuration before executing WFE.

sc_irq_enable(ipc_handle, 297U, SC_IRQ_GROUP_WAKE, SC_IRQ_PAD, SC_TRUE);
    /* Enable GPIO pad wakeup */
    sc_pad_set_wakeup(ipc_handle, 40U, 6U);//SC_PAD_WAKEUP_RISE_EDGE 6U
    sc_pm_req_low_power_mode(ipc_handle, SC_R_A53, SC_PM_PW_MODE_OFF);
    sc_pm_req_cpu_low_power_mode(ipc_handle, SC_R_A53, SC_PM_PW_MODE_OFF, SC_PM_WAKE_SRC_SCU);

 

But SCU is not generating interrupt to resume the core out of WFE.

0 Kudos
Reply
2 Replies

566 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Do you have ATF layer in your project?

0 Kudos
Reply

554 Views
Lakshmi_AG
Contributor III

No, We are trying to follow same steps as mentioned in ATF but executing in bare metal env.

0 Kudos
Reply