| Name |
Pin |
Function/Connection |
| Port 1 |
| P1.0 |
1 |
LED/Direct LCD DB0. Used to control the D6 LED if
JP1 is connected. Also used as DB0 when the LCD is connected as a direct-connection.
|
| P1.1 |
2 |
I2C SDA/Direct LCD DB1. Used as the SDA line to access
the DS1307 via I2C. Also used as DB1 when the LCD is connected as a direct-connection.
|
| P1.2 |
3 |
I2C SCL/Direct LCD DB2. Used as the SCL line to access
the DS1307 via I2C. Also used as DB2 when the LCD is connected as a direct-connection.
|
| P1.3 |
4 |
Direct LCD DB3. Used as DB2 when the LCD is connected as a direct-connection.
|
| P1.4 |
5 |
SPI SS/Direct LCD DB4. Used to select the AT25010A for SPI access.
Also used as DB4 when the LCD is connected as a direct-connection.
|
| P1.5 |
6 |
SPI MOSI/Direct LCD DB5. Used as MOSI when communicating with
the AT25010A via SPI and when in AT89S8252 ISP mode. Also used as DB5 when the LCD is connected as a direct-connection.
|
| P1.6 |
7 |
SPI MISO/Direct LCD DB6. Used as MISO when communicating with
the AT25010A via SPI and when in AT89S8252 ISP mode. Also used as DB6 when the LCD is connected as a direct-connection.
|
| P1.7 |
8 |
SPI SCK/Direct LCD DB7. Used as SCK when communicating with
the AT25010A via SPI and when in AT89S8252 ISP mode. Also used as DB7 when the LCD is connected as a direct-connection.
|
| Port 3 |
| P3.0 |
10 |
RXD. Connected to the MAX232 for RS-232 serial communication.
|
| P3.1 |
11 |
TXD. Connected to the MAX232 for RS-232 serial communication.
|
| P3.2 |
12 |
AT25010A Write Protect. Connected to the -WP pin of the
AT25010A serial EEPROM, active low. When low the AT25010A will be write protected. When
high the AT25010A will not be write protected.
|
| P3.3 |
13 |
Direct LCD E/Interrupt 1 Button. Used to drive the LCD E line
when the LCD is connected as a direct-connection. Also connected to momentary push-button.
If button is pressed this line will be brought low which may activate an external 1
interrupt.
|
| P3.4 |
14 |
Direct LCD RW. Used to drive the LCD RW line
when the LCD is connected as a direct-connection. Not used if LCD
is connected as memory-mapped device.
|
| P3.5 |
15 |
Direct LCD RS. Used to drive the LCD RS line
when the LCD is connected as a direct-connection.
|
| P3.6 |
16 |
WR. Asserted automatically by the microcontroller to
write to external memory/memory-mapped devices with the MOVX instruction.
|
| P3.7 |
17 |
RD. Asserted automatically by the microcontroller to
read from external memory/memory-mapped devices with the MOVX instruction.
|
| Port 2 and Port 0 |
| Both ports 2 and 0 are connected to
the address bus and are driven automatically by the microcontroller. None
of the pins are used by the SBC for any other functions. |