USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
I want to use FX3 to communicate with PC using SPI. Which example should I refer to?
Please tell us about the system created as UVC. * UVC has been realized using FX3
How to notify external trigger signal to application via UVC Do you have?
Show LessHi,
I have a question towards the SLWR and SLCS timing in the master side GPIFII interface.
In Figure 6. of the AN82716, the SLCS signal becomes low and then the SLWR signal becomes low.
I've also attached the snapshot of the figure in attachment.
The timing diagram of the GPIFII designer project of the master side shows the SLWR comes low before the SLCS signal.
Please see the attached master_gpif2_designer file.
Is there anything I misunderstand?
Thanks,
Jay
Show LessHi,
I've already completed "2592x1944x1(Y8) or 2 bytes(Y16 to Y)" CMOS sensor(MT9P031, 12 bit gray color) in Super Speed(USB 3.0).
And, I also want to use "2592x1944x1 byte(Y8)" in High speed with FX3.
I tried the following DMA buffer size and "1280x720x1byte in High speed" is working well. But 2592x1944x1byte is not working.
---------------------------- <ref.: https://community.cypress.com/thread/35193?start=0&tstart=0 >
...
2. Increase the DMA buffer size to 48*1024 bytes and DMA buffer count to 2 while creating the DMA channel using CyU3PDmaMultiChannelCreate API
a. Change the 0x00, 0xC0, 0x00, 0x00, /* No. of bytes device can rx in single payload = 48 KB */ in probe control structures
b. Change the GPIF LD_DATA_COUNT and LD_ADDR_COUNT as per Configuring Buffer Sizes in AN75779 UVC Firmware – KBA90744
c. i.e. LD_DATA_COUNT = LD_ADDR_COUNT = ((48*1024 -12-4)/2) -1 = 24567 -> I changed this to ((48*1024 -12-4)/1) -1 = 49135
...
------------------------------
I also tried 64*1024 DMA size but there was a error message like...
------------------------------ Error message on Serial debugging
DMA Channel Creation Failed, Error Code = 64
Error handler...
Error handler...
...
-----------------------------------
How to change DMA buffer size or anything else ?
Thanks a lot!
Don
Show LessHi everyone!
Unfortunately this topic was locked.
I need to control data integrity of FX3 GPIF bus in PP mode. There is some CRC engine, but it is not documented at all.
I tried to make it work and I have some successful results:
I can configure this CRC over GPIF_CRC_CONFIG and GPIF_CRC_DATA regs.
First set ENABLE = 1 (bit 31) of GPIF_CRC_CONFIG and INITIAL_VALUE[15:0] = 0xFFFF of GPIF_CRC_DATA reg.
Manually changing bits in GPIF FSM configuration I could make it work in write direction (from FX3 to AP).
I used BETA_INIT_CRC bit to reset init value to previously defined INITIAL_VALUE[15:0] and BETA_CALC_CRC to make calculation.
Calculated CRC appears in CRC_VALUE[15:0] of GPIF_CRC_DATA reg.
I figured out that "CRC-16/CCITT-FALSE" with params poly = 0x1021 is used in hardware.
QUESTION: I run GPIF in 32-bit mode, but that CRC16 does not use higher 16 bits of bus during calculation. In other words only lower 16-bits
are CRC controlled. How to make it work in 32-bit mode, not 16-bit? What am I doing wrong?
P.S. I don't need working example, just explain it here please. I need it very much. Thank you!
Best regards
Show LessStarting layout of a design based on the Cy4609-RDK-BOARD and downloaded the zip file "630_60155-01_CY4609_final_20140407"
It does not have any PCB layout info in it. Does anyone know where I can get gerbers or Altium PCBdoc or allegro pcb files? It would save me a lot of work.
thanks
Tony
Show LessHi there,
I'm using Cy68013a and now I'm trying to generate an application installer, which needs the USB driver installer. while the drivers I found do not have installers. any suggestions?
Thanks,
Paul
Show LessHi,
When I configure an output pin with CyU3PDeviceGpioOverride() and CyU2PGpioSetSimpleConfig(), a pull-up resistor must be applied to the pin to output the high level. So I guess the default output mode of GPIO is open drain output.
How do I set the pin output mode to push-pull output mode?
Best regards,
Thomas
Show Less你好:
我使用denebola RDK并且尝试在640x480分辨率下,做了如下配置
生成的:
/* ov5640_YUY2_VGA : */
CyU3PMipicsiCfg_t ov5640_YUY2_VGA =
{
CY_U3P_CSI_DF_YUV422_8_2, /* CyU3PMipicsiDataFormat_t dataFormat */
1, /* uint8_t numDataLanes */
1, /* uint8_t pllPrd */
90, /* uint16_t pllFbd */
CY_U3P_CSI_PLL_FRS_250_500M, /* CyU3PMipicsiPllClkFrs_t pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_8, /* CyU3PMipicsiPllClkDiv_t parClkDiv */
0, /* uint16_t mClkCtl */
CY_U3P_CSI_PLL_CLK_DIV_2, /* CyU3PMipicsiPllClkDiv_t mClkRefDiv */
640, /* uint16_t hResolution */
100 /* uint16_t fifoDelay */
};
替换之前的配置:
/* Configuration parameters for VGA for the OV5640 sensor */
CyU3PMipicsiCfg_t cfgUvcVgaNoMclk = {
CY_U3P_CSI_DF_YUV422_8_2, /* dataFormat */
1, /* numDataLanes */
0x1, /* pllPrd */
90, /* pllFbd */
CY_U3P_CSI_PLL_FRS_125_250M, /* pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_2, /* csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_8, /* parClkDiv */
0x00, /* mclkCtl */
CY_U3P_CSI_PLL_CLK_DIV_8, /* mClkRefDiv */
640, /* hResolution */
0x01 /* fifoDelay */
};
然后重新编译,运行,发现USB摄像头不能传送图片。串口终端循环打印:
DMA RESET
AplnStrt:SMState = 0x1
DMA RESET
AplnStrt:SMState = 0x1
请问我使用cx3 configuration工具配置的方法有什么问题吗?
Show Less