Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

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

5.8.7.4.1.2. Issue SETDASA CCC Command

The programming flow for SETDASA transfer in master mode of the I3C controller consists of the following sequence of tasks as shown in the figure below:

Figure 193. SETDASA Transfer Flow
  1. The Issue SETDASA CCC command phase generates the command with SETDASA address assignment command.

    Procedure:

    The SETDASA address assignment command is generated by setting the CMD_ATTR field as ‘Address Assignment Command’ and written through COMMAND_QUEUE_PORT register.

    The following are the required field settings in the address assignment command:

    1. Set the CMD field to SETDASA CCC code.
    2. Set the DEV_INDX field to point the Device Address Table from where the controller assigns the dynamic address to the slave.
    3. Set the DEV_COUNT field to the number of devices to be addressed.
    Note: Ensure that the Device Address Table data structure is of the same type of the pointer DEV_INDX until DEV_INDX + DEV_COUNT.
  2. Check response status

    The check response status phase checks the generated response by reading the RESPONSE_QUEUE_PORT register.

    Procedure:

    The INTR_STATUS[RESP_READY_STS] interrupt indicates the response available status and you can read the available response from the RESPONSE_QUEUE_PORT register.