USB low-full-high speed peripherals Forum Discussions
Hi
I use the vendor command to reset the salve fifo of endpoint(ep2 and ep6, ep2 is out endpoint and ep6 is in endpoint), as follows:
BOOL DR_VendorCmnd( void )
{
if(SendBuf[2] == 0x06)
{
IsMasterStoped = TRUE;
}
}
void TD_Poll( void )
{
if(IsMasterStoped == TRUE)
{
FIFORESET = 0x80; SYNCDELAY; // activate NAK-ALL to avoid race conditions
//FIFORESET = 0x02; SYNCDELAY; // reset, FIFO 2
FIFORESET = 0x06; SYNCDELAY; // reset, FIFO 6
FIFORESET = 0x00; SYNCDELAY;
SYNCDELAY;
SYNCDELAY;
SYNCDELAY;
SYNCDELAY;
IsMasterStoped = FALSE;
}
}
If I reset the ep6 individually, it can be reset normally, but if I both reset the ep2 and ep6, the ep6 can work normally, while the ep2 does not work any more, How to slove it?
Show LessHello,
I have some questions about CY7C65213 power supply and UART pins.
1)Is it okay to apply a voltage to the RXD terminal when the VCCIO is powered on and the VCC is not powered on?
2)Which power supply is the internal oscillator of CY7C65213, VCC or VCCIO?
I would like to know if the internal CLK does not oscillate if no power is applied to VCC.
3)PINs (RI# / DSR# / DCD# / CTS#) are defined as input terminals. Can they be used in OPEN when not in use ?
Best regards,
Naoaki Morimoto
Show LessHi,
I'm using the FX2LP dev kit and I'm trying to get the FX2LP to load my firmware from EEPROM. My hex file, when transferred into RAM, works fine. When I write the IIC file to the EEPROM and then reset the device with the reset button, the firmware initialization seems to execute properly, but as soon as I try to make any USB requests they all fail.
Again, it seems like the firmware is loading and executing the initialization properly because it comes up with my VID/PID and turns on the LEDs that I've programmed, but the USB requests fail.
Any suggestions?
Thanks,
Andrew
Show LessHi Infineon:
Because my product of CY7C65211A is onboard (No USB connector) so that We can't config a .CYUSB file by Cypress tool , Can you help us to make a configuration file for CY7C65211A , The configuration spec as below , Thank !!
configuration set PID/VID=0x04b4/0004, i2c clock=400K
Show Lesshi support team,
We call the chip, operate scb0 (I2C) and scb1 (SPI) normally on windows, and then transplant it to Ubuntu. I2C protocol works normally, SPI protocol reads and writes data, and the return status is timeout. It is normal to initialize cypress, open SPI, set SPI parameters and set IO status
-------------------------------------------------------------------
CY_DATA_BUFFER WriteBuffer;
UINT32 num = 1;
UCHAR buf[] = { 0x06 };
WriteBuffer.buffer = buf;
WriteBuffer.length = num;
WriteBuffer.transferCount = 0;
Status = CySpiReadWrite(s_SpiHandle,NULL,&WriteBuffer,TIMEOUT_MILLISECONDS);
//Status = CY_ERROR_IO_TIMEOUT
--------------------------------------
Thank you for your support
Best regards,
Jungle.
Show LessI followed below steps and getting USB disconnected.
1. Connect OV9282 with FX2LP.
2. Load firmware into fx2lp using download_fx2
3. sensor configured in DVP mode (But some register configuration is changed).
4: when configure sensor HREF into output mode, Fx2lp USB disconnect.
please help us to resolve this issue.
Show LessTo whom it may concern,
My question relates to an existing knowledge base article post from 2011 discussing "PCMCIA Implementation for the CY7C68013/CY7C68013A (FX2/FX2LP)." Link is below:
To reiterate the question, can the GPIF for FX2/FX2LP be modified to implement a PCMCIA controller - SPECIFICALLY, a configuration that supports PCMCIA ATA CARD READERS? If so, are there any reference designs or application notes that explain how to do this? If not, is there any guidance on how to go about such projects?
Thanks.
Show LessWe have a PCB with a CY7C65215-32LTXI , and we are trying to get the two virtual COM ports to work with National Instruments LabVIEW (NI VISA). While we are able to write to the port just fine in any terminal application, LabVIEW returns a communication error to the port any time we attempt to write to the device (VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.).
We are currently using a driver dated from 2018 (Version 3.13.0.84) for the two ports and USB serial adapter devices, and 1.2.3.23 for the USB-Serial (Dual Channel) Vendor MFG device. Is there any chance updated drivers are available for this IC that could resolve our VISA communication issues?
Show Lesswhen i connect occiloscope to SLWR pin, USB is disconnect from PC (System), i have configured slave fifo mode with image sensor interface
Hi
68013A works in salvefifo mode,while it has ep2(out)and ep6(in)ednponits. The code reset the endpoints in pd_init()function. If i want to reset the fifo of endpoints through the ep0 vendor command to clear the data in them,like using fiforeset register in pd_poll()function,while i found the chip will not work anymore(can not read data or send data through ep6 or ep2).
How to reset the fifo of ep2 and ep6 correctly to clear the data in them,after initialization of the chip(Enumeration)?
Show Less