USB superspeed peripherals Forum Discussions
Hello,
In configuring the DMA channels, the size and count parameters dictate the amount of data that can be stored within the DMA channel:
What I understood from this is that there would be CY_FX_BULKLP_DMA_BUF_COUNT buffers with size of size * 8 where data can be stored etc. in the DMA channel i.e. size = 8192, count = 2 means 2x8192 buffer size total.
Is there a way that I can fill up the two buffers consecutively before committing them for sending? What I currently tried is filling up one whole buffer and then committing it before filling up the next buffer for another commit. I would like to try filling up both or all available buffers first before committing to minimize the commit buffer call.
Thanks,
jl46
Hello,
I'm using the CYUSB3014 GPIF feature to capture data from an ADC. I have read from a forum inquiry here that there is a tendency for data loss when using the GPIF but can be resolved by using multiple socket and thread: https://community.cypress.com/t5/USB-Superspeed-Peripherals/FX3-lose-data-from-GPIF-II-to-USB-3-0-even-with-2-threads/m-p/86040#M6686
I've also looked at the UVC example that incorporates the multiple GPIF socket but applying it to my code results in an IN transfer error every time I try getting data from the GPIF endpoint:
The ADC that I'm using has a corresponding timing diagram:
*ADC = master, FX3 = Slave.
The DOUTx pins are from 4 pins of the ADC outputting data in parallel. I connected the DCLK to GPIO16, DRDY to GPIO17 and the DOUTx pins to GPIO0 to 4.
Thanks,
rs2123
Hello,
I have used the codes from the FX3 SDK to build a custom GUI in visual studio to communicate with my FX3 board. The GUI and hardware is communicating properly i.e. can set certain parameters from GUI inputs.
I was wondering what would be needed if ever I intend to develop a new GUI using LabView i.e. new driver? dll's?
Thanks,
jl46
Hi, I refer "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\uac_examples" to create a UAC device on FX3, and it can be recognized by Windows Device Manager.
I also wanted to check it on Linux - Ubuntu 18.04; However, I didn't find any change in "/dev/" or by command "dmesg"...
How could I check if UAC device exist on Linux?
PS. If I changed the FX3 image to UVC program and plugged into Linux PC, I can find v4l, video0 & video1 was listed in "/dev/". Therefore, I think the UVC can be recognized by Linux, but I cannot use this method to check UAC device.
Any help will be highly appreciated!
Show LessHi,
I am using a CX3 to bridge a MIPI camera to USB.
The CX3 is booting from SPI FLASH. There is no external I2C device connected.
In that case, do I still need the I2C pull-up resistors connected, or should it work without them?
The reason I ask is that my system works fine when I have the I2C resistors soldered in place (I see a live stream from the camera), but if I remove them, then the CX3 enumerates and appears in Device Manager, but I no longer see any images from the camera.
Thanks
Hugo
Show Less
Hello,
I am trying to configure my MIPI interface for camera AR0522 using the CX3 MIPI Receiver Configuration.
I created a new CX3 project and filled the Image Sensor Configuration tab as follow :
But when I switch to the CX3 Receiver Configuration tab, I get the following error :
And all fields on the left side are empty.
How can I fix this error ?
Best regards,
SimonP
Show LessI use FX3 to make a composite device(uvc+uac+cdc-acm),the descriptor of CDC-ACM reference to project of UsbUart,application is user defined,fx3 usbuart recieve data from host store to user memory,and user data in memory send to host by fx3 usbuart,and i use double dma channel,one is recieve data,one is send data.The firmware download to fx3 board,host identifies the virtual serial port(eg com9) and cannot open it by uart debug tools.
Attached is my project. Could you please help me check it?
Show Less
Hi,
I have been working on the given example for UVC packets
How to Implement an Image Sensor Interface Using EZ-USB FX3 in a USB Video Class (UVC) Framework (cypress.com)
I have done the state machines as per this above link and downloaded the sdk for USB Video Class and created a workspace in eclipse, below is the link where i have downloaded the SDK files
https://www.cypress.com/documentation/development-kitsboards/ez-usb-fx3-hd-720p-camera-kit
https://www.cypress.com/file/158336/download
As I am getting error , please let me know if anyone has the solution for it, below is the error which i have obtained
arm-none-eabi-gcc: error: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\\lib\gcc\arm-none-eabi\4.5.2\libgcc.a: No such file or directory
cs-make: *** [cyfxuvc.elf] Error 1
Thank you
Hi,
What I can achieve now is to use PCLK,FV,HV,Data[0:7] to achieve UVC, but I now want to use FX3 to output DE,PCLK,FV,HV to HDMI chip.
So my question is whether GPIF can input PCLK,FV,HV,Data[0:7] and output DE,PCLK,FV,HV, Data[0:7] at same time.
I think it's almost impossible. Any suggestions?
Thanks,
Kevin
Show LessHi,
Could you tell me about meaning of "length matching 500mils"?
AN70707 describes the following recommendation.
" It is recommended that all lines on the GPIF II bus are length-matched within 500 mils. "
I think the difference in length of each line is within 500mil.
Is it correct?
(Length A – Length B) and (Length B – Length C) and (Length C – Length A) <500mil
Regards,
Nagata
Show Less