USB superspeed peripherals Forum Discussions
Hello
Follow the steps introduced in "Steps to Setup up MIPI CSI Camera Solution with CX3 – KBA225748" to create a new CX3 project,According to the results of the article, after the configuration is completed, the new CX3 project should generate files: cyu3mipicsi.c, cycx3_uvcdscr.c, cycx3_uvc.h, cycx3_uvc.c.
But these 4 files were not found after saving the project I created, let alone the generated files: cyu3imagesensor.c, cyu3imagesensor.h.
When configuring, can see the file names: cyu3mipicsi.c, cycx3_uvcdscr.c, cycx3_uvc.h, cycx3_uvc.c. But after the final save, there are no such files in the project manager.
Did I do something wrong during configuration?
Best Regards!
Qimin Liu
Show LessHello,
Currently, I am not able to receive data at the bitrate supported by the sensor. After testing with several register sets, I found a suspicious part. When testing, the other source codes were the same, and only the register set was changed. Also, Streamer was not modified. I am referring to firmware from this thread Solved: FX3 / CX3 Firmware for Streaming RAW Image Data us... - Cypress Developer Community.
As above images, bitrate was measured in half in all tests. What part should I look into to get the calculated bitrate data?
Show LessHello,
I'm developing a custom module. The number of calls to the "consumer events" side is less than expected. Even half the actual bitrate is transmitted. How can I increase the number of calls for "Consumer Event"?
DMA Count ==> "CY_U3P_DMA_CB_PROD_EVENT" call count - "CY_U3P_DMA_CB_CONS_EVENT" call count
Prod ==> "CY_U3P_DMA_CB_PROD_EVENT" call count
Cons ==> "CY_U3P_DMA_CB_CONS_EVENT" call count
The screenshot shows an error message because the streamer stopped receiving to output the log. No error message appears during actual streaming.
Regards,
Philip
Hello,
I have a software (c++) using the v1.2.3.10 version of the CyUSB3 driver (.sys). This software is statically linked with the CyAPI.lib delivered with this driver.
Now, I want to use the latest CyUSB3 driver (v1.2.3.20) with the same software. Do I need necessary to link the software with the CyAPI.lib delivered with this latest driver or I can keep my software as well (<=> no change has been done to the CyAPI.lib) ? In fact, I don't want to generate a new version of my software if not needed.
Thanks.
Show Less
When I use GPIF-II sync slave fifo interface with 2-bit address mode, I can successfully set watermark values for the four threads / P-port sockets. Just like the following:
CyU3PGpifSocketConfigure (0, CY_FX_PRODUCER_1_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (1, CY_FX_PRODUCER_2_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (2, CY_FX_PRODUCER_3_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (3, CY_FX_CONSUMER_1_PPORT_SOCKET, 5, CyFalse, 1);
And now, I switch to 5-bit address mode for more transfer endpoints. And I want to set watermark values for each P-port sockets. Here are fourteen P-ports. However the following code is not availbale.
CyU3PGpifSocketConfigure (0, CY_FX_PRODUCER_1_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (1, CY_FX_PRODUCER_2_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (2, CY_FX_PRODUCER_3_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (3, CY_FX_CONSUMER_1_PPORT_SOCKET, 5, CyFalse, 1);
CyU3PGpifSocketConfigure (0, CY_FX_CONSUMER_2_PPORT_SOCKET, 5, CyFalse, 1);
CyU3PGpifSocketConfigure (1, CY_FX_CONSUMER_3_PPORT_SOCKET, 5, CyFalse, 1);
CyU3PGpifSocketConfigure (2, CY_FX_PRODUCER_4_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (3, CY_FX_PRODUCER_5_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (0, CY_FX_PRODUCER_6_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (1, CY_FX_PRODUCER_7_PPORT_SOCKET, 6, CyFalse, 1);
CyU3PGpifSocketConfigure (2, CY_FX_CONSUMER_4_PPORT_SOCKET, 5, CyFalse, 1);
CyU3PGpifSocketConfigure (3, CY_FX_CONSUMER_5_PPORT_SOCKET, 5, CyFalse, 1);
CyU3PGpifSocketConfigure (0, CY_FX_CONSUMER_6_PPORT_SOCKET, 5, CyFalse, 1);
CyU3PGpifSocketConfigure (1, CY_FX_CONSUMER_7_PPORT_SOCKET, 5, CyFalse, 1);
Then no data can be transfered through any P-ports.
So, I wonder what's the correct way to assign watermark values for P-ports - under 5-bit address mode.
Show Less
After accessing the Android camera software, CX3_DMA_RESET_EVENT has been fed back all the time, resulting in AppInStop and AppInStart. Could you please tell me which parameters are needed to avoid this problem? Thank you very much!
Show Lesshi,
Last time i issue a problem is :
but it closed, so i create a new question for continue debug.
Since i set:
FX3_EP_ISO_VIDEO_SS_BURST 0x07
FX3_EP_ISO_VIDEO_SS_MULT 0x01
FX3_UVC_ISO_PAYLOAD_SIZE = ((FX3_EP_ISO_VIDEO_SS_BURST + 1) * (FX3_EP_ISO_VIDEO_SS_MULT + 1) * 1024) = (0x07+1)(0x01+1)*1024=16k
0x01, /* Servicing interval for data transfers */
It means cypress will report max palyload size is 16k, bandwidth is 16kB/125us *8= 1Gbps. and i capture usb package:
It is correct. Could i reduce the bandwith further?
How i reduce the wBytesPerInterval and open camera successfully?
Thanks!
Jun
Show LessHello,
We have been using CYUSB3014-BZXI and EZ-USB FX3 SDK 1.0 version.
The problem is it takes long time (about 250msec) in function CyU3PUartTransmitBytes.
We send 7Bytes, it takes more than 250msec. I think the time is derived from the wait time in CyU3PUartTransmitBytes before actually sending UART.
How to improve the UART transfer speed?
Thanks for your quick response in advance.
Regards,
KJ
Show Less
I am trying to modify the cyUSB3,ini file inrder to use our own VID & PID values,
I followed the steps in "Cypress CyUsb3.sys Programmer's Reference" section "Modifying CyUSB3.INI"
but the device is not recognized and I get the following message
"the hash value for the file dose not exist in the specified catalog file. The file is probably damaged or has been tampered without permission"
How could I overcome this problem?
Hello all,
I found in CyUsb3.pdf the instructions to configure the inf file, although I don't have much experience with inf files in general. I've added my devices VIDs and PIDs, and they enumerate properly, so that's a good start.
I'm currently trying to get the script feature to download the firmware into the FX3 when it attaches. I have it in a state where it creates the registry entry that points to the script location, and I've made sure that folder exists (and it is a subdirectory of System32). If I copy the script manually, it runs and downloads the firmware when the FX3 connects, so that's excellent. The trouble is that it doesn't copy the script into that location when I install the driver.
Is it supposed to copy the script, or am I supposed to do it myself? If so, what have I missed?
While I'm on the topic, is there any way to make the INF file create the folder if it doesn't already exist, or am I on my own for that? It seemed from other answers I saw that it might not be possible to create the folder from the INF file.
I'll attach the files so you can see what I've done so far.
Show Less