USB superspeed peripherals Forum Discussions
I’ve been working through the examples in the book SuperSpeed Device Design by Example and would like to use the Slave FIFO example in Chapter 11 as the foundation for a project I’m working on. However, I’m having trouble with dropped data during the transfer and was hoping to get some insight/debug help.
A bit of background on my hardware setup…I’m using the CYUSB3KIT-003 SuperSpeed Explorer Kit in conjunction with CYUSB3ACC-005 FMC Interconnect Board. The FMC board is connected to a Xilinx ZC702 Evaluation Board. So, there are some differences in regards to the hardware setup vs. the example given in the book where the CPLD accessory board is used. I am fairly certain that I’ve worked through all of the IO mapping accordingly because I do get the example to work, just not reliably. The FX3 is loaded with firmware file ‘GPIF_Example4.img’...so DMA watermark value is set to 4.
When I run the example, I have a few main issues that are highlighted below:
- There’s a bunch of sampled data in the form of 0xEFEFEFEF that is taken prior to the start of the counter data. I have hardwired the ‘select’ input to be write-only for now as I’m only interested in streaming data from the FPGA to the FX3. So 'Sel' in the attached code is '0'.
- I have a repeating gap of 1 at indices that equate to exactly 4096, so I seem to be dropping exactly one 32-bit counter word during buffer swaps? The FIRST time this occurs is at byte index 16384 (word index 4096), instead of getting 0x00001000, I get 0x00001001. This index is after all of the 0xEF data was stripped out from the beginning of the collected data packet.
- There’s also a repeating gap of -262208 at various indices, but I’m thinking that if I can solve the issue in #2 above I’ll have more insight here.
Under normal circumstances I could get in a lab and hook up a logic analyzer to gain more insight, but that’s not feasible for at least another couple of months.
I’ve also attached my VHDL code that I ported from the file ‘FifoMasterCounter.v’ included as part of the examples from the book.
Any ideas on where to start or go from here?
Show LessDears
我们这边用到了CX3,我们想请教一下。我们主机是支持usb2.0 + usb3.0 同时工作的。我们想把3.0直接接到cx3上面,usb2.0信号,想先接到hub,然后再接到CX3,不知道这样是否可行 ?HUB 用的是CY7C65642-28LTXC,CX3是CYUSB3065,具体逻辑参考下图
Show Less
Hi,
I have a Question regarding to the pin layout of the HSMC Interconnect board. as you see on the following screenshot, there are two different pin mapping for HSMC and HSTC:
and the following image points to the HSMC Interconnect Board:
AS an Example the Cypress HSMC Interconnect board maps the PCLK to the J1-175 but on the previous image the pin 175 on HSMC PORT is N/A. It is actually maps to the HSTC PORT as the PIN 175 is HSTCA_TX_p28. as following table indicates:
FX3 PIN | HSMC | HSTC |
---|---|---|
PCLK ->175 | 175 -> N/A | 175 -> HSTCA_TX_p28 |
My question is, is the provided pin layout from Cypress is regarded to HSMC Port or HSTC Port?
Show LessHello,
My project is running with SDK1.3.1.
It works fine in 1920x1080, 30fps, raw12 mode.
I try to change the GPIF from 16-bit to 24-bit for 60fps for the bandwidth, but no video output.
And the callback of GPIF is not triggered.
Is there anything that I can check? Thanks.
Show LessWRT FX3 Linux app to port to Windows10 , I compiled my code with the lib provided.
I put the W10 PC into testmode, but I don't understand how to tie in the INF file into my environment?
(I know basic Windows env).
If I use the provided testlib.exe, i get:
Error in opening device
-13
handle return failed
Thanks
John
Show Lesshello,
when i change the os between windows and linux(virtual machine), camera link to linux os seems has wrong data and shows incorrectly.And when both windows and linux open, camera connect to the USB interface of the computer will show a Popup to choose, and it makes the cdc-uart can not work. it works well in windows os, is there any changes can be try to solve these problems?
Show Less
Hello,
I am wondering how would I be able to send a UVC i2c command to the fx3 using the streamer application from the FX3 sdk in windows/Linux?
Thank you,
Ryan
Show LessI want to grab image through using FX3 .If i set "VideoCapture cap(0) ,i can grab image using OPenCV. But now i can't get any usb devices through "CCyFX3Device* USB = new CCyFX3Device;".The number of "USB->DeviceCount()" always is 0.
Show LessHi All,
I want to use pow() function to calcuate value. but compile is faild
code\USBBulkLoopAuto\Debug/../dsplib.c:81: undefined reference to `pow'
How can i fix this proble ?
Thanks,
Darren
Show Less