User manual
Code Mercenaries
8
II
II
OO
OO
--
--
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
55
55
66
66
4.2.2 LCD Mode pins
IO-Warrior56 has support for controlling LCD
modules with a wide range of controllers. Refer to
Application Note 5: "Controlling LCDs with IO-
Warrior" for more information on compatible
modules and how to use them.
The following pins get reassigned when the LCD
function is enabled:
When the LCD function is enabled these pins will
no longer be affected by the normal port setting
command.
/On should be used to enable power supply to LCD
modules that have high current demand or
backlighting. The /On signal is low when the LCD
function is enabled, it does go high when IO-
Warrior enters suspend mode or when the LCD
function is disabled.
By default the follwing pins should be used for
controlling the CS lines of graphic displays with
multiple controller chips:
P4.5 - CS1
P4.6 - CS2
Since the polarity of the CS signals varies between
LCD modules we decided not to handle them in the
special mode function.
The internal pull up resistors of the LCD signal
pins can be disabled by setting the appropriate flag
when enabling the LCD function. This allows IO-
Warrior56 to work with displays that use lower
supply voltage levels.
4.2.3 SPI Mode Pins
IO-Warrior56 has a hardware SPI master interface.
It can communicate with SPI slave devices with a
data clock speed of up to 8MHz. Actual data
throughput depends on a number of factors,
including the size of the data packets that are
transmitted. Possible peak rates are around 62,000
bytes/sec.
The following pins get reassigned when the SPI
function is enabled:
When the SPI function is enabled these pins will
no longer be affected by the normal port setting
command. The driver mode of the pins changes
when SPI is enabled.
SCK and MOSI use CMOS drivers, /SS open drain
with internal pull up, /DRDY is an input with
internal pull up and MISO is high Z input.
Optionally the pins can be switched to open drain
without pull up for /SS, MOSI, SCK and high Z
inputs for MISO and /DRDY. This allows
compatibility with devices that use a lower supply
voltage.
4.2.4 LED Matrix Mode Pins
IO-Warrior56 supports driving a LED matrix with
up to 8x64 LEDs.
When the LED Matrix function is enabled these
pins will no longer be affected by the normal port
setting command.
/OE is driven high when IO-Warrior enters the
suspend mode. The external driver should then
disable to stay within the USB power limits for
suspend mode.
For more details on how to control a LED matrix
please refer to the separate application note.
Function IOW56
/On
RS
P4.0
P4.1
R/W/WE
E/RE
E2/RES
Data0
P4.2
P4.3
P4.4
P3.0
Data1
Data2
Data3
Data4
P3.1
P3.2
P3.3
P3.4
Data5
Data6
Data7
P3.5
P3.6
P3.7
Function IOW56 Pin mode
/DRDY
/SS
P5.3
P5.1
int. pull up / high Z
open drain
MOSI
MISO
SCK
P5.2
P5.4
CMOS or open drain
high Z / input
P5.0 CMOS or open drain
Function IOW56
/OE
Strb
P1.3
P1.2
Clk
Data
P1.1
P1.0
V 1.0.3, November 6nd 2012 for chip version V1.1.0.1