3 Replies Latest reply on Apr 2, 2013 8:56 PM by cheng.yand.en

    Issue for drive data by modifying slavefifo example

    cheng.yand.en
          

      Hi All,

          

      I am trying to modify the slavefifo-sync example to meet my application.  I just want a very simple application that FX3 receive data from USB by bulk mode and send received data to P-port. I check the firmware I suppose I don't do any modify at firmare.

          

      Because the firmware already set up producer/consumer side and commit/transfer producer data by DMA call back function.  

          

      I think my gpif2 will be very simple. Just one start state and one state to do "DR_DATA".  But I test my application it says fail.It seems consumer side doesn't consume any data until buffer full and let producer can't write any data. Do I miss anything?

          
           Thanks.    
          
                
          
           Attached is my GPIF design.    
          
                
          
           ps.Could cypress provide more combine GPIF2 and firmware sample code?