USB superspeed peripherals Forum Discussions
Hello
I think FX3 and CX3 are already USB-IF certified
But, If the user wants to conffirm that FX3/CX3 are authenticated, please let me know if there is a way to confirm.
Best Regards
Arai
Show LessThere is a 2 UVC connection example given in AN75779, like Figure 51 shows:
I wonder if it is possible to do 3 connections by using the other pair of spare control pins and data pins?
thanks!
Show LessI'm using custom hardware with FX3, using both USB 2 and USB 3. Both USB connections work, the device is recognized with either USB 2 or USB 3 cable.
I need to detect if the device is connected to USB 3 standard downstream port (without lightning next to the port) or to charging downstream port (with the lightning symbol). The extremely limited documentation about that feature says 'set bit 31 of the register CHGDET_CTRL at 0xE0031800 and watch bit 0'. I do set the top bit but bottom bit never turns on. There is no sample code for this feature anywhere in sight.
The bits are named CY_U3P_UIB_PHY_CHARGER_DETECT_EN (31) and CY_U3P_UIB_PHY_CHG_DETECTED (0) but the entire FX3 SDK has no references to the bits, they are only defined in a header file. The register where the bits are defined is referenced in some code but only related to USB OTG.
There is another register PHY_CLK_AND_TEST at 0xE0031008 that has 4 bits related to charger. For some bits descriptions say 'not tested', and these bits don't have any effect either.
Is it possible to get the feature to work? Is there sample code showing how the feature works?
Show LessHi,
I want to debug the program.
Run->Debug Configuration
Error with command: gdb --version
Cannot run program "gdb": CreateProcess error=2, The system cannot find the file specified
Thanks
Esakki
Show LessWe are about to sign the latest driver cyusb3 from SDK 1.3.4 with Windows Hardware Lab Kit (HLK). The tests are run for Windows 10, x64 build 19041, which is latest version.
Following tests are failing:
- HyperVisor Code Integrity Readiness Test
WDTF_TEST : Non-zero Code Integrity statistic found:: Execute Pool Type Count : 514
- USB Device Connection S3 + S4 + Connected Standby
IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES returned invalid port number
What can be done to pass the tests? We successfully signed drivers for older driver versions and/or Windows builds.
Thanks in advance for any help
Show LessI am using a FPGA to write video and audio data to the FX3 using a multichannel slave FIFO. Occasionally when using a slow PC the video stalls but audio keeps playing. I've noticed some applications handle this (zoom) but others don't (VLC).
I've looked at the Current_Thread_DMA_Ready flag and the video thread on a scope. It seems that the Current_Thread_DMA_Ready flag indicates that the FIFO is not full until the video thread is set. I am certain that no video data was written to the FX3 since this video stall had occurred. I have tried to reset the DMA immediately after the video stalls, but this seemed to have no effect. There are no error messages when using UART to debug either.
Is there any way to handle a video stall while streaming without depending on the host application?
Show LessHi,
Could you please help with the following questions:
1. Can you please explain what are the required operations and procedures in order to support new sensors (which are not in the default FW in the Denebola RDK) to be connected to the RDK/CX3?
2. Will I have to recompile the FW for each new sensor?
3. Is there an option to change parameters in real-time? namely, to send I2C commands to the sensor for configuration?
4. Is there any UI which can load pre-defined sensor configuration which will allow just to select the desired configuration?
5. Which formats are supported? Are all images formats which are defined in the MIPI CSI-2 standard supported in the CX3 and the Denebola RDK?
6. Can the CX3 get CSI VC streams and convert them to UVC?
Thanks,
Matan
Can you please explain what is the required operation in order to support new sensor to be attached the RDK? Will I have to re-compile the FW for each new sensor?
Show LessDear All,
I need to communicate with an external device and i would like to get data by using bulk transfer function. I can communicate and get data with the connected device using Endpoint 4 and Endpoint 3.
Now I want to read the data from Endpoint 1 and i need to use DMA for reading data.
I am executing below function call.
iRet = USB_processData(usb_handle,
0x81,
reinterpret_cast<unsigned char *>(m_pulDmaDescriptorAddr + (m_nDescriptorCnt * (int)DMA_DATA_SIZE)),
(int)DMA_DATA_SIZE, // 4048 bytes
&bytesTransferred,
0);
Function definition:
int USB_ processData (cyusb_handle *h,
unsigned char endpoint,
unsigned char *data,
int length,
int *transferred,
int timeout)
{
int retval = ERROR;
retval = cyusb_claim_interface(h, 0);
if(retval == SUCCESS) {
retval = cyusb_bulk_transfer(h,
endpoint,
data,
length,
transferred,
timeout);
cyusb_release_interface(h, 0);
}
return retval;
}
After calling this function my code stops here. I don't know whether the problem with external device or i have an issue with this function call.
I want to confirm few points which i mentioned below.
1. I am using Endpoint 1 to get the data from external device. My passing value 0x81 (8 - Input, 1 - Endpoint 1) correct or not?
2. should i want to initialize DMA for using it?(I refered the data sheet but there is no much information about DMA).
I am using CYUSB3014-BZXC device.
Show LessDear,
We use EZ-USB FX3 UVC cyusb3014, Source code is base the "AN75779 project.
We want to change bulk mode to isochronous, but failed. Could you help us to set it?
Thank you very much!
Attachment is our code.
Jun
Show Less