I have found that ,the FX3 Thread sockets sometimes stop work ,I register the function CyU3PPibRegisterCallback ,when I reset the endpoint which seems to stop work ,then it retun the CYU3P_PIB_ERR_THR0_SCK_INACTIVE、CYU3P_PIB_ERR_THR1_SCK_INACTIVE PIB errors.
I don't konw how to let it work back normally but repowers the FX3. Thanks!
Before you reset the endpoint, make sure that the DMA Channel is also handled accordingly:
Snippet for your reference:
CyU3PDmaChannelSetXfer (&glChHandleSlFifoUtoP, 0);