USB Forum Discussions
Browse the Community
USB low-full-high speed peripherals
Discussion forum regarding USB low-full-high speed peripherals topics.
USB hosts hubs transceivers
Discussion forum regarding USB hosts hubs and transceivers topics.
USB superspeed peripherals
Discussion forum regarding USB superspeed peripherals topics.
Featured Discussions
I am trying to debug code on the UVC example on the FX3 and I do not have access to any of the pins. Is it possible to enumerate as another device to send debug information over USB?
Show LessHi,
In the newest CYUSB301X datasheet 001-52136 Rev. L, the data transfer rate of GPIF II is upgraded to 375Mbps from 320Mbps.
Is there any change in chip or F/W ?
Regards,
HC.
Show LessHi,
I am trying to install the driver for the FX3.0 on windows 7, 64-bit os, but I am unsuccessful. Based on the CyUSB.pdf, I have to use the "x64" folder, however, there is no such a folder under win7 (only x86). Is there any driver for win7 x64?
Thanks,
Nazila
Show LessHi
I want make output direction partially out and in.
When i set to OEA=oxff, as i know, this direction is out.
But i think another pin also have same direction.
How can i set partially?
Also what is IOA ?
Show LessI am using the GPIF as a 32-bit Slave FIFO with 2-bit addressing. I would like to know if there is a way to determine if the GPIF interface goes "dry" or empty while waiting for data from the GPIF master.
Show LessHi
In USBTV, i have confused in i2c_hw.c.
I can see that sub_type variable is in DBG of I2CWrite function but (sub_type!=0) syntex is not existed in DBG.
If i not use DBG, what have default value to sub_type variable?
Also , how should i understand this syntex?
Could you please let me know?
Show LessHi,
I am trying to get SPI boot to work on the DVK board. I already have setup the PMODE pins to 1F0, to boot from SPI and on fail boot via USB. The Jumpers 101,102,103,104 are all set to [2<->3].
When I try to upload a firmware .img file through the Cypress Control Center, I can see on the lines SCK and SSN that the upload is in progress, but the SPIMISO and SPIMOSI lines are all the time low. The same issue I can see after I press the reset button on the FX3 DVK board. FX3 is trying to load data from the SPI flash. The SSN and SCK is working fine but the MOSI and MISO also always low.
The resistors R246 and R252 are both not on the board as described in the ...
CYUSB3KIT-001 EZ-USB FX3 Development Kit Guide, Doc. #: 001-70237 Rev. *B
.. document.
I also have the same result when I upload the firmware through j-link debugger. Is there a hardware failure or are the GPIO pins defect?
thanks,
lumpi
Show LessHi,
I've had a working FX2 application that sends back data from a device over a quad-buffered bulk IN endpoint (EP2) for the past year. On the host side I'm using libusb with the usb_bulk_read() command to read the EP:
int usb_bulk_read
(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout);
If data in the device has not yet filled the FIFO, the above request times out (after a period of timeout milliseconds) and this is the way I always assumed it had to work.
Recently however, I've been in touch with another person who explained that upon a bulk read on their device, the device automatically sends NACK tokens until the device is ready; apparently avoiding the necessity of a time out.
Likewise, on http://www.beyondlogic.org/usbnutshell/usb4.shtml#Bulk it says:
IN: When the host is ready to receive bulk data it issues an IN Token. If the function receives the IN token with an error, it ignores the packet. If the token was received correctly, the function can either reply with a DATA packet containing the bulk data to be sent, or a stall packet indicating the endpoint has had a error or a NAK packet indicating to the host that the endpoint is working, but temporary has no data to send.
I bolded the key phrase. So there seems to be 3 conditions, not 2 (data or timeout (stall?)). Perhaps my endpoint is configured to respond to the host with a Stall while perhaps it's possible for me to respond with a NACK and have the host just repeatedly request the packet until data shows up?
Can anyone help me understand this, especially in the context of how I might configure the FX2 Endpoints to respond differently to a bulk read request?
Note that I've read over the TRM (not always getting every detail understood) and do see some brief discussion on the STALL bit which might be the key, but little explanation on how a Stall packet vs. NACK packet would be interpreted by the host when doing a bulk-read command...
Thanks!
Scott
Show LessHello All,
If I load the default configuration file provided by Cypress (when I installed the drivers) from the directory C:\Cypress\USB\CY4605-HX2LP\1.0\Software\Config_file\2_port.iic for CY7C65620 into the CY7C65630 part, will it function correctly?
Since CY7C65620 is 2-port hub and when the same config file is loaded into a 4-port hub part, will only 2 ports be enabled?
If a config file has already been loaded into a device using Primer.exe, how can I load different config file into the same device. When I use Blaster.exe to do a Read From EEPROM, I get a message " Cannot Open Device" and I cannot erase the EEPROM also using the blaster application.
Thank you for the support.
Show Less