USB superspeed peripherals Forum Discussions
I am having issues using the CyControl program to progam the I2C Serial EEPROM on my development system. It appears to function properly (checked I2C scl and sda with oscilloscope) but it always results in a failure. Does anyone have any ideas to help solve this issue. This approach works fine with programming an SPI Flash that is also on my evaluation board but in my final design it needs to download from the I2C Serial EEPROM.
System:
Xilinx Virtex 7 VC707 Evaluation Board
Inrevium TB-FMCL-USB30 Mezzanine Board with Cypress CYUSB3014 USB3 with 1Mbit I2C Serial EEPROM
Show Lesshello,
I found that register EP2AUTOINLENH\L is always kept as default value when I try to modify it. I tried to write 0x01,0x03,0x04 into EP2AUTOINLENH\L separately.,but It always present EP2AUTOINLENH= 2,EP2AUTOINLENL = 0 when I read them;why could this happen? I need some help,sorry for my pool english,welcome to ask me when my point is not expressed clearly ,here is my TD_init code:
void TD_Init(void) // Called once at startup
{
CPUCS = 0x0a;//24Mclk
SYNCDELAY;
REVCTL = 0x03;
SYNCDELAY;
FX2InitI2C();
PORTACFG = 0x01;//P00 set to int0 mode
OEA = 0x00; //
IOA = 0xff; //
PORTECFG = 0x00;//all set to GPIO definition
OEE = 0x00; //all set to input...
IOE = 0xff; //output set to 0 .input set to 1
SYNCDELAY;
PORTCCFG = 0x00;//all set to GPIO definition
OEC = ~0x20; //PC 8 pin all set to output
IOC = ~0x01; //PC0 reset sensor ... now set to 0:reset state... //20130729 added
SYNCDELAY;
EP1INCFG = 0xb0;
SYNCDELAY;
PINFLAGSAB = 0xcc;
SYNCDELAY;
PINFLAGSCD = 0xcc;
SYNCDELAY;
FIFOPINPOLAR = 0x3c; //0x3c for ov or hynix
SYNCDELAY;
WAKEUPCS = 0x04; //!!! should like this.others can't work when power on..
SYNCDELAY;
IFCONFIG = 0x43;
SYNCDELAY;
EP2CFG = 0xe8;
SYNCDELAY;
EP4CFG = 0;
SYNCDELAY;
EP6CFG = 0;
SYNCDELAY;
EP8CFG = 0;
SYNCDELAY;
EP2AUTOINLENH = 0x01 //0x03,0x04
SYNCDELAY; //
EP2AUTOINLENL = 0x00;
SYNCDELAY;
EP2FIFOCFG = 0x0c; //8bit autoin
SYNCDELAY;
FIFORESET = 0x80;
SYNCDELAY;
FIFORESET = 0x02;
SYNCDELAY;
// FIFORESET = 0x06;
// SYNCDELAY;
FIFORESET = 0x00;
SYNCDELAY;
// EP2BCH = 4;
// SYNCDELAY;
// EP2BCL = 0;
// SYNCDELAY;
INPKTEND = 0x82; //“arming” the IN transfer
SYNCDELAY;
INPKTEND = 0x82;
SYNCDELAY;
INPKTEND = 0x82; //“arming” the IN transfer
SYNCDELAY;
INPKTEND = 0x82;
SYNCDELAY;
// enable dual autopointer(s)
AUTOPTRSETUP |= 0x01;
// _alpum_init();
SerialPort_Init(BD_115200);
EX0 = 0;//disable interrupt..
IT0 = 1;//edge effective interrupt.
IE0 = 0;
m_WorkState = 0;
m_bIsMe = 0;
m_CheckNum = 0;
m_bNoStop = 0;
m_SlaveID = SENSOR_ID;
m_I2CData[0] = 0;
m_I2CData[1] = 0;
EZUSB_Delay(20); //20130729 added
P20 = 1; //20130729 added
Rwuen = TRUE; // Enable remote wakeup
dbg_str("EP2CFG=");
dbg_int(EP2CFG);
dbg_str(",EP2AUTOINLENH=");
dbg_int(EP2AUTOINLENH);
dbg_str(",EP2AUTOINLENL=");
dbg_int(EP2AUTOINLENL);
dbg_str(",REVCTL=");
dbg_int(REVCTL);
}
Does the FX3 support boundary scan testing according to IEEE1149?
Hi,
Using this application note and suitably modifying the uvc descriptors and sensor initializations, I have been able to get video at resolutions till 3264 by 2448 (approx 8M). But I am not able to get the full 10 M video that the sensor has capability for (3664 by 2748). Is there a limitation on the size of video that I can stream through this setup. I am ok with reducing frame rate to less than 5 also if that's what it means to get this working. I tried the same by modifying the UVC descriptors but have not had luck with this so far. Thanks in advance for any pointers on this.
regards
Show LessWhat is the recommended pad size for the FX3S BGA footprint? (pad diameter)
Currently I am using 0.45mm diameter in my designs - is this suitable (given that the balls on the package are 0.3mm diameter)?
Thanks.
Show LessI am using the GPIF Master example from http://www.cypress.com/?rID=84236. I have it working nicely in USB2 for normal MaxPacket Length packets. If I want the DMA/State Machine to send a short IN packet what should I do? I know before hand when the FPGA connected to the GPIF bus will just send a single word to the Cypress and at this point I need to make sure the USB Controller just takes this single word and sends it back as an 4 Byte Short IN Packet going to the PC.
Or could I use a Cypress input from the FPGA to "force" the Cypress to send a short packet with the data it has its buffer?
Ken
Show LessHi all,
up to now we had worked with a FX3 DVK Board connected via Samtec J77 to a FPGA Board without problems.
Now with our custom board the FX3 does still successfully enumerate with Cypress 04b4:00f3 id on power up.
But then after we upload (any) firmware via USB (without error) at the end FX3 disconnects and never comes back!
Any ideas what could be the reason?
Best regards
Günter
Show LessDear Sirs,
I connected GPIF databus to LEDs for viewing data, and I wrote firmware to pass data on P-port (GPIFII). But there are not data. Use of CyU3PGpifWriteDataWords() API, sockets is unsuccessful. I just want drive data on databus now, but It doesn't work. I use Master Asynch mode without input signal. What is wrong?
Also, I tried RSKV's example GPIF_EXAMPLE2.zip, but when I program FX3 device, the device is not recognized, and usbview.exe doesn't see any device.
Show LessHi All,
The firmware libraries and examples from all previously released versions of the FX3 SDK are archived at:
http://www.cypress.com/?rID=86575
Also, now you can roll back to older version of the FX3 SDK with the help of “Cypress Update Manager”, if required.
Thanks,
Sai Krishna.
Show Less