USB superspeed peripherals Forum Discussions
Hello,
I plan to write the firmware of our application (for a separate FPGA) to SPI flashes throught USB.
The idea is to send a fist packet for the command and the next packets will be the data.
We will use only the USB 2.0 capabilities of the FX3.
So the input packets from the USB are 512 bytes long and I can only write 256 byte long pages in FLASH.
Can I do 2 256 bytes transfers from a USB endpoint to the SPI (using extra header bytes) or do I need to first copy a whole USB packet into memory and do my DMA transfers to SPI from there ?
Thanks
Show LessI have a generic question about the BulkLoopManual test. Looking at the test and at a CATC trace, i do not see any SetConfig command. I was under the impression that you had to do a Set Config before using any data endpoints.
Ken
Show LessWe have programmed the slave sync fifo to work in the 32 bit mode. There is just one setting I am aware of -
#define CY_FX_SLFIFO_GPIF_16_32BIT_CONF_SELECT (1)
But we see FX3 to be working in 16 bit mode. Any suggestion how we can debug this?
Thanks,
Sandeep
Show LessWe have programmed the slave sync fifo to work in the 32 bit mode. There is just one setting I am aware of -
#define CY_FX_SLFIFO_GPIF_16_32BIT_CONF_SELECT (1)
But we see FX3 to be working in 16 bit mode. Any suggestion how we can debug this?
Thanks,
Sandeep
Show LessI have a laptop where the FX3 will not enumerate. It never returns from CyU3PConnectState(CyTrue,CyTrue). CyU3PConnectState(CyTrue,CyFalse) works everytime.
Other USB 2.0 machines enumerate correctly.
I am using API version number = 1.0.1.670.
Show LessHello,
at the moment i am trying to do my first steps in developing software for the FX3.
I have an USB hardware analyzer, which i use to record traces of the communication between the PC and the FX3.
This analyzer can only record USB high speed, so i use the FX3 at a USB 2.0 port with transmission speed "high speed".
Already during downloading of an image i see a lot of "invalid frames" in the trace.
Downloading itself works, because i think, USB is doing a lot checks and repititions, so error are corrects.
Has someone a clue what it could be? I am using a FX3 with the VID=1480 / PID=0000 problem.
Could it be a chip problem? Layout problem (it is a custom board)? What else?
Has someone already taken USB hardware traces? Are there also "invalid frames" in your traces?
(I have attached a zipped trace, which can be opened with software from http://www.ellisys.com)
Best regards,
Martin
Show Less