215 Programmable Hardware Manual (PHM)
© Tibbo Technology Inc.
"Available signals" column shows a particular combination of I/O lines for each
option. For example, option 0 defines the standard serial port arrangement with RX,
TX, CTS, RTS, DSR, and DTR lines. Option 2 gives you one channel with RX, TX,
CTS, and RTS lines, one more channel with just RX and TX lines, and yet another
channel with a single RX line. The TX line is "missing" because, once again, there are
only three outputs available. This is why this line is shown in grey lowercase (tx).
Additional Information on Serial Port Lines
This topic contains information related to programming of the EM1202EV. It assumes
that you are familiar with Tibbo BASIC/C and the concept of "platforms". Everything
you need to know regarding this can be found in TIDE, TiOS, Tibbo BASIC, and
Tibbo C Manual.
You can create Tibbo BASIC/C applications for the EM1202EV using two different
platforms -- the "DS1202" platform and "EM1202" platform. The DS1202 platform can
be used because the EM1202EV is, essentially, a DS1202 device without the plastic
housing. The EM1202 platform can be used because the board is based on the
EM1202 module.
Generally speaking, the EM1202 platform offers "more". It addresses every hardware
faculty of the EM1202. The DS1202 platform is much more limited and only includes
features that can be used when the EM1202 module is mounted on the EM1202EV
board (inside the DS1202 device).
The biggest difference between the two platforms is in how the I/O lines are wired.
The EM1202 platform defines 32 I/O lines. Half of these are not used on the
EM1202EV, and the remaining lines are interconnected. Each line of the serial port
(save for the "spare" line discussed previously) is connected to two GPIO lines of
the EM1202. This was done to ensure more flexible mapping (see Multi-Channel
Serial Port). Care should be taken to avoid enabling both outputs of the same serial
port line simultaneously! This can permanently damage the EM1202. We suggest
that you use GPIO8/P1.0/RX0 - GPIO14/P1.6/RX3 for actual input/output and use
GPIO16/P2.0/INT0 - GPIO19/P2.3/INT3 as interrupt inputs only.
The DS1202 platform "looks" at the same hardware differently and defines fewer I/O
lines. Each of the physical line pair is represented by a single GPIO line. GPIO lines of
the EM1202 that are unused are not defined at all.
GPIO lines of the EM1202
platform -- two lines are
connected to each serial port
line, except in the case of
the "spare" input
GPIO lines of the
DS1202 platform
DB9M pin
and its
conventional
function ("-
RS")
TTL
connector
pin ("-TS",
"-TM")