You are on page 1of 22

AT89C5131A Starter Kit

..............................................................................................

Hardware User Guide


Table of Contents

Section 1
Introduction ........................................................................................... 1-1
1.1 Features ....................................................................................................1-1

Section 2
Hardware Description ........................................................................... 2-3
2.1 Block Diagram...........................................................................................2-3
2.2 Power Supply ............................................................................................2-4
2.3 C51 Standard Settings ..............................................................................2-5
2.4 Feature Description...................................................................................2-6
2.5 External Connectors .................................................................................2-8

Section 3
Device Programming ............................................................................ 3-9
3.1 In-System Programming ...........................................................................3-9
3.2 Using a Programmer .................................................................................3-9

Section 4
Appendix............................................................................................. 4-11
4.1 Electrical Schematics ..............................................................................4-12
4.2 Component Placement ...........................................................................4-16
4.3 Mechanical Outlines................................................................................4-17
4.4 Bill of Materials........................................................................................4-17

1 AT89C5131A Starter Kit Hardware User User Guide


4245A–USB–11/04
Section 1
Introduction

This document describes the AT89C5131A Starter Kit Evaluation Board dedicated to
the AT89C5131A USB microcontroller. This board is designed to allow an easy evalua-
tion of the product using demonstration software (refer to Software Guide).

1.1 Features The AT89C5131A evaluation board provides the following features:
„ Possibility to choose between two packages for the AT89C5131A
– PLCC 52-pin package
– VQFP 64-pin package
„ On-board power supply circuitry
– from an external power connector
– from an external battery
– from the USB line via the USB on-board connector
„ On-board reset, INT0, LEDs, EA, ISP and programming interface
„ Power, ALE, RS232 Rx and Tx LEDs
„ External system clock connector
„ PCA clock connector
„ USB, TWI, SPI and RS232 hardware connectors
„ Two Connectors available for extended board

AT89C5131A Starter Kit Hardware User Guide 1-1


Rev. 4245A–USB–11/04
Introduction

Figure 1-1. AT89C5131A Evaluation Board

1-2 AT89C5131A Starter Kit Hardware User Guide


4245A–USB–11/04
Hardware Description

Section 2
Hardware Description

2.1 Block Diagram

Figure 2-1. AT89C5131A Evaluation Board Components

Device

Power USB TWI


Supply

SPI Device

Reset
ISP AT89C5131A
EA
INT0 Host,
RS232 Device...

Programming
C51 Generic Board Interface LED
Interface

C51 Generic Board Human Specific Device

AT89C5131A Starter Kit Hardware User Guide 2-3


4245A–USB–11/04
Hardware Description

2.2 Power Supply The on-board power supply circuitry allows various power supply configurations.
The power source can be:
– VBUS from USB (5V)
– VBUS from USB (5V) through the current limiter
– External power supply (from 6 to 12V) or 9V battery
The voltage output can be the direct power source, regulated at 5V or 3.3V.
The power supply selection is performed using the JP2, JP3, JP4 and JP5 jumpers.
The power supply can be turned on/off using the “power” switch (SW6). Once the power
is established, the power LED (D9) is lit.

Figure 2-2. Different Power Configurations

Power
Source VBUS VBUS and External
Regulation Current Limiter
VBUS

VBUS

VBUS
PWR.S. PWR.S. PWR.S.

LIM LIM LIM


Direct Input REG REG REG

VCC 5V VCC 5V VCC 5V


ICC

ICC

ICC
3.3V 3.3V 3.3V

PWR PWR PWR


VBUS

VBUS

VBUS
PWR.S. PWR.S. PWR.S.

LIM LIM LIM

5V Regulate REG REG REG

VCC 5V VCC 5V VCC 5V


ICC

ICC

ICC
3.3V 3.3V 3.3V

PWR PWR PWR


VBUS

VBUS

VBUS

PWR.S. PWR.S. PWR.S.

LIM LIM LIM

3.3V Regulate REG REG REG

VCC 5V VCC 5V VCC 5V


ICC

ICC

ICC

3.3V 3.3V 3.3V

PWR PWR PWR

2-4 AT89C5131A Starter Kit Hardware User Guide


4245A–USB–11/04
Hardware Description

2.3 C51 Standard


Settings

2.3.1 Reset The external Reset push-button (SW3) is provided to easily generate a warm reset. This
button is used for ISP process. The Reset applied is active low.
2.3.2 Clock A crystal can be easily installed on the Y1 socket. The clock can also be provided using
the J8 connector instead of the crystal.

Note: Remove the clock generators before the using the programmer.
2.3.3 EA Place a jumper on the EA connector (J10) to force the EA pin to ground and execute
external code. Otherwise internal code will be executed.

Figure 2-3. EA Circuitry

2.3.4 INT0 In order to use the on-board INT0 circuitry, connect the J7 Jumper to the AT89C5131A.
When you press the INT0 button (SW5), the P3.2 pin will go low which induces an inter-
rupt event.
Note: Remove the J7 jumper before using the programmer. Otherwise the program-
mer will not function.

Figure 2-4. INT0 Circuitry

AT89C5131A Starter Kit Hardware User Guide 2-5


4245A–USB–11/04
Hardware Description

2.4 Feature
Description

2.4.1 RS232 The AT89C5131A evaluation board includes all the required hardware to manage the
RS232 communication.

Figure 2-5. RS232 On-board Circuitry

