USB superspeed peripherals Forum Discussions
I want to use GPIF-II to interface to a device with a 4-bit parallel bus and a 5-pin JTAG. The device needs to be configured via JTAG first. Is it possible to add a JTAG state-machine into GPIF-II ? Once configured via JTAG I then want to capture date from the 4-bit parallel bus
Show LessHi All,
I am working on adding a brightness control to the cycx3_uvc_ov5640 project without much luck. I found the writeup in article 166117 and KBA225062, but there are several issues, all stemming from the fact that the author is modifying a different base project, or so it seems.
Many of the names of constant symbols in the article have changed, for example CY3_UVC_VIDEO_CONTROL_REQUEST_EVENT is not defined as are many others.
The author isn't clear where to add the first set of modifications to the CyCx3AppUSBSetupCB function. The routine is quite complex and the insertion point for the code is not at all obvious.
I also found another article where the author post his project. This code didn't even display an image for me.
Is there an updated example for the current version of the ov5640 project, or at least updated explanations of the modifications?
Thanks,
Scott
Show LessI have an FX3 board and an FPGA board. The FX3 design is an 1920x1080@60Hz UVC design in YUV2 format. The FPGA sends video data to FX3 through the slavefifo 32bit interface at 100Mhz. The video is actually from an HDMI input to FPGA.
In the FX3 FW, the DMA buffer size is set to 32KB, 4 buffers. The size of the UVC payload is 32KB. The FX3 SDK version is 1.3.3.
The Windows can find the UVC device and the video software, like AMCap, VirtualDub, VLC, can open the UVC device and show the video correctly. But after tens of seconds, the video halts.
Using the Device Monitoring Studio to capture the USB packages between PC and FX3, the final package to FX3 is to request 32KB data from FX3, but there's no data back from FX3. I have no idea why there's no response from the FX3. I can see from the FPGA the slavefifo is full in such situation.
After I restart the soft, it can show the video again.
And I also run the slavefifo and streamer example in the SKD, there's no such issue.
I have no idea what happen to the FX3 and I don't know how to debug such issue?
Could it be HW issue? Any ideas for such issue? Thanks.
Show LessSome days ago, I prompt a question (partial flags of FX3 ) on partial flags of FX3. It has not been solved.
Today I find I document it can answer my question. The document says a bug exist in partial flag of out endpoint of FX3. The described phenomenon is pretty much like what I have experienced. The only difference is my test shows the partial flag get right after the host sent data to FX3, not the master read data from FX3 as described in the doc. In my test, I let the master do nothing and keep the nCS(chip select), nOE, nRD, nWR, packet end pins of Slave FIFO interface de-asserted.
Was the content of this document true? Does the described problem still exist for newly produced FX3?
Thank you.
Show LessHello.
I am using FX3 cy3014 to develop an image data acquisition and transmission device. The configuration mode is salvefifo mode, and the block transfer data length is 1024 bytes.
1) When USB is set to 1024 bytes blocks for transmission, the host computer uses beginDataXfer acquisition. If the data length is not an integer multiple of 1024 bytes, the USB will crash until the reset signal is sent or power-on is restored.
2) When the USB does not store the integer multiple data of 1024 bytes, the beginDataXfer acquisition is initiated (For example, the transmission rate is slow). BeginDataXfer will take precedence over data sending, and USB will also crash until reset or re-energize.
What are the reasons for these two phenomena and are there any solutions?
Thank you very much.
Show Lesshello everyone, I have designed a PCB board, there are some problems.
1. when I download the official firmware,the board can show usb3.0, and bulkloop and streamer work ok.
2. when download our firmware, it just work 3 seconds, but when download the same firmware to another board, it works ok.
I can't find which I can do to solve this problem.
thanks!@
Show LessContinue to discuss the watermark issue Set DMA watermark of FX3 , the behaviour of "almost empty pin" (DMA_AEMP) is quite abnormal. This pin is configured as logic low in initial state. When slave and master are power up, DMA_AEMP outputs high. Until slave finishes to transmit data to master, DMA_AEMP outputs low.
When I break the connection between slave and master, and just power up the slave, DMA_AEMP outputs low. Please kindly advise.
Show Less
I hope to use 2 out endpoints and 2 in endpoints. I plan to use 1 dedicated flag and 1 dedicated partial flag for each out endpoint, 1 dedicated partial flag for each in endpoint. Therefore I need 6 endpoints in total. Is that feasible for FX3?
Show LessHi All,
I am having problems launching an OpenOCD session. I've followed the instructions configuring the session for my target interface, the CY7C65215, but when I try to open it, I get this error dialog:
Here's my setup:
Thanks for your help,
Scott
Show LessI'm working on UVC ISO with FX3, my code works fine in windows, but can not work in macos.
what's the difference between windows and macos of UVC driver ?
Do you guys have any idea about that ?
By the way , Is there any good debug tools on macos ? or any usbanalyzer like bushound ?
thanks a lot!
Show Less