USB superspeed peripherals Forum Discussions
Hi,
I need to change the GPIF config during a runtime. I've read about sequence:
1. GpifDisable()
2. De initialize all the peripheral blocks.
3. Reconfigure IO Matrix.
4. Initialize the respective peripheral blocks.
5. New GpifLoad().
In my GPIFs I only do modifications in struct "CyU3PGpifConfig_t CyFxGpifConfig" that are not related to other peripherals (I'm not switching IO from 16 to 32b, not disabling I2C/SPi, etc). I have I2C, SPI, UartDebug initialized in my project, and I do override some GPIOs.
Do I still need to do that routine with De-init and Init ALL periph blocks anyways? Or I can skip the steps with peripherals that I use but do not change?
Thanks
Show Less
CX3 wants to use the GPIO function at the same time as using the OV5640. No matter who defines these two functions first, the latter one will report an error. Is there a GPIO settings conflict problem, and how can I resolve it?
cyFXgpioInit (void) {
gpioclock.fastclkdiv = 2; gpioclock.slowclkdiv = 0; gpioClock.simpleDiv = CY_U3P_GPIO_SIMPLE_DIV_BY_2;
gpioclock.clksrc=CY_U3P_SYS_CLK;
gpioclock.halfdiv = 0;
apiRetStatus = cyu3pgPioInit (& gpioClock, cyFXGPIOintrcb); if (apiRetStatus!
= 0)
{
/* Error Handling */
cyu3pDebugPrint (4, " cyu3pgPioInit failed, error code = %d\n", apiretStatus);
}
}
/* Initialize GPIO module. */
status = cyu3pmipicsiInitializeGPIO (); if (status!
= CY_U3P_SUCCESS) {
CyU3PDebugPrint (4, "\n\rAppInit:GPIOInit Err = 0x%x",status);
CyCx3AppErrorHandler(status);
}
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/CyU3PMipicsiInitializeGPIO-%E4%B8%8ECyFxGpioInit-%E5%86%B2%E7%AA%81%E9%97%AE%E9%A2%98/td-p/683373
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/VD-USB-DENEBOLA-CAMERA/td-p/688096
Show LessUsing the CyfxDebugInit function alone status = cyu3puArtSetConfig (& uArtConfig, NULL); Cyu3pDebugPrint printing works well. Refer to apiretStatus = cyu3puArtSetConfig (& uartConfig, cyFXUArtLPApplnCallback) in UARTlPregMode; serial transceiver is also useful. Now if I want to use these two features at the same time, how can I combine them?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/CX3%E4%B8%AD%E5%90%8C%E6%97%B6%E4%BD%BF%E7%94%A8%E4%B8%B2%E5%8F%A3%E7%9A%84debug%E5%8A%9F%E8%83%BD%E5%92%8C%E4%B8%B2%E5%8F%A3%E7%9A%84%E6%94%B6%E5%8F%91%E5%8A%9F%E8%83%BD/td-p/685585
Show LessHi, I would like to download the documentation from https://www.e-consystems.com/CX3-RDK-Documents.asp这个网址获取关于VD_USB_DENEBOLA_CAMERA的资料 but for some reason I am unable to do so from that site. Could you please provide me the hardware,software documents for this product as an attachment? Thanks a lot!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/VD-USB-DENEBOLA-CAMERA/td-p/690430
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/CYUSB3014-%E5%90%8C%E6%97%B6%E5%9C%A8window%E4%B8%AD%E6%8F%8F%E8%BF%B0%E5%87%BACOM%E5%92%8CSuperSpeed%E7%A1%AC%E4%BB%B6/td-p/687350
Show Less1. I am creating a custom card for a project. Does the term "FX3 RAM" in the CyControlCenter.pdf refer to RAM inside the FX3 or does it refer to the CY7C1062DV33 on Explorer Kit Board? I use the PMODE code F11 where (F stands for Floating and 1 is signal high).
2. My card has a lot of components on it. It does have a contiguous ground layer right across the card. However, there are signal traces that cross underneath the SS wires because of space constraints. Will this be a deal breaker?
Show LessThe updated Windows driver in the 1.3.5 SDK is behaving quite differently to the one in 1.3.4:
- it causes lots of suspend+resume events while transferring data,
- these seem to also cause XferData() to return error, whereas previously XferData() would happily run in a loop forever.
It's easy to reproduce point 1 using an example program + Streamer:
- Put the cyfxgpiftousb basic example onto the eval board.
- Attach the debug USB lead so can view the debug output.
- Run Streamer with PacketsPerXfer=1 and XfersToQueue=1
- The debug log shows lots of lines saying "USB event: 2 0" where 2 = CY_U3P_USB_EVENT_SUSPEND.
Now uninstall the newer driver and put on the older one, and do the same as above. No debug lines appear while transferring data, and it works perfectly.
This continual suspend+resume is causing problems as it takes several milliseconds during which GPIF data is lost.
Is this new behaviour in the new driver intentional? Or is it a bug?
Many thanks
Show LessDo you have a new GX3 driver in the works which is compatible with OSX Sonoma? The latest I see is for Monterey and they were working great until moving to Sonoma.
Driver page:
Thank you for continuing to produce drivers for the GX3 chip and "doing the dance" to keep things up to date with the ever changing OSX requirements.
References:
https://community.infineon.com/t5/USB-superspeed-peripherals/EZ-USB-GX3-CYUSB3610-M1-Mac-Drivers/td-p/360487
https://community.infineon.com/t5/USB-superspeed-peripherals/EZ-USB-GX3-CYUSB3610-M1-Mac-Drivers/m-p/281767
Show Less