USB low-full-high speed peripherals Forum Discussions
Hi Cypress Team,
Good day!
I have two problems need your help.
1. My customer need 3 JTAG ports and 1 Uart port. Does cypress have 4 port USB bridge?
2. Can CY7C65215 support 2 JTAG ports now?
Appreciate &Thanks
Sophie
Show LessHi, i need few details for the part CY7C68013A-56PVXC.
1. Currently this part is active, may i know how long it will be supported?
2. Is there any EOL issued for this part?
Consider this as priority and respond as soon as possible.
Regards
Bhuvaneswari
Show LessHi, We've received our new board with a FX2LP18 inside.
We have a large EEPROM inside to store the "Connect" Firmware (and perhaps the true firmware one day).
The I2C bus is 1.8V. The communication is OK with the EEPROM. I was able to program it (using a didicated master - a promira) from adress 0x0000 with the following DATAs :
C2 B4 04 14 86 00 00 00 00 07 00 00 90 e6 80 e4 f0 80 fe 80 01 e6 00 00
Theses DATAs are the .IIC file (LP18_safe) available in the \CY3687_MOBL-USB_FX2LP18_DVK\1.0\Firmware\Connect folder.
The EEPROM is correctly written. After a RESET, i can see the I2C communication of the FX2LP18 onto this EEPROM. All seems OK.
But after that the FX2LP18 does not enumerate. What i'm doing wrong ?
** NEWS ** IN fact it enumerates. USB sound can be heard.
But Drivers not found. I tried another .IIC to use same PID/VID than FX2LP.
USB\VID_B404&PID_8613\6&12BE8945&0&3
What i need to do ?
I would like to see my device in the USB control Center to be able to do a RAM download.
*** LAST MINUTE ** : It is OK. I've made an inversion in the PID/VID
Thanks.
Show LessWindows7
Cypress Windows Driver Package v3.13.0.84
Renesas Electronics USB 3.0 Host Controller Driver v3.0.23.0
Tera Term v4.99
Equipment to simulate system interconnect:
- StarTech PEXUSB3S4V PCIe USB 3.0 4 port Card
- C2G 29525 2-Port USB Hub (required to simulate USB 2.0 environment)
- Cypress CYUSBS236 DVK Board (2x)
Problem:
Re-connect of Cypress USB device on USB 2.0 hub after opening a session to all COM ports of each device results in Windows "USB Device Not Recognized" message. Requires (minimum) restart of USB 3.0 Root Hub device to remedy.
Initial connection: USB Serial Composite Devices on USB 2.0 Hub
Connection after opening & closing session to all COM ports: Unknown Devices on USB 2.0 Hub
Steps (repeat as necessary):
- Connect Cypress A (CYUSBS236 SW1)
- Connect to Cypress A COM port 0 (Tera Term "New Connection")
- Connect to Cypress A COM port 1 (Tera Term "New Connection")
- Connect Cypress B (CYUSBS236 SW1)
- Connect to Cypress B COM port 0 (Tera Term "New Connection")
- Connect to Cypress B COM port 1 (Tera Term "New Connection")
- Disconnect Cypress B COM port 1 (Tera Term "Disconnect")
- Disconnect Cypress B COM port 0 (Tera Term "Disconnect")
- Disconnect Cypress B (CYUSBS236 SW1)
- Disconnect Cypress A COM port 1 (Tera Term "Disconnect")
- Disconnect Cypress A COM port 0 (Tera Term "Disconnect")
- Disconnect Cypress A (CYUSBS236 SW1)
Hi all:
When I was developing a product, I added the circuit of USB to I2c.But now found communication with the computer, prompt "unrecognized USB device".Ask a friend who has similar situation to give some solution?
The schematic diagram is as follows:
The configuration software is as follows:
Looking forward to your reply.Thank you very much!
Best regards
Andy Zhang
Show LessHello.
We are looking for a way to add USB interface on an FPGA board to connect the board to a commercial USB3.0 camera directly.
Could you tell me if EZ-USB FX3 controller is the best solution for our purpose?
Thank you
Kawakami
Show LessWe are currently using CY7C64315-16LKXIT
----------------------------------------
We are working on programming these chips through a microcontroller, instead of using a programmer header as done on previous projects using this part. We have run into a couple of issues and would like to pass on some questions to Cypress.
1. What is the best protocol for programming the CY7C64315 device with a microcontroller? Right now we are working on programming them with the ISSP protocol, going off information found in AN44168
2. Is there a version of the ISSP source code that explicitly supports CY7C64315?
3. If not, what are the parameters/vectors needed by CY7C64315 that needs to be set in the HSSP_CY8Cxxxx source code? We see some information for CY7C64215, how compatible is this with CY7C64315?
- What is SECURITY_BYTES_PER_BANK?
- Which of the 3 existing CHECKSUM_SETUP values apply to CY7C64315 or does it require a new one? (Existing values are: CHECKSUM_SETUP_21_23_27_TST110_TMG110, CHECKSUM_SETUP_22_24_28_29_TST120_TMG120_TMA120, CHECKSUM_SETUP_24_24A)
- Which of the 2 existing PROGRM_BLOCK values applies to the 64315, or does it require a new one? (Existing values are: PROGRAM_BLOCK_21_22_23_24_28_29_TST_TMG_TMA, PROGRAM_BLOCK_27)
- ?Is MULTI_BANK the same as (NUM_BANKS > 1)
- What is the target_id_v[] setting for CY7C64315?
--------------------------------------------
Show LessHello, I am trying to implement a rotary encoder using Port B of FX2LP. The data from the rotary encoder is to be read and a counter will increase or decrease depending upon the direction of rotation. I have been unable to read any data from the port i/o pins. Please find the code in the attachment .
Any guidance on the matter would be greatly appreciated !! Thank you!
/************************************************************************************************/
#define ENCODER_Output_A PB1 //Encoder Output Pin A
#define ENCODER_Output_B PB2 //Encoder Output Pin B
//-------------------------------------------------------------------------------------------------------------------------------------//
BOOL AP338XProcessVendorRequest(BYTE VR)
{
switch(VR)
{
case VR_RESET_ALL:
EncoderInit();
break;
case VR_READ_Enocoder:
EP0BUF[0] = ReadEncoder(&EP0BUF[0]);
EP0BCH = 0x00;
EP0BCL = 0x02;
break;
default:
return(TRUE);
}
return(FALSE);
}
//--------------------Called repeatedly while the device is idle---------------------------//
void Encoder_Poll() //this function is called from TD_poll()
{
EncoderButtonState();
}
//-------------------------------------------------------------------------------------------------------------------------------------//
void EncoderInit() //this function is called from TD_Init()
{
unsigned char i;
// Port B[7..0]
// | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
// | X | X | X | X | X | I | I | I |
OEB = 0x00; //Port B set to input (rotary encoder 3 pins:Output B/Output A/switch)
// Port D[7..0]
// | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
// | X | X | X | X | I | X | X | X |
OED = 0x10; //For the LED status
//Enabled only EP6
EP1OUTCFG &= 0xFF;
SYNCDELAY;
EP1INCFG &= 0xEF;
SYNCDELAY;
EP2CFG &= 0x7F;
SYNCDELAY;
EP4CFG &= 0x7F;
SYNCDELAY;
EP6CFG &= 0xE0;
SYNCDELAY;
EP8CFG &= 0x7F;
SYNCDELAY;
// EP6 is quad buffered.
for(i = 0; i < 4; i++)
{
EP6BCH = 0x00;
SYNCDELAY;
EP6BCL = 0x00;
SYNCDELAY;
}
// EP0 is double buffered.
for(i = 0; i < 2; i++)
{
EP0BCH = 0x00;
SYNCDELAY;
EP0BCL = 0x00;
SYNCDELAY;
}
}
//------------------------------------------------------------------------------------------------------------------------------------------//
void ReadEncoder(unsigned char *counter)
{
// BYTE pinData;
// pinData = IOB; // Reading the Port B pins
unsigned char aState,aLastState;
aState = ENCODER_Output_A; // Reads the "current" state of the outputA
// If the previous and the current state of the outputA are different, that means a Pulse has occured
if (aState != aLastState)
{
// If the outputB state is different to the outputA state, that means the encoder is rotating clockwise
if (ENCODER_Output_B != aState) {
counter ++;
}
else {
counter --;
}
}
aLastState = aState; // Updates the previous state of the outputA with the current state
}
//-------------------------------------------------------------------------------------------------------------------------------------//void EncoderButtonState()
{
if(TURN_ON_PUSHBUTTON==1) //Encoder push button status
{
IOD|=0x10; //turn on led
EZUSB_Delay(1000);
}
else
{
IOD=0x00; //turn off led
}
}
//-------------------------------------------------------------------------------------------------------------------------------------//
Hello,
I found a link about CY7C65215 and download the utility.zip, but it need to input -sn parameter.
Is there anyway to download firmware without serial number (e.g. serial number empty)?
Thanks
Show Less
what is the dimension of CYUSBS236 DVK Board?