USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
Hi, according to AN95779 example, I know that the color format is YUY2, and it's 8 bits data size for one channel(ex: Y, U or V). Therefore, each 2 pixels is comprised by 4 bytes(Y0 U0 Y1 V0), which can be simplified: per pixel is comprised by 2 bytes(16 bits).
Q1: Is it the reason for "Number of bits per pixel" field which is set to 0x10(=16) in "Class specific Uncompressed VS format" descriptor(cyfxuvcdscr.c)?
Now, if my image sensor sends out 16 bits data for one channel, the order is Y0a Y0b U0a U0b Y0a Y0b V0a V0b by byte => each 2 pixel is comprised by 8 bytes => per pixel is comprised by 4 bytes(32 bits).
Q2: In this case, the "Number of bits per pixel" field needs to set to 0x20(=32). Is it correct?
Any help will be highly appreciated!
Show LessIs there any information about the reliability of SPI flash writes in the FX3 SDK Programming tools?
Is there a way to check if Programming is really correct if Programming success is achieved for SPI on the SDK?
Thanks,
Tetsuo
Hi
I could not find a discussion or manual sections about any dependencies for the following:
There are 2 separate GPIFII blocks to switch between; one 16bit, the other 32 bit.
Each GPIF has a different pibClock.clkDiv and CyFxApplnSetPibDllParameters().
When switching (reloading) GPIFs, do the FX3 USB, DMA, or any other component, need to be torn down first and re-initialized?
Thanks
JN
Dear community,
I have to implement a virtual COM with the FX3 as an alternative to the UART module for the cyfx3s_fatfs example; so I need a set of API similar to CyU3PUartReceiveBytes and CyU3PUartTransmitBytes and the possibility to write buffer with DMA (as in cyfx3s_fatfs) but working through an USB Virtual COM.
I started working with UsbUart example by modifing the DMA configuration and sockets (in attached) to use the "void CyFxUartSendBuffer(uint8_t *Buffer_Print,uint8_t cnt_read)" function, but without results.
Please, someone could give me some ideas or code example?
Consider that is my first time with this MCU, this architecture and in general with the USB.
Many thanks in advance, regards,
Corrado90
Hi All,
You can download the Altium Footprint and schemtic symbol for the CX3 part from this dropbox link:
(https://www.dropbox.com/sh/zdlcnj8lkzcb1qr/AAAoYCxNKHbxNs_qJwFw18_Ja?dl=0)
Show LessHi all!!,
i'm using boardkit FPGA and FX3 and i have problem with streaming data to PC.
i send test data with fixed size samples (16 points to PC) from FPGA to PC. And i think... FX3 works wrong.
sometimes i save ok raw data but sometimes data is broken and at low speeds and high the same result (periodically data is broken)
I try to divide frequency on FPGA to send data on FX3 but it's doesn't solve my problem.
At this time i doens't known what i do to fix this problem.
FX3 sources include:
Slave FIFO Synchronous mode
32 bit regime to transfer data from FPGA to PC
create two BULK IN, BULK OUT endpoints
FX3 EZ USB Suite Project, attachement to message! Thanks ALL!
Show Less
Hi All,
I'm trying to change the Pclock frequency according to the USB connection speed, but it doesn't seem to be easy. Basically, I want to automatically set the division value at 4 for USB3 connections and 24 for USB2 connections. Is this possible?
Thanks!
Terry
Show Less
Hello,
On some laptops (mostly on recent models), our FX3 enumerates in USB2 although it is connected to an USB3 host. If we switch to another USB3 port on the same laptop, it seems to work fine. We have seen it happen on some "USB charging ports", but we are not totally sure this is related.
I found similar cases here:
https://community.cypress.com/t5/USB-Superspeed-Peripherals/CX3-Device-is-not-enumerated-as-USB3-0-device-but-USB2-0-device/td-p/170278
https://community.cypress.com/t5/Knowledge-Base-Articles/USB-3-0-Device-Enumerated-as-USB-2-0-KBA204163/ta-p/249250
Unfortunately the suggested solutions (hw or sw) did not help.
- We use USB type-B connector
- We disabled LPM 'CyU3PUsbLPMDisable()'
- We enabled SSD connection 'CyU3PConnectState(CyTrue, CyTrue)'
- We are in compliance with AN70707
I add that other USB3 devices such as external hard drives do work (in USB3) on these ports.
Show Less
Hello,
We use a FX3 controller in one of our USB products, which connects to a PC host (laptop/desktop).
Recently we had an issue with one particular customer, which is that our device is not recognized by Windows 10 after reboot of the host PC.
Windows displays either error on 'Device Descriptor Request Failed' or in some cases 'Unknown USB Device (Link in Compliance Mode)'. After a few tries/reboots though, we can get a correct enumeration and those messages do not appear (until next reboot...). So it seems to randomly fail most of the time.
When we get these errors, replugging device is enough to force re-enumeration, and device is detected by Windows. Still, for reasons specific to that customer, this operation is not acceptable if required at every reboot.
We checked the reference firmware code provided with 'EZ-USB FX3 SDK', as well as the PCB recommandations made in AN70707... On the host side we tried to disable 'USB suspension' or 'fast boot' to be sure there is no power supply issue on startup. I add that the computer is not running on battery, and that power supply (VBUS) is stable.
My question is: is there any reason why some (few) hosts would not recognize FX3 controller on startup ? Do you know about any adjustments to be made on USB interface lanes or in firmware ?
I add that our device is powered only from VBUS (no battery). In that use-case, can we let the VBATT ball floating (NC) ? This is unclear in AN70707, or we missed it.
Show Less
Hi Cypress experts,
I'm developing a FX3 app to use super speed. For my booting condition is loading from SPI (PMODE[2..0]=0Z1). I'd like to know the exact timing of FX3 reset. I attached estimated voltage figure when it powers up.
The main question are as follows;
1) where t_rst addressed(when RESET_N will valid)?
2) when POR ignites?
3) after POR, bootloader block works immediately, and loading starts? (the block shown under fig. in attached png)
I know in the specification, all of the condition will be set within 1ms, however, real power up time is not set under 1ms. So we should select proper RC value on RESET_N pin. I'd like to understand real mechanism of powering up.
Thanks,