2.4.2 USB Peripheral The AT89C5131A evaluation board provides all the required hardware to develop a
USB firmware for the AT89C5131A, this includes:
– a USB connector
– 2 test points on D+ and D-
– 1 test point on VBUS
– a USB UNLOAD button which allows to disconnect the pull-up on D+ and then
to simulate an Attach/Detach of the USB cable
The USB peripheral can also be used to perform an In-System Programming.

2-6 AT89C5131A Starter Kit Hardware User Guide


4245A–USB–11/04
Hardware Description

2.4.3 TWI Peripheral The CT3 and CT5 contacts have to be soldered in order to use the SDA and SCL alter-
nate P4.1 and P4.0 port configuration on the SPI connector (J4).
In order to use these signals on the J5 extension connector (SDA and SCL), the CT4
and CT6 contacts have to also be soldered.

2.4.4 SPI Peripheral

2.4.5 LED Controller The AT89C5131A controller includes an LED controller on:
– P3.3 (LED 0)
– P3.5 (LED 1)
– P3.6 (LED 2)
– P3.7 (LED 3)
The on board LEDs can be controlled with the AT89C5131A if the corresponding con-
tacts CT9, CT10, CT11 and CT12 are bypassed.

Figure 2-6. On-board LEDs for LED Controller


0 CT9
LED 0 1 CT10
LED 1 2 CT11
LED 2
3 CT12
LED 3 LED

AT89C5131A Starter Kit Hardware User Guide 2-7


4245A–USB–11/04
Hardware Description

2.5 External These two external connectors to build a customer extended board easily.
Connectors

Figure 2-7. Top View of J5 and J6 Connectors


J5 J6
48 47 48 47
P1.0 VCC 4.35 12V P0.0
46 45 46 45
P1.1 VSS 4.35 12V P0.1
44 43 44 43
P1.2 SDA VSS P0.2
42 41 42 41
P1.3 SCL NC P0.3
40 39 40 39
P1.4 NC NC P0.4
38 37 38 37
P1.5 RESET NC P0.5
36 35 36 35
P1.6 EA NC P0.6
34 33 34 33
P1.7 BP1 NC P0.7
32 31 32 31
P3.0 A16 NC P2.0
30 29 30 29
P3.1 NC NC P2.1
28 27 28 27
P3.2 VSS NC P2.2
26 25 26 25
P3.3 XTAL2 PSEN P2.3
24 23 24 23
P3.4 VSS VSS P2.4
22 21 22 21
P3.5 NC ALE P2.5
20 19 20 19
P3.6 - WR NC P1.0 - KBD 0 P2.6
18 17 18 17
P3.7 - RD NC P1.1 - KBD 1 P2.7
16 15 16 15
NC NC P1.2 - KBD 2 P4.0
14 13 14 13
NC NC P1.3 - KBD 3 P4.1
12 11 12 11
NC NC P1.4 - KBD 4 NC
10 9 10 9
NC NC P1.5 - KBD 5 NC
8 7 8 7
NC NC P1.6 - KBD 6 NC
6 5 6 5
NC BUZZER P1.7 - KBD 7 NC
4 3 4 3
NC VSS VSS NC
2 1 2 1
NC VSS VSS NC

2-8 AT89C5131A Starter Kit Hardware User Guide


4245A–USB–11/04
Section 3
Device Programming

3.1 In-System The user memory of the AT89C5131A part can be programmed using the ISP mode of
Programming the device. In order to enter in ISP mode, first select the high pin count mode (PSEN) or
the low pin count mode (P1.0) using the ISP switch (SW2).
To enter in ISP mode, press both the RESET (SW3) and ISP (SW4) buttons simulta-
neously. First release the RESET button and then the ISP button. The device enters in
ISP mode.
ISP can then be performed using the USB bus (or with the peripheral corresponding
with the bootloader version). The user may need to re-enumerate the USB bus using the
USB UNLOAD button (SW1) if the USB cable is already connected.

3.2 Using a The AT89C5131A microcontroller can also be programmed using a programmer with
Programmer the J3 connector. Connect all required signals between the programmer and the J3 con-
nector and remove the J7 jumper to disconnect the EA circuitry. No clock should be
enabled on the board, except the clock coming from the J3 connector.

Figure 3-1. J3 Connector Schematic

J3
1 VCC
2 VSS
3 XTAL1
4 VSS
5 NC
6 RST
7 P3.2 (Test0)
8 VSS
9 P3.4 (Test1)
10 VSS

AT89C5131A Starter Kit Hardware User Guide 3-9


Rev. 4245A–USB–11/04
Section 4
Appendix

AT89C5131A Starter Kit Hardware User Guide 4-11


Rev. 4245A–USB–11/04
4.1

4-12
Appendix
5 4 3 2 1
5 4 3 2 1

4245A–USB–11/04
PLLF R xD_µC 2
PLLF PLLF R x D _ µ C 11 2 P3_0
Vbus SW1 PLLF P3_0
Vbus SW1
J1 VREF C1 C2 R1 CT1 CONTACT
J1 VREF VREF C1 C2 R1 CT1 CONTACT
VREF 10 nF 2.2 nF 1 K
10 nF 2.2 nF 1 K
1 V b us
1 V b us
2 USB_CON_D- R2 U S B U n load
Electrical

