Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX9-L/Deployment/Power Manager

1,360 bytes added, 5 April
no edit summary
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
!|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|2024/04/02!|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|Power Manager documentation
|-
|}
== Operational characteristics ==
The measurement of power consumption of the <code>measurements for [[AURA SOM | AURA SOM</code> ]] are executed with <code>3.3 V</code> power supply.
== Power consumption ==
There are various operating modes available.
'''Attention, ''': the SOC used does not support the DVFS and therefore the use of the <code>governor </code> present in the Linux kernel, instead of this functionality to scale the performance to have lower consumption by the SOC there is a new technology the <code>Low Drive mode</code>.
=== Low Drive mode ===
* [https://www.nxp.com/docs/en/data-sheet/IMX93CEC.pdf i.MX93 datasheet]
* [https://docs.nxp.com/bundle/AN13917/page/topics/reducing_power_consumption_0.html AN13917: i.MX 93 Power Reducing the power Consumption Measurement]* [https://docs.nxp.com/bundle/AN13917/page/topics/overview_of_imx_93_power_architecture.html AN13917: i.MX 93 Power Consumption MeasurementArchitecture]
There are four operating modes(Not all present by default on <code>Aura SOM</code>):
Note:
* (1): <code>Over drive</code> is the default operating mode.* (2): <code>Over drive</code> can be disabled, see [[#Device Tree | here]].* (3): <code>Low drive</code> need to activate be activated from <code>device tree</code> by default these are not present, see [[#Device Tree | here]].
==== Device Tree ====
To enable/disable and configure the driver must use the device tree, must used: by default the node <code>lpm</code> present on <code>arch/arm64/boot/dts/freescale/imx93.dtsi</code> are is disabled, then the <code>Low Drive Mode</code> are disableis disabled.
By default , on <code>Aura SOM</code> the support are enable is enabled with minimal configuration to have:
* <code>Over drive Mode</code>
* <code>Nominal drive Mode</code>
regulators {
buck1: BUCK1 {
regulator-name = "BUCK1"; regulator-min-microvolt = <600000>; regulator-max-microvolt = <2187500>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>;...
};
...
</pre>
The node to change the SOC voltage supply need needs the <code>PMIC buck regulator reference</code> on <code>Aura SOM</code> the PMIC Buck used are the is <code>Buck1</code>.
===== Enable Low drive Mode =====
To enable the two modality modalities <code>Low drive Mode</code> add the property <code>ld-mode-enabled</code> on <code>lpm</code> node of the device tree.
By default on <code>Aura SOM</code> this these modalities are disabled.
'''Attention''': if you want to add this these modalities , properly check if you must change the <code>clock rate of </code> for the other peripherals like:* <code>flexspi1</code> to <code>266000000</code>.* <code>usdhc1</code> to <code>266000000</code>.* <code>usdhc2</code> to <code>266000000</code>.* <code>usdhc3</code> to <code>266000000</code>.
See also the <code>NXP EVK</code> here <code>arch/arm64/boot/dts/freescale/imx93-11x11-evk-ld.dts</code>
===== Disable Over drive Mode =====
To disable the <code>Over drive Mode</code> and have by defualt default the <code>Nomial drive Mode</code> add the property <code>no-od-mode</code> on <code>lpm</code> node of device tree.
==== Command ====
</pre>
=== Operational Mode ===
The typical operating modes envisaged are:
* Quiet-normal (LPM: Over drive)
* Quiet-nominal (LPM: Nominal drive)
* Stressed-normal (LPM: Over drive)
* Stressed-nominal (LPM: Nominal drive)
* Suspend
* Freeze
==== Setup ====
The measurements were performed with follow device connected to the board (Only the most energy-intensive devices are listed).
* Eth0 interface up
* Eth1 interface up
* uSD
* DSI-HDMI converter and HDMI display up
===== Quiet =====
uso normalestandby modeuso sotto stressLDM attivo (1) normale sotto stressOn quiet the core nt have any additional process/task.
===== Stressed =====
 
To simulate high consumption, the following energy-intensive operations were performed:
* both eth interfaces are configured and an endless iperf3 - with external server support - is executed
* camera streaming a video to the HDMI display
* execute the <code>sat</code> for stressing the SOC and the RAM memory
 
Then there are four energy-intensive operations.
 
==== Measurements ====
 
{| class="wikitable"
!Mode
!Current
!Power
!Diff Normal
!Diff Stress
|-
| '''Quiet-normal (LPM: Over drive)'''
| 0,5 A
| 1.65 W
| Normal reference
| -50% (Reference: <code>Stressed-normal (LPM: Over drive)</code>)
|-
| '''Quiet-nominal (LPM: Nominal drive)'''
| 0.469 A
| 1.55 W
| -6 %
| -32% (Reference: <code>Stressed-nominal (LPM: Nominal drive)</code>)
|-
| '''Stressed-normal (LPM: Over drive)'''
| 0.75 A
| 2.475 W
| +50%
| Stress reference
|-
| '''Stressed-nominal (LPM: Nominal drive)'''
| 0.469 A
| 1.55 W
| +24%
| -17 %
|-
| '''Suspend'''
| 0.046 A
| 0.152 W
| -91 %
| -93 %
|-
|'''Freeze'''
|0.179 A
|0.59 W
| -64 %
| -76 %
|}
<section end=Body/>
8,286
edits