USB low-full-high speed peripherals Forum Discussions
Hello ,
I am trying to change the maximum packet size of my IN endpoint to 256 bytes using the dscr.a51 in High speed config dscr:
HighSpeedConfigDscr:
db DSCR_CONFIG_LEN ;; Descriptor length
db DSCR_CONFIG ;; Descriptor type
db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) mod 256 ;; Total Length (LSB)
db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) / 256 ;; Total Length (MSB)
db 1 ;; Number of interfaces
db 1 ;; Configuration number
db 0 ;; Configuration string
db 10100000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
db 50 ;; Power requirement (div 2 ma)
;; Interface Descriptor
db DSCR_INTRFC_LEN ;; Descriptor length
db DSCR_INTRFC ;; Descriptor type
db 0 ;; Zero-based index of this interface
db 0 ;; Alternate setting
db 1 ;; Number of end points
db 0ffH ;; Interface class
db 00H ;; Interface sub class
db 00H ;; Interface sub sub class
db 0 ;; Interface descriptor string index
;; Endpoint Descriptor
db DSCR_ENDPNT_LEN ;; Descriptor length
db DSCR_ENDPNT ;; Descriptor type
db 82H ;; Endpoint number, and direction
db ET_BULK ;; Endpoint type
db 00H ;; Maximum packet size (LSB)
db 01H ;; Maximum packet size (MSB)
db 00H ;; Polling interval
But when i transmit the packets it hits abort pipe after few data transfers
Why is it happenning could someone explain?
thanks and regards
Show LessHello,
I am using the fx2lp in slave fifo mode where I need to make data transfer on every interrupt from master . I use auto mode for this.
I am using Ep2 as in transfer to receive the data.
Now my question is :
1. is it right if i configure the registers as:
EP2AUTOINLENH = 0x01; to send 256 bytes each
EP2AUTOINLENL = 0x00;
on each interrupt the data sent is 256 bytes
my buffer EP2 is configured as EP2CFG = 0xEA; (Double buffered and 1024 size)
Could there be some garbage data comming in the remaining buffer ?
2. Am i right to configure the registers responsible for data tansfers(EP2AUTOINLENH ,EP2AUTOINLENL) in
(void TD_Init())
or i must configure this in the interrupt?
Show LessHi, there
I'm working on USB serial i2c example based on cy7c65215 USB to serial bridge.
I find that if change the variable CY_I2C_CONFIG and CY_I2C_DATA_CONFIG to a static variable, the waveform output from cy7c65215 goes to an unexpected waveform, quite different from what I set
the picture up there is the right waveform that I expect the slave address is 0x69 when I did not add the 'static' before the variable definition.
but if I add the 'static ' keyword before the variable definition, the waveform goes bad, like the picture below
Does anyone know what goes on after I add the static keyword?
Show Less
Hi, All
In case of SPI communication Master Mode (CPOL=1 / CPHA=1) in CY7C65211A, this is a question.
1. There is no timing specification for CS in the datasheet.
It can be adjusted to MISO or CLK, but if there is a specification that can be checked, please let me know.
2. Output strength is the default value, is it slow rate? Is it fast rate? Please tell us.
Best Regards,
Alex.
Show LessHi,
Using "Cypress USB-Serial Configuration Utility" tool I configured cypress IC CY7C65215-32LTXI from USB-serial to CDC (as a virtual com port) device. I want to change it back to usb-serial, but I cannot see the target under "Cypress USB-Serial Configuration Utility" tool. Could you help me what I need to get it back as USB-serial device.
Originally I had it like Figure-1, but now it is as shown in Figure-2
Figure-1
Figure-2
Thanks,
Lakshmi Narayan
Show LessHello,
Is there a possibility to store data stream coming into the Host in some text format or any other format ?
Hello,
I'm trying to use FX3 as programator for FPGA. First of all, code (AN84868) for project is not available on Infineon web page: Link .
Second when I try program FX3 with FPGA Configuration Utility and pre build FX3 code "ConfigFpgaSlaveFifoSync" with Debug version all works fine. Code is normally uploaded of FX3 device. With FPGA Configuration Utility I can select bitstream. The problem happen if I try to build FX3 code in EZ Suite (no code change). Build is successfully. But when I upload build image (debug or release) with FPGA Configuration Utility on FX3 device I lose connection with device.
FPGA Configuration Utility after programming:
I'm using Ztex 2.18 board with CYUSB3035-BZXI.
Does anyone have any idea what is problem?
I would be gratefully thankful for any advice. Kind regards.
Show LessIs the power domain of the two pins "USBDP" and "USBDM" VCCIO?
Vih and Vil are defined with reference to Vccio. Can USBDP/DM follow these specifications?
I would like to know if it is possible to input up to 3.6V, which is the USB2.0 full speed standard. And I also would like to know if Vih and Vil do not change even if 3.3V is applied to VCC.
Thanks,
Tetsuo
Hello Community,
we are Infineon colleagues and searching for a USB 2.0 to microcontroller UART converter.
Because we want to use it for a customer design board.
At the moment we are using FTDI TTL-234X-5V-WE. We would prefer to use an Infineon equivalent.
Can you help us out and propose a device?
Maybe a small explanation about the different devices Infineon provides? (Product Selection Guide style...)
best regards,
Cassie
Show Less