Code Mercenaries IOW24-DG User manual

Code Mercenaries
1
IIIIOO
OO
WW
22
22
44
44----
DD
DD
GG
GG
1. Features
• USB interface
• USB V1.1/2.0 low speed device
• 100 kHz I2C (IIC / TWI) master
• Throughput up to 750 byte/s
• Based on IO-Warrior24
• Supports clock stretching
• Programmable timeout
• Supports Sensirion sensor protocol
• 5 V and 3.3 V available for external circuit
• Uses standard system drivers
• Standard form factor, no blocked ports
1.1 Variants
The standard IOW24-DG is shipped as a kit contai­ning an assembled and tested PCB, a two part dongle case, and a four wire cable to solder to the dongle as required for the target application.
1.2 Custom variants
OEM versions with specialized cables or custom modifications are possible
2. Functional overview
IOW24-DG packages a standard IO-Warrior24 in a small form factor dongle case with a 3.3 V voltage regulator. The I2C signals of the IO-Warrior24 are made available externally through solder pads to allow application specific cabling to be attached. All soft­ware and tools for IO-Warrior24 are also usable for the dongle. The I2C interface works as a bus master and sup­ports clock stretching handshake. A timeout can be programmed to avoid hanging due to misbehaving slaves. For compatibility with low voltage slaves the inter­nal pull up resistors of IOW24 can be switched off by software command. In addition to the standard I2C protocol the deriva­tive protocol used by Sensirion to talk to their hu­midity sensors is also supported.
3. Connecting the cable
The function of the signals is marked on the board next to the solder pads for the cable:
3.3 3.3V output, max. 50mA +5 5V from USB, max. 100mA
-Ground DA I2C SDA signal CL I2C SCL signal
Solder the cable to the pads as required for your application. The 5V and 3.3V supplies are meant to be used ex­clusive of each other. If both are used at the same time the combined current may not exceed 100mA.
Dongle shown from both sides.
V1.0.0 September 8th 2009
USB to I2C Dongle based on IO-Warrior24
Code Mercenaries
2
IIIIOO
OO
WW
22
22
44
44----
DD
DD
GG
GG
3.1 Compatibility with 3.3 V slaves
If a 3.3V slave is to be connected the internal pull up resistors of the IOW24 should be switched off by software on enabling the I2C function. This requires external pull up resistors which may be added either on the slave side or soldered to the lower side of the dongle PCB. It is recommended to add protection diodes so the slave does not see 5V on the signal lines before the I2C function of the IO-Warrior24 is initialized. There are landing pads for four components on the lower side of the dongle PCB, the outer ones are intended for pull up resistors, the inner ones for protection diodes. The pads facing the end of the board connect to 3.3 V. Protection diodes must connect to 3.3 V with their cathodes. MELF packages are not recommended since they are too thick to fit in the dongle case
4. Software/Programming support
The IO-Warrior SDK is used with the dongle. The SDK, additional software, and the data sheet for the IO-Warrior is available on our website.
5. FCC / CE
The IOW24-DG is sold as kit. As such it can not be FCC or CE approved. Code Mercenaries has excerted greatest care in designing this module to minimize RF emission and assure stable operation. Though the use of proper cable materials and correct integration into a device is crucial to assure product safety and interference free operation. The integrator who assembles the module into a device has to take care for appropriate testing and safety measures.
6. Ordering information
The standard packaging for IOW24-DG is a blister pack containing the parts for one unit. The order code is: IOW24-DG
Legal Stuff
This document is ©1999-2009 by Code Mercenaries.
The information contained herein is subject to change without notice. Code Mercenaries makes no claims as to the completeness or correctness of the information contained in this document.
Code Mercenaries assumes no responsibility for the use of any circuitry other than circuitry embodied in a Code Mercenaries product. Nor does it convey or imply any license under patent or other rights.
Code Mercenaries products may not be used in any medical apparatus or other technical products that are critical for the functioning of lifesaving or supporting systems. We define these systems as such that in the case of failure may lead to the death or injury of a person. Incorporation in such a system requires the explicit written permission of the president of Code Mercenaries.
Trademarks used in this document are properties of their respective owners.
Code Mercenaries Hard- und Software GmbH Karl-Marx-Str. 147a 12529 Schönefeld OT Grossziethen Germany Tel: x49-3379-20509-20 Fax: x49-3379-20509-30 Mail: support@codemercs.com Web: www.codemercs.com
HRB 9868 CB Geschäftsführer: Guido Körber, Christian Lucht
V1.0.0 September 8th 2009
Code Mercenaries
1
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
1.0 Features
• USB interface
• USB V1.1/2.0 compliant low speed device
• USB HID 1.1 compliant
• 32 general purpose I/O pins on IOW40 16 general purpose I/O pins on IOW24
• Supports IIC compatible devices
• Supports HD44780 compatible display modules and several graphic display modules
• Supports SPI slave devices up to 2MBit/sec (IOW24)
• Supports receiving RC5 IR remote control data (IOW24)
• Drives LED matrix up to 8x32 with few external shift registers
• Supports 8x8 or 16x8 switch or key matrix (IOW40)
• Two 24 bit capture timers with 4sec resolution (IOW24)
• Easy to use starter kit
• Software support for Mac, Linux, and Windows
• No USB knowledge necessary to use
• Single +5V power supply
• Available SSOP48 package and DIL40 module (replacing PDIP40 package), or DIL24 and SOIC24.
1.1 Variants
IO-Warrior is available in several variants. The IOW24PowerVampire and the IO-Warrior56 are covered by separate data sheets. Custom modifications are possible.
IO-Warrior24
• 16 general purpose I/O pins, typ. 125Hz read
• IIC master, typ. 750 bytes/sec throughput
• Alphanumeric and graphic display support
• RC5 IR remote control receiver
• Hardware SPI master interface up to 2Mbit/sec bitrate, typ. 750 bytes/sec throughput
• LED matrix with up to 8x32 LEDs with the support of external register/drivers
• Two 24 bit capture timers with 4sec resolution
• Minimal external component count
• Identifies as either low power (100mA) or high power (500mA) bus powered device. Pin selectable
• Easy to use starter kit for immediate access
• DIL24 or SOIC24 package
IO-Warrior40
• 32 general purpose I/O pins, typ. 125Hz read
• IIC master, typ. 750 bytes/sec throughput
• Alphanumeric and graphic display support
• LED matrix with up to 8x32 LEDs with the support of external register/drivers
• 8x8 or 16x8 switch or key matrix
• Minimal external component count
• Identifies as either low power (100mA) or high power (500mA) bus powered device. Pin selectable
• Easy to use starter kit for immediate access.
• SSOP48 package or DIL40 module (replacing PDIP40 package)
1.2 Custom variants
Custom adaptions are available on request. If necessary complex functions can be added to the standard chips to directly control specific circuits.
2.0 Functional overview
IO-Warrior offers a simple access to the USB. Many projects that formerly used the parallel port or some other kind of direct I/O interface today face the problem that getting simple things to work on the USB is quite complex. With a serial or parallel port you needed only a simple circuit to control an external relay or read a single switch. With USB you need a microcontroller that handles all the protocol work to do the same thing. Several standard commands need to be supported to get a device accepted as a USB device, let alone implementing any real function. IO-Warrior brings simplicity to the USB. The protocol is encapsulated in the IO-Warrior Chip. You only have to care about the 16 or 32 I/O pins and have to write only a few simple lines of code to access them. IO-Warrior also supports a range of industrial standard interfaces to simplify interfacing to certain chips or modules. These interfaces are handled internally in IO-Warrior removing the bandwith wasting controlling of individual pins.
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Generic universal I/O Controller for USB
Code Mercenaries
2
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
Content
1.0 Features 1
1.1 Variants 1
1.2 Custom variants 1
2.0 Functional overview 1
2.1 Product selection matrix 3
3.0 Pin Configurations 5
4.0 Pin Descriptions IO-Warrior40 8
4.1 Pin Descriptions IO-Warrior24 8
4.2 Pin descriptions 9
4.3 Special mode pin functions 9
4.3.1 IIC Mode pins 10
4.3.2 LCD Mode pins 10
4.3.3 SPI Mode Pins (IOW24 only) 10
4.3.4 RC5 Mode Pins (IOW24 only) 10
4.3.5 LED Matrix Mode Pins 11
4.3.6 Switch Matrix Mode Pins (IOW40 only) 11
4.3.7 Capture Timer Mode Pins (IOW24 only) 11
5.0 Device Operation 12
5.1 Accessing IO-Warrior 12
5.2 IO-Warrior communication 12
5.3 IO-Warrior input behaviour 12
5.5 IO-Warrior output behaviour 12
5.6 Using pins as inputs or outputs 12
5.7 Power supply 13
5.8 Suspend 13
5.9 Remote Wakeup 13
5.10 Special mode I/O 14
5.10.1 IIC Special mode function 14
5.10.2 LCD Special mode function 16
5.10.3 SPI Special mode function (IOW24 only) 17
5.10.4 Getting current pin status 18
5.10.5 Receiving RC5 IR codes (IOW24 only) 18
5.10.6 Driving LED matrix 18
5.10.7 Switch Matrix Mode (IOW40 only) 19
5.10.8 Capture Timers (IOW24 V1.0.3.0 only) 20
7.1 Packaging info 24
7.2 USB VendorID and ProductID 24
7.3 Serial numbers 24
7.4 Currently shipping versions 24
8.2 Warning about USB cables 27
8.3 Jumpers on the IOW40 Starter Kit 27
8.3.1 Jumpers on the IOW24 Starter Kit 27
8.4 Adding custom circuits 27
8.5 Example circuits 27
8.5.1 Drivers 27
8.5.2 Isolating inputs 28
8.5.3 Protecting inputs and outputs 28
8.5.4 Using the LCD function 28
9.0 Package Dimensions 30
10.0 ESD Considerations 32
10.1 EMC Considerations 32
11.0 Revision History 33
12.0 Legal Stuff 34
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
3
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
2.1 Product selection matrix
2.2 Starter Kits
With the IO-Warrior Starter Kits you can make your first steps with IO-Warrior40 or IO-Warrior24 easily. A couple elements on the kit allow first experiments with inputs and outputs, the bread board area provides space to test your individual circuit. There are separate starter kits for IOW40 and IOW24. The starter kits are sold unassembled. A couple minutes soldering will provide you with a working unit.
2.2.1The IO-Warrior40 Starter Kit
The IOW40KIT for IO-Warrior40 provides eight LEDs and a button that can be used for first experiements. The starter kit is sold unassembled. Assembled the starter kit for IO-Warrior40 looks similar to this:
Actual components supplied with the kit may vary from those shown here.
Type
IO-Warrior40 IO-Warrior24
I/O Pins
LCD
32 16
 
