USB superspeed peripherals Forum Discussions
actually we are using Cypress Streamer to get imaged data to pc .when we connected to fx3 board end pints are detecting but successful packets are not receiving by streamer only failure packets are receiving .can any one sort out of this problemShow Less
Every once in a while I get caught in the _tx_thread_schedule and can't recover unless I cycle the power to the CYUSB3014-BZXI device. I'm wondering if you have a way to trouble shoot this? or an idea of what might cause this? (I don't have serial port available on this board) This is a camera based on the AN75779 app note, using a MT9V034 Image sensor.
Any help you could provide would be appreciated!
I'm designing a stereo UVC device with the CYUSB3014 FX3 and two AS0260 CMOS sensors. I took the AN75779 as reference design, which allows to interface one MT9M114 with YUY2 output format directly to the GPIF-II port of the FX3. The AS0260 is actually similar to the MT9M114, but with higher resolution. It outputs in JPEG format, providing higher performances in terms of fps (thanks to the compression).
I'm wondering if it is possible to use the reference firmware to make it work with JPEG format.
JPEG has variable LV (line valid), that's my only concern. I'm afraid that the state machine can stuck.Show Less
I'm interested in know how to use UVC extension unit.
I want to know how the UVC extension unit works
I noticed that the UVC Extension Unit is not supported in the AN75779 application note
In the cyfxuvcdscr.c file,What changes should I make at the Extension Unit Descriptor when I want to communicate with
FX3 via UVC Extension Unit.
Thanks, I appreciate the help.Show Less
I have a complex GPIO set as a 1HZ timer with interrupt. I get the interrupt until I start sending messages.
Below is the GIO configuration.
/* Configure GPIO 33 as 1PPS input */
ppsGpioConfigComplex.outValue = CyFalse;
ppsGpioConfigComplex.inputEn = CyFalse;
ppsGpioConfigComplex.driveLowEn = CyFalse;
ppsGpioConfigComplex.driveHighEn = CyFalse;
ppsGpioConfigComplex.intrMode = CY_U3P_GPIO_INTR_TIMER_THRES;
ppsGpioConfigComplex.period = 192000000;
ppsGpioConfigComplex.pinMode = CY_U3P_GPIO_MODE_STATIC;
ppsGpioConfigComplex.threshold = 192000000;
ppsGpioConfigComplex.timer = 0; // Timer initial value
ppsGpioConfigComplex.timerMode = CY_U3P_GPIO_TIMER_HIGH_FREQ;
apiRetStatus = CyU3PGpioSetComplexConfig(PPS_MONITOR, &ppsGpioConfigComplex);
For example, when trying to obtain a buffer via
apiRetStatus = CyU3PDmaChannelGetBuffer (&MIDI_IN_HANDLE, &buf_p, CYU3P_WAIT_FOREVER);
apiRetStatus is set to 64. By numbering the error codes in the error enum in the api's error.h, 64 means CY_U3P_ERROR_INVALID_DEV. Well that doesn't make much sense, but it does seem that certain functions have different sets of errors associated with them.
How can I best decode errors such as these?
I would like to use GPIF DESIGNER to read and write NANDFLASH. I found that when I use DR_DATA and IN_DATA to
drive the data bus, the length of time and interval can not be changed, and I do not need such a long time.As a result I can not exactly optimize the timing of the design as I need.Can I change length of time when drive data bus?
We want to update FX3 firmware by the steps: Insert a FX3 module into the computer, then press a key such as "firmware update", updating firmware, success, then reset to restart from SPI.
The step of "press a key---firmware update", we want to send a command to FX3 module to erase flash. then, SPI on Failure, USB boot up. The problem is how to go through from computer to FX3, maybe API needed, but what's the right API?
Thank you very much.Show Less
I'm trying to program a CYUSB3KET-003 Demo module to work with the Windows driver written for FX2LP. The driver for Windows wrote itself. it works. I wanted a compatibility mode.
I need the wMaxPacketSize parameter in the CY_U3P_USB_ENDPNT_DESCR descriptor of the CyFxUSBHSConfigDscr structure to be less than 512 bytes (for example, 64) for BULK EP.
However, when connecting, Windows generates an invalid handle error (xHCI & Windows 8.1).
The error applies to all descriptors and even the VID & PID does not match the ones specified in CyFxUSB20DeviceDscr.
The working code from the example, with a value of 512 - everything works. With any other value - does not work.
How to solve this problem?
Does the chip support values other than those specified by default?
If in the descriptor to change the Endpoint Type from BULK to Interrupt it works with any length Max packet size.
So far I've found one way. But not the best it seems to me:
It is necessary in the CyFxUSB20 descriptorDeviceDisc to change the version
// 0x10,0x02, / * USB 2.10 * /
0x00,0x02, / * USB 2.00 * /
Then you can set any length of Max packet size in USB 2.0 mode.
I used PSoC creator 3.3 or 4.0 build CYPD2122-24LQXI_mobile/CYPD2122-24LQXI_notebook/CYPD2134-24LQXI_power_adapter have error happen. as insert picture.
Please help me to solve this issue, Thanks a lot !!!Show Less