USB superspeed peripherals Forum Discussions
hello,
I want to use cyusb3065 to transfer the frame by dma. So I want to get the point of the frame start. Wherher the GPIFII state machine can be modified? And how can I modify the GPIFII state machine?
Show LessHow to receive data (Image) coming from DDR3 to FX3
Hi,
I am using GpiftoUsb firmware and i should be able to collect data from DDR3 memory to P-Port but in control center i am getting 997 error.
What might be the reaon for this?
Regards,
Srujana.
Show LessHi,
I'm using Fx3 and i have created 3 DMA channels-USB to CPU,CPU to P port,P port to USB.In the first DMA channel whatever the callback function i'm calling in that i'm able to get the data.But in the CPU to P Port DMA channel i'm not able to receive the data that i got in first DMA channel.
Can any one help me out to do this.
Best Regards,
Aswini
Show LessHi,
StreamOUT transmits the data from the PC to FX3 and then to the FPGA.
Commands from PC to FX3 and to FGPA through I2C communication:- this condition is working fine while receiving and sending commands, after this GPIF II must be stream IN condition and I2C interface must work for sending the received commands to ZYNQ.
The FX3 must wait for the packets sent from GUI which inturn FX3 must route to ZYNQ via GPIF II Stream In interface.
Can we change the direction from Stream Out to Stream In, if it is possible (i.e both streamin and streamout in single code)?
Regards,
Dhanuja
Show LessHi I have an EEPROM image which gets loaded on the FX3 through the F1F PMODE[2:0] option which is "I2C, On failure, USB boot enabled"
My question is how do I cause the I2C EEPROM to fail to boot? if I write 0x00 across the entire EEPROM that will work, but is there a smaller set of data I can write to? like the first 64 bytes or something?
Thank you
Show LessHi,
I want to transfer some bytes of data from U-Port to P-port of FX3.
My Appication is U-Port -------> P-Port -------> FPGA.
Q1: How to give the input data to U-Port ?
Q2: After transferring from U-Port to P-port how can i read data on ILA Probes?
Regards,
Srujana.
Show Less- device : CYUSB3064.
- IO voltag 3.3V
- PMODE[2:0]:0F1
- CX3 internal Pull-up 50KΩ. Internal Pull-down 10KΩ.
- Cypress reommends:
- Electrical Charateristic
VIH : 1.4V , VIL : 0.45V
- Figure1.
- Figure2.
- Question
1. In Figure1, PMODE0 drops to 1.2V.
1.2V is lower than VIH(1.4V).
Is this OK?
2. In Figure2, PMODE0 drops to 1.7V.
This is higher than VIH.
For stable status, should I use 1Kohm Pull-up(PMODE0)/ 0ohm Pull-down(PMODE2) ?
jaehyuk choi 님이 메시지를 편집했습니다.
Show LessHI,
I am getting the following error message When I try to program the new board during Cypress FX3 bring up process:
""
Current device is not the FX3 Flash programmer
info: Trying to download flash programmer to RAM
Error: Failed to find cyfxflashprog.img file
Error: FX3 Flash Programmer not found
Error: FX3 firmware programming failed
""
Thanks and best regards,
Show LessHi,
I want to check whether the consumer event is generated or not while transferring data from P-Port of FX3 to S0-Port of FX3.Can anyone help me to do this?
Regards,
Srujana.
Show LessHello,
On my FX3 project I created an EP discussing with a FPGA through UART link.
UART is configured on both sides to work with Byte mode DMA (dmaConfig.dmaMode = CY_U3P_DMA_MODE_BYTE)
All this works like a charm, except that I live with a limitation that I would like to fix : at reception (FPGA->FX3), DMA requires a minimal of 16 bytes to operate, which seems to be a limitation of FX3 (UART?) DMA engine.
This means if my FPGA sends less than 16 bytes of data they will not be forwarded to my USB endpoint.
I would like to keep it as simple as possible to avoid having FX3 firmware sniffing at UART events and processing packets. Is there a simple solution for that ?
Hereunder is my UART configuration :
CyU3PReturnStatus_t ConfigureUartDma(void) {
CyU3PReturnStatus_t Status = CY_U3P_SUCCESS;
CyU3PDmaChannelConfig_t dmaConfig;
// Create a AUTO channel for the USB to UART transfer
CyU3PMemSet((uint8_t *)&dmaConfig, 0, sizeof(dmaConfig));
dmaConfig.size = 128; // Maximal number of bytes allowed per DMA buffer.
// A larger message would stuck the EP
dmaConfig.count = 32; // Store up to 32 words in DMA buffers
dmaConfig.prodSckId = FPGA_CONFIG_ENDPOINT_SOCKET;
dmaConfig.consSckId = UART_CONSUMER_SOCKET;
dmaConfig.dmaMode = CY_U3P_DMA_MODE_BYTE;
Status = CyU3PDmaChannelCreate(&Usb2Uart_Handle, CY_U3P_DMA_TYPE_AUTO, &dmaConfig);
// Start the DMA Channel with transfer size to Infinite
Status = CyU3PDmaChannelSetXfer(&Usb2Uart_Handle, 0);
// Create a AUTO channel for the UART to USB transfer
CyU3PMemSet((uint8_t *)&dmaConfig, 0, sizeof(dmaConfig));
dmaConfig.size = 16; // Minimal value allowed by DMA.
// Any UART message longer than this will be split in 16 bytes "packets"
dmaConfig.count = 32; // Up to 32 words can be stored in DMA buffers
dmaConfig.prodSckId = UART_PRODUCER_SOCKET;
dmaConfig.consSckId = FPGA_STATUS_ENDPOINT_SOCKET;
dmaConfig.dmaMode = CY_U3P_DMA_MODE_BYTE;
Status = CyU3PDmaChannelCreate(&Uart2Usb_Handle, CY_U3P_DMA_TYPE_AUTO_SIGNAL, &dmaConfig);
// Start the DMA Channel with transfer size to Infinite
Status = CyU3PDmaChannelSetXfer(&Uart2Usb_Handle, 0);
return Status;
}
Thanks in advance
Show Less