2 USB_CON_D- R2 U S B U n load
3 USB_CON _D+ 1 .5 K R3 D1
D 3 USB_CON _D+ 1 .5 K R3 D1 D
D 4 GND R4 27 100 LED RED D
4 GND R4 27 100 LED RED
D+ Rx LED
D+ D+ Rx LED
D- D+ Vcc
D- D- Vcc
USB B D-
USB B
R 5U 1 27
R 5U 1 27
P1
P1 14 11 TxD_µC Vcc P3_1 1 2 TxD_µC
14 T1OUT T1IN 11 TxD_µC Vcc P3_1 1 2 TxD_µC
1 7 T1OUT T1IN 10
1 7 T2OUT T2IN 10 AVDD CT2 CONTACT R6
6 T2OUT T2IN AVDD AVDD CT2 CONTACT R6
6 R x_PC R xD_µC AVDD
Electrical Schematics

2 R x_PC 13 12 R xD_µC 1 K
Schematics

2 13 R1IN R1OUT 12 Vcc AVSS 1 K


7 8 R1IN R1OUT 9 Vcc AVSS AVSS
7 Tx_PC 8 R2IN R2OUT 9 AVSS
3 Tx_PC R2IN R2OUT
3 D2
8 1 C1+ VCC 16 D2
8 C3 0.1 µF 1 C1+ VCC 16 C4 0.1 µF TP1 LED GREEN
4 C3 0.1 µF C4 0.1 µF TP1 LED GREEN
4 V+ C5 Tx LED
9 3 C1- V+ 2 V+ C5 Tx LED
9 GND 3 C1- V+ 2 USB_CON _D+ D+ TP Vcc
5 GND 0.1 µF USB_CON _D+ 1 D+ TP Vcc
5 V- 0.1 µF 1
4 C2+ V- 6 V-
C
4 C2+ V- 6 C
C C

C2-
GND
RS232 Female C7 0.1 µF C6 0.1 µF
RS232 Female C7 0.1 µF C6 0.1 µF
USB_CON_D- TP2
TP2

5 5 C2-
U S B _ C O N _ D - 11
MAX202ECSE

1515 G N D
MAX202ECSE
Vss
Vss
D - TP
D - TP
J2
J2
1 Vcc
1 Vcc
2 _SS
2 _SS P1_1
S P I Male 3 M ISO P1_1
S P I Male 3 M ISO P1_5
4 SCK P1_5
4 SCK P1_6
CO NNECTOR SIP6 RA 5 M OSI P1_6
CO NNECTOR SIP6 RA 5 M OSI P1_7
6 GND P1_7
6 GND
CT3 CONTACT CT4 CONTACT
CT3 CONTACT CT4 CONTACT
P4_1 SDA 1 2 TWI_CON_SDA 1 2 G e neric_SDA Generic_SDA
P4_1 SDA 1 2 TWI_CON_SDA 1 2 G e neric_SDA Generic_SDA
P4_0 S CL 1 2 TWI_CON _SCL 1 2 G e n eric_SCL G e n eric_SCL Vcc
B P4_0 S CL 1 2 TWI_CON _SCL 1 2 G e n eric_SCL G e n eric_SCL Vcc Vcc B
B Vcc B
CT5 CONTACT CT6 CONTACT
CT5 CONTACT CT6 CONTACT
1 Vcc
1 Vcc
2 Vss
R7 2 Vss
R7 4 . 7 K Vcc 3 XTAL1
4 . 7 K Vcc 3 XTAL1 XTAL1
J4 4 Vss XTAL1
J4 4 Vss
5 Vpp
5 Vpp
1 Vcc 6 _RST
1 Vcc 6 _RST _RST
2 TWI_CON_SDA 7 T est0 _RST
2 TWI_CON_SDA 7 T est0 P3_2
3 TWI_CON _SCL 8 Vss P3_2
3 TWI_CON _SCL 8 Vss
4 GND R8 4 .7 K 9 T est1
4 GND R8 4 .7 K 9 T est1 P3_4
10 Vss P3_4
10 Vss

CO NNECTOR SIP4 RA J3 L P C Test Mode Male


CO NNECTOR SIP4 RA J3 L P C Test Mode Male

T W I M a le
A T W I M a le A
A A

T itle
T itle
A T 8 9 C 5 1 3 1 E v a b _ 1 . 0 .2 - Bus
A T 8 9 C 5 1 3 1 E v a b _ 1 . 0 .2 - Bus
S ize Do cument Number Rev
S ize Do cument Number Rev
A 1 1 .0.2
A 1 1 .0.2
Date: Frida y, October 25, 2002 S heet 1 of 4
Date: Frida y, October 25, 2002 S heet 1 of 4
5 4 3 2 1
5 4 3 2 1

AT89C5131A Starter Kit Hardware User Guide


5 4 3 2 1

J5 J6

Vcc Vcc_CPU 47 48 P1_0 P0_0 47 48 4 .35_12V 4.35_12V


P1_0 P0_0
Vss Vss 45 46 P1_1 P0_1 45 46 4 .35_12V 4.35_12V
D P1_1 P0_1 D
G e neric_SDA T W I _ s oft_sda 43 44 P1_2 P0_2 43 44 Vss Vss
P1_2 P0_2
G e n eric_SCL T W I _ s o f t_scl 41 42 P1_3 P0_3 41 42
P1_3 P0_3
39 40 P1_4 P0_4 39 40
P1_4 P0_4
_RST_G _RST_G 37 38 P1_5 P0_5 37 38
P1_5 P0_5
_EA _EA 35 36 P1_6 P0_6 35 36
P1_6 P0_6
BP1 33 34 P1_7 P0_7 33 34
P1_7 P0_7
A16 31 32 P3_0 P3_0 P2_0 31 32
P2_0
29 30 P3_1 P3_1 P2_1 29 30
P2_1
Vss Vss 27 28 P3_2 P3_2 P2_2 27 28
P2_2
XTAL2 _ G XTAL2 25 26 P3_3 P3_3 P2_3 25 26 _PSEN _PSEN
P2_3
Vss Vss 23 24 P3_4 P3_4 P2_4 23 24 Vss Vss
P2_4
21 22 P3_5 P3_5 P2_5 21 22 ALE ALE
P2_5
19 20 _WR P3_6 P2_6 19 20 Keyb_0 P1_0
P2_6
_RD P2_7 Keyb_1 P1_1

