USB superspeed peripherals Forum Discussions
Hi sir,
I am using a flash memory PN named ST M25P40, it has 512K Bytes size.
a custom cypress cx3 firmware being used currently has around 200K Bytes size, so, the SPI memory should have 300K Bytes free space.
- First question
Is it OK recording some data into this "not used" 300K Bytes space?
- Second question,
How to program data into those un-used space?
Thank you
Show LessHi,
- What de-mosaic function CX3 used for the color interpolations? For YUV422 mode.
- Whether the CX3 can do White Balance?
- Whether the CX3 can do shading correction?
- Whether the CX3 can do Filtering pipe?
thanks
Show LessHi sir,
Encountering an issue that h-sync cannot be generated correctly...
According the waveform measurement of mipi data lane + , that h-blank (LP) not a fixed value all the time... as the red rectangle highlighted, they have lower h-blank time than others.. it is caused by the ISP doing additional processing..
Question,
Does CX3 RX expect the all h-blank period (LP) to be identical?
thanks
Show LessI've installed the FX3 SDK on MacOS Mojave version 10.14.2 using the procedure in "Using the FX3 SDK under MacOS".
When I click on the ezUsbSuite icon in the user/Cypress/eclipse folder:
eclipse fails to launch, providing this error:
However, if I use a terminal window and cd to user/Cypress/eclipse/ezUsbSuite.app/Contents/MacOS
and then launch it from the command line:
./ezUsbSuite
it opens correctly:
How can I get eclipse to launch using the icon?
Show LessI'm using Eclipse under MacOS and trying to build the Chapter4Example1 project from SuperSpeed Device Design by Example.
When I build the project, Eclipse gives me this error:
Eclipse is looking for "cs-make" in the yagarto-4.7.2/bin directory, but there is no cs-make there:
What make utility should be used for Eclipse under MacOS and how do I configure the environment to point to it?
Show LessI am working on bringing up a CX3 platform, but I'm not able to collect enough debug information to understand what is going wrong.
I have defined the debug symbols in cycx_uvc.h
/* Uncomment the following line to provide verbose debug logging. */
#define CX3_DEBUG_ENABLED 1
/* Uncomment the following line to run the mipi error thread */
#define CX3_ERROR_THREAD_ENABLE 1
The results is the following debug log:
bRType = 0x80, bRequest = 0x6, wValue = 0x3EE, wIndex = 0x409, wLength= 0x1FE
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
AppInit:GpifSMStart passed
HM5530 Init
AppInit:GpifSMStart passed
bRType = 0x81, bRequest = 0x0, wValue = 0x0, wIndex = 0x0, wLength= 0x2
bRType = 0x80, bRequest = 0x6, wValue = 0x3EE, wIndex = 0x409, wLength= 0x1FE
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
bRType = 0xA1, bRequest = 0x81, wValue = 0x200, wIndex = 0x0, wLength= 0x1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
HM5530 Init
StpCB:In SET_FTR 0::1
EnterSuspendMode Status = 0x0, Wakeup reason = 0x8
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0xA1, bRequest = 0x81, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x81, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x83, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x82, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x200, wIndex = 0x1, wLength= 0x22
AplnStrt:SMState = 0x2
bRType = 0x2, bRequest = 0x1, wValue = 0x0, wIndex = 0x83, wLength= 0x0
bRType = 0xA1, bRequest = 0x87, wValue = 0x1400, wIndex = 0x100, wLength= 0xA
The device shows up as a UVC endpoint, but shows no video.
Is there a way to understand if the device is receiving valid MIPI data, if the timing parameters are correct, or additional detail as to what might be happening?
Show LessI designed a board related to cyusb3014. When I chose to boot from USB mode, I connected it to the PC and nothing happened. No new devices were found in the device manager. But when I solder another the FLASH with firmware to this board and selected the boot mode as I2C boot, it shows "Cypress FX3 USB StreamerExample Device" in CyControl.exe(usb2.0). Does this mean that there is no problem with the design schematic and the differential line? How can I get it to boot from USB mode to download firmware?
Show LessMy application is modified from cypress slave fifo example.
I set one partial flag in GPIF designer. Polarity is active low. Init value is low. The partial flag is for thread 0. thread 0 corresponds to an out endpoint.
In the firmware. My code is CyU3PGpifSocketConfigure(0, CY_U3P_PIB_SOCKET_0,4, CyFalse,1).
Does this If the endpoints contain less than or equal to 4 32bit word. The partial flag should be asserted low?
At power up, the partial flag is high. But the endpoint is surely empty at the start.The partial flag should be low. Then I use control center to tranfer one 32bit word to this endpont. It immediately becomes low. Even When I transfer 1024 byte to this endpoint, it still be low.
This is not what I think of partial flag. Can you explain it? Thank you.
Show LessHello, I have some problem when I use "CyUSB.dll", when I run my app, the first run it, everything is ok, but for the second time, I got a message, I don't know what's that mean, could anyone help me fix it.
I use .NET4.X,
I don't program it By Visual Studio, It works fine when I develop and debug the device by Visual Studio.
Show LessBased on AN87216 (auto slave and auto master with 32 bit data bus), using Control Center to send 256 or 512 bytes from FX3's master to FX3's slave, all data can be received by slave.
When 32 bit data bus is reduced to 16 bit by modiying "#define CY_FX_GPIF_16_32BIT_CONF_SELECT (0)", relevant modification has been done in GPIF design, it seems there is problem. When master sends 512 bytes data to slave by Control Center, slave still can received 512 bytes.
However, when master sends 256 bytes data to slave, slave receive nothing. If master sends 4 more bytes, slave can received 260 bytes. That means all data can be received.
Please advise.
Show Less