USB superspeed peripherals Forum Discussions
Hello all,
I found in CyUsb3.pdf the instructions to configure the inf file, although I don't have much experience with inf files in general. I've added my devices VIDs and PIDs, and they enumerate properly, so that's a good start.
I'm currently trying to get the script feature to download the firmware into the FX3 when it attaches. I have it in a state where it creates the registry entry that points to the script location, and I've made sure that folder exists (and it is a subdirectory of System32). If I copy the script manually, it runs and downloads the firmware when the FX3 connects, so that's excellent. The trouble is that it doesn't copy the script into that location when I install the driver.
Is it supposed to copy the script, or am I supposed to do it myself? If so, what have I missed?
While I'm on the topic, is there any way to make the INF file create the folder if it doesn't already exist, or am I on my own for that? It seemed from other answers I saw that it might not be possible to create the folder from the INF file.
I'll attach the files so you can see what I've done so far.
Show Less
SX3 software is currently supported by EZ-USB SX3 Configuration Utility. Do you plan to release an FX3 like Software Development Kit for SX3?
As I understand the SX3 preliminary datasheet, the SX3 could solve a limitation of the FX3, where SPI interface is available with 32-bit GPIFII interface. However, I may be wrong and SPI interface is only available for firmware boot and FPGA init, like in FX3.
For example: in a high bandwidth streaming application with JESD204 ADCs or DACs over the 32-bit GPIF interface of an FX3, the FX3 is left with UART and I2C interface to control the JESD204 devices, which typically have an SPI control interface. Even if you bridge UART or I2C into SPI interface, you loose bandwidth and increase latency. You do not want to use GPIFII for data streaming and control, because that adds potential risk of loosing JESD204 data.
I thought the SX3 was a perfect candidate to solve that problem, but I fear it is intended to be a simple subset of the FX3.
If SX3 can not support SPI and 32-bit GPIFII interface at the same time, I hope you consider these type of applications with FX3G2 and FX3G2D.
Show LessHi, I'm making code to test i2c write operation.
FX3 is sending out data to external FPGA through i2c and if FPGA receive data, turn on the led connecting FPGA.
But when I check the i2c signal on the signal analyzer program,
the i2c scl clock is stopped after sending the device address.
The device address of FPGA is 0x70.
And this is my i2c write code.
If you know what's the problem, please let me know.
Thank you.
Show Less
Dear Sir,
We used FX3 (USB 2.0 only) as the USB device and it works as expected with Android.
We would like to make it work with iPhone but we have no idea how to do it.
Shall we apply for Apple MFi license?
Thanks for your time.
Show LessHey guys!
So, I'm using the AN75779 to configure an image sensor. Meanwhile I'm waiting for the image sensor, I'm trying to understand all the code.
I bought the FX3 Superspeed Explorer Kit to run the code and see the log and all the "CyU3PDebugPrint"s.
Of course I'm getting the error "DMA Reset Event: Frame timer overflow, time period =200", since I don't have any camera connected. There are any data bus
So, my question is: how can I simulate an image sensor with random image? For example, filling all buffers with red color. So I get a red image in VirtualDub.
I found the function where buffers are copy ("CyU3PMemCopy"), but I can't see where I can fill "garbage" in buffers, to simulate databus.
Thank you!
Hello,
According to project requirements,the host will transfer one frame to the FPGA.The size of the frame is 2160KB.In order to reduce errors, we will add a frame header such as “0x55AA_66BB” in front of the frame.So the size of transfer data is 2160KB+4B.What should I do ?
The KBAhttps://community.cypress.com/t5/Knowledge-Base-Articles/Data-sent-from-Host-over-USB-is-not-Committ... said:
If X > 16 KB, then let Y = (X % 16 KB). Now:
i) If Y == 0, then on completion of X bytes nothing needs to be done.
ii) If Y < 16 KB and (X % 1024) == 0, then on completion of X bytes, a zero-length packet must be sent so that the buffer in the device gets committed to GPIF.
But in my design,X>16KB,Y<16KB and (X)
Show Lesshi all, CyAPI.lib is easily used on windows platform, it help us to handle USB commnication via many black box APIs, including a system reset API which can reset whole chip and initialize FW again.
this reset API is very important to us, our CYUSB3014 is used as slave-fifo mode, data of previous transfer may stay in FIFO memory when exceptional operation happen, thus a chip reset API is needed on our next system initialization.
now we decide to develop USB commnication between CYUSB3014 and iphone, iOS only offer us standard USB APIs without special function to reset this chip, i want to know detail process that CyAPI.lib do the system reset and implement this function on iOS. any one can help me? i guess this operation have relationship with remote internal register accessing via USB cable.
BTW, for slave fifo mode, how long the chip will take for chip initialization? (FW reload, clear memory, internal register reset, etc.)
Show LessHello,
We are using CYUSB3014-BZXI (EZ-USB® FX3: SuperSpeed USB Controller) and communicate with 4 BULK endpoint to Windows PC.
If we use WaitForXfer with TimeOut over 1000msec, there is no issue but we have about 300msec response time.
But, we need to get 1msec response time.
If we use WaitForXfer with TimeOut around 100 msec, we can get from 1msec to 310msec response time or get errors.
What is the minimum waiting time?
How to make to get minimum response time in USB communication?
Thanks for your prompt help in advance.
KJ
Show Less
Hi
Yesterday, I uesd CX3 RDK board receive a RAW 8bit MIPI sensor Input, the project build successfully and it enumerated as CX3-UVC. But today ,I don't change anything in this project ,I find Windows cant recognize the device anymore.
Could you please tell me is there something wrong with my project code or just some hardware issue
Show Less
Hi,
I made a simple GPIF-II design to read one 16-bit word to processor socket when external WE signal turns from low to high. Is timing tab for my design correct? I was expecting DATA_IN operation should happen at the beginning of STATE1, but not STATE0. My design is attached below.
Show Less