Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable
        I encounter an problem when about using GPIF at 100MHz in synchronous-slave-fifo-write mode. The scenario is as below: the pclk is 100MHz, SLWR write 16KB to GPIF, and switch the FIFO ADDR. But after SLWR sending the next 16KB, the flagb will be valid, and keep valid all the time. Then SLWR could not write data any more, so did GPIF.   
0 Likes
5 Replies
Anonymous
Not applicable
        I did some other experiments and found that when SLWR write no more than 320Bytes then insert an interval, the GPIF could work continuously. The screenshot of timing is in attachment. Please tell me how GPIF could work at 100MHz continously. Your early reply will highly appreciated!   
0 Likes
Anonymous
Not applicable

Hi,

   

What is the device connected to GPIF II port of FX3?

   

Is it an FPGA?. Did you look at the projects that are attached to the following application note:

   

http://www.cypress.com/?rID=51581

   

It look like you are able to fill the 16KB of buffer allocated to that DMA channel and then I am not sure whether you are reading that buffer from the USB side. Please share more details of your application.

   

Thanks,

   

sai krishna.

0 Likes
Anonymous
Not applicable
        It's FPGA connected to GPIF II port of FX3. The DMA should read the data once the buffer filled to 16KB. It seems the data was not be moved out. Don't konw why. The scenario works well at 90MHz.   
0 Likes
Anonymous
Not applicable

 Hi,     

   

Please check whether you have this piece of code in main function of FX3 firmware. If not, please add it.     

   

CyU3PSysClockConfig_t clkCfg = {    

   

                        CyTrue,    

   

                        2, 2, 2,    

   

                        CyFalse,    

   

                        CY_U3P_SYS_CLK    

   

    };    

   

    

          

   

    /* Initialize the device */    

   

    status = CyU3PDeviceInit (&clkCfg);    

   

    if (status != CY_U3P_SUCCESS)    

   

    {    

   

        goto handle_fatal_error;    

   

    }    

   

Thanks,    

   

sai krishna.    

0 Likes
Anonymous
Not applicable
        thank you for your answer!! I try this in my project, but there are different conclusions in different hosts. In intel & Renesas hosts,it runs very well, however we encounter babble detect in Asmedia host, please tell me how to resolve it, waiting for your answer!!   
0 Likes