iMX8QM PM API and power profile

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX8QM PM API and power profile

49 Views
Contributor III

Hi,

I am experimenting with power management features for the i.MX8QM MEK. For Cortex-A53 cores, I can disable individual cores.

Example to turn OFF A53 core 2 from TFA, I can use:

sc_pm_req_low_power_mode(ipc_handle, SC_R_A53_2, SC_PM_PW_MODE_OFF)

For the M4 core 0, I can similarly use the partition info and power mode:

sc_rm_get_resource_owner(ipc_handle, SC_R_M4_0_PID0, &m4_pt)

sc_pm_set_resource_power_mode(ipc_handle, m4_pt, SC_PM_PW_MODE_OFF)

Is there any way to read back current iMX8 power consumption stats from SCFW or any example showing power usage profile or display ? Or do we need to instrument or use some HW test tools ?

Thanks in advance.

0 Kudos
1 Reply

14 Views
NXP TechSupport
NXP TechSupport

Hi rkohli2000

 

power management example can be found in M4 SDK_MEK-MIMX8QM folder ../demo_apps/power_mode_switch/

available on https://mcuxpresso.nxp.com/en/welcome

Power consumption can not be read by SCFW API, some numbers can be found in

AN12338 i.MX 8QuadXPlus Power Consumption Measurement

https://www.nxp.com/docs/en/application-note/AN12338.pdf

 

Best regards
igor

0 Kudos