Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Synchronous slave FIFO stopped with full flag

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



Synchronous slave FIFO stopped with full flag
Moderator:
RSKV

Post Reply
Follow this topic



Synchronous slave FIFO stopped with full flag

hcshin posted on 03 Nov 2011 1:13 AM PST
Senior Member
14 Forum Posts

Hello, members

I 've tested FX3 + FPGA board in 32bit GPIF II sync slave mode.

first, I tested the code GPIF II designer generate,

the step I did is

CyU3PPibInt, CyU3PGpifInitTransFunctions, CyU3PGpifWaveformLoad, CyU3PGpifConfigure, CyU3PGpifSMStart.

but this code did not work. so I use CyU3PGpifRegisterConfig function in SlaveFifoSync samplecode with 32bit setting.

later setting seems to work anyway, but after few second transfer is halted with FLAGA is low,

at this time PC generate NtStatus code 0xC0000001 :

 

contexts[i] = EndPt->BeginDataXfer(buffers[i], len, &inOvLap[i]);
if (EndPt->NtStatus || EndPt->UsbdStatus) // BeginDataXfer failed
{
           Display(String::Concat("Xfer request rejected. NTSTATUS = ",EndPt->NtStatus.ToString("x")));
           AbortXferLoop(QueueSize,buffers,isoPktInfos,contexts,inOvLap);
           return;
}
 

1. What is the meaning NtStatus is 0xc0000001 ?

2. If I use partial flag mode, which setting I shoud change in slavefifosync sample?

3. In Synchronous write cycle timing chart, write operation  seems to be stoped immediately as soon as FLAG is on(full).

 I wonder if  write operations after the FLAG is on affect some effect on FIFO.

 

Best Regards,

HC




Re: Synchronous slave FIFO stopped with full flag

hcshin posted on 03 Nov 2011 01:21 AM PST
Senior Member
14 Forum Posts

I use 26MHz OSC. and PCLK is 100MHz.



Re: Synchronous slave FIFO stopped with full flag

gopv posted on 08 Nov 2011 02:18 AM PST
Cypress Employee
20 Forum Posts

Nstatus 0xc0000001 means STATUS_UNSUCCESSFULL



Re: Synchronous slave FIFO stopped with full flag

zeen posted on 17 Jan 2012 12:12 AM PST
Member
8 Forum Posts

Hi,hcshin,I have meet the same problem in my work,is this solved?If so ,could you help me ,my email is zeng_weiwei@msn.com,thanks



Re: Synchronous slave FIFO stopped with full flag

3211 posted on 17 Jan 2012 05:41 PM PST
Member
3 Forum Posts

I have meet the same problem in my work,is this solved?



Re: Synchronous slave FIFO stopped with full flag

Lumpi6 posted on 08 Feb 2012 05:53 AM PST
Top Contributor
183 Forum Posts

Hi,

is this post solved?

I meet the same problems how can I solve it? Is in this case the host side not available with free buffer, that the auto DMA channel can not switch to the next buffer? Or what else can happen?

Mostly I meet this problems on NEC/Renesas USB3 chipset. On a VIA or a onboard AMD USB3 chipset that does not happens so often.



Re: Synchronous slave FIFO stopped with full flag

aasi posted on 09 Feb 2012 10:44 PM PST
Cypress Employee
1073 Forum Posts

What are your hardware setting? PCLK frequency, bus width etc

This issue was there when 100MHz is used but the release version fixed the same.

Regards,

Anand



Re: Synchronous slave FIFO stopped with full flag

Lumpi6 posted on 10 Feb 2012 08:31 AM PST
Top Contributor
183 Forum Posts

Hi Anand,

I have a FPGA connected to the FX3 GPIF II interface.

I were using different PCLK frequencies but now staying at 50, 80 or 100 MHz. Trying different if it works better or ...!

I am using the new Release version from cypress's software download and the chip is revision D (not ES)!

 

Thanks,

Lumpi



Re: Synchronous slave FIFO stopped with full flag

3211 posted on 01 Mar 2012 12:38 AM PST
Member
3 Forum Posts

when I set the DMA  PtoU is the AUTO MODE,some time later the Synchronous slave FIFO stopped with full flag.If I set the DMA PtoU is the Manual mode,the full flag is normal.Who can answer my question?Thinks

 apiRetStatus = CyU3PDmaChannelCreate (&glChHandleSlFifoPtoU,
      CY_U3P_DMA_TYPE_AUTO, &dmaCfg);   //set auto mode for improving the speed ,but maybe device will stop






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.