AT89C5131A Starter Kit Hardware User Guide


17 18 P3_7 P2_7 17 18
15 16 P4_0 15 16 Keyb_2 P1_2
P4_0
13 14 P4_1 13 14 Keyb_3 P1_3
P4_1
11 12 11 12 Keyb_4 P1_4
C 9 10 9 10 Keyb_5 P1_5 C
7 8 7 8 Keyb_6 P1_6
Buzzer 5 6 5 6 Keyb_7 P1_7
Vss Vss 3 4 3 4 Vss Vss
Vss Vss 1 2 1 2 Vss Vss

H E A DER 24X2 H E A DER 24X2


C 5 1 G eneric Left C 5 1 G e n e r i c Right

CT7 CONTACT
P3_3 1 2 BP1
B B

Buzzer

1
JP1

1
P3_4 2 2 A 1 6 _ B u z z J u m p er

3
A A
3

T itle
A16 A T 8 9 C 5 1 3 1 E v a b _ 1 . 0 . 2 - C 5 1 G e n e r i c Board Connectors

S ize Do cument Number Rev


A 1 1 .0.2

Date: Frida y, October 25, 2002 S heet 2 of 4


5 4 3 2 1

4-13
Appendix

4245A–USB–11/04
4-16
5 4 3 2 1

CT13 Vcc
Appendix
XTAL2 XTAL2_G CONTACT Closed for v2.0.0 VDD
_RST _RST_G XTAL2_G
_RST_G 1 2
ALE ALE_L U3

4245A–USB–11/04
34
46
16
MAX708SCSA VREF 24 52 P0_0 P0_0
Closed for v2.0.0 VREF VREF P0.0/AD0/D0

nc3
nc4
U2 Vss D+ 23 45 P0_1

2
3
P0_1

VDD
D+ D- D+ P0.1/AD1/D1 P0_2
D D- 22 D- P0.2/AD2/D2 44 P0_2 D
CONTACT Vss 4 5 42 P0_3 P0_3
CT14 PFI PFO AVDD P0.3/AD3/D3 P0_4
17 40 P0_4

GND
SW2 ISP Switch _RST_SW AVDD PLLF AVDD P0.4/AD4/D4 P0_5
1 8 21 38

1
MR RST PLLF PLLF P0.5/AD5/D5 P0_5
R9 AVSS 19 37 P0_6 P0_6
_PSEN AVSS AVSS P0.6/AD6/D6 P0_7
2 VCC RST 7 _RST P0.7/AD7/D7 36 P0_7
C21 P4_0 7
4.7 K P4_0 P4.0/SCL
P1_0 Vcc P4_1 8 1 P2_0 P2_0
Vcc Not Mounted for v2.0.0 P4_1 P4.1/SDA P2.0/A8/D8 P2_1
P2.1/A9/D9 2 P2_1
1 µF SW3 P1_7 6 3 P2_2 P2_2
RESET P1_7 P1_6 P1.7/CEX4/KIN7/MOSI P2.2/A10/D10 P2_3
P1_6 5 P1.6/CEX3/KIN6/SCK P2.3/A11/D11 9 P2_3
C8 P1_5 4 10 P2_4 P2_4
R11 P1_5 P1_4 P1.5/CEX2/KIN5/MISO P2.4/A12/D12 P2_5
P1_4 51 P1.4/CEX1/KIN4 P2.5/A13/D13 11 P2_5
10 K P1_3 50 14 P2_6 P2_6
R10 0.1 µF J7 P1_3 P1_2 P1.3/CEX0/KIN3 P2.6/A14/D14 P2_7
P1_2 49 P1.2/ECI/KIN2 P2.7/A15/D15 15 P2_7
2.2 K 1 2 P3_2 P1_1 48
J8 J9 P1_1 P1_0 P1.1/T2EX/KIN1/SS ALE
P1_0 47 P1.0/T2/KIN0 ALE 27 ALE
26 _EA _EA
SW5 XTAL1 ECI P1_2 XTAL1 EA _PSEN
C 1 1 13 28 _PSEN C
INT0 XTAL1 XTAL2 XTAL1 PSEN P3_7
12 XTAL2 P3.7/RD/LED3 39 P3_7
SW4 INT0 35 P3_6

2
2
P3.6/WR/LED2 P3_6
ISP _RST 43 33 P3_5 P3_5
SYS CLK PCA CLK _RST RST P3.5/T1/LED1 P3_4
P3.4/T0 32 P3_4
P3_0 20 31 P3_3 P3_3
P3_0 P3_1 P3.0/RxD P3.3/INT1/LED0 P3_2
29 30 P3_2
UCAP
UVSS
VSS

P3_1 P3.1/TxD P3.2/INT0

P4_1
P4_0
P1_7
P1_6
P1_5
P2_2
P2_1
P2_0
P0_0
P1_4
P1_3
P1_2
P1_1
P1_0
UCAP AT89C5131_52
18
25

