USB low-full-high speed peripherals Forum Discussions
HI,
I am working on transferring video data to the USB host using fx2lp development kit. Can you help me with this. My camera is 320x240 so my buffer size would be 76800. Even on my firware code if i make a loop 76800, windows doesn't recognize the drivers. CyConsole download the hex file and but doesn't recognize the drivers.
i am doing this in my code
WORD i,j;
WORD *Destination = (WORD *) (&EP6FIFOBUF);
for(j=0;j<150;j++)
{
for(i=0;i<512;i++)
{
*Destination++ = 1;
}
EP6BCH = MSB(count);
SYNCDELAY;
EP6BCL = LSB(count);
SYNCDELAY;
}
Please let me know how I can do this.
Regards,
ABM
Show LessHello! Chip used CY7C68034. Please tell me how to change the project CY3686FW, that it was possible to receive data from an external device (such as an audio codec or GPS receiver) and record them in memory NAND. Sorry for the translation.
Show LessHi,
I am new to this USB stuff. I am trying to learn and trying to build a USB board for our camera manufacture by our company. I am still in early steps of learning. I have a Cypress fx2lp development kit. I have played with most of the firware examples and tested with CyConsole.exe. I have created a BulkIn firmware code which sends 512 bytes to host and I tested with Cyconsole and it runs fine. Next step, I want to read this data in my own VC++ application using CyAPI. That's where the problem came. When I download the BulkIn hex code using Cyconsole I even cannot open the device anymore in my vc++ application. If i reset the Cypress development board the VC++ code run fine. I am just doing this
CCyUSBDevice *USBDevice = new CCyUSBDevice();
unsigned char noDevices = USBDevice->DeviceCount();
for(int i=0;i<noDevices;i++) {
if(USBDevice->Open(i))
SetWindowText(USBDevice->DeviceName);
}
As i said earlier, when i don't download the BulkIn firmware code, the above code runs fine but when i download the BulkIn program it doesn't work
Please help me as I know, I must be doing something wrong.
Regards,
Show LessGreetings!
I'm running on a MicroBlaze processor (running at 133 MHz), and I'm encountering a situation where the CSW response to a bulk data write (usually after a big block, i.e. 128KB) is always NAKed. I see the CSW URB being posted (size=13), and then the td associated with the URB is NAK'd. The Linux driver yanks the TD as it services the completed TD's, then re-submits it again since the URB is still there. This infinite loop continues until the higher-level SCSI or Block sub-system times out and the device port get's a hard reset - after 30 seconds usually.
Bear in mind that I'm able to write thousands of data blocks before this situation occurs. That could mean minutes to hours of error-free writes and then the system borks.
Does anyone know all the events that can occur to cause a C67300 to forever-NAK like this? Anyone else had a similar issue? I'm making the assumption that the standard Linux drivers should work, and that maybe it has something to do with the slower 133 MHz speed of the CPU.
Thanks for any help or recommendations!
Show LessHi everyone
I'm looking for a chipset that will work as in Device mode, and provide an AUDIO interface and a vendor specific interface at the same time.
So possibly some programmable USB chipset which could provide the Audio endpoints and send the audio packets to an ADC (external or built in, doesn't matter) and at the same time provide a vendor specific interface with one INT IN Endpoint and BULK IN and BULK OUT endpoints.
The vendor specific interface is just used for basic instructions to the host such as track selection and play/pause.
The Audio interface needs to support:
- 16-bit linear PCM
- 44100 and 48000 Hz sample rates
Is there a cypress USB part that could do this? I am very familiar with PSoC 3 and 5 and would consider using them too.
-Kenny
Hi.
I tyring to make windows appication program on MFC.
But i have not many experiance this way. So i want to know how make methodology.
If you have any example for displaying image data to MFC from fx2, then please let me know.
Especially, i willing to use OnDraw function in MFC.
Thanks.
Show LessHi,
Is there a way to set up the USB descriptors of the FX2 so that after I have plugged it into one port of the PC and loaded the drivers, if I plug it into another port the drivers are loaded automatically without any user intervention. A customer has told me that if the USB device has a serial number in the descriptor then you should only need to load the drivers once and thereafter the drivers will be automatically loaded by Windows even if the USB device is plugged into another USB port for the first time.
Thanks,
Liam
Show LessHi
I'm trying to make interface omnivision cis camera with fx2lp.
But i cannot find fx2lp's io voltage level.
Does anybody know what is fx2lp's io voltage level?
Also, is this need voltage level shifter to both interface with fx2lp and cmos camera(omnivision) ?
Is there any reference document?
Show LessHi
I want to use tms320c6424 +CYPress IC to access hard disk or SD card, here is our requirment:
1) Write speed shall net less than 24Mbit/s,
2) sorage capacity not less than 32GB(we are more prefer to hard disk solution )
would you please recommend suitable solutions to us.
I also have an other question here , i find some SD card vendors have 64GB or 128GB version already, does CYPRess can support it ??
Thank @ Regards
Show Less