Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

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

5.6.6.2.5. Initialization on SetConfiguration or SetInterface Request

Below are the steps followed once “SetConfiguration” or “SetInterface” Request received:

  • DALEPENA: Set this register to 0x3 to disable all endpoints
  • DEPCMDn: Issue DEPENDXFER command for any active transfer
  • DEPCMD1: Issue a DEPCFG command for physical endpoint 1
  • DEPCMD0: Issue DEPSTARTCFG command with DEPCMD0.XferRscldx set to 2 to reinitialize the transfer resource allocation
  • DEPCMDn: Issue DEPCFG command to each endpoint
  • DEPCMDn: Issue DEPXFERCFG command to each endpoint
  • DALEPENA: Enable the logical endpoints
  • DEPCMD1: After receiving the XferNot Ready event, acknowledge the status by issuing a DEPSTARTXFER command pointing to a STUS TRB