USB superspeed peripherals Forum Discussions
Hi!
I have a Denebola kit with a CX3 chip to which I'd like to connect an audio system using I2S lines. I found a UsbI2sDmaMode project example that configures the chip for such operation. In the project's readme.txt file it says that "If a valid WAV file is streamed over the interface with left and right channel, the audio can be listened to by connecting an I2S slave device on I2S header on the DVK." It's unclear for me how to implement this "WAV file streaming". Could anyone give me an idea what software should I use for this or what to look into in order to send some meaningful audio file through the I2S lines?
Thanks!
Show LessDear sirs,
I connect DVP to FX3, and use the code of AN75779. It can run without any error, but video can not be preview with any player.
The format of DVP is bellow:
Outpur format | UYVY |
PCLK | 74.25M |
H SYNC | 22500Hz |
V SYNC | 30Hz |
PIC-WIDTH | 1650 |
H-active | 1280 |
V-active | 720 |
FX3 print and usb traffic receive are bellow:
cyfxuvcdscr.c change two positions,
The code of AN75779 is downloaded from:
https://china.cypress.com/documentation/application-notes/an75779-how-implement-image-sensor-interface-using-ez-usb-fx3-usb
Everything seems going well, why the video can not be preview???
Thanks for any replay and suggestion.....
Show Less
UVC based application for FX3 is created based on the framework of AN75779. 24bit GPIF is used(D23:D0) . image is 800*600. Pixel depth is 24bit/pixel, i.e. 3Byte/pixel. Since it is 24bits/pixel raw image, GUID for RGB888 is used for media type and RGB888 will be debayered in host. DMA buffer keeps the same: 16kB, 4 counts, 2 sockets. Only change the GPIF bus to 24bits, LD_DATA_COUNT, LD_ADDR_COUNT to 5455. However, it can't stream.
But according to KBA226722,
S= 800*600*3= 1,440,000 byte,
F= int(S/(16384-16))= 1440000/16368 = 87
P= fraction of S/(16384-16) * 16368 = 0.976594*16368 = 15984
It should be working.
I noticed that in KBA226722 , it mentioned in item 5 "If exact line data (i.e nothing is appended at the end of the line data) is intended to be sent to the Host, then make sure that line size in bytes is divisible by GPIF bus width (in bytes)." I don't quite get this point.
Help is needed on the proper setting of DMA configuration and GPIF state machine data and address count value.
Thanks in advance
Show Less
I hope to connect the host computer with my PCB board. The?host computer has USB type-A receptacle. The PCB has USB type-C receptacle. I should use a USB type-A to USB type-C cable with plugs on both endpoints.
Because the?USB type-A do not has a CC pin. The DFP computer would not have a pull-up resistor at the CC pin. How to identify the orientation? Does the cable contains a pull-up resistor itself?
How to do with the USB 2.0 D+ and D- pins. Shoud I just directly connect DP1 with DP2 and DN1 with DP2 at the USB type-c receptacle at the PCB?? This style of connection does not need a switch, will it break the rules of signal integrity and results failure??
I use CyUSB3014 in my old design, is it recommended to use a modern device to accomodate the? USB type-C usage?
Show LessHello,
I have built a UVC project and observed with an oscilloscope that the sensor can output the correct clock and data signals, but I can't receive any image data on the PC side with a USB hount.
I just implemented UART debugging and when I download the .img file to my hardware, I can observe that the UART can print the configuration information of the sensor, but the video streaming information and the MIPI error information I want to observe will not be printed.
I would like to know why this is happening, it seems to be gone after the sensor configuration is done. How can I find out where the error occurred?
My CX3 does not have the MIPI output interface for signal analysis, so I can only observe the output of the sensor.
Best Regards,
Yaqi
Show LessHello
I am using SONY IMX294 sensor and I don't know how to set H-Blanking and V-Blanking, I can get some information from IMX294 datasheet,can you help me to determine the value of H-Blanking and V-Blanking
datasheet:
datasheet Readout mode NO.6
My sensor configuration parameters
HMAX=600
VMAX=400
SVR=2
The datasheet only gives this information.
Best Regards,
Yaqi
Show LessHi
Does anyone know more about MIPI data?
Here is the mipi data signal from the sensor I detected with an oscilloscope
I found that the correct MIPI Data signal should be as shown in the lower part of the picture above, the reason my signal is not correct is that the platform terminal is not in effect, I would like to know what this means, thank you very much for your help.
Best Regards,
Yaqi
Show LessHello.
First, my goal is a streamer application (uvc) which capable to stream YUV data.(According to an75779)
The sensor output is 1280*720 30fps YUY422,DVP 8 bit.
So my GPIF is 8 bits,LD_ADDR_COUNT/LD_DATA_COUNT is 16367.
Other configurations have not been changed because I think they are consistent with the sensor I am using, but the UVC output is only 15FPS at the moment.And the image is normal
Can you give me some advice?
Show LessHello,
Our module features below:
- MIPI Rate: 480(MHz)
- MIPI Lane: 4Lane
However, we cannot reach the maximum bitrate.
Out MIPI Receiver Configuration is below:
and DMA buffer settings are below:
#define CX3_UVC_DATA_BUF_SIZE (0x9000) /* DMA Buffer Data Size Used: 24576 Bytes*/
#define CX3_UVC_STREAM_BUF_COUNT (2)
And we use non-uvc and 24bit output video format.
I think the transfer rate is too low.
How can I test the maximum bitrate?
Regards,
Philip
Dear Team,
I'm Rohanth working in HTIC I'm using ECXRK5064 board. While trying to program this it not detected in my system . when I check this if found some error in driver says "(Code 48)" I don't know what it is. kindly someone reply what it is and how to solve.
Thankyou & Regards,
Rohanth
Show Less