USB superspeed peripherals Forum Discussions
Hi,
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 LessI want to configure some GPIO as pwm signals, but a don't know how to do it. For this reason, i have the following questions:
-first of all, I have seen that GPIOs have two different configurations: simple and complex. But, all GPIOs are able to work with both configurations?
-Secondly how are the functions to configure a GPIO as pwm output signal?. In order to set the duty cycle or frequency.
Thanks for the support.
Show LessHello
For the purpose of confirming the debug/test function of CX3/FX3 EZ-USB in the board design
Q1) Are there any other internal signal monitoring functions such as CX3 PCLK_TP, HSYNC_TP, VSYNC_TP?
For example, RESET, CLK, other operating strobe monitor signals, etc.
Q2) Are there any test/debug functions/method that users can use to debug FX3/CX3 mounted circuits or circuit boards?
Best Regards
Arai
Show LessHi,
As the CX3 supports Multi-Master mode of I2C, it's possible to connect another I2C master on the same bus (CX3-Sensor).
I would like to send direct I2C commands from Aardvark, for example, to the sensor for configuration.
What will be the best option?
1. Use the multi-master mode option and just connect another master. Are there any required configuration in the CX3 to support it?
2. Mux the I2C signals to the sensor?
Thanks,
Matan
Show LessHello,
I am trying to send valid address to my fx3 device.Firmware I use is AN65974, and the state machine is SyncADMUx. The board I'm using is cyusb3kit-001, and I'm using xilinx spartan SP605 conifgured as master.
The fx3 device is stuck at IDLE state, sending data over USB Control Center doesn't help.
In the project manager (part of xilinx web pack) I've tried to set data but to uninitialized (U value) and after this i cant change to ADDR state from IDLE.
below I'm sending fragment of my vhdl code
In attachment I'm sending my project for fx3 board (USBBulkSourceSink.rar) and for fpga board (SyncADMux.rar)
Regards,
Mateusz
Show LessHi,
I developed an application to boot from SPI. This app works in all the board we have tested except in one. For some reason this board it is always on DFU mode. Is there a way to fix this I need it to boot from SPI.
This is what I see when I run lsub on linux : 04b4:00f3 Cypress Semiconductor Corp. FX3 micro-controller (DFU mode).
I have checked the pmode pins many times, I do not know what else I can do.
Kind Regards
Show LessHi,
I prepared two FX3 development kits and wanted to test data transmission througn GPIF II interface. Refer to the following page:
https://www.cypress.com/documentation/code-examples/usb-superspeed-code-examples
I connected two FX3 development kits back to back over the GPIF II interface. Then downloaded firmware images without modification into RAM of the two FX3 devices.
I tried the following cases in USB Control Center:
1. Send data from Bulk out endpoint of slave board and receive data from Bulk in endpoint of master board
2. Send data from Bulk out endpoint of master board and receive data from Bulk in endpoint of slave board
For case 2, it seems OK. I can receive the same data as I sent from master board.
But For case 1, the data I received was different from I sent from slave board. The received data was same no matter what data I sent.
Show Less