|
Chris,
Thanks for your prompt reply.
I searched your msges in all fx3 device and found the last informatios.(my eyes tired...)
I changed my src(slavefifosync) as exactly you wrote, but failed.
FAILED means, the pc streamer program can't open the END point.
That's why I asked the program source itself.
SYNCFIFO PGM SRC itself want to be uploaded....PLEASE!!! PLEASE!!
------------------------------ Chris
Endpoint:
epCfg.enable = CyTrue;
epCfg.epType = CY_U3P_USB_EP_BULK;
epCfg.burstLen = CY_FX_SLFIFO_PACKETS_PER_BURST;
epCfg.streams = 0;
epCfg.pcktSize = size;
DMA:
if(CY_U3P_SUPER_SPEED == usbSpeed)size *= CY_FX_SLFIFO_PACKETS_PER_BURST;
/* Create a DMA MANUAL channel for U2P transfer.
* DMA size is set based on the USB speed. */
dmaCfg.size = size;
Descriptor:
/* Super speed endpoint companion descriptor for producer EP */
0x06, /* Descriptor size */
CY_U3P_SS_EP_COMPN_DESCR, /* SS endpoint companion descriptor type */
CY_FX_SLFIFO_PACKETS_PER_BURST - 1, /* Max no. of packets in a burst : 0: burst 1 packet at a time */
0x00, /* Max streams for bulk EP = 0 (No streams) */
0x00,0x00, /* Service interval for the EP : 0 for bulk */
And in the header file:
#define CY_FX_SLFIFO_PACKETS_PER_BURST (16) //SuperSpeed Packets per Burst
|