USB superspeed peripherals Forum Discussions
I test and try to understand the code of slave FIFO application AN65974. I have a question: What binds the endpont with the created DMA channels? In the function "CyFxSlFifoApplnStart", endpoint is configured and two DMA channels are created. But I have not see any lines of codes that establishes the relationship between the configured endpoint and DMA channels. If I make a small modification on the value of CY_FX_EP_PRODUCER and CY_FX_EP_CONSUMER to 0x06 and 0x86, the communication becomes unsuccessful. This proves the original EP1 corresponds to the created DMA channels. I attach the AN65974 Firmware and hope to get the answer. Thank you.
Show LessHi,
I have installed mac version of FX3 SDK following the official procedure. But I can't run the eclipse since the Jave version mismach.
I removed all existing Java versions and tried both Java 7 and Java 6. None of these Java versions worked.
Although FX3 SDK stated that the Java 7 is required, I have successfully installed and run FX3 SDK on Ubuntu 16.04 with Java 8. I think the macOS support for FX3 SDK would be an easy update for Cypress. Please help!
Regards
Show LessHi,
I now tried opening the default config file "yuv422_ov5640.cycx" and opening a newly created config file on several different PCs. I also tried it with Win10, Win7 and Linux as well as different SDK Versions (1.3.4, 1.3.3, 1.3.1). The error occurs every time. Only the newly created file (without a Frame Configuration) creates no error. After configuring one frame configuration in this config file, the error occurs also here.
I really have no clue how to get rid of this error.
Checking the sensor settings will take me a while.
Thanks and regards,
Kolja
Show LessI have CX3RDK kit with OV7251 sensor. OV7251 is VGA and Black and white ( RAW10 bit)
I added ov7251 init code for I2C write. I2C write is good, because read back value almost same.
But eCAM viewer has [ Resolution : 640x480 ] but, FrameRate: 0.0 fps... and Screen is Black.
And windows can find USB video device.
I also use a Oscilloscope to measure the sensor's MIPI signal and i can see the normal waveform of it.
I use bus hound to capture the USB data of the usb ports,i can see 30 bytes data from the bulk in endpoint.But the data is not tranfering continously and stopped.
ov7251 sends raw10 data from one mipi lane,its speed is 800Mbps,i set the gpifII's bus width to 16 using
CyU3PMipicsiGpifLoad(CY_U3P_MIPICSI_BUS_16, CX3_UVC_DATA_BUF_SIZE).
When i changed the bus width to 8 using parameter "CY_U3P_MIPICSI_BUS_8",the USB port can transfer data to usb continously.I carefully compare the data captured from bus hound of the two kinds of settings.I found the hight 2 bit of raw10 is missing. So i can not use 8 bus width.
The other hand,i opened MACRO "CX3_ERROR_THREAD_ENABLE" to debug whole project and add some log in CyCx3UvcMipiErrorThread,i found some error counts from the mipi block of cx3.The error count is from errCnts.ctlErrCnt.The comment of it saying " /**< Control Error (Incorrect Line State Sequence) Count*/".
Does that mean my CX3 MIPI-CSI block configuration parameters is error or my sensor initilization code is error?
Show LessHi,
I am trying to connect the OV8865 camera sensor to the e-con CX3 Denebola board. The I2C seems to through an error 74: "CY_U3P_ERROR_FAILURE,/**< Failure due to a non-specific system error. */". The MCLK and the voltages have been verified satisfactorily. Please do guide me on what the problem could and how it can be rectified.
Show LessHi all,
I have been trying to understand the UART call back mechanism. (RX_DATA , RX_DONE , TX_DONE events). I couldn't completely get an idea about when the call back function gets triggered and when which event will be triggered. I could find any data explaining this uart call back. If someone provide me a detailed explanation about the UART callback working it would be helpful.
Thanks in advance,
Regards,
Ashlin Surey. A
Show LessI need the updated files for the USB-C GX3 reference design as they are too old to be imported into Eagle.
Our sensor outputs RAW8 data over 4 lane MIPI CSI-2. To achieve highest transfer rate between MIPI CSI-2 receiver and GPIF II we need to use 24-bit wide transfers, which fully utilize GPIF II input bus. According to page 9 of TRM, the only mode which fully utilizes 24-bit bus is RGB888.
A possible solution to this issue is packing, mentioned on page 10 of TRM:
Packing more than one pixel per PCLK is possible. For example, selecting the “MIPI CSI input -Data format"
configured as "RAW8" and the “MIPI interface configuration – data format” as a 24bit format (RGB888) will
output three pixel data per PCLK.
It's unclear, however, where/how to configure the mentioned "MIPI CSI input -Data format" and "MIPI interface configuration – data format" via the CX3 API. The API has CyU3PMipicsiSetIntfParams() function, which has CyU3PMipicsiCfg_t struct parameter with CyU3PMipicsiDataFormat_t dataFormat field. This makes it possible to only configure a single format, not two different formats.
What CX3 API can I use to configure two different formats to enable packing?
I can think of several possibilities, but none is documented:
Should I use CY_U3P_CSI_DF_RAW8 format in CyU3PMipicsiSetIntfParams(), but set CyU3PMipicsiGpifLoad(CY_U3P_MIPICSI_BUS_24, ...)?
Should I do as above, but also set CX3_CONFIG_CTRL[DATA MODE] register to non-zero value? (what value?)
Should I configure CY_U3P_CSI_DF_RGB888 format for CX3, while the sensor output is sill RAW8?
Please, provide clear instructions.
Thank you in advance.
Show LessI am trying to use the AN75779 example project .I want to display the UVC device in Control Center . So that I can test SensorGetBrightness and SensorSetBrightness.
Show LessHi,
I am working on a project with UVC hardware. I am taking the analog video data from an ADC with an FPGA and send the pixel data to USB FX3 chip. I am using an FPGA board and the ADC board is seperate from this board, they are connected via connectors. LVDS outputs of ADC should be routed differentially on PCB, which is fine because i can do that since i design the ADC board. However, there is a problem, LVDS traces between the FPGA board connectors and FPGA chip should be routed differentially. I was previosly using the FPGA board of Ztex 2.14e, which includes an FPGA chip and Cypress FX3 chip, but this board's IO traces are not routed differentially.
So, here is my question, do you know any alternative FPGA boards which includes an FPGA chip and Cypress FX3 chip? Also, the USB chip should be programmable on this board since i need to use the FX3 chip with UVC hardware.
Show Less