USB superspeed peripherals Forum Discussions
Hi,
How do configure/code to make a thread into sleep mode and how do wake up from sleep mode to an active mode without affecting other threads? its not like cyclic.
the use case is,
(Considering GPIOAPP Example code as a reference)
During video streaming in UVC(active thread), the GPIO thread will be in a sleep state and whenever a GPIO Event(Button press) is received, the GPIO thread will wake up to blink the LED and again goes to a sleep state.
Or, is it possible on putting the GPIO thread in non-cyclic mode?
How can I force FX3 to run in USB 3.0? If it can't run in USB 3.0, doesn't run in USB 2.0.
Regards,
Kyle
I have a MANUAL_IN DMA channel and am getting callbacks on CY_U3P_DMA_CB_PROD_EVENT. I need to process these buffers for some extended period of time. Rather than blocking in the callback function, I'm doing the following:
- In the DMA callback: set an event, do not do anything with the buffer
- When the event goes off in the mainloop, call:
while ((status = CyU3PDmaChannelGetBuffer(&gbl.dmaFwChannel, &buf, CYU3P_NO_WAIT)) == CY_U3P_SUCCESS) {
process_buffer(buf.buffer, buf.count);
CyU3PDmaChannelDiscardBuffer(&gbl.dmaFwChannel);
}
Does this seem correct? I get a consistent crash after processing a few buffers.
Can CyU3PDmaChannelDiscardBuffer() be called from the main loop without issue?
Is there an example to demonstrate this better?
Thanks!
Show LessHELLO DEVLOPERS
I AM NEW TO USB CAMERAS I AM IN LEARNING STAGE I WANT TO ADD RESOLUTION FOR 1280x720p AND 640x480p .
MODIFIED THE DESCRIPTORS TOO ITS SHOWING WHILE I STREAM THE BOARD SO I WANNA HELP FOR SETTING THE USBSETUP MODIFICATION AND APPTHREAD ENTRY KINDLY GUIIDE ME TO REACH THERE I AM ATTACHING THE WORK TILL I DONE @Rashi_Vatsa @bojankoce
THANKS IN ADVANCE
SINCERLY
SRINIVAS
Show LessHi,
I am working on a Denebola CX3 Kit ,using CX3RDK project.
I added master I2C write control using the following example project as a reference.
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbi2cregmode
But the set signal is not output when I observed CN8 23 pin(CAM_CX3_I2C_SCL) and 24 pin (CAM_CX3_I2C_SDA)with an oscilloscope.
Do I need to configure anything else to be able to output I2C?
thanks and Regards,
Matsui
Show Less
Hi
I have a customer facing endpoint transfer failure issue on CYUSB301 when it connect the FX3 to a pcie usb 3.2 (20Gbps).
When FX3 is connected, bootloader is detected and download the firmware "Streamer Example" can be seen. However when try to communicate with FPGA will see endpoint transfer failure Issue. Issue is not detected when connecting to USB3.1(10Gbps) port. Customer has tested two different pcie USB3.2 (20Gbps) card and the issue can be reproduceable.
1.)As my current test bench does not have usb3.2 port, i not able replicate the issue yet. May i know does CYUSB301 can support USB3.2(20Gbps)?
*FX3 Driver version download from cypress official website.
*Firmware is written by us and is working all the time with USB3.1 (5Gbps/10Gbps)
Thank you
Hi,
I have an application that uses CyU3PSpiTransmitWords to write an SPI flash attached to the Cypress FX3. During testing I found that the last few bytes of a 256 byte page write are occasionally corrupted. Changing the SCK frequency may impact how often this occurs, but corruption is still present. This seems to be a result of a bug with CyU3PSpiTransmitWords that exists in SDK 1.3.4. I found a couple of other forum posts related to an issue with CyU3PSpiTransmitWords and believe the same issue is impacting my application.
I downloaded the debug build of "libcyu3lpp.a" posted in another thread and found that this resolves the issue in debug builds of my application. How do I obtain a release mode build of the library that includes the fix for the bug inCyU3PSpiTransmitWords? BTW - it's not acceptable to not fix a known bug that has existed for 4+ years. Please release a new version of the SDK that fixes this issue, as well as other known issues with SDK 1.3.4 (can't pause debugger, can't select dark mode theme). If I we hadn't already invested significant time in developing firmware I'd be investigating solutions from other silicon vendors.
Thanks,
Michael
I am using the CYUSB3KIT-003 to stream a UVC stream to a computer. The image is produced by a sensor connected to an FPGA that can stream the image data in YUV2 format with the required LV and FV signals. If I do not interact with the I2C Bus, will the application still produce an image?
Show LessHi,
I create the .img file for Fx3 by using two ways one is EZ-USB-SUITE tool and second using Command line build.
When .img file created using tool and flash into the Hardware. Then the Hardware is stable (Register WR/Rd from Host pc to FPGA is stable) and also stable when all 3 Hardware launch parallelly.
But when .img file created through Command line then Data transfer is unstable , not even to launch parallelly. ??
Command line build Steps I follow
I compare the both .img file they are different and size also command line build img is 121 kb and tool build is 148 kb in release mode.
How I see the objdump file.
So, Which things we r missing ??
Show Less