U5 C22 Vcc Vcc

64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
VSS 41

1µF C9 C10 Vcc

nc16
nc15
UCAP

100 nF 10 nF CT8 CONTACT D3

P4.0/SCL
P4.1/SDA
P3_3 LED0

P2.1/A9/D9
P2.0/A8/D8
1 nc1 nc14 48 1 2

P0.0/AD0/D0
P1.0/T2/KIN0
P2_3

P2.2/A10/D10
2 47

P1.2/ECI/KIN2
B P2.3/A11/D11 nc13 B
P2_4 3 46 C11 LED0 LED PWR GREEN

P1.4/CEX1/KIN4
P1.3/CEX0/KIN3
P2_5 P2.4/A12/D12 P0.1/AD1/D1 XTAL1
4 P2.5/A13/D13 P0.2/AD2/D2 45

P1.1/T2EX/KIN1/SS
XTAL2 5 44 Vcc CT9 CONTACT D4

P1.6/CEX3/KIN6/SCK
XTAL2 RST

P1.7/CEX4/KIN7/MOSI
P1.5/CEX2/KIN5/MISO
XTAL1 6 43 22 pF Y1 P3_5 LED1 1 2
P2_6 XTAL1 P0.3/AD3/D3 C12
7 P2.6/A14/D14 VSS 42 CRYSTAL Vcc
P2_7 8 41 XTAL2 LED1 LED PWR GREEN
VDD P2.7/A15/D15 nc12
9 VDD P0.4/AD4/D4 40 22 pF
AVDD 10 39 CT10CONTACT D5
UCAP AVDD P3.7/RD/LED3 P3_6 LED2
11 UCAP P0.5/AD5/D5 38 1 2
AVSS 12 37 Vcc Vss Vss
AVSS P0.6/AD6/D6 LED2 LED PWR GREEN
13 nc3 P0.7/AD7/D7 36
P3_0 14 35 R12
P3.0/RxD P3.6/WR/LED2 10 K J10 CT11CONTACT D6
15 nc4 nc11 34
16 33 P3_7 LED3 1 2
nc5 nc10 _EA 1 2
LED3 LED PWR GREEN
Vcc Vcc
A A

nc6
nc7
PLLF
D-
D+
VREF
UVSS
EA
ALE
PSEN
P3.1/TxD
P3.2/INT0
P3.3/INT1/LED0
P3.4/T0
P3.5/T1/LED1
nc9
C13 C14 EA
AT89C5131A-M_64 Vcc Title

17
18
20
21
23
24
25
32
R13 D7 AT89C5131 Evab_2.0.0- CPU
100 nF 10 nF ALE_L
Size Document Number Rev
1K

PLLF 19
D-
D+
VREF 22
_EA
ALE
_PSEN 26
P3_1 27
P3_2 28
P3_3 29
P3_4 30
P3_5 31
ALE LED RED A 1 1.0.2

Date: Thursday, May 13, 2004 Sheet 3 of 4


5 4 3 2 1

AT89C5131A Starter Kit Hardware User Guide


5 4 3 2 1

CT13 Vcc
XTAL2 XTAL2_G CONTACT Closed for v2.0.0 VDD
_RST _RST_G XTAL2_G
_RST_G 1 2
ALE ALE_L U3

34
46
16
MAX708SCSA VREF 24 52 P0_0 P0_0
Closed for v2.0.0 VREF VREF P0.0/AD0/D0

nc3
nc4
U2 Vss D+ 23 45 P0_1

2
3
P0_1

VDD
D+ D- D+ P0.1/AD1/D1 P0_2
D D- 22 D- P0.2/AD2/D2 44 P0_2 D
CONTACT Vss 4 5 42 P0_3 P0_3
CT14 PFI PFO AVDD P0.3/AD3/D3 P0_4
17 40 P0_4

GND
SW2 ISP Switch _RST_SW AVDD PLLF AVDD P0.4/AD4/D4 P0_5
1 8 21 38

1
MR RST PLLF PLLF P0.5/AD5/D5 P0_5
R9 AVSS 19 37 P0_6 P0_6
_PSEN AVSS AVSS P0.6/AD6/D6 P0_7
2 VCC RST 7 _RST P0.7/AD7/D7 36 P0_7
C21 P4_0 7
4.7 K P4_0 P4.0/SCL
P1_0 Vcc P4_1 8 1 P2_0 P2_0
Vcc Not Mounted for v2.0.0 P4_1 P4.1/SDA P2.0/A8/D8 P2_1
P2.1/A9/D9 2 P2_1
1 µF SW3 P1_7 6 3 P2_2 P2_2
RESET P1_7 P1_6 P1.7/CEX4/KIN7/MOSI P2.2/A10/D10 P2_3
P1_6 5 P1.6/CEX3/KIN6/SCK P2.3/A11/D11 9 P2_3
C8 P1_5 4 10 P2_4 P2_4
R11 P1_5 P1_4 P1.5/CEX2/KIN5/MISO P2.4/A12/D12 P2_5
P1_4 51 P1.4/CEX1/KIN4 P2.5/A13/D13 11 P2_5
10 K P1_3 50 14 P2_6 P2_6
R10 0.1 µF J7 P1_3 P1_2 P1.3/CEX0/KIN3 P2.6/A14/D14 P2_7
P1_2 49 P1.2/ECI/KIN2 P2.7/A15/D15 15 P2_7
2.2 K 1 2 P3_2 P1_1 48

AT89C5131A Starter Kit Hardware User Guide