IO-Warrior24PV IO-Warrior56
12 50
IIC SPI
 
RC5 IR Keys


LEDs Timer
 
DIL40 SSOP48

DIL24 SOIC24

Starter Kit
 

V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
4
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
2.2.2 The IO-Warrior24 Starter Kit
The IOW24KIT for IO-Warrior24 provides a LED, an IR receiver, and the circuit and connector to directly connect a LCD module. The starter kit is sold unassembled. Assembled the starter kit for IO-Warrior24 looks similar to this:
Actual components supplied with the kit may vary from those shown here.
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
5
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
3.0 Pin Configurations
IO-Warrior40-MOD
DIL40 Module
All drawings: TOP VIEW!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
DDDD++
++
DDDD--
--
PPPP3333....7777////YYYY77
77
PPPP3333....6666////YYYY66
66
PPPP3333....5555////YYYY5
5
55
PPPP3333....4444////YYYY44
44
PPPP3333....2222////YYYY22
22
PPPP3333....1111////YYYY11
11
PPPP3333....00
00////YYYY0000
PPPP2222....7777////XXXX77
77
PPPP2222....6666////XXXX66
66
PPPP2222....5555////XXXX55
55
PP
P
P2222....4444////XXXX4444
PPPP2222....3333////XXXX33
33
PPPP2222....2222////XXXX22
22
PPPP2222....1111//
//
XXXX11
11
PPPP2222....0000////XXXX00
00
LLLLCCCCDDDD----DDDDBBBB7777////PPPP1111....7777////XXXX111155
55
P
PPP1111....6666////LLLLCCCCDDDD----DDDDBBBB6666////XXXX111144
44
LLLLCCCCDDDD----DDDDBBBB5555////PPPP11
11....5555////XXXX11113333
PPPP1111....4444////LLLLCCCCDDDD----DDDDBBBB4444////XXXX111122
22
LLLLCCCCDD
D
D----DDDDBBBB3333////PPPP1111....3333////XXXX11111111
PPPP1111....2222////LLLLCCCCDDDD----DDDDBBBB2222////XXXX111100
00
LLLLCCCCDDDD----DDDDBBBB1111////PPPP1111....1111////XXXX99
99
PPPP1111....0000////LLLLC
CCCDDDD----DDDDBBBB0000////XXXX88
88
IIIIIIIICCCC----SSSSDDDDAAAA////PPPP0000....77
77
PPPP0000....6666//
//
IIIIIIIICCCC----SSSSCCCCLL
LL
LLLLCCCCDDDD----EEEE////PPPP0000....55
55
PPPP0000....4444////LLLLCCCCDDDD--
-
-RRRR////WWWW
LLLLCCCCDDDD----RRRRSSSS////PPPP0000....33
33
PPPP0000....2222////LLLLCCCCDDDD----////OO
OO
nn
nn
PPPP0000....11
11
PPPP0000....00
00
PPPPuuuullllllllTTTTooooGGGGNNNNDD
DD
GGGGNNNNDD
DD
XXXXIIIInn
nn
XXXXOO
OO
uuuutt
tt
GGGGNNNNDD
DD
VVVVcccccc
cc
PPPP3333....3333////YYYY33
33
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
6
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
IO-Warrior 40-S
SSOP48
All drawings: TOP VIEW!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 2524
23
22
21
DDDD++
++
DDDD--
--
PPPP3333....7777////XXXX77
77
PPPP3333....6666////YYYY66
66
PPPP3333....5555////XX
X
X5555
PPPP3333....4444////YYYY44
44
PPPP3333....2222////YYYY22
22
PPPP3333....1111////XXXX11
11
PPPP3333..
..
0000YYYY00
00
NNNNCC
CC
NNNNCC
CC
NNNNCC
CC
NNNNCC
CC
NNNNCC
CC
NNNNCC
CC
NNNNCC
CC
NNNNCC
CC
LLLLCCCCDDDD----DDDDBBBB7
777////PPPP1111....7777////XXXX111155
55
PPPP1111....6666////LLLLCCCCDDDD----DDDDBBBB6666////XXXX111144
44
LLLLCCCCDDDD----DDDDBBBB5555////PPPP1111....5555////XXXX111133
33
PPPP1111....4444////LLLLCCCCDDDD--
-
-DDDDBBBB4444////XXXX11112222
LLLLCCCCDDDD----DDDDBBBB3333////PPPP1111....3333////XXXX111111
11
PPPP11
11
....2222////LLLLCCCCDDDD----DDDDBBBB2222////XXXX111100
00
LLLLCCCCDDDD----DDDDBBBB1111////PPPP1111....1
111////XXXX99
99
PPPP1111....0000////LLLLCCCCDDDD----DDDDBBBB0000////XXXX88
88
IIIIIIIICCCC----SSSSDDDDAA
AA
////PPPP0000....77
77
PPPP0000....6666////IIIIIIIICCCC----SSSSCCCCLL
LL
LLLLCCCCDDDD----EEEE////PPPP0000..
.
.5555
PPPP0000....4444////LLLLCCCCDDDD----RRRR////WW
WW
LLLLCCCCDDDD----RRRRSSSS////PPPP0000....33
33
PP
PP
0000....2222////LLLLCCCCDDDD----////OOOOnn
nn
PPPP0000....11
11
PPPP0000....00
00
PPPPuuuullllllllTTTTooooGG
G
GNNNNDDDD
GGGGNNNNDD
DD
XXXXIIIInn
nn
XXXXOOOOuuuutt
tt
GGGGNNNNDD
DD
VVVVcccccc
cc
41
42
43
44
45
46
47
48
PPPP3333....3333////XXXX33
33
PPPP2222....7777////XXXX77
77
PPPP2222....6666////XXXX66
66
PPPP2222....55
5
5////XXXX5555
PPPP2222....4444////XXXX44
44
PPPP2222....3333////XXXX33
33
PPPP2222....2222////XXXX22
22
PP
PP
2222....0000////XXXX00
00
PPPP2222....1111////XXXX11
11
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
7
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
IO-Warrior 24-P/-S
DIL24 / SOIC24
All drawings: TOP VIEW!
1 2 3 4 5 6 7 8 9 10 11 12 13
14
15
16
17
18
19
20
PPPP0000....0000////RRRRxxxxDDDD////CCCCAAAAPPPPAA
AA
IIIIIIIICCCC----SSSSCCCCLLLL////PPPP0000....11
11
////CCCCAAAAPPPPBB
BB
IIIIIIIICCCC----SSSSDDDDAAAA////PPPP0000....22
22
PPPP0000....6666////SSSSPPPPIIII--
--
MMMMIIIISSSSOOOO////LLLLCCCCDDDD----RRRR////WW
WW
SSSSPPPPIIII----DDDDRRRRDDDDYYYY////PPPP0000....33
33
LL
L
LCCCCDDDD----DDDDBBBB0000////PPPP1111....0000
LLLLCCCCDDDD----DDDDBBBB4444////PPPP1111....44
44
PPPP11
11....1111////LLLLCCCCDDDD----DDDDBBBB1111
LLLLCCCCDDDD----DDDDBBBB2222////PPPP1111....22
22
PPPP1111....3
333////LLLLCCCCDDDD----DDDDBBBB33
33
GGGGNNNNDD
DD
DDDD++
++
PPPPuuuullllllllTTTTooooGGGGNNNNDD
DD
DDDD--
--
VV
VV
rrrreeeegg
gg
VVVVcccccc
cc
PPPPoooowwwweeeerr
rr
NNNNCC
CC
PPPP0000....5555////SSSSPPPPIIII----MMMMOOOOSSSSII
I
I////LLLLCCCCDDDD----RRRRSSSS
PPPP0000....4444////SSSSPPPPIIII----SSSSSSSS////LLLLCCCCDDDD----////OOOOn
n
nn
21
22
23
24
LLLLCCCCDDDD----DDDDBBBB6666////PPPP1111....66
66
PPPP1111....7777////LLLLCCCCDDDD----DDDDBBBB77
77
PP
P
P0000....7777////SSSSPPPPIIII----SSSSCCCCKKKK////LLLLCCCCDDDD----EEEE
PPPP1111....5555////LLLLCCCCDDDD-
---DDDDBBBB55
55
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
8
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
4.0 Pin Descriptions IO-Warrior40
4.1 Pin Descriptions IO-Warrior24
Name
I/O
Type
Pins (DIL40)
Description
D+, D-
P0.0, P0.1, P0.2, P0.3, P0.4, P0.5, P0.6, P0.7
I/O
I/O
special
I/O open drain, internal pullup
1, 2
23, 18, 24, 17, 25, 16, 26, 15
USB differential data lines
First I/O Port. P0.0 is used at power on to select low or high power mode
P1.0, P1.1, P1.2, P1.3, P1.4, P1.5, P1.6, P1.7
P2.0, P2.1, P2.2, P2.3, P2.4, P2.5, P2.6, P2.7
P3.0, P3.1, P3.2, P3.3, P3.4, P3.5, P3.6, P3.7
PullToGND
I/O
I/O
I/O open drain, internal pullup
I/O open drain, internal pullup
I/OII/O open drain, internal pullup
27, 14, 28, 13, 29, 12, 30, 11
31, 10, 32, 9, 33, 8, 34, 7
Second I/O Port
Third I/O Port.
35, 6, 36, 5, 37, 4, 38, 3
19
Fourth I/O Port. P3.7 must be pulled high with a 100k resistor for proper operation of the chip. Strong drive outputs, capable of driving LEDs direct.
Used during manufacturing, connect to GND
GND
Vcc
XOut
XIn
Power supply
Power supply
OI20, 39
40
Ground
Supply voltage
2221On chip oscillator output
On chip oscillator input
Name
I/O
Type
Pins
Description
D+, D-
P0.0, P0.1, P0.2, P0.3, P0.4, P0.5, P0.6, P0.7
I/O
I/O
special
I/O open drain, internal pullup
16, 15
1, 2, 3, 4, 24, 23, 22, 21
USB differential data lines
First I/O Port.
P1.0, P1.1, P1.2, P1.3, P1.4, P1.5, P1.6, P1.7
Power PullToGND
GND
I/OII/O open drain, internal pullup Input internal pull down
I
Power supply
5, 20, 6, 19, 7, 18, 8, 17 12
Second I/O Port
Used to set high or low power mode 109Used during manufacturing, connect to GND
Ground
Vcc
VregNCO
Power supply
Regulated 3V out
-1411
Supply voltage
Power for D- pullup resistor
13
do not connect
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Code Mercenaries
9
IIIIOO
OO----
WW
aa
aarrrrrrrriiii
oo
oorrrr
4.2 Pin descriptions
D+, D-
Differential data lines of USB. Connect these signals direct to a USB cable. D- requires a pull up resistor, see application circuit for details. For a PCB layout make sure to run these two signals next to each other. USB data is a differential signal that produces best signal quality and lowest RF emission if the two lines are close to each other.
P0.0..P0.7
First I/O port of the chip. These pins correspond with the lowest 8 bits of the input or output (bits
0..7). On IOW40 P0.0 serves the double purpose of determining the power mode of the chip. To set the desired power mode P0.0 must be pulled high or low using a 100k resistor (or less). IO-Warrior40 reads the status on this pin after a reset prior to enabling the internal pull up resistor. A high on P0.0 on reset sets the high power mode, this means the IO-Warrior40 will report as a high power, bus powered device drawing up to 500mA. Pulling P0.0 low on reset sets the low power mode specifying 100mA maximum power draw.
P1.0..P1.7
Second I/O Port. Corresponds to the bits 8..15.
P2.0..P2.7 (IOW40 only)
Third I/O Port. Corresponds to the bits 16..23.
P3.0..P3.7 (IOW40 only)
Fourth I/O Port. Corresponds to the bits 24..31. P3.7 does need to be pulled high with a 100kresistor on power up. This is necessary for proper function of the chip. P3.0..P3.7 have sufficient current sinking capability to directly drive LEDs.
Pull to GND
This pin is used during production of the IO­Warrior chips, connect to GND.
XOut, XIn (IOW40 only)
Connection for external oscillator. A 6MHz ceramic resonator should be connected here, no additional components necessary. Using a crystal results in unstable operation as the oscillator is optimized for use with ceramic resonators. An external 6MHz clock may be connected to XIn, XOut has to be left floating in this case.
GND
Power supply ground.
Vcc
Supply voltage.
A 100nF ceramic capacitor is required to be connected directly to the power supply pins. The two ground pins of IO-Warrior have to be connected in the shortest possible way, no other considerations may have any precedence over this.
Vreg (IOW24 only)
Regulated 3V output, to be used only for the purpose of powering the USB D- pull up resistor. Do not use this pin as a supply for any other circuit than the pull up resistor.
Power (IOW24 only)
Input to set the power mode. The status of the pin is checked only at power up and bus reset. Pulling this pin to high sets high power mode, this means the IO-Warrior24 will report as a high power, bus powered device drawing up to 500mA. Pulling Power low on reset sets the low power mode specifying 100mA maximum power draw.
4.3 Special mode pin functions
IO-Warrior supports driving IIC compatible chips and HD44780 compatible display modules and some other display modules direct. IO-Warrior24 does also have a SPI interface. Handling IIC via the normal generic I/O would be very slow as each edge of data and clock would have to be transmitted separately. At a rate of 125 such transactions per second (which is about the maximum IO-Warrior is allowed by USB specifications) the maximum bit rate would be around 30 bits/sec. To make IIC and other devices usable IO-Warrior implements the special mode functions. By handling the IIC inside IO-Warrior the actual data rate is increased to about 6000 bits/sec or 750 bytes/sec. When any of the special mode functions is activated a couple pins will no longer respond as generic I/O pins but are under control of the activated special mode function.
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Loading...
+ 25 hidden pages