USB low-full-high speed peripherals Forum Discussions
Hi-
I'm new to using the Cypress chips (FX2), and I'm looking for some pointers on getting started with CyUSB.net ...
I have the FX2LP set up in FIFO mode, bulk endpoint (IN) on EP6, which is connected to an FPGA that generates packets to send. This is based on the AN61345 slave FIFO app note, but modified so it puts a data packet in the FIFO every 0.5 ms. I can read this data using the Streamer C# application (AN4053), or the Control Center. I can make a simple C# program of my own that reads packets, based on these examples.
To this point, I've usually used RS232 (or CDC device class), for which the process typically is:
1. open a handle to the port (CreateHandle)
2. this causes the operating system to buffer data until read by the application; also, it grants exclusive access
3. read data
4. close the port when done
5. if the operating system's buffer overflowed, an error flag is set that the program can see
Using CyUSB.net...
1. Is there an equivalent of "opening the endpoint"? I don't see an equivalent way to signal to CyUSB, "hey, direct all incoming packets to my application!"
2. How do I guarantee that I get all packets in order, with none lost?
3. How do I guarantee exclusive access for my program?
For example, I can run 2 instances of the Streamer example side-by-side, and neither knows that it is losing half the data to the other program!
Thanks!
Show LessI would like to know if it is possible to read the PROM of this chip to program other chips with the same firmware. I only have one programmed microcontroller.
Show LessDear All,
I refer to the design("AN61345 - Slave FIFO Interface using fpga"), and have been able to get the data, but this is not I want, the packet is too large; I hope to get a packet just 20 bytes, after to send 20 bytes data the fpga will output(PA6) a end packet signal to 68013, but I have modified the 68013 code, always can't succeed, so hope to get your help, thank you!
GS Xie
Show LessDear Experts,
I am using CY7C68013A-56pin + FPGA for camera data capture based on slave FIFO interface. My pipe plan: IN: video data; OUT: cmd data takes only few bytes and will be sent from host pc to FPGA occasionally. I refer EZ-USB TRM 001-13670_OE.pdf (page 30, Fig.1-17) for the endpoint buffer configuration selection. My question is that based on Fig.1-17, which configuration is the best for my project. Actually I feel #11 maybe the selection but my OUT data is only few bytes which will be sent occasionally only. So is there any other better selection for the OUT pipe? Actually I considered EP1 OUT but finally I found it is not included in the slave fifo interface. So I need your advices on this issue. Thanks.
Brian Bai
Show LessHi,
I had downloaded Cypress SuiteUSB but had to uninstall it. When I tried to install it again, it throws up an error (screenshot is attached). This is an important aspect of my project so please help. Thank You.
Show LessI need to interface matrix keypad with CY7C64215-56LTXC and send the detected key over USB. This should be PC compatible keypad.
Is there a sample code that reads key from keyboard continuously and sends it over USB for this device ( CY7C64215-56LTXC ).
keyboard is custom made whose rows and columns are connected to GPIO's of CY7C64215-56LTXC.
Show LessHi everyone!
I am starting with the USB development, I would like to know how to program the entire descriptor in a SX2 with an external master (microcontroller). Or this is just possible using a PC and the cypress driver?? What recommend to me? Is better use an EEPROM to load the descriptor?
Regards.
Show LessHello,
We're using Cypress USB driver with our custom VID/PID.
Because of our security requirements we're allowed install only signed Windows drivers - could you help us to figure out how we can sign Cypress USB driver with our custom VID/PID for Win x64 7/10?
Thank you in advance.
Show LessHello,
I'd like to know if there's an example firmware for your CY7C68013A that implements a Mass Storage Device on USB and interfaces with ONFI NAND flash chips.
Much like your CY7C68033 but without the necessity to download firmware via flash or USB but from an EEPROM instead.
Or is it even possible to run sample firmware from the CY7C68033 on a CY7C68013A, which at first glance share the same register set?
Kind regards,
Michael
Show LessDear i have a project to build a kind of usb mass storage product the design if finished and done by an engineer, i am a computer scientist so i don't know anything about.
I already order some proto pcb of my usb key, the design use this controller :
EZ-USB NX2LP-Flex ( from mouser : CY7C68023-56LTXC) and eight of S34ML04G1
So if i correctly understood the doc of the nand is programmed the controller act of mass storage device if not it act as "manufactur mode"
So what must be done to have a mass storage device working ?
Thanks in advance
Marc
Show Less