Search by Tags

Resource Manager Registry Settings

 
Applicable for

Tags

Compare with Revision




Subscribe for this article updates

This article contains descriptions of registry settings for the resource manager on Colibri and Apalis T20 / T30 modules.

Dynamic Frequency Switching

The modules support dynamic frequency switching (DFS), also known as dynamic voltage and frequency switching (DVFS). To reduce power consumption the CPU adjusts its operating frequencies to the current workload.

There are cases where you want to disable the DFS. This can be done temporarily in the Colibri Monitor or by program code, or permanently by a registry value.

Configuring DFS in the ColibriMonitor.

The Colibri Monitor tool provides a user interface to disable DFS, and to change particular operating frequencies. The settings are not stored, so they are lost after a reboot.

Configuring DFS by Application Code

The Toradex Frequency Library (FreqLib) provides API functions to change the Tegra system clock frequencies.

Configuring DFS in the Registry

The DFS feature can be disabled permanently by setting the following registry value. If DFS is disabled, the system will run at the frequency defined by the registry key DfsCpuHighCornerKHz.

[HKLM\Drivers\BuiltIn\nvrm]
Dfs=1  ; Dfs=1 (Dfs enabled) is the default

It is possible to configure the minimum and the maximum frequency that the system is allowed to use for dynamic frequency switching:

[HKLM\Drivers\BuiltIn\nvrm]
DfsCpuLowCornerKHz=0         ; Minimum frequency[kHz] that the system uses when dynamically adjusting the CPU frequency
                             ; By default, this value is set to 200MHz (before image 1.3beta3 it was 40Mhz)
                             ; Only in image 1.3beta2 and higher
DfsCpuHighCornerKHz=1000000  ; Maximum frequency[kHz] that the system uses when dynamically adjusting the CPU frequency
                             ; By default, this value is set to the highest valid CPU frequency
                             ; Only in image 1.3beta2 and higher
DfsEMCLowCornerKHz=266000    ; Minimum frequency[kHz] that the system uses when dynamically adjusting the DDR frequency
                             ; Set to 0 to get lowest possible clock.
                             ; By default, this value is set to the max valid DDR frequency in 1.3 images, so DFS is disabled.
                             ; Available since 1.3beta3
DfsEMCHighCornerKHz=266000   ; Maximum frequency[kHz] that the system uses when dynamically adjusting the DDR frequency
                             ; By default, this value is set to the highest valid DDR frequency.
                             ; Available since 1.3beta3

Undervoltage Lockout

This is applicable for the Colibri T20 only.

The Colibri T20 detects a low voltage condition if the main 3.3V supply drops below 3.0V ±2.5%. The behavior after detecting such an undervoltage depends on the WinCe image revision:

In images V1.2 and below an undervoltage condition causes the system to enter a SLEEP mode, which can only be left with a full power cycle (reset is not sufficient).

In images V1.3beta1 and later, the behavior can be configured in the registry:

[HKLM\Drivers\BuiltIn\nvrm]
ResetOnVccLow=1  ; 1 = default: The system is reset and reboots as soon as Vcc is above the low-voltage threshold.
                 ; 0:           The system ignores the low-voltage condition and continues operation