USB superspeed peripherals Forum Discussions
1. I would like to use the FX3S device to support both reading and writing from/to a eMMC memory card and for video transfer from the GPIF II (FPGA) to the USB3 (UVC). Will the FX3S support both functions in the same design? The transfers that I would like to support are:
GPIF II to USB3 (UVC)
GPIF II to eMMC Memory Card
eMMC Memory Card to/from USB3
2. Will the video files written on the eMMC Memory Card from the GPIF II be written in a File System Format that will allow the memory card to be read by a MAC or Windows computer? If so what File System will they use?
Thanks for any answers,
Bill
Show Less
Hi,
I have study the document about GPIF but I am still not sure about the action LD_CTRL_COUNT. I have check the option "reload counter on reaching limit". I know the value will be set to zero while reaching limit. I want to ask that will it be set to zero while reaching the "IMG_DATA" state?
In my condition, the video data(HREF) is sometimes not the same size. It may be two or three HREF to merge to a 4KB data that reaching counter limit. Can the state machine below receive a full 4KB data and push to UVC player?
One more question, I have try to change the dma channel config from BYTE mode to BUFFER mode. We discovered that while dma full, the time that dma return to empty is longer than use BYTE mode. I set dmaMode = CY_U3P_DMA_MODE_BUFFER and size = 1. Is that ok? Because the dma get ready time too long may cause other side effect to our FPGA. I cannot change my setting to BUFFER mode.
Any response would be greatly appreciated.
Best Regards,
Sylvia
Show Less
Hello,
I am using GPIO pins to generate some on off sequence on pin. But while generating it sometimes my sequence gets stretched as attached in file. here i am using Simple GPIO.
I am using for loop for the same.
for(i=0; i<=7; i++)
{
CyU3PGpioSimpleSetValue(45,CyTrue);
CyU3PBusyWait (1);
CyU3PGpioSimpleSetValue(45,CyFalse);
CyU3PBusyWait (1);
}
Let me know what i am missing.
Show LessHello, I met a following error recently on FX3:
- First I sent a control write transfer to the fx3 from the host
- The fx3 needs some time to process it, but the host receives a response with URB status: No such file or directory (-ENOENT) (-2)
- The host send the same control write transfer to the fx3 again
- This time the response becomes a USB status: URB status: Protocol error (-EPROTO) (-71)
Please see the attach capture, thanks in advance
Show LessHi,
I am using e-Con Denebola CX3 Board for my development. In the MIPI connector CN10 on the board, I see a CLK OUT. I want to get the clock on this pin (pin 5 on connector CN10) so that I can supply this clock to a MIPI peripheral.
I am referring to the EZ-USB FX3 Firmware Library API Spec. What APIs do I need to use to set the clock on this pin?
Thanks and Regards,
Subramanyan
Show LessDear Sir/Madam,
Is there any document to list out all those I2C registers with descriptions for DMC I2C Slave (I2C_2) access from Embedded Controller?
The Embedded Controller queries the Hub status & controls the individual USB port to be enable or disable on different application.
Thanks for the support.
Best regards,
Ping
Show LessHi
I'm currently having trouble trying to debug on a EZ-USB FX3 SDK. I have followed the instructions in the user guide but nothing seems to make it work properly. I am using a Olimex ARM_USB_TINY_H on the ARM and OlimexODS version of OpenOCD 0.6.1 with the Cypress EZ USB Suite version of Eclipse. (This is the only verison of OpenOCD that seems to work)
I am using the configuration file for the debugger from the OlimexODS package which was downloaded from their website, along with the arm926ejs_fx3.cfg in the files provided with the FX3 SDK which I modified to work with ftdi interface. I will attach them.
When I connect, I get a lot of warnings and errors in the console - also see attached file.
When the Eclipse debugger loads, I am stuck in the CyU3PFirmwareEntry. I have no options to step, and when I run it does nothing except stay at CyU3PFirmwareEntry. I believe it's supposed to run to main and break there but I am not seeing this. (Screenshot attached)
Any help is greatly appreciated and let me know if you need any more information that I might have missed.
Thanks.
Show LessHi,
I need to Flash the two Firmware .image file on different location of SPI Flash and able to jump from one .img to another.
Lets say, one is "Updater" only use to WR/RD on SPI Flash and another one is Actual Fx3 Firmware.
So, how can I do that ??
Please provide any Example code or link??
Show Less
Hi,
I'm adding support for SPI flash to our bootloader firmware. This firmware must be compatible with existing host software, which expects to be able to set certain non-volatile fields using vendor commands. Some host applications may very quickly set multiple fields. In order to write SPI flash the sector that stores this data must first be erased. A sector erase may take up to 250 ms to complete. It's inefficient to read the contents of the sector into RAM, erase the sector, and then re-write the entire sector each time one of the host sets these fields. Instead, it would be better to read all non-volatile fields into RAM and maintain them in a RAM buffer, then when one of the fields is set by the host set a flag indicating that RAM is dirty and start a timer. Once the timer expires the appropriate sector of SPI flash will be erased and the RAM contents will be written to the SPI flash. In order for this to work I need a time source. However, I can't find anything in the API documentation about timers in the bootloader.
What are the available time sources for bootloader firmware?
Thanks,
Michael
Hi,
I am able to stream 4160x3120 @20fps over USB 2.0 with my cx3 based custom board. My goal is to capture the still but while I am trying to capture still, the app is getting stopped instead of capturing. Sometimes it is capturing image but it is totally black(it is giving unsupported format error in photos app).
I have observed UART logs which shows Commit buffer failure. Log is as follows -- AppStop AppStart AppStop... Commit buffer failure.
I have referred related threads but I couldn't solve it.
Please find What I did...
1. I am following method 2 of UVC to capture the still. I have configured it in my configuration descriptor( Class-specific Video Streaming Input Header Descriptor).
2. DMA size that I am using is 256KB (without 2-stage bootloader)
3. DMA buffer size that I am using is 48KB and buffer count is 3.
By 2 and 3 steps I would have over come the Commit buffer error but I couldn't.
I would like to know
1. Do I need to mention still capture method in each and every resolution descriptor? Though i have mentioned there also but no use.
2. I heard that increasing H-blanking will solve Commit buffer error, Can I have an alternative for this(because sensor settings are not accessible for some reasons)
3. Why the app is getting stopped while trying to capture image, does fps creating any bad influence?
Help is most appreciated.
Thank you,
Abdul.
Show Less