J8 J9 P1_1 P1_0 P1.1/T2EX/KIN1/SS ALE
P1_0 47 P1.0/T2/KIN0 ALE 27 ALE
26 _EA _EA
SW5 XTAL1 ECI P1_2 XTAL1 EA _PSEN
C 1 1 13 28 _PSEN C
INT0 XTAL1 XTAL2 XTAL1 PSEN P3_7
12 XTAL2 P3.7/RD/LED3 39 P3_7
SW4 INT0 35 P3_6

2
2
P3.6/WR/LED2 P3_6
ISP _RST 43 33 P3_5 P3_5
SYS CLK PCA CLK _RST RST P3.5/T1/LED1 P3_4
P3.4/T0 32 P3_4
P3_0 20 31 P3_3 P3_3
P3_0 P3_1 P3.0/RxD P3.3/INT1/LED0 P3_2
29 30 P3_2
UCAP
UVSS
VSS

P3_1 P3.1/TxD P3.2/INT0

P4_1
P4_0
P1_7
P1_6
P1_5
P2_2
P2_1
P2_0
P0_0
P1_4
P1_3
P1_2
P1_1
P1_0
UCAP AT89C5131_52
18
25

U5 C22 Vcc Vcc

64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
VSS 41

1µF C9 C10 Vcc

nc16
nc15
UCAP

100 nF 10 nF CT8 CONTACT D3

P4.0/SCL
P4.1/SDA
P3_3 LED0

P2.1/A9/D9
P2.0/A8/D8
1 nc1 nc14 48 1 2

P0.0/AD0/D0
P1.0/T2/KIN0
P2_3

P2.2/A10/D10
2 47

P1.2/ECI/KIN2
B P2.3/A11/D11 nc13 B
P2_4 3 46 C11 LED0 LED PWR GREEN

P1.4/CEX1/KIN4
P1.3/CEX0/KIN3
P2_5 P2.4/A12/D12 P0.1/AD1/D1 XTAL1
4 P2.5/A13/D13 P0.2/AD2/D2 45

P1.1/T2EX/KIN1/SS
XTAL2 5 44 Vcc CT9 CONTACT D4

P1.6/CEX3/KIN6/SCK
XTAL2 RST

P1.7/CEX4/KIN7/MOSI
P1.5/CEX2/KIN5/MISO
XTAL1 6 43 22 pF Y1 P3_5 LED1 1 2
P2_6 XTAL1 P0.3/AD3/D3 C12
7 P2.6/A14/D14 VSS 42 CRYSTAL Vcc
P2_7 8 41 XTAL2 LED1 LED PWR GREEN
VDD P2.7/A15/D15 nc12
9 VDD P0.4/AD4/D4 40 22 pF
AVDD 10 39 CT10CONTACT D5
UCAP AVDD P3.7/RD/LED3 P3_6 LED2
11 UCAP P0.5/AD5/D5 38 1 2
AVSS 12 37 Vcc Vss Vss
AVSS P0.6/AD6/D6 LED2 LED PWR GREEN
13 nc3 P0.7/AD7/D7 36
P3_0 14 35 R12
P3.0/RxD P3.6/WR/LED2 10 K J10 CT11CONTACT D6
15 nc4 nc11 34
16 33 P3_7 LED3 1 2
nc5 nc10 _EA 1 2
LED3 LED PWR GREEN
Vcc Vcc
A A

nc6
nc7
PLLF
D-
D+
VREF
UVSS
EA
ALE
PSEN
P3.1/TxD
P3.2/INT0
P3.3/INT1/LED0
P3.4/T0
P3.5/T1/LED1
nc9
C13 C14 EA
AT89C5131A-M_64 Vcc Title

17
18
20
21
23
24
25
32
R13 D7 AT89C5131 Evab_2.0.0- CPU
100 nF 10 nF ALE_L
Size Document Number Rev
1K

PLLF 19
D-
D+
VREF 22
_EA
ALE
_PSEN 26
P3_1 27
P3_2 28
P3_3 29
P3_4 30
P3_5 31
ALE LED RED A 1 1.0.2

Date: Thursday, May 13, 2004 Sheet 3 of 4


5 4 3 2 1

4-17
Appendix

4245A–USB–11/04
4-18
5 5 4 4 3 3 2 2 1 1
Appendix

4245A–USB–11/04
o v e r _ol vi m
e ri t_er
l i m i t er

1
1
L i m i t Le irmJiut emr pJeur m p e r JP2 JP2 JP3 JP3

1
1
T P S 2T0P4S1 2A 0D4 1 A D
D D D D
P o w ePr oSwuepply
r S u pply1 1 2 2
U6 U6
3 3 4 4
V b u sV b uVs b u sV b u2s limiter_in
limiter_in 2 8 5 5 6 6
22 2 IN1
2 IN1 O U T 3O U T83
3 IN2
3 IN2 O U T 2O U T72 7
R 14 R 14 6
O U T 1O U T61
5

3
3
O5C O C l i m i ter_out
l i m i ter_out P o w ePr oSwoeurr cSeo uJ rucmepJeur m p e r D 10 D 10
4

GND
GND
10 K 10 K E4N E N 1 N 4 010N2 4 0 0 2

3
3
C15 C15

1
1
0 . 1 µ0F. 1 µ F C 16 C 16 2 2 1 1
1 0 µ F1 0 µ F
U9 U9
SW6 SW6 L M 1 0L8M4/TO263
1 0 8 4/TO263

