USB low-full-high speed peripherals Forum Discussions
i am referring fx2lp slavefifo example to interafce an image sensor to fx2lp,
i am using CY7C68013A 56-pin,it has two READY signals
RDY1/SLWR pin no at 2,
RDY0/SLRD pin no at 1,
in gpif designer i have selected fx256pin and my image sensor has LV and FV
is it compulsary to connect LV and FV to RDY1 AND RDY0 ?
R can i connected other GPIOs? in gpif mode.
how to do pin mapping?
Show LessHi everyone!
I have fx2lp chip. My application is high speed parallel 8-bit ADC. I want to use full size of fifo (4k). I started from configuring GPIF master mode and have succeseful read buffer with 4*1024 isochronous transactions. Ok. Next step, that i want to realise is dump of fifo buffer to external i2c eeprom, but i have some problem with fifo reading. As says on TRM 8.5: "The CPU can only access the ‘active’ buffer of a multiple-buffered endpoint..." at this point i try to write-read 4k of test data to fifo from 8051 chip without GPIF as follow:
1. set autopointer to 0xF000
2. write 1024 bytes of "0x11" to buf and commit packet 1
3. set autopointer to 0xF000
4. write 1024 bytes of "0x22" to buf and commit packet 2
...
and i see in cyusb_linux window 4 iso transactions each contains 1024 bytes of test data 0x11..., 0x22.., 0x33..., 0x44... and this ok, but when i try to read from fifo with autoponters and dump to eeprom this contents i see 4 arrays with 1024 bytes with only 0x11 data, that means "active" fifo buf not switching while read and i see data from first part of fifo buf from 8051. Config of EP2 is IN, iso, 4x buf, 1024 size (config 12), fifo wordwide is 8bit.
So my questions is next:
1. Is the fifo - separate register memory which maps to RAM partialy (1024 bytes depending on the EP config)?
2. How to make read of all parts of fifo buf?
Desired application is: on interrupt fill 4k fifo from adc-> send to usb host(maybe not!)->and dump fifo contents to i2c eeprom.
Please help to understand fifo read-write process!
Best regards, Valentin.
Show LessHi,
We are working on CY7C68013A to connect to MPEG TS. However, when we run the AN58069 with Free running MPEG example code. We then record the MPEG TS with modified Streamer C# program. But there are a lot of errors in the MPEG TS file we have recorded.
We also tried reading 512 bytes from the endpoint with libusb. However, even in one 512 bytes packet read there are errors between the MPEG TS packets with length 188 byte......
How is the data in CY7C68013A buffered and written to the RAM. What happens on overflow ?
Regards,
Todor
Show Lesshi every one. i have written a firmware for transferring data in slave FIFO mode for CY68013A.
i have download .hex file generated in keiluvision2 to FX2LP. now i want to make .iic file for eeprom.
my problem is when i run hex2bix.exe in utility folder it runs and closes promptly!
i even run hex2bix.c file in visual studio 2008 but the problem is still there.
with cmd i addressed the hex2bix.exe but with using uex2bix command i get the error:
hex2bix does not recognize ...
please help me how can i convert my hex file to .iic
Show LessI've created a 'test' (HID) USB PCB using CY8C3446PVI-076 and have a simple 'test' app (C#) on a Windows 10 box (using CyUSB.dll). I can connect to the device and can send/recv data via a "Send"/"Recv" buttons on the app, so communication to/from device is confirmed. What I can't figure out, nor can I find any info about it, is.. how can the app tell if there is data available from the USB device without requesting it? For example, say I add a push button to the device. I can fill the IN buffer with the data I want to send to the PC app but how does the app know data is available? Is there some interrupt flag I can test, or do I have to poll the device (and test some status bit) to see if data is available. I'd prefer not to poll as that leaves (n)mSec intervals where data could be pending and hat may cause a lag from the time the button is pushed to the time the app acks the push .. at some point increasing poll time, to reduce the lag, will make the app sluggish to user inputs.
This is probably one of those solutions that is staring me in the face, but I just can't see it.
For example; from PSoC Creator things are simple enough; To see if data was sent from PC I can do something like;
if (USB_GetEPState(OUT_EP) == USB_OUT_BUFFER_FULL) .. process the app's data..
So, is there something similar I can do from the app? Something like;
if (myHidDev.????? == IN_BUFFER_FULL) .. process device data..
Show LessHi,i want to have a 30-Mbyte USB data transfer using cypress FX2LP and Simultaneously plot it's diagram with qt. i find a strategy that cover this 30-Mbyte transfer: reading 1-Mbyte data each time and plotting it. but the problem of this stratgy is that on Board side, i should Buffer 1-Mbyte data and i haven't such a memory.
has any one a better idea?
Thanks
Show LessHello,
I'm using CY7C68013A-128AXI. I have question regarding driver operation provided by Cypress:
https://community.cypress.com/docs/DOC-9344
- OS: Windows 10/64 bit
- Driver: CyUSB3.sys
■ Question:
In case the size of the transmission data is even,
when the maximum value of one packet is exceeded, odd size packets are not transmitted.
Is this understanding correct?
Best Regards,
Show LessWe have a device using the CY7C68001 chip.
In Windows 10 pro, the device does not enumerate, showing either error 43 or error 10 (Invalid device descriptor) in the USB driver.
It does not matter which drivers we install (CyUSB or CyUSB3).
In the USBView utility it is apparent that the device descriptor is too short and does not contain PID and VID.
The same device works fine in Windows 7,8,8.1.
Does anyone have the same problem and - hopefully - a solution?
Tom
Show LessHello,
I have connected all the DNU pins to GND in CYUSB3064 in the schematic and board. I am having problems with the MIPI lanes now.
Does grounding the DNU pins cause any issues for MIPI interface in CYUSB3064?
Best Regards.
Pi.
Show LessI want to get GPIF data with USB 2.0 interface.
interface define is below
if data is valid, then INPUT0 is High. and if data is invalid, then INPUT0 is LOW.
state machine is below
and I make a firmware using GpifToUsb example and header file given by GPIF designer.
and I write it in CYUSB2014. and send clk, valid, data to CYUSB2014.
I expect that if INPUT0 is high, then State Machine is changed to WRITE state.
but State is still in IDLE state, although INPUT0 is high.
I don't know why.
please tech me.
thank.
Show Less