Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > usb3014 can not run with the slavefifo-16/32 mode normally

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



usb3014 can not run with the slavefifo-16/32 mode normally
Moderator:
RSKV

Post Reply
Follow this topic



usb3014 can not run with the slavefifo-16/32 mode normally

chinali posted on 28 Nov 2011 4:03 AM PST
Member
10 Forum Posts

Dear All:

               I use the firmware which is the primal one SDK-beat3 in the folder of Cypress\FX3 SDK\firmware\slavefifo.The usb3014 which is connect to an external processor FPGA(cyclone III), sends data with a strange phenomenon. I have tried the data-sending on different PC environment( win7/XP32-bit and linux). At 32 bit GPIF data bus mode , first the PC sends data to usb3014, then usb3014 sends data to FPGA, but there are many little rising edges(data is sent at the high level)when usb3014 sends data to the FPGA( dmaSlFifoConfig.size = 1024). the situation can be seen on the attachment-picture(USB3014_32bit_USB_OUT_TO_FPGA.JPG).On the picture , the high electrical level stands for data-sending. At 16 bit GPIF data bus mode, usb3014 can not send data to FPGA. 

The other attachment picture(USB_OUT_2.PNG) is a lager image of USB3014_32bit_USB_OUT_TO_FPGA.JPG

thanks!

lis





Re: usb3014 can not run with the slavefifo-16/32 mode normally

aasi posted on 28 Nov 2011 04:06 AM PST
Cypress Employee
1073 Forum Posts

Hi,

Rephrasing your question,

The same setup can send/receive data properly to FPGA in 32-bit GPIF mode and does not send/receive any data when setup in 16-bit GPIF mode. Is my understanding right?

Regards,

Anand



Re: usb3014 can not run with the slavefifo-16/32 mode normally

chinali posted on 28 Nov 2011 04:20 AM PST
Member
10 Forum Posts

 Hi aasi,

            In general right,  with the same setup, USB can send/receive data  to FPGA in 32-bit GPIF mode and does not send any data when setup in 16-bit GPIF mode. But in 32-bit GPIF mode, the data-sending has a strange phenomenon which could be seen on the attachment-pinture. 

 



Re: usb3014 can not run with the slavefifo-16/32 mode normally

aasi posted on 28 Nov 2011 04:54 AM PST
Cypress Employee
1073 Forum Posts

It must be due to buffer switching, the FLAG will also be high when the DMA engine is switching to the next available buffer for the FIFO being written.This is done to avoid loss of data.

Regards,

Anand



Re: usb3014 can not run with the slavefifo-16/32 mode normally

chinali posted on 29 Nov 2011 10:50 PM PST
Member
10 Forum Posts

 Hi aasi,    

         Thanks for your answer!

         But If it is due to buffer switching, why data can not be sent to FPGA in 16-bit GPIF mode? Is there another factor for this phenomenon?

 

              

 



Re: usb3014 can not run with the slavefifo-16/32 mode normally

chinali posted on 29 Nov 2011 11:25 PM PST
Member
10 Forum Posts

 Hi,aasi

CYUSB3014-BZXIES

1107      8

608908

 

This is the number on the usb3014 chip which i am using, I want to know if this version of the usb3014chip could work rugularly in slavefifo 32/16-bit GPIF mode?

The PC environment is win7/XP32-bit or linux. At the same time, I do not think it is due to buffer switching, because when USB3014 sends incrementing data to FPGA, the sending-data is not correct.

It is important for me to use usb3014 in slavefifo mode.



Re: usb3014 can not run with the slavefifo-16/32 mode normally

aasi posted on 29 Nov 2011 12:55 AM PST
Cypress Employee
1073 Forum Posts

Hi,

From the previous responses my understanding was that in 32-bit mode the data is being received properly. If this is not the case, what is the type of corruption being seen, when you hook up the logic analyzer do you see FX3 sending the right data or not?

For 16-bit mode which firmware you using and what are the modifications made? What is the clock frequency being used?

Regards,

Anand



Re: usb3014 can not run with the slavefifo-16/32 mode normally

chinali posted on 29 Nov 2011 06:18 PM PST
Member
10 Forum Posts

 Hi assi,

thanks for your help!

The data is not correct when i use the logic analyzer to see FX3 sending data to FPGA, the pclk-clock on the usb3014 which i use is 60MHz, i think the clock is in principle.

i just use the primary firmware and do not make any modifications. Had a discussion with our guys, we are eager to know if this version chip is OK in slavefifo mode~ Is there a bug on this version chip?

lis



Re: usb3014 can not run with the slavefifo-16/32 mode normally

aasi posted on 29 Nov 2011 07:19 PM PST
Cypress Employee
1073 Forum Posts

 Hi,

These firmware and well tested and used by quite a lot of engineers at this point of time. I'm not sure as to why you're facing this issue. Please create a tech support case (MyAccount -> MyCases) so that one of engineers can look into this issue.

Regards,

Anand



Re: usb3014 can not run with the slavefifo-16/32 mode normally

chinali posted on 29 Nov 2011 08:31 PM PST
Member
10 Forum Posts

 Hi assi,

            Thanks for your help~
           I have  created a tech support case about this issue to the engineers for help~ 
 
 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.