20
Embedded Modules
© Tibbo Technology Inc.
4.1.1.10
LED Lines
The EM2000 has four LED control lines -- SG, SR, EG, and EY. All lines have the
same internal structure and the LEDs should be connected to these lines as shown
on the schematic diagram below. Maximum load for each line is 20mA.
Further information on status LEDs can be found in
Your Tibbo BASIC/C application can control red and green status LEDs, as well as up
to four externally connected LED pairs through the pattern (pat.) object, which is
documented in the TIDE, TiOS, Tibbo BASIC, and Tibbo C Manual.
Note that the EM2000 also features three onboard LEDs: green and red status LEDs,
plus one yellow Ethernet link LED.
4.1.1.11
External LCD Support
Unlike the
does not
offer flexible mapping for
LCD control lines, nor does it support several different LCD controller models. The
only controller supported is SSD1963. Moreover, only one specific configuration is
supported:
·
Data bus width is 8 bits
·
Color depth is 24 bits
Here is how you
must
connect the SSD1963-based LCD controller to the EM2000:
·
Connect the data bus lines DB7-0 to GPIO lines 32-39 (port 4).
·
Connect the RST line to GPIO44.
·
Connect the RS (command/data) line to GPIO43.
·
Connect the WR line to GPIO42.
·
Optionally connect the RD line to GPIO41 (this line is not used on the current
driver version but may be used in the future).
·
Connect the CS line to GPIO40.
·
Note that most LCD panels have a dedicated pin for controlling the backlight. If
your LCD panel has such a line, connect it to any suitable line of the EM2000 and
control it from your Tibbo BASIC/C code.