REGR
_ IENG _ I N 3 3 2 2 R E G _ROEUGT_ O U T
IN IN O U T O U T

ADJ
ADJ
C C C C
P o w ePr oSwwei rt cShw i t c h

1
1
C 17 C 17 D 11 D 11 R 20 R 20 C 18 C 18
D8 D8 0 . 1 µ0F. 1 µ FS M B JS9M. 0BAJ 9 . 0 A 1 0 µ F1 0T Aµ N
F TTAALN. T A L .
J11 C NE
J 1O1N C O CN TNOE RC TSOI PR2 S I P 2 M R A 4M0R0A7 4 0 0 7
%
121-1121-1 %
R E G _RFEBG _ F B
1 19V 9V 1 1 r S u pply
2 P o w2ePr oSwuepply 4 . 3 5 _41. 23 V
5_12V C 20 C 20
2 2 0 . 1 µ0F. 1 µ F
R 1 5 R 1 5J 1 2 J 1 2
180 180
9 V M9ale
V M ale 1 1 2 2
TP3 TP3 TP4 TP4 R22 R22
3
3

%
196-1196-1 %
3

C h a rge
3

C h a rge PowerPower 1 1 V b u sV b u1s 1 JP5 JP5


J13 J13
EC
C O N CN O N TNOE R
C TJOARC KJ APCWKR P W R V c c TVPc c T P V b u s VTbPu s T P V c c LVecvce lL ej uvme lp ej ur m p e r
3 3 P o w ePr oSwuepr pSlyu 1p p ly 1 U8 U8 R E G _RFEBG _ F B 2

1
1
REGR
_ IENG _ I N 22 2
B B
2 2 B B
1 1
1
1
1
1

JP4 JP4
- +
1
1

r S u pply TP5 TP5 TP6 TP6


1

4
1

4- +3 P o w3ePr oSwuepply

G N DG N D 1 1 G N DG N D 1 1
C 19 C 19 P O WPEORW E R 2
1 0 µ F1 0 µ F G N D GTNPD1 T P 1 G N D GTNPD2 T P 2 22 2 R21 R21
P o w ePr oSwuepr pSlyu 2p p ly 2 D F 0 0D5FS0 0 5 S %
365-1365-1 %

2
2
R e g uRl aet go ur l Jaut omr pJeur m p e r
3
3

3
3

V cc V cc
Vcc Vcc R E G _ROEUGT_ O U T
D9 D9
C T 1 2C
C TO1N2C
T AOCNTT A C T
P O WPEORW E R 1 1 2 2
A A A A
R 1 9 1R 1K9 1 K PowerPower
L E D LREEDD R E D T itle T itle
A T 8 9ACT58193C1 5E1 v3a1bE_ v1 a. 0b._21 -. 0P. 2O W
- P
EORWER

S ize S ize D o c uDmoecnut mNeunmt bNeurm b e r Rev Rev


A A 1 1 1 . 0 . 21 . 0 . 2

D a t e :D a t e : F r i d aFyr,i dOacyt ,o bOecrt o2b5e, r22050,2 2 0 0 2 S heetS heet 4 4 of o f4 4


5 5 4 4 3 3 2 2 1 1

AT89C5131A Starter Kit Hardware User Guide


Appendix

4.2 Component Figure 4-1. AT89C5131A Evaluation Board Overview


Placement

GND
VCC
SDA
SCL
_SS

MOSI
MISO
VCC

GND
SCK
47
45 TWI
SPI
43
41

CONN
PCA

GEN

CHIP
39
37 TWI RX TX VBUS 38
35 RS232 BATT - + 36
9V
33 34
EA
31 32
29 30

INT1
27 28
25 AT89C5131A Evab 1.0.2 26
23 24

VBUS
PWR.S.
21 GND 22
19 20
D+ D-
17 1 USB 18
LIM
15 16
0 REG
13 14
A16

1 1 5V
11 VCC 12
9 2 10
USB

ICC
7 3 3.3V 8
CRYSTAL UNLOAD
5 LED 6
PWR
BUZZ

PSEN
3 PWR 4

OFF
P1.0

ON
1 2
POWER ALE

RST

GND
INT0
SYS

ISP

VCC
CLK
LPC TEST MODE

Figure 4-2. AT89C5131A Evaluation Board Component Implementation


J2 J4

48 47 1 2 3 4 5 6 P1 1 2 3 4
48 47
46 45 J1 J13 46 45
44 43
CT4 CT3 CT1 CT2 44 43
42 41 42 41
40 39 J9 J12 40 39
38 37 D1 D2
CT6 CT5 TP4 38 37
36 35
34 33 J11 36
34
35
33
32 31 J10
32 31
30 29
30 29
28 27 CT7 U3 27
J5 26 25
JP3
28
26 25 J6
24 23
TP1 TP2 JP2 2 24 23
22 21 U5 1
TP6 1 22 21
20 19 3 4
2 20 19
18 17 1 5 6
SW1 3 18 17
16 15 JP4
D3 CT9 16 15
14 13 1 1 JP5
D4 14 13
12 11 JP1 CT10 2 1
12 11
10 9 3 D5 CT11 3 2
10 9
8 7 2 Y1 D6 3
8 7
6 5 1 CT12 CT13
SW2 J7 6 5
4 3 SW6 D9
4 3
2 1 J8 D7
2 1
SW4 SW5 SW3
J3
TP3 TP5

AT89C5131A Starter Kit Hardware User Guide 4-19


4245A–USB–11/04
Appendix

