1 Reply Latest reply on Jul 3, 2016 9:43 AM by madhul_36

    GPIF loopback



      How can I do a simple GPIF loopback ?


      I want to stream data from my host to the FX3 board that send it to the GPIF Databus and send back the databus value to my host.


      I can send data to the databus but I cannot read the databus just after... I didn't receive anything ...


      I use the CY_U3P_UIB_SOCKET_PROD_1 -> CY_U3P_PIB_SOCKET_0 and  CY_U3P_PIB_SOCKET_4 -> CY_U3P_UIB_SOCKET_CONS_1 channels.


      In my state machine I just do a DR_DATA and IN_DATA both on the thread0.


      But I never receive data back....


      Any advice please ?

        • 1. Re: GPIF loopback



          You can use DR_DATA only on a thread corresponding to a consumer socket and IN_DATA only on a thread corresponding to a producer socket.


          So you have to do DR_DATA on Thread 0 and IN_DATA on Thread 4




          - Madhu Sudhan