USB superspeed peripherals Forum Discussions
Hi,
I designed a board using FX3 Peripheral Controller.
I wanted to use a flash SPI to boot and use UART at the same time.
When I made the schematic, I used this file in order to choose which pins I would be using : http://www.cypress.com/file/140296/download
I saw that the "16 - bit Data Bus + UART+SPI+I2S" case would fit my design because I'd like to use UART for debugging and SPI for SPI Boot (for the FX3). And I would like to add I2S to my design in the future.
I then received my custom board and I decided to use the cyfxusbuart example (located at Cypress_installation_folder\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbuart). But when I program my board, it appears that the pinout is not the one described in the upper document (the "16 - bit Data Bus + UART+SPI+I2S" pinout). Actually, the pinout probably is the "16 - bit DataBus +UART+GPIO" because I can see the TX and RX on a scope when I probe GPIO[55] and GPIO[56] pins.
Even if the SPI interface is only used during boot, I'd like to have separate lines for each signal from each interface, I don't want to have both interfaces crossed. Because the things that are using UART will see some weird stuff during SPI boot/programming.
I cannot change by board layout because it's a PCB so the pin mapping of the program running on FX3 has to be just like the "16 - bit Data Bus + UART+SPI+I2S".
Can somebody please tell me how to change the program pinout ?
Show LessI want to use GPIOs (Interrupts) which would also generate an USB message.
The GPIO examples in KIT-003 sample file are without any USB connectivity (just for internal ARM9, OK so far).
I am not an expert on USB. Would it be possible to generate an USB message (from device to host) when a GPIO was triggered,
the ARM9 has handled a GPIO Interrupt?
Or is it necessary to poll the status via USB? Host has to request the status of GPIO, peridocially?
Or could I send an asynchronous, unsolicited USB message to inform host that GPIO (something) is available to be drained?
Is there an example how to use GPIOs (Read and Write) via USB plus ARM9 where it would do something on GPIO trigger (e.g. generate the USB packet to be sent to host or prepared to be drained later by host (when "polling")?
Thank you and best regards
Torsten
Hallo, is there any working example of super speed data transfer between the DVK v2 board and a window 7 host?
We just received our DVK but none of the examples in the SDK seems to exploit the super speed capability of the FX3.
We would really appreciate if anybody could tell us if the bulkloop, the streaming… or whatever else example in the SDK is really working in super speed mode. If this is the case we could focus un identifying somewhere else the problem.
If the answer to the above question is yes… what is the achieved transfer bandwidth ?
Tanks, Joel
Show LessHi!
I am using CX3 for USB 3.0 webcam development.
In the project, still image capture need to be triggered both
- by PC (Window 7 or 😎 application SW.
- by camera device's snapshot button.
SW triggering is done, but HW triggering cannot find how.
As I assume, the sequence will be
[raise endpoint interrupt to HOST] -> [Host issue still capture event] -> [remaining same as SW triggered case]
But I cannot figure out how to code for it.
Can someone show me some example code?
Thanks.
Show LessDear Sir,
I want to use CX3 to transmit UVC video,CX3 also has other functions,for example,
1. scan keys or buttons input, how to send key events or other customized events to PC?
2. PC can send some customized commands to CX3? how to do that?
Best regards!
David
I have discovered in the forum history two examples of UVC with USBUART combined.
I am trying to find the latest version of this example, as it isn't supplied as part of the SDK.
Could you please supply me with the latest copy of this example as I want to use the ov5640 camera via USB and serial data via USB
Regards,
Dave
Show LessIn our system FX3-CYUSB3014 + SDK 1.3.3 we use the following transfers at the same time:
BULK-OUT: to write data from the PC to the device-TFT-display with DMA
BULK-IN: to read data from a camera to the PC with DMA
CONTROL-GET: to read cyclical a touchpad on our device
If the connection is USB2.0 we found the following issue:
(analysis with an USB bus analyzer)
- The system is running well for a while
- suddenly a CONTROL-GET fails with "Turnaround Timeout Error" and "BAD CRC"
- The PC makes a second try to read the data and get the data with correct CRC but with the first 4 bytes wrong
- After the first occurrence of this error all of the following transfers CONTROL-GET and BULK-IN!!! have 4 wrong bytes at the start of each data record
The BULK-OUT to the TFT is further running well
To reset the error we have to restart the complete system
questions:
- any idea what happens or how to further investigate the problem?
- it seems the error is not in the firmware but in the hardware (USB20-SIE, USB20-TP) because it occurs in CONTROL-GET (firmware) and BULK-IN (hardware-DMA) at the same time in different pipes (EP0 and EP3). Is there a possibility to reset the SIE and/or the TP with out reset the entire system
- it is possible to detect by the firmware such a hardware error and how to react correctly. At the moment I send data and do not detect the problem in the firmware, only on the PC side
The error was observed until now only with USB2.0 (not USB3.0)
The error was observed only on some PC's (WIN10)
Thanks for any help
Show LessWhen I download the firmware of slavefifo to CYUSB3014,the USB Control Center show as the high speed.But I have set the connection as super speed.I don't know how to solve it.Can anyone help me?I would be grateful to you.
Show LessHow do I communicate between FX3 and Host PC in the UVC by using vendor command interface?
Hi.
I'd like to vendor command command communication between FX3 and Host PC in the UVC.
When I used the below host application code, the FX3 does not response.
USBDevice = new CCyUSBDevice(NULL); // Create an instance of CCyUSBDevice
How do I communicate between FX3 and Host PC in the UVC by using vendor command interface?
Hi all
I updated my PSoC Creator to latest Version 4.0
Open my old Project with an CYPD4225 on it.
Got a message: "Projects with outdated devices".
What should i do?
If I select yes I can choose between 4 CCG4 Controller. But only two with Dual Port.
CYPD4226 and CYPD4236
But I can`t find a Datasheet to this two controllers.
Should i downgrade my PSoC Creator?
Br Oliver
Show Less