USB superspeed peripherals Forum Discussions
I had download AN75779.zip(http://www.cypress.com/file/123501/download) 03/24/2016
use fpga to creat data
the example is 8bit with 30fps works fine then i change to 16bit with 60fps still works fine
but when i change to 32bit (60fps and 120fps) the problem occur the data didn't transfer thought usb
follow the pdf i sure isDQ32bit is true both counters is 4091 and SPI is false
this is the list what i changed:
X,Y dimension ratio to 5:4
height to 1024
fps to 120
frame size to 2621440 (1280*1024*2)
which those in VS format descriptor / VS frame descriptor / UVC Probe control settings
In GPIF setting
change data bus width to 32bit
delete sensor_reset pin
change LD_data_counter/LD_addr_counter to 4091
So why this problem happen and whats special for 32bit mode?
Show LessHello
I previously made a support case to inquire about the CYPD2122, however I believe the CYPD3121 will better suit my needs.
My application is a USB-C PD powered LED lamp in a consumer/sink role only. I require 15V and approximately 1A from a USB-C PD source wall adapter to power my application. The CYPD3121 will be powered by VBUS and will enable the rest of the application circuit when VBUS = 15V.
I would like to know:
- Is the CYPD3121 the most appropriate of the CCG3 series for my application?
- I see the CYPD3121's default firmware is the USB bootloader, does this mean I can program directly over a USB Type-A to Type-C cable my custom application firmware and PD settings via EZ-PD configuration utility? I am not sure and a bit confused if I initially need the SWD interface for programming.
- In the datasheet application examples I only see the CSA block connected to the Producer path. I wish to implement over current with the CYPD3121 saving BOM count, can I Interrupt Consumer Nfets using the CSA block connected to the consumer path?
- In the consumer role will the VBUS discharge circuit work on disconnect? I assume it would discharge until VBUS drops below the internal LDO's low voltage threshold and the chip shuts down.
- Do you have any consumer/sink reference designs I can source from?
Thank you,
Adam
Cy3014 connected with Android Phone, Do have the driver run on the android phone?
I'm pretty new to all of this stuff, and am working on a project with the CYUSBKIT-003 EZ-USB FX3. I know that Eclipse is included in the SDK to use with programming this board, but I've never used an IDE before and have heard that Eclipse is not the best to start using in the beginning. Is it possible to use a different platform to program the FX3, or does it have to be Eclipse?
The main problem is that I am trying to create a GUI to control some code on the Eclipse board (which isn't on the board yet, but hopefully I can figure out something soon). I was able to figure out how to create a GUI on Visual Studios 2010, but I don't know how to bring it over to Eclipse (or if it's even possible). I've tried figuring out how to get some of the example programs to work in Eclipse, but I just keep running into problems. Working in VS2010 would be much easier for me, as I have already drafted some code there.
Any and all help/input is appreciated!
Show LessDear*,
I have few questions regarding the FX3 Layout:
1) what is the minimal distance from signal to signal in GPIF II Interface? Can I use 8mil(0.2mm)?
2) In what range i have to length match the GPIF II interface? what is the largest mismatch?
3) If the larges signal length is 1in in GPIF II , do I have to use series resistor termination?
Best Regards.
Show LessHi,
I am trying to use CX3 as an USB_UART bridge to send incoming SPI data to host PC. Following are the paths.
1) SPI to CX3 Manual IN DMA (Incoming data)
2) CX3 to USB Manual OUT DMA (Outgoing data towards Host PC) (Bulk)
The time taken for reading from SPI to CX3 using DMA is approx. 4 ms for 256 bytes (My SPI clock is 512 kHZ). The time taken for transferring the data from CX3 to USB takes approx. 9.8 ms (for same 256 bytes).
Im losing data because of higher CX3 to USB serial latency compared to SPI counterpart . Is there any way to increase the throughput of this bulk transfer such a way that the time taken is always much lesser than the incoming SPI speed.
Attaching the project
Show LessDear all,
I'm new on this forum and new in development with the FX3.
I would like to do a FIFO between an ADC (ADS1274 from TI) and the FX3 to get data in the FX3. Because of the sampling frequency, I need to use the "Frame-Sync interface" of the ADS1274 because the SPI cannot reach the speed requirement.
I would like to use the GPIF II interface of the FX3 and the DMA to transfert data to USB and maybe later, to an SD card (with an FX3S).
I do not need to have input signal with the "Frame-Sync interface" to get data from the ADC, only some output signals. Everything I need to make a state machine is just some counters and a very basic logic which can be easily programmed into the FX3.
I tried to work a while with GPIF II Designer and it is like the only signal I can use to change the state are the input signals which means I would need to make an external logic to do my application. It it what my company did with our last generation card: some logic ICs that made the control signals. But all this logic could be made in a very simple way in the firmware and would not require a huge CPU load. So my questions are:
- Could I make a state machine based on soft variables instead of hardware input (with no complex operation)?
- Can I write some code (like a counter and when the loop is done X times, the state will change?)
- Finally, do I really need to keep my logic circuits for my application?
Sorry, this is the very first time I use the FX3 and make this king of state machine. I understand that a state machine will change its state according to input signal, but do they need to be signal input and not software variables?
Best,
Christian
Show LessTwo cypress devices used in my system. one is CYUSB3014 and the other is CY7C68013. Can I use the same library for the SW develop to control the two device.
Show LessI have a sensor Aptina MT9V034 that is configured to run at 60 fps. I used a Cypress FX3 to control the sensor and communicate with an android application which uses UVCCam library.
I use the source code of AN75779 example which is compatible with UVC.
When using a software on pc to read the video from the camera it works fine without a problem.
However on my android application, after getting the frame of camera I do some image processing so my android application processes only around 30 fps (not fixed) and I get occasionally error code 71 which means CY_U3P_ERROR_INVALID_SEQUENCE after calling the function CyU3PDmaMultiChannelCommitBuffer. This error causes the frame sent by camera looks abnormally but until another error of invalid sequence occurs, the frame returns to normal.
As I understand the error is caused by the slow consumption of frame of my android application.
If that is the case which is the best solution to get rid of the error or to handle the error correctly so that I do not have to lower the frame rate of the sensor and the android application's slow consumption of frame doesn't affect the frame sent by the camera ?
Thank you very much.
Show LessHi,
I am developing a USB camera in Cx3 with OV5640(MIPI Interface).
CX3 USB camera connection with a PC preview to normal operation,
It does not work when connected to Android phone with VGA resolution. (Using Android USB APP. ex, Webeecam)
How do I modify the UVC-related sources?
And, ask if I can get a solution or provide relevant reference source.
Thanks.
Show Less