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

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaXi_1246331
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

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?

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

Your understanding is partially true, except EP1 OUT and EP1 IN should be considered as two different end points.

Regards,

- Madhu Sudhan

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

Your understanding is partially true, except EP1 OUT and EP1 IN should be considered as two different end points.

Regards,

- Madhu Sudhan

0 Likes
Anonymous
Not applicable

Wait to get more information here. I have understood your thread and i need some of the information about EP1 OUT and EP1 in and also how to consider it.

0 Likes