The mailbox start location within the register map (REG_MAP) is defined by register HOST_MSG_OFFSET_REG.
The following details the mailbox operation.
- The host checks the availability of the mailbox by confirming CONTROL_REG[5] is 0.
- The host writes a request message to the mailbox.
- The host sets CONTROL_REG[5] to 1 to indicate a new request message is available to CMS firmware.
- The host polls CONTROL_REG[5] until CMS firmware sets to 0, indicating the CMS response message is in the mailbox.
- The host reads HOST_MSG_ERROR_REG to confirm no message errors are present.
- If no errors are reported, the host reads the response message from the mailbox.
Note: The format of request and response messages for each mailbox feature
is
defined in the relevant subsections within this
document.
Figure 1. Mailbox Layout