GPIF II Actions: macros???

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

cross mob
Anonymous
Not applicable

Hi everyone,

   

In the "GPIF II Actions" section of the documentation I came across several macros that were mentioned.  For example the IN_DATA action says "The data in Register can be accessed using CY_U3P_PIB_GPIF_INGRESS_DATA(thread_number) macro", and the DR_DATA action says "The data in Register can be sourced using CY_U3P_PIB_GPIF_EGRESS_DATA(thread_number) macro".  However I was not able to find any documentation on  CY_U3P_PIB_GPIF_INGRESS_DATA and   CY_U3P_PIB_GPIF_EGRESS_DATA after looking in the API guide.  Has anyone used either of these methods or has any idea how to implement them?

   

I am trying to set up the FX3 as a master with an FPGA as slave, using the P port and GPIF as the connecting interface.

0 Likes
1 Reply
Anonymous
Not applicable

I did find that CY_U3P_PIB_GPIF_INGRESS_DATA and CY_U3P_PIB_GPIF_EGRESS_DATA  can be seen as comments in the header file that GPIF II creates within the CyFxGpifRegValue[] array.  

   

 

   

Has anyone had success with sending data out through the p-port?

0 Likes