USB superspeed peripherals Forum Discussions
I am triggering SPI register reads via GPIO34 but get a CY_U3P_ERROR_MUTEX_FAILURE when
CyFxSpiTransfer() -> CyU3PSpiTransmitWords() calls CyU3PSpiGetLock(). I am using the CyFxUsbSpiRegMode example as a template but controlling the SPI SSN with GPIO34.
If I manually call CyFxSpiTransfer() the spi read works fine.
SpiConfig:
spiConfig.isLsbFirst = CyFalse;
spiConfig.cpol = CyTrue;
spiConfig.ssnPol = CyFalse;
spiConfig.cpha = CyFalse;
spiConfig.leadTime = CY_U3P_SPI_SSN_LAG_LEAD_ONE_HALF_CLK;
spiConfig.lagTime = CY_U3P_SPI_SSN_LAG_LEAD_HALF_CLK;
spiConfig.ssnCtrl = CY_U3P_SPI_SSN_CTRL_HW_EACH_WORD;
spiConfig.clock = 20000000; // set clock to 20MHz //16-20MHz
spiConfig.wordLen = 32; // set word length to 32 bits
Who else uses glSpiLock?
Show LessHi,
I'm designing a control board for USB3 operation based on the FX3. One of the Cypress app notes shows decoupling capacitors on the underside of the board i.e. as close as possible to the respective FX3 power pins. I'm trying to keep costs down and so wondered if anyone has managed to get a design working with decoupling capacitors on the same side as the FX3 ?
Thanks
Dave
Show LessIs it possible to use watchdog timer with USB 3.0 video streaming?
The watchdog can be successfully initialized but it cannot be cleared. When our device is connected to the USB 2 port then we can clear the watchdog timer to prevent watchdog reset.
/* Entry function for the UVC application thread. */
void
esUVCUvcAppThread_Entry (
uint32_t input)
{
uint16_t wakeReason;
uint32_t eventFlag;
/* Initialize the Debug Module */
esUVCUvcApplnDebugInit();
/* Initialize the UVC Application */
esUVCUvcApplnInit();
for (;;)
{
CyU3PSysWatchDogClear ();
CyU3PEventGet (&glTimerEvent,ES_USB_SUSP_EVENT_FLAG|ES_TIMER_RESET_EVENT, CYU3P_EVENT_OR_CLEAR, &eventFlag, CYU3P_WAIT_FOREVER);
With kind regards,
Marat
Show LessHi All,
I am planning to use CYUSB3324-88LTXC as a USB HUB, As per the documents i get to know CYUSB3324-88LTXC supports ACA Dock mode by which we can able to charge the Upstream port(Tablet) and Downstream port and also continue communication with downstream port simultaneously.
But i have a question that
1.will CYUSB3324-88LTXC charges the downstream ports using the power coming from upstream port (say Tablet) when the external power supplies are absent(say 3.3v,5v,1.2v).
2.Will CYUSB3324-88LTXC supports the charging of APPLE/Samsung phones which will be connected to upstream port or we need to go for MFI interface while charging the Apple phone.
Please support over the above doubts.
Show LessFor the register writing by I2C in raw data sensor,
We should avoid making the exposure time or gain change during the exposure time,
Might I know how to control the accuracy time for writing I2C?
For example, Can we set interrupt routine because of the frame valid (FV) signal going high?
Show LessI'm trying to configure fpga using fx3 connected between Mobile Device and FPGA board.
And I am doing that by refering to the Manual "Configuring an FPGA Over USB using Cypress EZ-USB FX3".
By looking at "Integrating the Configuration Firmware Into Your Design" in the manual, it says "Add the support for vendor commands and events as they are implemented in this example", and I don't understand what it means.
How to add the supports for vendor commands in my design?
Show LessI am designing a PCB using the FX3 chip and I need to know which is the characteristic impedance of the GPIF-II lines. I also know they must be series terminated with 22 ohm resistor but should I place them in a specific location along the transmission line?
Show LessI want to study the driver program for Ez-USB FX3,but where can i find the driver source code for FX3?
Hello,
I am working on CCG1 type-C USB controller and as per the document, we have the I2C data line to configure registers. But I couldn't find the slave address and I2C commands to communicate. Is there any document for the I2C commands for type-C USB controller?
Regards,
Sowmya
Show Less