USB superspeed peripherals Forum Discussions
Hi, 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
Hello !
I am actually working on Lattice USB3 video bridge devkit which used Cypress EZ-USB FX3.
I try to download a firmware on it but I have an error log : "Bootloader is not running. Please reset your device to download firmware." Reset the device don't change the problem and don't know where It come from.
I need help please.
Nathan
Show LessHello,
We're trying to develop a custom module.
However, we're facing several problems.
let me explain our situation first.
Our sensor has EMB data so output data for one frame is as follows.
Also, the sensor has 4 types of frames and EMB has its own index so we can recognize the frames.
You can see that the four waveforms are clustered together and It has indexes 0, 1, 2, 3 from the beginning based on the grouped waveform as below the image. (One single waveform means one frame.)
We think the problem is that our module is different from a normal RGB sensor.
When we set MIPI Receiver Configuration, there are some obstructions because we have two types of V-blank as below.
So, the first question is how to set V-blank values in the above case.
The second question is how to set "CSI Clock" and "Frame Rate".
The sensor specs are
- MIPI RATE: 800MHz
- MIPI Lane: 2Lane
- Frame rate: 30fps
However, since one final output data is generated in 4 frames, Frame Rate should actually be set to 120 fps.
In this case, when we set CSI Clock to 400 and Frame Rate to 120, the minimum value of CSI Clock will be limited.
How can we handle this?
3. We tested by reducing the Frame Rate in question 2.
However, when CSI Clock is set to 400 and Frame Rate is set to 30, continuous frames weren't able to be received.
In this case, we can only get frames with an index of 0 or 2.
What could be the problem?
The timing of waveforms is below.
A Single Frame: 5.25ms
V-Blank1: 1.5ms
V-Blank2: 7.8ms
A Set of Final Output Frame: 33.33ms
Please let me know if there are any other problems.
Regards,
Philip