ARM CORTEX M4 in Power Management

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

ARM CORTEX M4 in Power Management

1,747 Views
vinothkumars
Senior Contributor IV

Hi All,

I am working on IMX8QM-MEK with Android Automotive. I have some doubt regarding power management.

1. Is it possible to sleep/ wake up the head unit using from M4 ?

2. Is M4 Core have the cloud support ?

Thank You,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos
9 Replies

1,495 Views
vinothkumars
Senior Contributor IV

Solution here,

IMX8QM-MEK Power Management difference between Linux and Android 

Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 Kudos

1,495 Views
chenguoyin
NXP Employee
NXP Employee

you may need to configure the M4's MU as a wakeup source for A core. And has simulate the power key event and send to A core.

Could you give a more detail description about your case? We may think how to add into our release.

0 Kudos

1,495 Views
vinothkumars
Senior Contributor IV

Hi chenguoyin

I able to put on deep sleep by using

    AP_POWER_STATE_REQ - 4, 2

Configure the timer for some of the min

And exit from Deep Sleep

   AP_POWER_STATE_REQ - 3,2

Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos

1,495 Views
vinothkumars
Senior Contributor IV

Thank You chenguoyin‌ for the quick reply.

you may need to configure the M4's MU as a wakeup source for A core. And has simulate the power key event and send to A core.

How to configure M4 is WakeUp source for A core ?

Will you please provide the configuration.

Could you give a more detail description about your case? We may think how to add into our release.

Able to suspend and wakeup by using this commands,

AP_POWER_STATE_REQ -  adb shell dumpsys activity service com.android.car inject-vhal-event 0x11410a00 4,2

Reference Link,

Power Management  |  Android Open Source Project 

I have to configure user wakeup the system instead of internal timer. AP_POWER_STATE_REQ  using rtc timer to wakeup the system.

Thanks & Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos

1,495 Views
b36401
NXP Employee
NXP Employee

1.
There is no such option. Sorry for the inconvenience.

2.
It is possible to use Ethernet on M4 core.

0 Kudos

1,495 Views
vinothkumars
Senior Contributor IV

Thank you Victor Linnik for the quick reply.

How to configure user to control the sleep and wakeup by Ethernet ?

by using mem - able to sleep and wakeup the system.

 

Is there any configuration USER to control the sleep and wakeup functionality from M4 ?

Thanks & Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos

1,495 Views
vinothkumars
Senior Contributor IV

Is there any documents/ reference for Power Management using ARM Cortex-M4 core ?

Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos

1,495 Views
b36401
NXP Employee
NXP Employee

Sorry for the delay. I sent you some example code via direct message.

0 Kudos

1,495 Views
vinothkumars
Senior Contributor IV

Hi, 

Is anyone experience with M4 give some ideas ?

Thanks & Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos