How does the SlavefifoSync FW map a socket to the specify GPIF thread?

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

cross mob
guxi_290161
Level 1
Level 1

The FX3 DATASHEET says, "EZ-USB® FX3™ provides up to four physical threads for data transfer over GPIF II. At a time, any one socket may be mapped to a thread. The sockets that are to be used must be mapped to a thread in the firmware."

   

How does the SlavefifoSync FW map a socket to the specify GPIF thread? Is this down by the FW? Where is it in the SlavefifoSync project?

0 Likes
3 Replies
Anonymous
Not applicable

The mapping is done by the five last significant bits in the registers CY_U3P_PIB_GPIF_THREAD_CONFIG_ADDRESS(0...3) in the GPIF descriptors. There you can map one of the 32 sockets to each hardware thread.

0 Likes
guxi_290161
Level 1
Level 1

 Hi,Chris R. Thanks for your answer.

   

Do you know which document could I found the detail specification of the GPIFII config registers? 

0 Likes
Anonymous
Not applicable

There is no document but the header file. Take a look into it by clicking "Go to declaration" in Eclipse.

0 Likes