USB2.dll for Cypress Cy7c68013 USB 2.0 Controller

USB 2.0 Highspeed Bus

  • USB 2.0 compatible
  • USB 1.1 compatible
  • for High Speed USB bus
  • 24 freely configurable I/O pin
  • I²C 100Khz bus with clock stretching
  • I²C 400Khz bus with clock stretching
  • fast 8 / 16Bit parallel bus
  • SPI Bus
  • GPIF Interface
  • Pins individually controllable
  • EZ-USB ccompatible (Cypress)
  • for USB interface modul V2.x
  • Cypress Cy7c68013-56-100-128 USB2.0 controller
  • Parallel Bus Designer
Bestell Nr:400101

Description:
The user does not have to care about the complicated USB bus protocol, but can directly work with USB2.0 bus. USB2dll is merged into the development environment and the user can access his hardware using the functions of USB2dll.
The Software of the interface module is written automatically by USB2dll to the controller, so that the newest update of the software is always installed in the interface module (hardware).
You can start developing usb2.0 hardware at now!

Functions of USB2dLL:
The current version enables you to manipulate 24 IO-lines, communicate with i2c-hardware at 100khz or 400khz or transfer data over a 8 or 16 bit parallel bus,
SPI bus and a parallel port designer
.

DLL-functions in detail:
General Usb-functions:
function UsbSetTimeout(DevNum : Byte; timeout : Word) : boolean;
UsbOpen(DevNum : Byte) : boolean;
UsbClose(DevNum : Byte) : boolean;
UsbInit - function UsbInit(DevNum : Byte) : Boolean;
UsbGetError - function UsbGetError : Byte;
UsbGetErrorStringByNr - function UsbGetErrorStringByNr(ErrNr : Byte; PString : PChar) : boolean;
UsbSetLicense - function UsbSetLicense(Filename : PChar) : boolean;
UsbCheckSpeed(DevNum : Byte; var Speed : Byte) : boolean;
UsbGetVersion(VersionStr : PChar);
UsbWaituSec(usec : DWord);
UsbGetStatus(DevNum : Byte) : Boolean;
UsbRetrieveAllErrors(DevNum : Byte; RetrieveAll : Boolean) : boolean;
UsbDevicePresent(DevNum : Byte) : Boolean;
UsbDeviceInitialized(DevNum : Byte) : Boolean;
IO-functions:
UsbSetIOState - function UsbSetIOState(DevNum, LineNum, State : Byte) : boolean;
UsbSetIODir - function UsbSetIODir(DevNum, LineNum, State : Byte) : boolean;
UsbGetIOState - function UsbGetIOState(DevNum, LineNum : Byte; var State : Byte) : boolean;
UsbSetPortState - function UsbSetPortState(DevNum, PortNum, State : Byte) : boolean;
UsbSetPortDir - function UsbSetPortDir(DevNum, PortNum, Dir : Byte) : boolean;
UsbGetPortState - function UsbGetPortState(DevNum, PortNum : Byte; var State : Byte) : boolean;
I2C-functions:
UsbI2CSetTimeout(DevNum : Byte; Timeout : Word) : Boolean;
UsbI2CSetSpeed - function UsbI2CSetSpeed(DevNum, Speed : Byte) : boolean;
UsbI2CWriteBytes - function UsbI2CWriteBytes(DevNum, SlaveAddr: Byte; Lenght : Word; P : Pointer) : boolean;
UsbI2CWriteByte - function UsbI2cWriteByte(DevNum, SlaveAddr, Data : Byte) : boolean;
UsbI2CReadBytes - function UsbI2CReadBytes(DevNum, SlaveAddr: Byte; Lenght : Word; P : Pointer) : boolean;
UsbI2CReadByte - function UsbI2CReadByte(DevNum, SlaveAddr : Byte; var Data : Byte) : boolean;
Usbi2cWriteAfterRead - function UsbI2CWriteAndReadBytes(DevNum, SlaveAddr : Byte; WriteLen, ReadLen : Word; PWrite, PRead : Pointer) : boolean;
EEProm-functions:
UsbEEpSetTimeout(DevNum : Byte; Timeout : Word) : Boolean;
UsbEEpWriteBytes - function UsbEEpWriteBytes(DevNum : Byte; Addr : Word; Length : Word; PData : Pointer) : boolean;
UsbEEpWriteByte - function UsbEEpWriteByte(DevNum : Byte; Addr : Word; Data : Byte) : boolean;
UsbEEpReadBytes - function UsbEEpReadBytes(DevNum : Byte; Addr : Word; Length : Word; PData : Pointer) : boolean;
UsbEEpReadByte - function UsbEEpReadByte(DevNum : Byte; Addr : Word; var Data : Byte) : boolean;
UsbEEpSetAddr(DevNum, SlaveAddr : Byte) : boolean;
Parallelbus-functions:
UsbParSetTimeout(DevNum : Byte; Timeout : Word) : Boolean;
UsbParSetWaveforms(DevNum, InWfIdx, OutWfIdx : Byte) : Boolean;
UsbParInit - function UsbParInit(DevNum, mode :Byte) : boolean;
UsbParInitUsingArray - function UsbParInitUsingArray(DevNum : Byte; PData : Pointer) : boolean;
UsbParOut - function UsbParOut(DevNum : Byte; Data : Pointer; Len : DWord) : boolean;
UsbParIn - function UsbParIn(DevNum : Byte; Data : Pointer; Len : DWord) : boolean;
UsbParOut(0, @Buffer, 25); // transmits a coherent 25 Byte sized data block
UsbParOut(0, @Buffer, 512); // transmits a coherent 512 Byte sized data block
UsbParOut(0, @Buffer, 1500); // transmits two coherent 512 Byte sized Data block and one 476 Byte sized data block
UsbGetRdyState(DevNum : Byte; var Rdy : Byte) : boolean; stdcall;
SPI-Routinen:
UsbSpiInit(DevNum : Byte; LsbFirst : Boolean; SPIMode : Byte; Speed : Byte) : Boolean;
UsbSpiTransfer(DevNum : Byte; PWrite, PRead : Pointer; Len : Word) : Boolean;
UsbSpiTransferByte(DevNum : Byte; DatWrite : Byte; var PDatRead : Byte) : Boolean;
Latency times und speed:
UsbParOut(0, @Buffer[i], 1); // Writes 1 Byte to the parallel bus
UsbParOut(0, @Buffer, 64); // Writes 64 Byte to the parallel bus

  • Made in Germany
  • Software USB2.dll
  • for Win98, WinME, Win2000, WinXP
