USB superspeed peripherals Forum Discussions
Hi, I have been working with two FX3 devices integrated in an USB 3.0 Hub (TUSB8043RGCT).
A MUX(PI3USB302-AZBEX) is used to select the 3.0 lines of the Type C port, as shown in the block diagram.
When the Type C cable was inserted in direct connection, the CyU3PUsbGetSpeed() API returns 3 (denoting USB 3.0 connection).
When the Type C cable was connected inversely, initially it should be enumerated as USB 2.0 device and further upon switching the MUX, it should be convert into USB 3.0 device.
But in the inverted type C connection, the CyU3PUsbGetSpeed() API returns 0 (denoting no USB device connected).
Can anyone help me with this issue?
Show LessIn the CX3 application note "CX3 Hardware: Frequently Asked Questions - KBA91295" it states that it needs an external 32kHz if you want to use the watchdog feature, but in the datasheet it says that the external clock is optional for the watchdog.
Which is correct?
Show LessCould somebody give me a help.
I have some problems.
1. When there is data in the buffer, for example 32 Bytes. But I set the length to 16 Bytes(shorter than the data in the buffer) when transfer data in by using BulkInEndpoint. But it fails.
Then I can't transfer any data in by using BulkInEndpoint. How to solve this?
2. If this happens, how to recover? Now I have to pull the USB out and then plug it in. Is there any other methold?
Thanks!
Show LessHello,
I am trying to debug the USBBulkSourceSinkLED project of CYUSB3KIT003 with OpenOCD in SDK1.3.4.
but, I had an error like below.
I set the "Run Configuratins" like below.
The "arm926ejs_fx3.cfg" file is in the folder below.
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\JTAG\OpenOCD\Config
What shall I do?
Best regards,
Yocchi
Show LessHi all,
Relating to this thread: Firmware update (change to USB Boot Mode by software?)
I need some example code which will allow me to invalidate the image stored on the EEPROM SPI Flash.
I have been following the example firmware in cyfxusbspigpiomode, but it doesn't seem to work for me, and is too complex for what I need.
Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode\
What is the minimal example code required to write a byte/s to the SPI flash to invalidate it. For example just an erase command or simple write command.
I need the FX3 to go into USB boot mode after this. I can't have any hardware solutions - must be done in software.
Thanks for your time!
James
Show LessDear Cypress Experts.
Hello!
backgrounds :
Sometimes I lost fx3 control, during control transfer from host( Win7 ) to device( fx3 ) on USB3.0 port ( USB 2.0 port works well always )
No devices captured in control center, so I have to unplug&plug USB cable again.
I got referenced by your USBBulkSourceSink example.
(before) (after)
details :
I want to send about 600KB data by Control transfer from PC Application to my device.
After open file from PC, data size sliced to 64KB and then transfered sequentially.
Next, in FX3, my thread get that packets by callback function ( registered by CyU3PUsbRegisterSetupCallback() ).
After then, just get data ( by CyU3PUsbGetEP0Data() ), send those to device by I2C ( CyU3PI2cTransmitBytes() )
1. Every returned values from functions are CY_U3P_SUCCESS, But sometimes FX3 doesn't answer me. ( like below, a few logs from device )
Where am I have to debug from?
2. In addition, I have no idea which part makes problems, so I'd like to see the status of FX3 firmware by pausing in Cypress IDE, but pause button is unable.
Is there another way to know the firmware status with your IDE?
Show Less
Hi,
I am facing some issues with the AT25DF041B-MAHN-T and the SPI boot option of the FX3 device.
AT25DF041B-MAHN-T shall be a replacement of the M25P40 PN. The issue is that I am able to burn the image into the FLASH but the FX3 is falling into USB boot mode despite PMOD are properly configured.
MISO/MOSI has not any pull up/down resistor and MISO, MOSI, CS# and CLK are properly routed to the FX3, HOLD# ping and WP# are tied VCC (3.3V).
Can someone help me to find the issue?
Thanks,
Best Regards,
Juanjo
Show LessHello Everyone,
I want to know how p port works, i have studied the programmers manual given by cypress for fx3
but it is unclear how gpif is taking data and how p port is used. i am taking reference of UVC AN5779.
In this example they have used PIB socket 0 and PIB socket 1, what are they? what is their use?
I have also seen GPIF example in which they have used CY_FX_GPIF_PRODUCER_SOCKET
How this is different from PIB socket?
Thanks
Show Less