USB low-full-high speed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
Sort by:
USB low-full-high speed peripherals
Any idea how do i make my USB High speed controller to work in full speed? Thanks
Show More
USB low-full-high speed peripherals
Hello, I'm using your CY7C68013A-128AXC USB Controller. and I would like o know if you have some kind of Reference Design for USB...
Show More
Hello,
I'm using your CY7C68013A-128AXC USB Controller.
and I would like o know if you have some kind of Reference Design for USB camera application
BR.
Lior Show Less
I'm using your CY7C68013A-128AXC USB Controller.
and I would like o know if you have some kind of Reference Design for USB camera application
BR.
Lior Show Less
USB low-full-high speed peripherals
I would like expanding the extreranl program memory of cy7c68013a. As reference to AN45789 "Using Cypress nvSRAM as Program Memory" Does...
Show More
I would like expanding the extreranl program memory of cy7c68013a.
As reference to AN45789 "Using Cypress nvSRAM as Program Memory"
Does that work to use cy14b256la as the one to cy7c68013a?
Or any other way that will be more suitable for cy7c68013a.
thanks
Allan Show Less
As reference to AN45789 "Using Cypress nvSRAM as Program Memory"
Does that work to use cy14b256la as the one to cy7c68013a?
Or any other way that will be more suitable for cy7c68013a.
thanks
Allan Show Less
USB low-full-high speed peripherals
I have 2 CY7C68013A-100AXC's. Both are Rev B with fab code of 04. The one with datecode 0537 has Lot# 645546. The other one with datecode 0931...
Show More
I have 2 CY7C68013A-100AXC's. Both are Rev B with fab code of 04. The one with datecode 0537 has Lot# 645546. The other one with datecode 0931 has Lot# 627127. If both are from the same fab built almost 4 years apart, can the older IC have a larger Lot # than the nearly new IC? Can Lot #'s repeat?
Show Less
USB low-full-high speed peripherals
I cannot find anyplace in the documentation that this is mentioned. When I strip down to bulk IO calls from the main thread, all is OK. When I...
Show More
I cannot find anyplace in the documentation that this is mentioned. When I strip down to bulk IO calls from the main thread, all is OK. When I have a worker threadfor EP6 calling xferdata and a thread for EP8 calling xferdata , and each thread stuff the data into a c# Queue<> protected by Lock I am getting some really horrid lockups that hang the dev environment until I unplug the USB.
The Queue stuff with lock protecting it shoudl be fine. Lots do that all over the net.
Luckily it reproduces easily in seconds. But perhaps two threads each calling bulk xferdata isn't allowed? Show Less
The Queue stuff with lock protecting it shoudl be fine. Lots do that all over the net.
Luckily it reproduces easily in seconds. But perhaps two threads each calling bulk xferdata isn't allowed? Show Less
USB low-full-high speed peripherals
I am using CY7C68013A in my design.According to the datasheet of CY7C68013A,the output current is no more than 100mA.But it is nearly 300mA no...
Show More
I am using CY7C68013A in my design.According to the datasheet of CY7C68013A,the output current is no more than 100mA.But it is nearly 300mA now.Who can kindly help me answer the problem?The circuit only includes CY7C68013A.Is the problem that the IC I bought is fake?According to the datasheet of CY7C68013,the output current is more than 200mA.
Show Less
USB low-full-high speed peripherals
I want to design a Data acquisition card. to use c++ builder to design upper computer's code.I had load the cyapi.lib in my project.In code,de...
Show More
I want to design a Data acquisition card. to use c++ builder to design upper computer's code.I had load the cyapi.lib in my project.In code,declare #include "cyioctl.h"
#include "CyAPI.h"
first,and in window initialize function I only write one line of code
CCyUSBDevice *USBDevice = new CCyUSBDevice();
then run,compiler report wrong :
[Linker Error] Unresolved external 'CCyUSBDevice::CCyUSBDevice(void *, _GUID)' referenced from D:\WORK\USB开发板\BCB\UNIT1.OBJ
who can help me?many thanks. Show Less
#include "CyAPI.h"
first,and in window initialize function I only write one line of code
CCyUSBDevice *USBDevice = new CCyUSBDevice();
then run,compiler report wrong :
[Linker Error] Unresolved external 'CCyUSBDevice::CCyUSBDevice(void *, _GUID)' referenced from D:\WORK\USB开发板\BCB\UNIT1.OBJ
who can help me?many thanks. Show Less
USB low-full-high speed peripherals
Hi, I am using CY7C68013A. I need to generate Intel80 protocol using cypress chip's GPIF pins. the wave form is enclosed for reference. Ca...
Show More
Hi,
I am using CY7C68013A. I need to generate Intel80 protocol using cypress chip's GPIF pins. the wave form is enclosed for reference. Can any one please tell me whether, this can be generated successfully using GPIF designer?
Also, is it possible get clock out from GPIF >100MHz? if yes, How?
Regards
RK
Show Less
I am using CY7C68013A. I need to generate Intel80 protocol using cypress chip's GPIF pins. the wave form is enclosed for reference. Can any one please tell me whether, this can be generated successfully using GPIF designer?
Also, is it possible get clock out from GPIF >100MHz? if yes, How?
Regards
RK
Show Less
USB low-full-high speed peripherals
I am in the process of changing from using easyloader to using scripting per AN50963, and I have a question. In what directory should my firmw...
Show More
I am in the process of changing from using easyloader to using scripting per AN50963, and I have a question. In what directory should my firmware hex file be stored, and is it important that it is in this place when recording the script?
Show Less
USB low-full-high speed peripherals
hello, My tast is transfer code using ezusb to cyusb. But I don't know how to do that. Example: bool writegpifsingleword(unsi...
Show More
hello,
My tast is transfer code using ezusb to cyusb. But I don't know how to do that.
Example:
bool writegpifsingleword(unsigned short da)
{
bool Success=0 ;
long lLen = 2;
unsigned long nBytes;
if (hUsbDevice != INVALID_HANDLE_VALUE )
{
/* The old code are following:
VR.direction = 0; // (0=host to device, 1=device to host)
VR.requestType = 2;
VR.recepient = 0;
VR.request = VX_GPIFSINGLEWRITE;
VR.requestTypeReservedBits = 0;
Success = DeviceIoControl (hUsbDevice,
IOCTL_EZUSB_VENDOR_OR_CLASS_REQUEST,
&VR,
sizeof(VENDOR_OR_CLASS_REQUEST_CONTROL),
(UCHAR*)&da,
2,
&nBytes,
NULL);
*/
// I change them to following:
CCyUSBDevice *USBDevice = new CCyUSBDevice();
CCyControlEndPoint *ept = USBDevice->ControlEndPt;
ept->Direction = DIR_TO_DEVICE;
ept->ReqType = REQ_VENDOR;
ept->Target = TGT_DEVICE;
ept->ReqCode = VX_GPIFSINGLEWRITE;
ept->Value = 1;
ept->Index = 0;
Success = ept->Write((UCHAR*)da,lLen);
return Success;
}
Is that transplant right?
Q1: How to transfer VR.requestTypeReservedBits = 0?
Q2: The function DeviceIoControl can return the data count after run Read or Write,
how to get the count when I use ept->Read(buf, len), or Write, Is there some
equivalent function can get the real transfer data count in cyusb.sys?
Q3: ezusb there is a defination of BULK_TRANSFER_CONTROL, it can set pipenum,
How to do it in cyusb?
Q4: How to transfer this to cyusb:
Success = DeviceIoControl (hUsbDevice,
IOCTL_EZUSB_BULK_READ,
&BR,
sizeof(BULK_TRANSFER_CONTROL),
inbuf,
bc,
&nBytes,
NULL);
Q5: Is following transplant right?
bool ClearStatus()
{
bool Success ;
// VENDOR_OR_CLASS_REQUEST_CONTROL VR;
// unsigned long nBytes;
long lLen = 0;
if (hUsbDevice != INVALID_HANDLE_VALUE )
{
/*
VR.direction = 0; // (0=host to device, 1=device to host)
VR.requestType = 2;
VR.recepient = 0;
VR.request = VR_ClearStatus;
VR.requestTypeReservedBits = 0;
Success = DeviceIoControl (hUsbDevice,
IOCTL_EZUSB_VENDOR_OR_CLASS_REQUEST,
&VR,
sizeof(VENDOR_OR_CLASS_REQUEST_CONTROL),
NULL,
0,
&nBytes,
NULL);
*/
}
ept->Direction = DIR_TO_DEVICE;
ept->ReqType = REQ_VENDOR;
ept->Target = TGT_DEVICE;
ept->ReqCode = VR_ClearStatus;
ept->Write(NULL,lLen);
return Success;
}
Show Less
My tast is transfer code using ezusb to cyusb. But I don't know how to do that.
Example:
bool writegpifsingleword(unsigned short da)
{
bool Success=0 ;
long lLen = 2;
unsigned long nBytes;
if (hUsbDevice != INVALID_HANDLE_VALUE )
{
/* The old code are following:
VR.direction = 0; // (0=host to device, 1=device to host)
VR.requestType = 2;
VR.recepient = 0;
VR.request = VX_GPIFSINGLEWRITE;
VR.requestTypeReservedBits = 0;
Success = DeviceIoControl (hUsbDevice,
IOCTL_EZUSB_VENDOR_OR_CLASS_REQUEST,
&VR,
sizeof(VENDOR_OR_CLASS_REQUEST_CONTROL),
(UCHAR*)&da,
2,
&nBytes,
NULL);
*/
// I change them to following:
CCyUSBDevice *USBDevice = new CCyUSBDevice();
CCyControlEndPoint *ept = USBDevice->ControlEndPt;
ept->Direction = DIR_TO_DEVICE;
ept->ReqType = REQ_VENDOR;
ept->Target = TGT_DEVICE;
ept->ReqCode = VX_GPIFSINGLEWRITE;
ept->Value = 1;
ept->Index = 0;
Success = ept->Write((UCHAR*)da,lLen);
return Success;
}
Is that transplant right?
Q1: How to transfer VR.requestTypeReservedBits = 0?
Q2: The function DeviceIoControl can return the data count after run Read or Write,
how to get the count when I use ept->Read(buf, len), or Write, Is there some
equivalent function can get the real transfer data count in cyusb.sys?
Q3: ezusb there is a defination of BULK_TRANSFER_CONTROL, it can set pipenum,
How to do it in cyusb?
Q4: How to transfer this to cyusb:
Success = DeviceIoControl (hUsbDevice,
IOCTL_EZUSB_BULK_READ,
&BR,
sizeof(BULK_TRANSFER_CONTROL),
inbuf,
bc,
&nBytes,
NULL);
Q5: Is following transplant right?
bool ClearStatus()
{
bool Success ;
// VENDOR_OR_CLASS_REQUEST_CONTROL VR;
// unsigned long nBytes;
long lLen = 0;
if (hUsbDevice != INVALID_HANDLE_VALUE )
{
/*
VR.direction = 0; // (0=host to device, 1=device to host)
VR.requestType = 2;
VR.recepient = 0;
VR.request = VR_ClearStatus;
VR.requestTypeReservedBits = 0;
Success = DeviceIoControl (hUsbDevice,
IOCTL_EZUSB_VENDOR_OR_CLASS_REQUEST,
&VR,
sizeof(VENDOR_OR_CLASS_REQUEST_CONTROL),
NULL,
0,
&nBytes,
NULL);
*/
}
ept->Direction = DIR_TO_DEVICE;
ept->ReqType = REQ_VENDOR;
ept->Target = TGT_DEVICE;
ept->ReqCode = VR_ClearStatus;
ept->Write(NULL,lLen);
return Success;
}
Show Less