USB superspeed peripherals Forum Discussions
Hi I am noah
I am working with FX3 evaluation board for UVC application
My latest work was 1920x1080 30Hz UVC yuv2 video, It works well
But I need 1920x1080 60Hz UVC application
I modified from example application (an75779)
I changed 32-bit Data bus, resolution, frame rate, buffer count in source code
in GPIF design, data_count, address_count set to 4091
But, video is broken
I don't know what I miss
Please check my attached project
I am using vitualDub, and it recognize well 1920x1080 60hz video but screen is broken
my question is that fx3 works well for 1920x1080 60hz uvc??
thank you
Show LessHello cypress community,
I'm using Fx3 for my product development.
I have 2 versions of Src Codes : 1. with Library 1.3.3 version, 2 with library 1.3.4 version
I've a total of 3 threads running
1. USB Rx thread -> which will be triggered when respective USBevent is set when USB bulk out data is received .
2. Timer thread
3. GPIO therad that will be awake when an GPIOevent is set when respective GPIO gets triggered.
Now My sequence goes like this -> I send USB data on Bulk-out endpoint so that some events will get triggered and threads wokeup as expected and the data will be handled as required. I can do this exercise seamlessly without any issues using 1.3.3 library, but If I use 1.3.4 Library source code I see that USB Rx event is not being set and therefore Fx3 is not able to get any data over BULK-out endpoint.
This weird behavior happens everytime when I use 1.3.4 library, and try to send data continuously within ~1 sec frequency.
Is this expected (i believe not), Can I know the differences with two libraries that can cause this sort of behavior. I have gone through release notes of 1.3.4 library but unable to find any relevant information.
I say that events are not triggered based on the logs that I implemented in FW.
will be waiting for your responses.
Thanks and regards,
Pranay.
Hello Cypress!
This is a continuation of an issue from: FX3 emmc unreachable after format in manual
The FX3 does not allow the drive to be formatted when set to manual, this is a big issue since we want to encrypt data as it is passed through. The drive becomes unrecognizable after this process, after trying it once, failing, then trying again, the drive does appear as "raw" in device manager, but it is still not format-able. Is there an additional call back that must be added? Please note when firmware is written and the drive is formatted under auto, then reset back to manual, files can be written and read like normal, it is just when trying to format the drive in manual that this fails.
I apologize I can't seem to post a reply to the previous thread so creating a new one. I have tested this on a different FX3 with a different flash chip and the issue persists. Please see the attached project file which is a very slightly modified version of the MSC example and these videos, to find the places where changes were made in the zip, search for the define "Manual_MSC". It is used in 3 places.
Video of failure to format to FAT with explorer, succeeding when switched back to auto mode, then failing again when trying to format in NTFS, and explorer crashed at the end too...
https://drive.google.com/file/d/10jToAssyamGRbILLY7TkheYB-1YNGdFD/view?usp=sharing
Video of formatting drive with device manager, FX3 just stopped working at the end, it was still connected.
https://drive.google.com/file/d/1dZg9Mp7ySYX7QscVTuNORb6bXTlYEx4C/view?usp=sharing
I have also tried other formatting tools and this still fails.
Is there a call back that is missing in: CyFxMscApplnDmaCb? Or is there a response that is meant to be added to CyFxMscApplnUSBSetupCB?
Regards!
Fujimi
Show LessI have a USB peripheral device that utilizes the FX3's GPIF, USB, I2C, SPI, GPIO, and UART. The FX3 needs to always have USB, I2C, and GPIO's functional. In 32-bit DQ GPIF, the UART is enabled, but the SPI is disabled. On the other hand, in 16-bit DQ GPIF, the UART is disabled, but SPI is enabled.
I need to be able to switch back and forth between 16 and 32-bit GPIF during runtime. What are the steps I need to accomplish this runtime reconfiguration? I have read that I, at least, need to do GpifDisable(...) and then GpifLoad(...) with the proper GPIF settings. By doing this, would the other modules (USB, I2C, GPIO, UART, etc.) be affected, and need to be reinitialized during the GPIF reconfiguration?
Show Less
Hi,
I used FX3 to implement three compound devices, namely UVC, UAC, CDC, UVC in bulk or ISO mode, and UAC in ISO mode. Both UVC and UAC application threads send data to host, with the following two problems:
(1)FX3 uvc device sends two different frames of 1080P 30fps data, and windows10 camera shows a long time to switch between two frames of uvc data;
(2) When FX3 UVC sends data, the audio of UAC cannot be enrolled through Windows10 recorder;
Show LessHi,
Let me know how to re-program after the first programming F/W to SPI-Flash without re-configuration of PMODE[2:0] pin.
The FX3 boot option is set SPI boot(PMODE[2:0]=0F1), In prototype model, these pins are removed from the PCB board.
I suppose it would be solved, if FX3 can boot forcing USB boot mode in any conditions.
programing application is “cypress control center”.
Regards,
Nagata
Show LessHello,
CYUSB2014 is a high speed device in the FX3 family. I am trying to use UVC_AN75779 example code. However I am not sure, what libraries to use or to change since the code is for superspeed device but CYUSB2014 is high speed. This is my first experience with FX3 family, so any guidance will be much appreciated.
Show LessI have designed a camera board usb cyusb3014,it can download and work correctly under usb2.0,but can not work under usb3.0,or it can not connect to the host computer。I have looked up some same cases via the internet but there is not a solution,i think it is not a hardware problem。expect your reply!!!
Show Less
Hi everybody,
I created an interrupt endpoint IN and its DMA channel OUT to send a small buffer of data. The problem is that when I try to transfer some data with the Control Centre the error "INTERRUPT IN transfer failed with Error Code:997" appears.
I checked and the buffer gets filled, the problem is apparently during the transfer. Does anybody know how to help me?
Thanks,
Linda
Hello,
According to the Application Note AN70707, it is recommanded to use 22Ω series terminaison resistor on GPIF lines.
1) Does this only apply to DQs? Or does this apply to DQs and CTLs?
2) In the context of the miniaturization of the PCB, I was wondering if it would be possible to remove these resistors. Especially if we use a "low" frequency (between 1MHz and 10MHz) instead of the maximum allowed frequency (100MHz). Can we dispense with these resistors at low frequencies? Or are they strongly recommended whatever the frequency used?
Thank you.
Jean.
Show Less