USB superspeed peripherals Forum Discussions
The programmer manual, lists (7.1.3 cyfxbulklpmanual – MANUAL Channel) as an example. I can not find it anywhere. Can you give me a link to the examples listed in the programmers manual?
Show LessHello;
I am want reset the endpoint at the UtoP callback. But I find that evenif I call the cyu3pusbflushep() function. I found that the data is still in the endpoint.
So can I call the cyu3pusbflushep() at the UtoP callback function? The cyu3pusbflushep() function flush the endpoint and is it reset the flag of the endpoint such as "full" flag.
Show LessI am using the GPIF master example (http://www.cypress.com/?docID=45301) to get my project going. In looking at the code, I see the following code that confifgures a lot of hte GPIO pins. I am trying to understand if this is for GPIF or just system configuration. How do I find out the reason for all of the below GPIO settings for GPIO50, 51, 52, 57 and the others?
/******************/
/* Configure GPIO */
/******************/
/* Init the GPIO module */
gpioClock.fastClkDiv = 2;
gpioClock.slowClkDiv = 0;
gpioClock.simpleDiv = CY_U3P_GPIO_SIMPLE_DIV_BY_2;
gpioClock.clkSrc = CY_U3P_SYS_CLK;
gpioClock.halfDiv = 0;
/* Initialize Gpio interface */
apiRetStatus = CyU3PGpioInit(&gpioClock, NULL);
if (apiRetStatus != 0)
{
/* Error Handling */
CyU3PDebugPrint (4, "GPIO Init failed, Error Code = %d\n",apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
apiRetStatus = CyU3PDeviceGpioOverride (23, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (25, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (26, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (27, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (50, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (51, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (52, CyTrue);
apiRetStatus = CyU3PDeviceGpioOverride (57, CyTrue);
gpioConfig.outValue = CyFalse;
gpioConfig.inputEn = CyFalse;
gpioConfig.driveLowEn = CyTrue;
gpioConfig.driveHighEn = CyTrue;
gpioConfig.intrMode = CY_U3P_GPIO_NO_INTR;
apiRetStatus = CyU3PGpioSetSimpleConfig(23, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(25, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(26, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(27, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(50, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(51, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(52, &gpioConfig);
apiRetStatus = CyU3PGpioSetSimpleConfig(57, &gpioConfig);
CyU3PGpioSimpleSetValue (23, 1);
CyU3PGpioSimpleSetValue (25, 0);
CyU3PGpioSimpleSetValue (26, 1);
CyU3PGpioSimpleSetValue (27, 0);
CyU3PGpioSimpleSetValue (50, 1);
CyU3PGpioSimpleSetValue (51, 0);
CyU3PGpioSimpleSetValue (52, 1);
CyU3PGpioSimpleSetValue (57, 0);
/******************/
/* Configure GPIO */
/******************/
Hi,problems met when i used fpga to send data to pc through fx3,
each buffer of fx3 socket was set 16kB and each pc bluk buffer set 64kB,
I sent 1kB data and a ZLP once to fx3 ,the timing is shown in the follow.
I receive nothing through bus hound tool at the first time,but two packets received at the second time,one is 2kB,another is 0 B
So,i want to know :
1.when i sent once from fpga to fx3,did the fx3 receive the ZLP?why How can i know?
2.if fx3 received ZLP,why the pc received nothing at the first time when i sent 1kB+ZLP
3.if not,why the pc received 0 length packet at the second time when i sent 1kB+ZLP
4.when and how to use ZLP?
Show LessHello,
I've been tasked with getting an estimate for USB 3.0 (and USB 2.0, but lets set that aside for now) latency. My reading suggests that the best possible latency is acheived with interrupt endpoints... but there are no interrupt examples in the distribution (or in any distribution? http://www.cypress.com/?app=forum&id=167&rID=55106). So are there still no interrupt examples I can quickly get some latency figures for? Or do you just... have such figures lying around? I am speaking of PC->chip->PC latency.
Thanks
Jason
Show LessAs all the FX3 ISRs are contained inside the FX3 library file (cyfxapi.a), I am unable to actually see what code is in the OS timer interrupt service routine...
Is someone from Cypress able to share the code for that ISR?
I assume it's something like this:
standby_clock_timer_overflow_ISR()
{
CyU3POsTimerHandler();
clear_timer();
}
What else does it contain?
Many thanks.
Show LessFrom the docs cypress released about CYusb3014 DVK, I can not found how to print logs in firmware .
I found there is a com and a jtag, because I have no openice ,so I connect the com teminal to my PC , but there are no logs print .
How can I get the logs? Thanks
Show LessWhen can I expect the release of the next SDK version 1.3?