User manual

Code Mercenaries
4
KK
KK
ee
ee
yy
yy
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
22
22
44
44
4 Pin Descriptions KeyWarrior24-8/KeyWarrior24-8M
V 1.1.0, May xxx 2011, for chip revision 1.1.1.4 DRAFT!
Code Mercenaries
4
KK
KK
ee
ee
yy
yy
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
22
22
44
44
4.2 Pin Descriptions KeyWarrior24-S3
4.3 Pin Functions KeyWarrior24-S3
D+, D-
Differential data lines of USB. Connect these
signals direct to the USB cable or type B plug.
Vreg
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.
A0, B0, A1, B1, A2, B2
Encoder inputs. Up to three incremental encoders
with quadrature signals may be connected here.
Key generation is triggered on the rising edge of A,
the status of B is then used to determine which one
of two codes is generated. The assigned keys are
pressed and released immediately. Macros can be
assigned to encoders.
Internal pull up resistors are activated on device
reset.
Sw[0:8]
Inputs for the nine keys. Switches closing to
ground should be connected here.
Internal pull up resistors are activated on device
reset.
/En
Enable output for the power supply to the
encoders. To meet USB standby power
specifications it is necessary to disable the power
supply to the encoders during USB suspend status.
Power to the encoders must be supplied only when
this pin is low.
Full
Pulling this pin high reduces the encoder resolution
to full pulses, i.e. a key stroke is generated only
after a full encoder step with four edges on the A/B
lines did happen.
Internal weak pull down resistor.
Pull to GND
This pin is used during production of the
KeyWarrior chips, connect to GND.
GND
Power supply ground.
Vcc
Supply voltage.
Name
I/O
Type
Pins
D+, D-
A0, B0, A1,
B1, A2, B2
I/O
I
special
inputs with internal
pull ups
16, 15
1, 2, 3, 4, 24, 23, 22,
21
Sw0..Sw8
/En
Full
PullToGND
I
O
inputs with internal
pull ups
open drain output with
internal pull up
I
input, internal weak
pull down
5, 20, 6, 19, 7, 18, 8,
17
12
10
GND
Vcc
Vreg
NC
Power supply
Power supply
O
-
Regulated 3V out
9
14
11
13
V 1.1.2, December 2nd 2013, for chip revision 1.1.1.4/1.1.1.B and up