USB superspeed peripherals Forum Discussions
Hello,
I have connected a FPGA to the FX3 in 32-Bit mode at 100MHz (SlafeFifoSync). I did read the documentation and a lot of forum articles already but still have some questions.
I have to transfer large data blocks (several Megabytes) from the FPGA to the FX3. I will implement a DMA-Auto-channel from P-Socket to U-Socket.
To reach max. speed I will use a large burst size, let’s say 256 DWORDs.
Can I do the following?
1.) Configure FLAGA to FIFO full and FLAGB to a Watermark of 256-DWORDs.
2.) When FLAGB is OK I will burst 256 DWORDs to the FX3.
When only FLAGA is OK I will transfer 1 DWORD to the FX3.
3.) After the transfer I am adding a 3 Clocks delay for the FLAGs to become valid.
4.) I continue with Step 2
If this is possible, what will be a good configuration for the DMA-Buffers?
What is the right “burst” parameter in CyU3PGpifSocketConfigure?
What about the PKTEND?
When I am transferring a multiple of 1024 Byte (SuperSpeed) I don’t have to set PKTEND? When it is not a multiple of 1024 Byte I have to set PKTEND with the last transfer or a ZLP after that? Is it a problem to send a ZLP after each transfer regardless of the length?
I am still waiting for my board, but I am working on the FPGA and it would be nice to get some information about this. It will help me to design the FPGA-FX3-Interface.
I need to add an HID interface to the UVC project AN75779.
I modified the descriptor file to add the HID interface, but I need some help adding the appropriate code to uvc.c.
It seems I need to add a thread (or modify an existing thread?), and check a flag for communication over the HID interface, but I'm just not sure how to do this correctly.
Any help will be appreciated.
Thanks!
Show LessHi:
I use the GPIG II as the master mode to read a sram ,I use DR_ADDR and IN_DATA actions.I see the timing Simulation is wrong,whatever i do ,the data bus always end before address bus.The correct timing simulation is address bus should end before data buss,and when address bus is ended ,the data bus should hold more than 3ns.
I do not know where is wrong,plese refer me.
Thanks.
Show LessHello guys,
I will use the CYUSB3610. And I have an question.
Is it possible to disable the internal PHY and to directly use the MII or RMII interface with the chip? In our application, it is more efficient to use this.
BR
Murat Temiz
Hello,
After updating to SDK 1.3 when I try to build my existing projects they all hang on 'Invoking: ARM Sourcery Windows GNU Create Listing' there is no error, it just shows no progress. This also happens to example files I import.
Did anyone have this problem and found a solution?
Show LessI asked how to connect FX3 and GX3.
But Gigabit's speed is less than USB3.
So I think Gigabit speed is not enough.
I wish to connect 1 FX3 and 2 GX3. Is it possible?
Show LessHello,
Is it possible to have the R_USB2 and 3 share a via with a power decoupling capacitor? Or will the ground noise cause unacceptible levels of noise on the USB bias?
Thanks in advance.
Best regards,
Ronald Jansen
Show LessI use the 'DR_ADDR' and use the 'threadsocket' as the address source.In the GPIF II designer project,i use 'DMA_RDY_ADDR' to check where the address source is valid,but i do not know how to give some address words to address source in the firmware project.
Please tell me
Thanks
Show LessHello,
I want to change the firmware provided in AN75779.zip to meet the requirement of my own sensor with the following features:
1. 16-bit synchronous parallel data interface
2. 16 bits per pixel
3. YUY2 color space
4. 1024 * 768 pixel resolution
5. 30 frames per second
6. Active high frame/line valid signals
7. Positive clock edge polarity
Most of those features are same as the sensor used in AN75779,except 1 and 4, width of the data interface and resolution.
For 16-bit synchronous parallel data interface, I go to the Interface Definition tab in GPIF II Designer and choose the 16 Bit option for Data Bus Width, then i go to the state machine tab, change the counter limit value of LD_DATA_COUNT and LD_ADDR_COUNT to 8183.Finally, i update the cyfxgpif2config.h in original firmware project,and make sure the iomatrix configuration in the firmware has the isDQ32Bit parameter set to CyFalse.
For 1024 * 768 pixel resolution, I change the related content of descriptors as follow,
/* Class specific Uncompressed VS format descriptor */
0x04, /* X dimension of the picture aspect ratio; Non-interlaced */
0x03, /* Y dimension of the pictuer aspect ratio: Non-interlaced */
/* Class specific Uncompressed VS frame descriptor */
0x00, 0x04, /* Width in pixel */
0x00, 0x03, /* Height in pixel */
The remain part of the firmware is unchanged.
My sensor is not configured through FX3, but i am sure it could run in the expected mode described above.After all, I build the firmware project and download the .img file into FX3 and preview real-time video use software like AMCap/VirtualDub, the system could work, show clear image with the set resolution, but it just streams near 15 frames per second, and even worse is that, the frame rate drops to 0 fps after a few seconds, the video is getting stuck.The video could be recovered by restarting the software,but then it stucks again after a few seconds.
I need help.Thanks!
Show Less
How to set the watermark value in the firmware project and need the full firmware project of how to add a call CyU3PGpifSocketConfigure() in cyfxslfifo.c file, which may be added just after the call to the CyU3PGpifLoad(). kindly help on this topic
Show Less