Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 4/01/2024
Public
Document Table of Contents

5.8.7.6.2. Private Transmit (Master Read) Transfers in Slave Mode

This section describes the flow for the private transmit (master read) transfers. For all private transmit transfers the application must provide a command to the slave controller indicating the data length to be transmitted and other related parameters whose details are described in the transmit command data structure section.

Figure 199. Private Transmit (Master Read) Transfers in Slave Mode

The following flow is to be followed by the application software for master read transfer.

  • Issue the Tx command to the slave controller once the INTR_STATUS[CMD_QUEUE_READY_STS] interrupt is received, indicating the number of empty locations in command queue is greater than or equal to threshold value specified by CMD_EMPTY_BUF_THLD register.
  • In PIO mode, the application pushes threshold amount of data from the slave controller once the INTR_STATUS[TX_THLD_STS] interrupt is asserted. In DMA mode, the data is pushed by the external DMA configured as a flow controller.
  • The application receives the response threshold interrupt once the number of responses in the response queue reaches the response threshold value. Once the response interrupt is received, the application must read the response data from the response queue.
  • In case of error bits being set or the data length not equal to zero (because of master early termination), the application must follow the error handling flow mentioned in Error Recovery Flow section.