Details:
Speed
Software
mode - clock source - buswidth - max. transmission rate
0 Intern 8 Bit 24 MB/s 22MB/s
1 Intern 16 Bit 48 MB/s
2 Extern 8 Bit =IFCLK
3 Extern 16 Bit =IFCLK*2
4 Intern 8 Bit 4.8 MB/s
5 Intern 16 Bit 9.6 MB/s
6 Extern 8 Bit IFCLK/10
7 Extern 16 Bit IFCLK/5
 
Download:
Software   Size Version Win 98 Win Me 2000, 2003, 2008, XP, vista, 7
USB2.dll incl. Delphi 5 Demo Software mit Source Code
zip
1906 KB
V 1.7.15
-
-
x
HTML Help file for USB2dll English
html
150 KB
V 1.7.15
-
-
x
GpifCconverter
zip
180KB
V 1.0
x
x
x
VB Mini IDE
zip
1800 KB
V 0.9
x
x
x
ParBus Editor
zip
270 KB
V 1.5
x
x
x
CYUSB driver (unsigned) unsiged driver install HowTo ?
zip
66 KB
V 3.4120
-
-
x
CYUSB driver (signed) avail with a Company licence
V 3.4120
-
-
x
LabVIEW 2009 vi
zip
3.8 MB
V 1.0
-
-
x

archive files   Grösse Version Win 98 Win Me Win XP Win 2000
USB2.dll incl. Delphi 5 Demo Software with Source Code
zip
2086 KB
V 1.7.10
x
x
x
x
HTML Help file for USB2dll English
html
150 KB
V 1.7.10
x
x
x
x
USB2.dll incl. Delphi 5 Demo Software with Source Code
zip
2006 KB
V 1.7.8
x
x
x
x
HTML Help file for USB2dll English
html
150 KB
V 1.7.8
x
x
x
x
CYUSB Treiber von Cypress
zip
19 KB
V 1.700
-
-
x
x
USB2.dll incl. Delphi 5 Demo Software mit Source Code
zip
1800 KB
V 1.7.4
x
x
x
x
CYUSB Treiber von Cypress
zip
17 KB
V 1.651
-
-
x
x
EZUSB Driver from Cypress NT
zip
10 KB
V 1.3
-
-
x
x
EZUSB Driver from Cypress
zip
10 KB
V 1.3
x
x
-
-
USB2.dll incl. Delphi 5 Demo Software mit Source Code
zip
1800 KB
V 1.7
x
x
x
x
CYUSB Treiber von Cypress
zip
17 KB
V 1.236
-
-
x
x
USB2.dll incl. Delphi 5 Demo Software including source code
zip
1800 KB
V 1.6.1
x
x
x
x
HTML Help file for USB2dll English
html
120 KB
V 1.6.1
x
x
x
x
USB2.dll incl. Delphi 5 Demo Software including source code
zip
1600 KB
V 1.5
x
x
x
x
HTML Help file for USB2dll English
html
120 KB
V 1.5
x
x
x
x
USB2.dll incl. Delphi 5 Demo Software mit Source Code
zip
910 KB
V 1.4
x
x
x
x
HTML Help file for USB2dll English
html
100 KB
V 1.4
x
x
x
x
USB driver Install Help
pdf
176 KB
V 1.0
x
x
x
x
Bestellung:
included in delivery:
1 x
USB USB2.dll
1 x
Delphi 5 Demo source code and more, VC++, VB6
1 x documentation