USB superspeed peripherals Forum Discussions
We are attempting to adapt the example for the OV5640 to a different sensor which only as a RAW 10-bit bayer output. Would it be possible to convert RAW 10-bit bayer image to RGB or YUV before sending out on the USB UVC stream? I see that we get a callback when the the DMA of the image from the MIPI interface is done being captured.
/* DMA callback function to handle the produce and consume events. */
void
esUVCUvcAppDmaCallback (
CyU3PDmaMultiChannel *chHandle,
CyU3PDmaCbType_t type,
CyU3PDmaCBInput_t *input
)
Can the conversion be done in-place here for a 720x720 or 400x400 image at 30fps before the buffer is sent to the UVC stream, or will that take too long in software? What do you typically advise users to do if demosaic is required on the incoming image?
Show LessI used the demo code cyfxuvc_an75779, hardware CYUSB3KIT-003 and ov7725, just change the resolution to 640*480, and GUID RGB565, RUN this code, get err as bellow:
Application Started
DMA Reset Event: Frame timer overflow, time period = 200
Application Stopped
I am working with a GPIF to USB example that uses a "MANY TO ONE AUTO" DMA. This is similar to the UVC example but the ADC is a simple 16bit parallel bus reading samples at every clock pulse (80Mhz). I have a 16bit counter to the parallel bus to verify that I am not missing any data (this is crucial to the design). So far I am just setting it at 40Mhz. I get two errors with the MANY TO ONE configuration.
1. I get a gap of 2 COUNTS at every 8192 samples, which is the size of the data counter.
2. Near the start I get a giant gap but doesn't appear again.
What I am suspecting is going on is the GPIF state machine is adding 2 counts at the transition. If I remove the idle states, then the data becomes corrupted very fast. Can someone look at the firmware and GPIF to see if I am missing anything?
Here are some settings:
DATA AND ADDR counter set to 8191
Here is the Host Capture:
This Finds the data, the counter gaps are consistently 2 counts every 8192 except for a large gap at 5619
Thanks,
Vincent
Show Less
I have created fx3 UVC application in EZ usb suite with sending video feed by DMA. now I want to add one usb interrupt for receiving string by android phone. I am not getting anything about to run usb protocol in duplex mode and how to write interrupt for usb receiving event. I am using CYUSB3065 microcontroller in my project. Can anyone please help me with code examples and other things for my problem?
Show Less
Hello,
We are using CX3 - CYUSB3065-BZXI chip in our products and we are using some other chipsets in our design.
Due to some design constraints, we have to maintaining single power on sequence for our products.
So, we plan to provide 1.8V (VDDIO1, CVDDQ, VDDIO2, CDDIO3) power rails first then 1.2V (VDD).
Is this power sequence okay for CX3 chip?
And please let us know, if this change will create any functionality issue.
Regards,
Dinesh
Show Less
I am investigating if I can use EZ-USB FX3 chip to send voice data (80MBytes/second) from a acoustic array(FPGA) to Nvidia Jetson Xavier NX ( ARM64, Linux Ubuntu).
I want to get some sample code about using FX3 chip to receive stream data in Linux host. But I only found some source code for windows, where can I get sample code for Linux?
Show LessHi.
If you build an example project in EZ USB Suite (attached), then everything works. But if I open the configurator and (without changing anything) resave four .C- file that can be resaved, then the project stops working. What could be the problem? EZ USB Suite is the latest. Nothing is issued to the COM port. I work with the CX3 debugging board.
Show LessI want to change the bus width to 32-bits in the AN75779 code example. When this is done how is the YUV2 format presented to the chip? In the 8Bit case the the 16bit pixel contains Y channel and then U/V channel data. In a 32 bit wide bus how is data presented?
Y1U1Y2U2
OR
Y1Y2U1U2
OR
Y1Y2Y3Y4 followed by U1U2U3U4
Show LessI'm using CYUSB3014 and xilinx zynq 7010 for my program. Is that any low-power function when there has not usb transfer events?
I already try to add the low-power methods in thread entry function, which reference the method in lowpowertest demo. Using the wakeup source of CY_U3P_SYS_USB_VBUS_WAKEUP_SRC, CY_U3P_SYS_USB_VBUS_WAKEUP_SRC and CY_U3P_SYS_USB_BUS_ACTVTY_WAKEUP_SRC, but it seems have not different with my previous code's performance.
Show LessI want to use the Code found with the AN75779 to operate a non-Aptina sensor to produce an image. I do not want to use the I2C bus to communicate with the sensor. To that end, I commented out all instances of the I2C control code. I compile the project in Eclipse and it generates an image file. However, I see no image when I connect either Virtualdub or VLC player. Is commenting out the I2C code somehow corrupting FX3 operation.
I also do not understand the business of the Header that is supposed to attach to the stream. Is this something I am supposed to attach or is this something the FX3 chip attaches?
Show Less