USB superspeed peripherals Forum Discussions
Hi,
I'm trying to run the example of Slave FIFO in BulkLoop Mode ,but use our Altera FPGA Board. I have some problems with the FlagA & FlagB. Here I set the FlagA & FlagB as Full-Flag and Amost-Full-Flag of Thread_0 which is getting data from FPGA and sending to PC. Here my Fifo databus is 16bit , the watermark of Thread_0 is 6 and the watermark of Thread_3 is 2.
Here is my problems:
1. I find the FlagA & FlagB both high in initial state When I send a text File Out(size 512) through the Control Center. Is that right?
2. Through the waves, I find the FlagA & FlagB doesn't change when Status Machine is running at Bulk_Loop_Write. It cause Status Machine couldn't run to next state. Why FlagA & FlagB doesn't work while FlagC & FlagD work well?
Thank for your help!
Tomsen
Show LessI made a custom board with a FX3 and a USB type C connector. There is a ANX7408 in between the connector and the FX3 to interface.
The problem I face is that if I connect the USB cable in one orientation everything is fine and the device is recognised as a superspeed device.
When I rotate the Type-C connector to the other orientation, the superspeed is not recognised and I can only use the device as a USB2 device.
I suspect that the signal integrity causes the behaviour, but I a searching for more clues about this.
Can anyone explain the mechanism how the USB connections decides whether to use Superspeed or not?
Show LessHI there,
I'm in the process of testing all endpoint types of FX3.
For INT EP there's seem to be no working example.
UsbUart - does not load. after burning The USB control center does not show any firmware in the device list (not even the bootloader).
UsbDebug - FX3 sends a packet of invalid size (announces 124 bytes to be sent and 256 sent instead, or the other way around)
MouseDemo - Is not a super speed example. To make it SS, I have changed the connect function's 2nd parameter to true, but now the firmware does not load. Do I need to add the companion descriptors? Any other changes needed?
What am I missing? What do I need to do to have a working INT example with FX3?
Thanks,
Show LessHello
I would like to create a delay function for cyusb 3025 device .is any inbulit api is present in fx3 sdk?.Please tell to how to read value of GPIO pin
thanking you in advance
ajish
Show LessHello,
I have implemented a Slave FIFO interface between the FPGA and FX3.
But it seems like there are some configuration issues. I cannot get the interface working yet.
When ever I use CyU3PGpifGetSMState() API it always gives zero as the current state. When I check in GPIF Designer, the LOGIC_ONE condition is put in between RESET and IDLE states.
Therefore, I think I should not get Reset state. How can this happen? Can someone please explain?
Thank you.
Show LessHallo,
I have problems with reading data from the GPIF with my FPGA design. The firmware on the FX3 is the synchronous slave fifo example with 2bit address bus. If I try to read the whole buffer in one burst cycle I never get the whole data. There are always five to eight read cycles missing, depending on the received packet size. After some time and in a second read attempt I get the rest of the data. Do you have an idea, how i can get the full packet data in a single burst read?
Regards,
Bernhard Rohloff
Show LessHello
I haven't provided any additional memories such as SPI FLASH or I2C EEPROM. Hence I want the CYUSB controller to load the firmware automatically through USB from the connected Host.
If it is possible to do it that way then please let me know the steps.
Thankyou
Show LessHello,
I am currently evaluating the capability of developing firmware for FX3 using C++. Still we have been working on FX2 in C and we would like to try using C++ on FX3.
This is what I have done at the moment.
I created a new project as mentioned in EZ-USB Suite User Guide, Version 1.3.3 Section 2.3.
I created an empty project there.
I would like to develop parts of my firmware using C++. Can someone guide me on how to do this?
Thank you.
Show LessHello,
We are in the process of upgrading the FX2 chip of our devices to FX3. We are implementing our custom command reply protocol using Bulk endpoints.
Bulk OUT endpoint is for command and Bulk IN endpoint is for command reply.
I have started implementation using BulkSrcSink example project.
Following is the way that I have implemented command handling.
- In the DMA Producer callback I am copying the DMA buffer to a global buffer.
- Then I fire an event to my command handler thread
- That thread takes the command from the global buffer and process it
- Then it commits the reply to the BulkSource channel.
Is this the correct approach? Or is there a better and an efficient approach?
Thank you.
Show LessHi,everyone!
Who can tell me how can FX3 download firmware through script automatically? FX2LP can download firmware through CyLoad.inf, CyLoad.spt and CyLoad.sys. But how can FX3 do ti like FX2LP? help me! Help me! Help me!
Show Less