low power demo code for imx8m mini evk board

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

low power demo code for imx8m mini evk board

1,980 Views
anilpathrut
Contributor I

hello Sir,

I need to handle different low power modes like  RUN, IDLE, SUSPEND, and SNVS,

i am not able to see any source code for the imx8m mini evk board.

please give suggestion on source code for low power management and mode handling RUN, IDLE, SUSPEND, and SNVS,

 

0 Kudos
Reply
7 Replies

1,971 Views
igorpadykov
NXP Employee
NXP Employee

Hi Anil

 

one can look at https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/M4-Low-Power-Demo-on-i-MX8MM/ta-p/110110...

and sect.2.5.1 Low Level Power Management (PM)  i.MX Linux Reference Manual​

sect.6. Use-case configuration and usage guideline

AN12410  i.MX 8M Mini Power Consumption Measurement

 

Best regards
igor

0 Kudos
Reply

1,964 Views
anilpathrut
Contributor I

Hello Sir,

i have downloaded low power management domo code it is for cortex M4 core only 

not for the A53 process, i need some sample code for A53 processor and low power management code for A53. i am not able to find out source code and demo code for A53.

Please give suggestion on the above A53 processor source code and some sample code.

Thanks 

0 Kudos
Reply

1,954 Views
BiyongSUN
NXP Employee
NXP Employee

A53 side os is linux.  i.MX8MM just map the function to the linux.

 

For the RUN, IDLE, SUSPEND, and SNVS, it is related linux knowledge.

Also it has mentioned in the BSP release document i.MX Linux Reference Manual 


You can find mililions of documents for linux basic knowledge.
If you are a software engineer, read the linux code and documents.

RUN is running

IDLE is when linux no task need cpu, linux automatically gets into idle.

i.MX 8M Mini Power Consumption Measurement
4.1. Low-power mode use cases
These use-case scenarios were tested:
• Suspend mode
• IDLE_DEFAULT
• IDLE_DDRC_25MHz

SUSPEND is echo mem > /sys/power/state

i.MX 8M Mini Power Consumption Measurement
6.1. Suspend mode
In this use case, all clocks and PLLs are turned off, except for the 32 kHz clock which is used to wake up the system:
1. Boot up the Linux image.
2. Run this command to put the system into the DSM mode:
echo mem > /sys/power/state
3. Measure the power and record the result.

SNVS is linux after issue poweroff command, the board power down and keep the RTC only.

 

i.MX Linux Reference Manual

 

Untitled.png

0 Kudos
Reply

1,918 Views
anilpathrut
Contributor I

Thanks for your reply

the suggested method for handling low power management mode is on linux command line

but we are looking for linux low power management code. based on that we can handle low power modes in code only.

we are using imx8 mini evk board and we are using linux OS on the imx8 mini evk board, 

we are not able to get linux code for handling imx8 mini evk board low power management linux code

 

dd.PNG

what is the procedure to get power management Driver files from above screenshots , how to download driver files of power management for imx8m mini evk board

 

 

0 Kudos
Reply

1,903 Views
anilpathrut
Contributor I

thanks for the reply

i need to use below function related to low power mode In application software , i am new for linux, i need to know where need to call below function.

is there any specific document that will be helpfull 

do i need to use shell script for this

imx_gpc_pm_domain_enable();
imx_gpc_init();
imx_noc_wrapper_post_resume();
imx_noc_wrapper_pre_suspend();

 

0 Kudos
Reply

1,890 Views
BiyongSUN
NXP Employee
NXP Employee

you are a new for linux.

Here is no linux forum. 

0 Kudos
Reply