USB superspeed peripherals Forum Discussions
I am looking for a Image Sensor Interface Using EZ-USB FX3 and the image sensor I'll be using will be EV76C560ABT-EQV from teledyne. Can you please suggest suitable Cypress part as I could see quite a lot of variants available in the Cypress listing and I have difficulty selecting exact part for my requirement. Attached is the teledyne datasheet for reference.
Thanks
Elango
Show LessI use the demo of cyfxuvc_an75779, I get data from CyFxUvcApplnDmaCallback and submit it to the host, but sometimes the data submitted for one frame is incomplete, and there is data loss in one frame of data. What causes this?
Show LessHi,
I'm using FX3 board to thansfer data from my FPGA board. everything is OK when transfer data lenghth is less than 32MB.
When thansfer size is more than 32MB, the xferData function did nothing and returned a lenghth 0 immediately.
I need continously transfer acquired data in and some times may be several GB
the time out is set to infinite.
there is no limit in FX2.
anyone can help.
Thanks
Zen
Show LessHi all,
In my design, I am sending continous data to FX3 without any clock. Whatever data comes to fx3, it will send to the PC. How should I configure the FX3 chip to read the data correctly?
I am generating 8 bit parallel data at 25Mhz externally and sending it through gpif. Is there any similar example design available? . Please note that I am not using any clock in the gpif design.
Thank you.
Show LessIn the Master/Slave examples, change CY_FX_DMA_SIZE_MULTIPLIER from 2 to 1, and send 1KB packet to master, then slave will receive 1KB packet then zero length short packet, why?
CY_FX_DMA_SIZE_MULTIPLIER
Show LessWith the Master/Slave example in AN87216, after incresing CY_FX_EP_BURST_LENGTH from 1 to 4 or 8 and loading the firmware to RAM, CYUSB3KIT-003 enumerate successfully but won't show up in Control center. Modify CY_FX_DMA_BUF_COUNT from 16 to 32 or 64 at the same time have the same problem.
How to modify CY_FX_EP_BURST_LENGTH / CY_FX_DMA_SIZE_MULTIPLIER / CY_FX_DMA_BUF_COUNT at the same time to increase the bandwidth of Master/Slave example? GPIF designed may need to be modified too according to a former post - quote
"On changing the DMA buffer size, the Data counter and Addr counter values also need to be modified in the state machine as well as in the firmware. The counter value is calculated (counter value ) = (DMA buffersize)/ (GPIF bus width in bytes) + 1"
Show LessHello,
I want to use the sample code provided by Cypress for using SPI Interface to read from and write to the SPI Slave but after falshing the image to the FX3 Dev Board and Capturing the signals(MOSI, SSN, SCK) can be seen, that the interface sends too much data over MOSI pin which could not be related to the data that I wanted to send to the slave(see the attached screenshot).
I Think I do a failure somewhere but I'm not sure!! would someone explane me in which order should I call the following methods, Because I could not find any documentation about the methods and regarding the parameters passing to the methods:
CyU3PReturnStatus_t CyFxSpiTransfer (uint16_t pageAddress, uint16_t byteCount, uint8_t *buffer, CyBool_t isRead);
CyU3PReturnStatus_t CyFxSpiWaitForStatus (void);
static CyU3PReturnStatus_t CyFxSpiEraseSector (CyBool_t isErase, uint8_t sector, uint8_t *wip);
And should I modify the code as well !?
Kind Regards
Show Lessvoid
CyFxBulkLpDmaCallback (
CyU3PDmaChannel *chHandle, /* Handle to the DMA channel. */
CyU3PDmaCbType_t type, /* Callback type. */
CyU3PDmaCBInput_t *input) /* Callback status. */
{
if (type == CY_U3P_DMA_CB_PROD_EVENT)
{
CyU3PDebugPrint(4,"PROD_EVENT\n");
}
if (type == CY_U3P_DMA_CB_CONS_EVENT)
{
CyU3PDebugPrint(4,"CONS_EVENT\n");
}
}
Another problem is, if use \n then the text on the next line will begin after the last text of the previous line, if use \r\n then it will alwasy scroll down.
Show LessHello,
We are trying to configure our ar0144 sensor to stream with settings RAW10, 30ips, 1280x800 on the denebola board.
Camera input xtal is 27mhz
Mipi errors show 0, but AMCap reports no fps and no picture. Debug output:
Prod = 45 Cons = 45 Prtl_Sz = 22000 Frm_Cnt = 99 Frm_Sz = 1678720 B
0 0 0 0 0 0 0 0 0
Prod = 45 Cons = 45 Prtl_Sz = 19568 Frm_Cnt = 100 Frm_Sz = 1676288 B
0 0 0 0 0 0 0 0 0
Prod = 45 Cons = 45 Prtl_Sz = 18128 Frm_Cnt = 101 Frm_Sz = 1674848 B
0 0 0 0 0 0 0 0 0
Scope traces of mipi clk/data, Pclk, HS and VS are shown below. My project is attached.
mipi clk bottom trace, arithmetic diff:
mipi clk/data, 1=data, 2=clk
PCLK
1=VS, 2=HS
1=VS, 2=HS zoom (glitches on HS?)
Any suggestions of what to test or try?
Thank you,
Rockie
Show LessHello
There is a PC (NEC PC-GN254U2GA) that carries both intel USB3.0 host device and ASMedia USB3.1 host device. Only when connecting a product using FX3 this time and transferring data, when connecting to ASMedia. The USB transaction error occurs.
Switching between two devices is performed on the customer's HOST GUI. For the internal system, please refer to the PDF file after the ”EP変更後.pdf”.
Attach the analyzer log in LeCroy.
As a phenomenon, an error occurs during the operation of using a dedicated application on Windows and intermittently downloading image data of about 2MByte, and the application stops data transfer. The error frequency occurs when tens to hundreds of image frames are transferred from the start of data transfer.
The transaction is considered to be a transaction error because the USBStatus value acquired by the application on Windows has stopped at 0xC0000011.
When an error occurs, the data transfer to FX3 is stopped because the flag on the GPIF side of FX3 becomes buffer full. When the USB cable is inserted and removed from this state and the data transfer is started again, the data transfer starts normally. For this reason, the circuit itself on the GPIF side is operating normally, and we have determined that this issue has occurred between FX3 and the host PC.
It seems that the issue seems to occur only ASMedia.
Based on the attached log, the data packet is Failed.(ex. Transaction 20/Transaction 25/ Transaction 26,,etc)
attached file Pass word: icDOI40u
Q) Could you please tell me the root cause based on the above situation?
Best Regards
Arai
Show Less