USB superspeed peripherals Forum Discussions
If we want to have an NDA with OmniVision,in order to get the source code of registers configuration for OV5640, what should we do?
Do we need to firstly get the NDA template from you ?
Thank you so much.
Show LessIn the "Digital I/Os" section on page 13 of the CYUSB3014 datasheet there is a statement that the I/O pins can be configured via firmware to be tristated, weak pull up, or pull down. Does the FX3 support configuring a GPIO pin as an input with a weak pull up? If so, how would this be done in firmware?
Show LessHi All,
Can anyone pinpoint because of what it might occur following described behavior ?
We are using FX3 (USB3.0) chip which gets connected with Linux PC where its device driver runs. As per project need, FX3 sends 2 byte data using DMA buffer (total 4 DMA buffers) on its interrupt end-point. However most of time host receives these data since it submits URB every time before FX3 generated interrupt data, sometime host doesn't get this data. While debugging at FX3 firmware code, it seems like it has successfully got the DMA buffer, copied the 2 byte data into this buffer and committed it without any failure. We couldn't see any failure on these APIs in firmware (CyU3PDmaChannelGetBuffer() & CyU3PDmaChannelCommitBuffer()), they always returns 0 i.e. Success.
Also, from host perspective, device-driver developer says that there is no issue in URB submission. We couldn't see any error in syslog.
While further testing, we could see that if host makes any single transaction on BULK-OUT EP (from host to FX3), this earlier committed (and stalled) interrupt now gets received by host. So we don't know what exact happens whether it gets blocked somewhere either in FX3 side or Host side.
So let me ask whether anyone has faced such thing or any idea on this, please let me know.
Thanks,
Premji
Show LessI 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.