4.3 Mechanical Figure 4-3. AT89C5131A Evaluation Board Mechanical Outlines

6.35 mm
Outlines 99.06 mm
2.54 mm 5.08 mm
TOP

5.08 mm

75 mm
Top view

93.98 mm (37*2.54 mm)

RIGHT
LEFT

C51 Generic Board’s C51 Generic Board’s


Left connector Right connector
7.00 mm

2.54 mm
BOTTOM 2.54 mm

4.4 Bill of Materials


Table 4-1. Bill of Materials
Reference Part
C11, C12 22 pF
C2 2.2 nF
C1, C10, C14 10 nF
C9, C13 100 nF
C3, C4, C5, C6, 0.1 µF
C7, C8, C15, C17,
C20, C21
C16, C19 10 µF
R4, R5 27
R3 100
R15 180
R1, R6, R13, R19 1K
R2 1.5K
R10 2.2K
R7, R8, R9 4.7K
R11, R12, R14 10K

4-20 AT89C5131A Starter Kit Hardware User Guide


4245A–USB–11/04
Appendix

Table 4-1. Bill of Materials (Continued)


Reference Part
D2 LED GREEN
D1, D7, D9 LEDs RED
D3, D4, D5, D6 LEDs PWR GREEN
D8 MRA4007
D11 SMBJ9.0A
U1 MAX202ECSE
U8 DF005S
TP1, TP2, TP3, TEST POINTS
TP4, TP5, TP6
J7, J10, J12 JUMPER
J13 CONNECTOR JACK PWR
J8, J9 CONNECTORS BNC
P1 SUB-D9 FEMALE
J1 USB B
J6, J5 HEADER 24X2
J11 CONNECTOR SIP2
J4 CONNECTOR SIP4 RA
J2 CONNECTOR SIP6 RA
J3 CONNECTOR HE10
SW2, SW6 SW KEY-SPDT
U3 AT89C5131A_52
U5 AT89C5131A_VQFP64
CT1, CT2, CT3, CONTACT
CT4, CT5, CT6,
CT7, CT8, CT9,
CT10, CT11,
CT12, CT13,
CT14
C18 10 µF TANTAL
D10 1N4002
JP1 A16_Buzz Jumper
JP2 Limiter Jumper
JP3 Power Source Jumper
JP4 Regulator Jumper
JP5 VCC Level jumper
R20 121-1%
R21 365-1%
R22 196-1%
SW1 CONTACT BREAKER

AT89C5131A Starter Kit Hardware User Guide 4-21


4245A–USB–11/04
Appendix

Table 4-1. Bill of Materials (Continued)


Reference Part
SW3, SW4, SW5 PUSH-BUTTON
U2 MAX708SCSA
U6 TPS2041AD
U9 LM1084/TO263
Y1 CRYSTAL

AT89C5131A Starter Kit Hardware User Guide 4-22


4245A–USB–11/04
Atmel Corporation Atmel Operations
2325 Orchard Parkway Memory RF/Automotive
San Jose, CA 95131 2325 Orchard Parkway Theresienstrasse 2
Tel: 1(408) 441-0311 San Jose, CA 95131 Postfach 3535
Fax: 1(408) 487-2600 Tel: 1(408) 441-0311 74025 Heilbronn, Germany
Fax: 1(408) 436-4314 Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
Regional Headquarters Microcontrollers
Europe 2325 Orchard Parkway 1150 East Cheyenne Mtn. Blvd.
Atmel Sarl San Jose, CA 95131 Colorado Springs, CO 80906
Route des Arsenaux 41 Tel: 1(408) 441-0311 Tel: 1(719) 576-3300
Case Postale 80 Fax: 1(408) 436-4314 Fax: 1(719) 540-1759
CH-1705 Fribourg
Switzerland La Chantrerie Biometrics/Imaging/Hi-Rel MPU/
Tel: (41) 26-426-5555 BP 70602 High Speed Converters/RF Datacom
Fax: (41) 26-426-5500 44306 Nantes Cedex 3, France Avenue de Rochepleine
Tel: (33) 2-40-18-18-18 BP 123
Asia Fax: (33) 2-40-18-19-60 38521 Saint-Egreve Cedex, France
Room 1219 Tel: (33) 4-76-58-30-00
Chinachem Golden Plaza ASIC/ASSP/Smart Cards Fax: (33) 4-76-58-34-80
77 Mody Road Tsimshatsui Zone Industrielle
East Kowloon 13106 Rousset Cedex, France
Hong Kong Tel: (33) 4-42-53-60-00
Tel: (852) 2721-9778 Fax: (33) 4-42-53-60-01
Fax: (852) 2722-1369
1150 East Cheyenne Mtn. Blvd.
Japan Colorado Springs, CO 80906
9F, Tonetsu Shinkawa Bldg. Tel: 1(719) 576-3300
1-24-8 Shinkawa Fax: 1(719) 540-1759
Chuo-ku, Tokyo 104-0033
Japan Scottish Enterprise Technology Park
Tel: (81) 3-3523-3551 Maxwell Building
Fax: (81) 3-3523-7581 East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743

e-mail
literature@atmel.com

Web Site
http://www.atmel.com

Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard
warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any
errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and
does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are
granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use
as critical components in life support devices or systems.
© Atmel Corporation 2004. All rights reserved. Atmel ® and combinations thereof are the registered trademarks of Atmel Corporation or its
subsidiaries. Other terms and product names may be the trademarks of others.

Printed on recycled paper.

4245A–USB–11/04 /xM

You might also like