eclipse debug problem:cyu3device.c:553: undefined reference to `CyU3PToolChainInit'
FX3 GPIF Config for Audio+Video application
Hi,
I am using an A/V source connected to a decoder chip which splits them both. The video output enters FPGA and is buffered as needed for the FX3 GPIF to process it for UVC. This part all works fine.
However, now I need to also handle the audio and make it a part of the input stream to GPIF. But, I'm confused how to insert audio in the middle of the video stream on the D0 to D31 bit lines (FX3 GPIF input pins) without damaging the video stream and ensuring that the Windows USB Driver on PC (USB Host) is able to read it and play it successfully.
Any insight in this matter would be helpful.
Thanks,
Harshad.
What is the max speed of GPIF II?
I have a project that uses GPIF to connect a FPGA, the FPGA genrate data and send data to FX3 through GPIF, and the FX3 send this data to PC through USB, but the max speed I can get is only about 50MB/s, I want to know what is the max speed of GPIF?
Regards,
ZhangZQ
FX3 with type-C connector
Hello
Is there some sample schematic FX3 with type-C connector?
I would like to use USB3.1 gen1 with FX3.
With Best Regards.
-- toshi//
Cyusb3.inf SuperSpeed Explorer: Cannot Install this Hardware
I cannot install the driver for the SuperSpeed Explorer kit under windows xp. The only information I get is:
Cannot Install this Hardware
There is a problem installing this hardware
Cypress FX3 BootLoader Device
An error occurred during the installation of the device
No other information is given.
the demo UartLpRegMode the uart send the '*' 0x00
Hi
I am learning the usb3014
Download the demo the demo UartLpRegMode
the Teraterm print nothing
the cursor flash very fast but print nothing even I input from the key.
I change the software for the uart use the serial port utility
the uart read all "*************************" very fast
when I change to the HEX , I get a lot of"00 00 00 00 00 00 00 "
so why? Does the demo has some bug on the superspeed explorer kit?
How i can fix it?
I can read the message from the uart by use other demo so the uart should be ok.
CX3 throughput
Hi,
I was doing a throughput analysis for the CX3 chip for my project. I will be using a typeC alternate mode mux for DSI and connect the SSUSB to CX3 which will have CSI, I2C,I2S,SPI and UART interfaces.
I summed up all the data rates for the above interface. I would like to know what would be the data rate on the USB bus (since its adds additional sync bits and PIDs etc.) How does the CX3 internally map all the interfaces to USB? How do I go about calculating the throughput?
Thank you.
FX3 transfer to/from PC without DMA channels.
Hi Cypress,
I managed to add an interface with EP84 and EP05 for IN and OUT transfer between FX3 CPU and Host with 1KB packets.
What shall I do to make the transfer without setting up a DMA channel? May I do it the same way as CyU3PUsbSendEP0Data and CyU3PUsbGetEP0Data?
xferdata failed on USB3.0
I am developing an application for data process based on the GPIF SlaveFifo sample. We divide a big data buf into small packets which the packet size equals the size of the DMA buffer size. we call xferdata() in our middleware to realize the requirement. But the same code gets different results. It runs normally on USB2.0 but fails on USB3.0. The Lasterror is 0XC0000120, UsbdStatusString is "state=STALLED, status=UNKNOWN". Furthermore when I send only one short packet, the result is correct.I had tried some ways to fix this problem, but I hadn't found any clue,Can anybody give me some advices to solve this problem?
CYU3P_PIB_ERR_THR0_WR_OVERRUN
Hello, I use GPIF state machine to transfer a sector (512 byte) when I start state machine every time. I set a PIB to USB DMA channel, and set 16 buffers, and every buffer is 1024KB. When I need to transfer more than 1 sector, I need to start state machine more than one time. However when after I start two times transaction, there emerges an error: “CYU3P_PIB_ERR_THR0_WR_OVERRUN” or “Write to DMA data thread which is not ready.” The picture is my GPIF state machine. I doubt that when I start a transaction, the old buffer is full, and the next buffer is not ready. And I set CyU3PBusyWait() to wait for the previous transaction been finished, But it is not work. I want to know why, and how to solve the problem.
Thank you and Best Regards!
HID controller USB FX3
Hello,
I'm currently trying to design my own video game controller. I want to map 4 keys of my controller using the FX3; So i.e: buttons A,B,X,Y.
I want to assign each key to a keyboard key. So for example; A acts like pressing ENTER on the keyboard and B as BACKSPACE.
I have only the Cypress generic USB driver. For a game controller consisting of buttons, joysticks, and possibly a gyroscope, what HID mini-drivers or drivers will I need to write? Where do I write these drivers? I do not understand how to use the cypress USB driver with HID drivers.
Thanks.
FX3 SPI simultaneous send/receive as shift registers
Hello,
I'm currently working with a sensor module which is connected to FX3 using SPI interface. The module requires to send and receive 9 bytes on SPI interface simultaneously like shift registers. SS is controlled by firmware so that I should setup send and receive buffers, then pull down the SS to send and a receive to finish. I couldn't find any API for FX3 to do this. Using register mode there are CyU3PSpiTransmitWords / CyU3PSpiReceiveWords which do it one at a time. The dma mode I couldn't figure out how to make it work to send and receive simultaneously specially because DMA mode requires 32 bytes aligned buffers. Is there any efficient way for me to do this.
Thank you.
Disbaling SPI
Hi,
I have a Fx3 board connected to FPGA and on boot, we download FPGA image through SPI interface. In firmware, we disable SPI interface through CyU3PDeviceConfigureIOMatrix() once FPGA download is completed. I need to pull up GPIO54 (which is used by SPI)but disabling SPI and pulling up GPIO54 using CyU3PDeviceConfigureIOMatrix() API puts GPIO 54 in tristate for around 600 usec which FPGA doesnot like.
Is there a way i can pull up this line GPIO 54 before disabling SPI. I tried calling CyU3PGpioSetSimpleConfig() but it returns failure as GPIO is used by SPI?
If not...
Is there a way i reduce this time?
Thanks in advance
USB 3.0 Power Pins if Unused?
Hi Cypress Community,
I am designing with the Cypress CYUSB3064-BZXC. It is a MIPI to USB high speed converter BGA.
My question is whether or not I need to have +1.2V power on the pins U3TXVDDQ and U3RXVDDQ if I am NOT using the Superspeed USB 3.0.
I currently have all pins set as No Connects since I'm not using USB 3.0, but I see nothing in the datasheet that says if I can do this or if these power pins still need to be powered.
Thanks for any help or insight you can give! (datasheet attached)
-Stark
GPIF II Interface (FX3) image to PC
I'm currently investigating the FX3 module and have a clear understanding of the interfaces.
One question that may help development... If I were to transmit a RGB image to the Host PC over USB3, is there a specific format suggested to work better with the controller (i.e. U3V) or can this be home-grown? My guess is yes to both with a hit time on development for the home-grown route.
Thank you in advance!
On the VBATT pin problem
Hi Cypress Community,
I am designing with the Cypress CYUSB3014. My question is whether the VBATT pin of FX3 must be connected to the power supply in hardware design, can I'm not connect it?
Thanks for any help!
-Bruce
Add a deterministic state transition when I customize AN75779?
Hi Cypress,
I am trying to customize the AN75779 to add in controls like snapshot or series of shots.
I use FPGA as data source in place of the image sensor. The current UVC state machine runs continuously.
When I implement a snapshot routine, is the following feasible?
1) IIC_Write to FPGA to stop FV/LV, Disable GPIF with CyU3PGpifDisable
2) CyFxUvcAppGpifInit, CyU3PDmaMultiChannelReset, and CyU3PUsbFlushEp
3) CyU3PDmaMultiChannelSetXfer, CyU3PGpifSMStart at START_SCK0
4) IIC_Write to FPGA to capture frame and activate FV/LV into FX3.
CYUSB3KIT-003 EZ-USB® FX3 CONTROL PINS
On the CYUSB3KIT-003 EZ-USB® FX3™ SuperSpeed Explorer Kit where do I connect the "SLCS#, SLRD#, SLWR#, SLOE#, and A[1:0] signals? The DQ[15:0] are marked but all other signals are labeled as CTL[12:0]. The GPIFII designer assigns GPIO_xx pins (Ex: GPIO_17 for SLCS#) but I cant find any information how the GPIO pins are connected to the J6 or J7 40 pin headers.
I checked the schematic and the pins are marked as CTL[12:0] and not GPIO_xx.
GPIF consumer
I am trying to setup a DMA channel where the CPU is the producer and the GPIF is the consumer. I would like to pre load maybe 8 buffers of data then let the channel send them to the GPIF repeatedly. I can make what i want work if i set the channel to manual out and use the callback to commit the data but that is not as fast as I like. I tried but can not setup the channel auto without an API error, is there a way around I haven't thought of?
Thanks
Customize CyUSB3.inf only for our FX3 device
Hi.
We are developing USB devcie with FX3 and plan to use CyUSB3.sys.
I would like to use CyUSB3.sys only for our device.
This mean CyUSB3.sys for our device and other developer's FX3 device coexist independently
on the same system.
Accoring to "Cypress CyUsb3.sys Programmer's Reference",
I plan to create our own .INF file.
Anybody know how to create own .INF file?
I plant to
- Copy CyUSB3.inf
- Modify VID/PID, Strings and GUID.
- Replace CyUSB3.sys to renamed one
- Replace CyUSB3.cat to renamed one
In addition, do we need to rename service?
(Addservice and KmdfService line)
I think some registry keys are added at
"HKLM\system\CurrentControlSet\services\{ServiceName},
so this will be overrided by other FX3 device's driver
if we do not rename the serivce.
Regards,