USB superspeed peripherals Forum Discussions
Hello,
I configured SPI block on FX3 using this example: cyfxusbspiregmode – SPI in Register Mode. However, for my application I need to enable interrupt. I will be sending data from FPGA through SPI at any point, so I need to enable RX DONE register. The thing is I know where it's located and know general structure, but don't know how to implement it in C code, since there is no example for SPI interrupt registers. There are examples for GPIO interrupts though.
Thanks!
Show LessHi Cypress
MCLK is computed using the following equation , Can you tell us How to get and select of HighByte (mClkCtl) and LowByte (mClkCtl)
MCLK = ( PLL_CLK/mClkRefDiv ) / [ ( HighByte (mClkCtl) + 1 ) + ( LowByte (mClkCtl) + 1 ) ]
Hi,
I am planning to use CYUSB3065 along with a USB Hub CYUSB3302-68LTXI as in attached ppt.
As I was going through the datasheet of CSI_USB bridge, it mentions that it is compliant to CSI 2 V1.01, however I am pretty sure that using newer camera modules will be CSI2 V1.2.
Is there any cases where this architecture has been tested with CSI2 V1.2 compliant modules?
Is there any other version of bridge from Cypress which can support CSI2 V1.2 compliant devices?
Is there any supported list of Camera image sensors which have previously tested with image sensors and have been tuned properly?
Since this will be a mass production device we will also need future product availability.
Thanks!
Show LessHello,
We are trying to set up a UVC based image data transfer using FX3 and are also developing windows host application base on DirectShow. Our camera supports dynamic and still imaging operation. So We have modified and implemented UVC_AN75779 for dynamic image and still image capture. Currently we are able to capture dynamic image but have a problem about still image capture. In still image capture, the image is normally acquired If the next still image from the previous one enters within 5~6 sec . If the next image comes in after 5~6sec, it is not worked. After this phenomenon, images are acquired only by resetting FX3.
1. Is it impossible to capture still images that come in randomly using UVC?
2. Does time out occur because DirectShow operates in streaming mode?
What is the cause of the problem?
Best regards,
James J
Show LessHi Sir,
请教下:FPGA的LVDS接口能否连接CYUSB3014的GPIFII 接口?主要目的是:进行1G带宽数据的升级,转为有限带宽3G的数据通道以处理更多命令与数据。
谢谢
Dears, I am literally stuck for many months in my project of the design of a 16-bit grayscale camera. I got the superspeed FX3 kit and started with the example code in AN75779. After multiple trials and errors, I see no progress at all. In fact, I am more confused than before. My ultimate aim is to get a 16-bit grayscale image from a sensor via FPGA, and feed it to an FX3 kit and get it streamed to a PC and use a LabVIEW program to acquire it for post-processing. As I was lost in my way seeing multiple community posts and not much of programming skills, I would like to request your help to at least make a successful first step.
1. I wanted to use the AN75779 as it (except for changing LV, FV, nRST pin numbers in GPIF) is so I do not add any error to the original program. I interfaced it with a DeoNano FPGA board with a custom made interface board. I changed the pin numbers in GPIF accordingly. Please see GPIF interface definition picture attached. I use VLC to try to get some video. I wrote a test program in FPGA/verilog to generate the PCLK, LV, FV, DATA. I start with 8 bit DATA as in GPIF the original program it was 8 bit. Some Signaltap plots of FV, LV shown. I made it for 1280 x 720, 30FPS using PCLK of 48MHz. I added Frame and Line blanking accordingly so that the final frame rate is 30FPS. I uncommented the DEBUG_PRINT_FRAME_COUNT in uvc.h as per suggestion from other posts. But I always get Frame timer overflow and 0 frames and 0 buffers in the UART debug as attached. Is my idea/attempt wrong? I tried giving both longer and shorter blanking times keeping the 30FPS more or less same. If I manage to make this work, I hope I can make some progress to my actual project goal.
2. I am not using any I2C lines for now. Will this work without I2C connected? I guess so.
If I manage to get this FV, LV, Data test signal correctly, I will be making the actual readout in same sequence and timing hoping it to work fine. Later I will have to change the resolution too as I have one QVGA and one VGA sensors to be interfaced individually.
Thank you for your kind help.
Regards
Show Less
Hi, I've studied the AN75779, and knew the mechanism for manual DMA callback.
If I only want to analyze the data which is received by manual DMA socket inside FX3, and don't need to send to PC.
It means that I only need to call CyU3PDmaMultiChannelGetBuffer( ) and don't call CyU3PDmaMultiChannelCommitBuffer( ) in DMA callback function.
Q1: In my understanding, the locked DMA buffer will unlock until the CyU3PDmaMultiChannelCommitBuffer( ) is called and the PC have received the content on this DMA buffer. Is my understanding correct?
Q2: If the answer for Q1 is yes. Then how can I unlock the DMA bufferIf, if I don't call CyU3PDmaMultiChannelCommitBuffer( )?
PS. I knew the CyU3PDmaMultiChannelDiscardBuffer( ) can discard the DMA buffer. However, in my test, it's only valid before the CyU3PDmaMultiChannelGetBuffer( ). Therefore, I guest the function isn't suitable in my case.
Any help will be highly appreciated!
Hughes
Hi, where could I get the information for Memory Usage after compiling, such as code area, data area & RTOS managed heap area?
Any help will be highly appreciated!
Hughes
Hello all,
I got my modified AN75779 setup working with standard resolutions, especially 640 x 480, 720p or 1080p.
So far I have not been able to get anything working in a non-standard resolution greater than 1080p, or even a semi standard one like 2560 x 1440 or 2560 x 1600. Is UVC Video just not compatible with these, or is there any extra trick to getting that going?
Thanks,
Steve
Show LessOn the Denebola development board we are successfully streaming data onto the PC without any errors.
On our custom board -where FPGA is present in between CX3 and AR1335. This FPGA is for Muxing purpose of 4 cameras into a single MIPI .Before going to muxing with multiple cameras just we are trying single camera streaming through FPGA.
Right now we are able to stream video through FPGA on to the PC but we are getting mipi errors with improper frame size 305280 bytes.
Received Frame size : 305280
MIPI Error : 122 0 0 0 0 0 0 0 6
LOGS:
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 71 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 72 Frm_Sz = 305280 B
121 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 73 Frm_Sz = 305280 B
121 0 0 0 0 0 0 0 7
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 74 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 7
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 75 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 76 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 77 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 78 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 79 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 80 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 7
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 81 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 82 Frm_Sz = 305280 B
120 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 83 Frm_Sz = 305280 B
123 0 0 0 0 0 0 0 8
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 84 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 85 Frm_Sz = 305280 B
121 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 86 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 7
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 87 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 88 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 89 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 90 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 91 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 6
Prod = 8 Cons = 8 Prtl_Sz = 10752 Frm_Cnt = 92 Frm_Sz = 305280 B
122 0 0 0 0 0 0 0 9
With Regards
channabasappa