USB superspeed peripherals Forum Discussions
Hi,
I am facing some unusual issues with my CX3. When I start streaming using the host app some of the frames in starting are not proper. After 15-20 frames it runs ok for quite some time. I have attached teraterm log for the same. I am attaching MIPI configuration and schematic of MIPI portion for the same. Let me know if I am unclear somewhere.
Thanks in advance.
Jayesh
Show LessI have a question.
when FX3 power is on, After loading ROM from I2C,GPIO[52] output signal signal behaves as follows.
___________
______| |__________________ <GPIO[52] signal condition>
↑
End of loading
Stable to low level after high level period of 1ms occurs.
I would like to fix the low period after loading. Can you give me advice on what to do?
Show Less
Hello All,
I'm supposed to be writing firmware for the FX3, but I'm having a hard time getting started. I've tried to pick out the parts of the example code that I need to get a minimal example that I can then build on, but whenever I call CyU3PConnectState(true, false), I get CY_U3P_ERROR_NOT_CONFIGURED.
Now, maybe I've missed a manual, but I have not found a list of things that have to be configured before I can call this function. From the example code, I've gathered that I have to do the following things in the application thread:
- Call CyU3PUsbStart()
- Register a setup callback with CyU3PUsbRegisterSetupCallback()
- For now, mine is called with fast enum, and just returns false
- Register an event callback with CyU3PUsbRegisterEventCallback()
- For now, mine does nothing
- Register an LPM callback with CyU3PUsbRegisterLPMRequestCallback()
- For now, mine denies all requests
- I'm not sure if this one's mandatory
- Set up an event log with CyU3PUsbInitEventLog()
- Set up descriptors with CyU3PUsbSetDesc()
- So far I've set up
- CY_U3P_USB_SET_HS_DEVICE_DESCR
- CY_U3P_USB_SET_DEVQUAL_DESCR
- CY_U3P_USB_SET_HS_CONFIG_DESCR
- CY_U3P_USB_SET_FS_CONFIG_DESCR
- Several CY_U3P_USB_SET_STRING_DESCR
- I'm not trying to run it in superspeed yet, so it should be fine that I don't have descriptors for CY_U3P_USB_SET_SS_DEVICE_DESCR, CY_U3P_USB_SET_SS_CONFIG_DESCR, CY_U3P_USB_SET_SS_BOS_DESCR, or CY_U3P_USB_SET_OTG_DESCR yet, right?
- So far I've set up
That's in addition to regular startup things like configuring the clock, setting up IO, and starting threads that happen before the threads are running.
I assume I've missed something because I'm getting CY_U3P_ERROR_NOT_CONFIGURED. Does anyone have an idea what that might be?
Show LessCan you give me a demo of cx3 image transmission without UVC(non-uvc) and sensor Raw image translate?
1、Cx3 driver Demo
2、cx3 fireware Demo
3、host display soft demo
thanks
Show LessIn the TRM, 4.2 Clock Management, it says that the master clock of up to 500 MHz can be generated. But I couldn't find how to do it anywhere. It seems the clock is fixed at 403.2 or 384 MHz. Is it possible to change this clock value?
Show LessHello,
I am streaming video from CMOS sensor to Windows 10 PC using CX3.
The firmware was obtained using the standard configuration tool, and I am able to stream correctly to standard host application (AMCap).
I want to be able to stop and restart the streaming from the host PC, so I use UVC extension unit to set a CX3_DMA_RESET_EVENT.
The event is set correctly and the streaming stops, but it does not restart.
To make it restart I have to put the sensor to sleep (so there is no MIPI data arriving to CX3): when I reactivate the sensor the UVC streaming resumes.
What can be the issue?
Thank you,
Riccardo
Show LessCan you please let me know if the cyucb3_win10_x64 driver is Microsoft certified? If you, can you please send a link to the certified version?
Thank You and Best Regards,
Balint
Show LessI have DMA creatoin architecture as below:
case 1 case 2
Producer UIB (CY_U3P_UIB_SOCKET_PROD_2) CPU_PROD
| |
| |
| |
Consumer CPU_CONS UIB(CY_U3P_UIB_SOCKET_CONS_6)PIB(SOCKET 1)
case 3
Producer CPU_PROD
|
|
|
Consumer PIB(SOCKET 1)
case 4
Producer PIB(SOCKET 0)
|
|
|
Consumer UIB(CY_U3P_UIB_SOCKET_CONS_6)PIB(SOCKET 1)
for i currently desigin to use case 1 to receive endpoint 2 data to executive case 2 or case3 or case 4.
so i need to destroy case 2 or case 3 or case 4 to create another case.
but destory dma and create new case need to take a long time.
how can use multichannel DMA create for my case or any exampleas can reference.
thanks.
Show LessHi and thanks for this amazing community I have learned so much already.
Recently our company got interested in the CX3 MIPI to USB bridge and we are testing one for our system. The Denebola RDK is the one we went with. The issue is the camera that comes with it does not meet our requirements as we need a much better Sony CSI-2 Sensor.
So my question is how hard is it to interface your own camera with the CX3?
I am a bit confused because the Application note AN90369 states that this is what I need to adjust manually in the code:
"For other sensors the cyu3imagesnesors.c needs to be changed with the few helper functions.
Image sensor is configured using CX3's I2C interface the following functions SensorWrite2B, SensorWrite, SensorRead2B and SensorRead can be used to write and read image sensor configurations.
- The Write functions call CyU3PI2cTransmitBytes standard API to write data to the sensor.
- The Read functions call CyU3PI2cRecieveBytes standard API to read data from the sensor. "
BUT, I can see that the FX3 SDK allows Low-level control of image sensor using the CX3 configuration tool shown here: CX3 Firmware: Frequently Asked Questions - KBA91297 So I do not understand which one is the correct approach for configuration of a separate image sensor.
Finally, regarding the MIPI CSI2 inputs from the image sensor (image attached)? Is this something we find from the register map of the sensor it self and if so how does one get this register map? From what I understand it is not so easy to get these parameters due to NDA etc. Am I right?
Show Less