NVIDIA Tegra
NVIDIA DRIVE OS 5.1 Linux SDK

Developer Guide
5.1.15.0 Release


 
MCU Power State Manager
 
Modes Supported Through the Software Interface
Modes Supported Through MCU Console Commands
MCU (AURIX) facilitates powering on, powering off, and resetting Xavier based on variable hardware (temperature/voltage) and software (IST, safe shutdown, shell commands) inputs. It also supports resetting itself through AURIX reset. These power state handling functionalities are realized by the software component Power State Manger (PSM) in MCU software.
PSM functionalities are made available outside through:
1. Software Interface: Software components can request a power state to PSM through the software interface.
2. MCU Console Commands: PSM state can be requested through MCU console commands.
PSM evaluates preconditions required to enter the requested state. If preconditions are not met, requests are ignored.
Modes Supported Through the Software Interface
Below power states can be request by other software components.
Power State
Description
Precondition
PSM_POWERUP
Turns the Platform ON
Command supported only if PSM
is in poweroff state
PSM_POWERDOWN
Turns the Platform OFF except Aurix.
 
If safety service is enabled, MCU checks for Safe Shutdown by monitoring GPIO SPI_HANDSHAKE_2.
Level “High” indicates completion of Safe Shutdown. On Safe Shutdown completion or Safe Shutdown timeout (statically configurable parameter), power off is proceeded.
Command supported only if PSM
is in poweron state
PSM_TEGRA_RESET
Resets Xavier.
If safety service is enabled, MCU checks for Safe Shutdown by monitoring GPIO -SPI_HANDSHAKE_2.
Level “High” indicates completion of Safe Shutdown. On Safe Shutdown completion or Safe Shutdown timeout (statically configurable parameter), reset is proceeded.
Command supported only if PSM
is in poweron state
PSM_STANDBY
Halts ongoing PSM state transition and enters standby state. Current PSM state is buffered.
Supported in all PSM state
PSM_PREPOWERUP
Request PSM to enter initial state. This is initial state of PSM state on Aurix Reset.
Command supported only if PSM
is in poweroff state
PSM_FORCEPOWDWN
Turns Platform OFF forcefully. Requesting SW component shall ensure to turn off system before requesting this mode.
Supported in all PSM state
PSM_STANDBY_EXIT
Resumes from the state at which Standby was requested
Command supported only if PSM
is in standby state
Modes Supported Through MCU Console Commands
The MCU console commands are as follows:
Shell Command
Description
Precondition
aurixreset
Power cycle board including AURIX.
Command supported only if PSM is in poweron state
poweron
Turns the Platform ON
Command supported only if PSM is in poweroff state
poweroff
Turns the Platform OFF except Aurix.
 
If safety service is enabled, MCU checks for Safe Shutdown by monitoring GPIO SPI_HANDSHAKE_2.
Level “High” indicates completion of Safe Shutdown. On Safe Shutdown completion or Safe Shutdown timeout (statically configurable parameter), power off is proceeded.
Command supported only if PSM is in poweron state
 
 
tegrareset
Resets Xavier.
If safety service is enabled, MCU checks for Safe Shutdown by monitoring GPIO -SPI_HANDSHAKE_2.
Level “High” indicates completion of Safe Shutdown. On Safe Shutdown completion or Safe Shutdown timeout (statically configurable parameter), reset is proceeded.
Command supported only if PSM is in poweron state