USB superspeed peripherals Forum Discussions
Hi,
I want to configure a complex GPIO as a timer. I want it to go at 200 or 100 MHz (the GPIO can either be a static timer or -even better- toggle the pin at the chosen frequency).
However, when i try to set these high frequencies,my device stops enumerating. Is there a limit to the GPIO frequency i can set?
My code for gpio configuration:
gpioComplexConfig.outValue = 0;
gpioComplexConfig.inputEn = 0;
gpioComplexConfig.driveLowEn = 0;
gpioComplexConfig.driveHighEn = 0;
gpioComplexConfig.pinMode = CY_U3P_GPIO_MODE_STATIC;
gpioComplexConfig.intrMode = CY_U3P_GPIO_INTR_TIMER_ZERO;
gpioComplexConfig.timerMode = CY_U3P_GPIO_TIMER_HIGH_FREQ; //
gpioComplexConfig.timer = 0;
gpioComplexConfig.period = 1; // period after which time resets
gpioComplexConfig.threshold = 0; // value after which interrupt generates
gpio clock:
CyU3PGpioClock_t gpioClock;
gpioClock.fastClkDiv = 2;
gpioClock.slowClkDiv = 64;
gpioClock.simpleDiv = CY_U3P_GPIO_SIMPLE_DIV_BY_2;
gpioClock.clksrc=CY_U3P_SYS_CLK;
gpioClock.halfDiv = 0;
Any ideas ?
Thanks,
Linda
Hellow (I am a non-native English speaker)
I have a question.
I recently purchased the CYUSB3KIT-003 board and the MGSG-CIS-S6-FX3CON board.
I am trying to test using AN75779 (How to implement an image sensor interface using EZ-USB™ FX3 in a USB Video Class (UVC) framework)
By the way,
While looking at the CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, a problem occurred in 2.SOFTWARE INSTALLATION on page 11.
Could not download SDK. (EZ-USB™ FX3 Software Development Kit)
Thank you.
I am developing real-time data transmission using fx3 (USB\VID_04B4&PID_00F3).
The number of modules is a system that receives data at the same time using 7 to 8 modules.
But
Errors often occur in FinishDataXfer(), and the error codes are as
The source is roughly as follows. follows:
lease check the attached file for the approximate source and situation.
Show Less
Is there any important GPIO pins in CYUSB3065-BZXI that should not be left floating?
especially these -
CX3_GPIO23
CX3_GPIO44
CX3_GPIO18
CX3_GPIO24
CX3_GPIO45
Show LessHi,
I am looking into the possibility of each CX3 device having some unique ID stored at some fixed addresses. I followed the below thread but on two devices I got the same values. I read data from 0xe0055010 and 0xe0055014 but two devices returned 00 00 00 0F 00 00 0F 13.
Are the addresses are correct? I am using the CYUSB3065 chip.
Below is a code snippet of how I am reading ID in firmware.
int *ptrLSB = (int*)0xE0055010;
int *ptrMSB = (int*)0xE0055014;
abI2CReadRsp[1] = *(ptrMSB + 3);
abI2CReadRsp[2] = *(ptrMSB + 2);
abI2CReadRsp[3] = *(ptrMSB + 1);
abI2CReadRsp[4] = *(ptrMSB);
abI2CReadRsp[5] = *(ptrLSB + 3);
abI2CReadRsp[6] = *(ptrLSB + 2);
abI2CReadRsp[7] = *(ptrLSB + 1);
abI2CReadRsp[8] = *(ptrLSB);
Show Less
- I have a CYUSB303X with the GPIF-II interface connected to AD7381-4 ADC. The CYUSB is running the attached AD7381-4_cyfxgpiftousb project.
- When applying constant voltage on the GPIF pins, I'm able to read them properly at the USB port (on the host PC).
- When the AD7381-4 digital signals are applied, the readings are always zero (which doesn't correspond to the real data being transmitting). What is the reason for that?
Please see the schematic below:
Here are the signals captured by a logic analyzer, they are always read as zeros, if a DC (Zero or 1) is applied on the GPIF input lines, it is read properly at the USB:
Here is the USB read:
Show Less
Hi,
I have generated my own config. file from the Image sensor configuration. I got the below errors when connecting to PC(Windows 10).
This device cannot start. (Code 10)
{Operation Failed}
The requested operation was unsuccessful.
For your reference, pls find the attached file and device descriptor(.zip file)
Hi,
I tried modifying the SuperSpeed Design Examples V1.2.1 CollectData program and changing:
// Start with modest buffering 8 x 8 x 16KB = 1MB
// Can go up to 256 x 64 x 16KB = 256MB but this will mask some effects
#define PACKETS_PER_TRANSFER 8 // 256
#define NUM_TRANSFER_PER_TRANSACTION 8 // 64
to:
#define PACKETS_PER_TRANSFER 256 // 256 * 64 * 16KB = 256MB
#define NUM_TRANSFER_PER_TRANSACTION 64
The FX3 is continually streaming ~200MB/s of data. The above change worked well on my computer, but on another computer it silently dropped packets after about 512MB of received data.
What are good settings for the above two values that should work on any computer for a 200MB/s transfer rate? Also, is the CollectData example source code missing something that would show dropped packet errors?
Thanks,
Will
Show Less
We've been looking through the EZ-USB FX3 SDK and cannot find any VHDL or Verilog files.
The application notes seem to refer to them, but there doesn't appear to be any other downloads.
The main file in question is "Fx3_slaveFIFO2b_altera".
Is there any way to get this file?
Thanks,
Sam
Show Less