USB superspeed peripherals Forum Discussions
hello everyone
one problem :what can lead fx3 (usb 3014) to warm reset(cpu counter reset).Please tell me all of the possible reasons (hard ware or software)
when my device connect with USB3.0 port ,it is likely warm reset always.
thanks
best regard!
Show LessI have just started implementing a multiDMAChannel with 2 producers(Pport0, Pport1) and 1 consumer (Socket3).
FPGA transfers data at 100MHz over a 32bit bus to the FX3. I am able to transfer at 309MB/s for a few seconds before the throughput starts decreasing until it eventually starts getting failures. The oscilloscopes shows flagA going low for a period of ~10ns and flagB goes low for ~50ns (flagB has a watermark value of 4) after changing addresses. As throughput drops flags A & B stay LOW for a longer time up to 180us! What could be causing this issue?
FX3 is set up as follows: DMA Buffers = 3, DMA Buffer Size = 32KB, pkt size = 1024, Burst Length = 16
dmaCfg.size = CY_FX_IMG_STREAM_BUF_SIZE;
dmaCfg.count = CY_FX_SLFIFO_DMA_BUF_COUNT;
dmaCfg.dmaMode = CY_U3P_DMA_MODE_BYTE;
dmaCfg.prodHeader = 0;
dmaCfg.prodFooter = 0;
dmaCfg.consHeader = 0;
dmaCfg.prodAvailCount = 0;
//dmaCfg.prodSckId = CY_FX_PRODUCER_PPORT_SOCKET;
dmaCfg.validSckCount = 2;
dmaCfg.prodSckId [0] = CY_FX_PRODUCER_PPORT_SOCKET_0;
dmaCfg.prodSckId [1] = CY_FX_PRODUCER_PPORT_SOCKET_1;
dmaCfg.consSckId [0] = CY_FX_CONSUMER_USB_SOCKET;
apiRetStatus = CyU3PDmaMultiChannelCreate (&glChHandleSlFifoPtoU, CY_U3P_DMA_TYPE_AUTO_MANY_TO_ONE , &dmaCfg);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PDmaChannelCreate failed, Error code = %d\r\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
Show Lesshello everyone
I meet a problem.It is unstable connect to usb3.0 port with my custom board .a few seconds later it lost and sonn come back .
Connect to Usb2.0 port it is stable .I doubt that the SHLELD is wrong .Can anyone help me to confirm
(Schematic attach file)
thanks
Best regard!
Show LessHi,
why is the function GetSpiFlashStatus reading the status of th SPI flash module twice?
The checks at the end of the do while loop just compare the first received byte concerning on BUSY and WIP flags. Also the datasheet of the M25P40 is telling no need to read the status twice at the instruction set description.
But what I have identified is, that it results in wrong writes if I read the status at that place just once.
Can anybody explain me that behaviour, please?
thanks,
Lumpi
Show Lesshow do I watch a RX interrupt in UART register mode?
I configure the UART like below,but it doesn't work and the usb is not enumerate!
The "NULL" is insteaded by the UART callback function in the line of "apiRetStatus = CyU3PUartSetConfig (&uartConfig, NULL); ".
How can I make it work when the UART finish receive data produce a interrupt?Thank you very much!
Show LessI am following the demo of the simple GPIO app from the provided examples. I have removed all the UART debug code and I tried to set the pin to a regular gpio. Pins 51,52, and 57 work however the Uart pins still do not. I have pasted my code in paste bin http://pastebin.com/2kn2PQs3
Show Lesshello ,I'm using cyapi.lib in a vs2010 project. when i compile this project ,there always shows "error LNK2019".i've checked several times but failed to solve it. Can you tell me how to use with the cyapi.h and cyapi.lib
Show LessHello,
We are using a custom camera that is in conjunction with Aptina camera sensor (UVC 1.1 compatible),
we are trying to control the camera by changing values of a few camera registers through I2C at HOST side.
The Aptina docements are read that they provide uvc control host interface,
but at first we can not enumerate camera control endpoint in our c# application on WIN7 32bit.
Using an extension unit on the camera controller may be too difficult to me at this time.
hi everyone
I meet aproblem .I have a usb 3.0 board, when it connect with usb2.0 port ,the PC device mananer Recognition as usb2.0 device,when connect with usb3.0 port the PC mananger Recognition as usb 3.0 device .but the device will be detach secends soon and attach after secends .USB2.0 is stable。what can be lead this problem .who can help me.
test SDK 1.2 /1.1/1.1.2
test OS :win 7 64bit /win7 32 bit
It maybe hardware problem.(board is make by myself) Any notices with board
thanks
Show Less