AM62x MCU+ SDK  10.00.00

Detailed Description

Request for TISCI_MSG_PREPARE_SLEEP.

Parameters
hdrTISCI header to provide ACK/NAK flags to the host.
modeLow power mode to enter.
ctx_loLow 32-bits of physical pointer to address to use for context save.
ctx_hiHigh 32-bits of physical pointer to address to use for context save.
debug_flagsFlags that can be set to halt the sequence during suspend or resume to allow JTAG connection and debug.

This message is used as the first step of entering a low power mode. It allows configurable information, including which state to enter to be easily shared from the application, as this is a non-secure message and therefore can be sent by anyone.

Notes:

  • Mode is defined as one of TISCI_MSG_VALUE_SLEEP_MODE_x macros.
  • Mode parameter should be equal to partial IO low power mode for partial IO mode entry. In this mode, ctx_lo and ctx_hi are unused. There is no requirement of "carve out" in DDR.
  • Mode parameter should be equal to intermediate value "DM managed" if mode selection logic has to be applied. In this case, ctx_lo and ctx_hi are reserved for internal use (DM application should allocate "carve out" for LPM)
  • For mode value not equal to "DM managed" or partial IO, ctx_lo and ctx_hi should be a reserved memory region as decided on by the HLOS. This region should be a carve out in DDR and valid for use with DMA. Otherwise there are no constraints on this memory. An encrypted blob will be placed here and only a valid blob can be decrypted and authenticated, which eliminates risk of tampering.

Data Fields

struct tisci_header hdr
 
uint8_t mode
 
uint32_t ctx_lo
 
uint32_t ctx_hi
 
uint32_t debug_flags
 

Field Documentation

◆ hdr

struct tisci_header tisci_msg_prepare_sleep_req::hdr

◆ mode

uint8_t tisci_msg_prepare_sleep_req::mode

◆ ctx_lo

uint32_t tisci_msg_prepare_sleep_req::ctx_lo

◆ ctx_hi

uint32_t tisci_msg_prepare_sleep_req::ctx_hi

◆ debug_flags

uint32_t tisci_msg_prepare_sleep_req::debug_flags