CyUSB.dll - CyUSBEndPoint.XferData | Cypress Semiconductor
CyUSB.dll - CyUSBEndPoint.XferData
I'm looking to test out my GPIF II interface which connects to an external FPGA via the p-port. I am using the FX3 as a master, synchronous communication, an 8 bit address bus, and a 32 bit data bus. My firmware is a modifed version of the "SlaveFifoSync" example, and uses DMA channels for data transfer, with bulk out endpoint set as 0x01 and bulk in endpoint as 0x81.
Using the "USB Control Center" application, I am able to transfer data out to the FPGA using the "Data Transfers" tab for the Bulk out endpoint 0x01. What I am seeing is separate consectuative bytes being transferred consecuatively. For example if I send 6 Bytes of data as ""FF AA 55 FF AA 55" i can read the data with the FPGA on the first 8 bits of the data bus. Attached is a screen shot of the data I sent and the FPGA reading the values.
I want to be able to send chunks of data 32 bits in length, instead of only 8 bits. Is this able to be done using the "CyUSBEndPoint.XferData" class within the CyUSB.dll or should I be using another method?