2 Replies Latest reply on Nov 15, 2017 9:54 PM by deborahr.jackson_2924096

    What is difference between the endpoint in FX3 and that in FX2?

    user_374262161

      As to my understanding, FX2's endpoint is just like the PIB socket in the FX3. I see significant differece between the endpoint in FX3 and that in FX2. For example, In FX2, once an endpoint is defined as and IN endpoint, it can not be defined as an OUT endpoint. However, in FX3 endpoint can be defined with both direction. In the slave fifo example(AN65974), a snip of code is as follows.

       

      #define CY_FX_EP_PRODUCER               0x01    /* EP 1 OUT */

      #define CY_FX_EP_CONSUMER               0x81    /* EP 1 IN */

      EP1 can be defined with both in and out direction, just like 2 different endpoint with the same name of "EP1"

      What is the endpoint in FX3?