View detail for AT89C5131 Starter Kit - Hardware

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
2.2
2.3
2.4
2.5
Block Diagram...........................................................................................2-3
Power Supply ............................................................................................2-4
C51 Standard Settings ..............................................................................2-5
Feature Description...................................................................................2-6
External Connectors .................................................................................2-8
Section 3
Device Programming ............................................................................ 3-9
3.1
3.2
In-System Programming ...........................................................................3-9
Using a Programmer .................................................................................3-9
Section 4
Appendix............................................................................................. 4-11
4.1
4.2
4.3
4.4
1
4245A–USB–11/04
Electrical Schematics ..............................................................................4-12
Component Placement ...........................................................................4-16
Mechanical Outlines................................................................................4-17
Bill of Materials........................................................................................4-17
AT89C5131A Starter Kit Hardware User User Guide
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 evaluation 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
4245A–USB–11/04
AT89C5131A Starter Kit Hardware User Guide
Hardware Description
Section 2
Hardware Description
2.1
Block Diagram
Figure 2-1. AT89C5131A Evaluation Board Components
Device
Power
Supply
Reset
ISP
EA
INT0
USB
SPI
Device
RS232
Host,
Device...
AT89C5131A
C51 Generic Board Interface
C51 Generic Board
AT89C5131A Starter Kit Hardware User Guide
TWI
LED
Human
Programming
Interface
Specific Device
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
PWR.S.
PWR.S.
LIM
LIM
5V
5V
VCC
ICC
3.3V
3.3V
PWR.S.
PWR
PWR.S.
LIM
PWR.S.
LIM
LIM
REG
5V
5V
VCC
ICC
3.3V
REG
3.3V
PWR.S.
PWR
PWR.S.
LIM
PWR.S.
LIM
3.3V Regulate
LIM
REG
ICC
3.3V
PWR
REG
5V
VCC
ICC
5V
VCC
3.3V
PWR
VBUS
PWR
5V
VCC
VBUS
ICC
REG
ICC
5V Regulate
VCC
3.3V
PWR
VBUS
VBUS
PWR
VBUS
REG
5V
VCC
VBUS
ICC
REG
ICC
REG
VCC
4245A–USB–11/04
PWR.S.
LIM
Direct Input
2-4
External
VBUS
VBUS and
Current Limiter
VBUS
VBUS
VBUS
3.3V
PWR
REG
5V
VCC
ICC
Power
Source
Regulation
3.3V
PWR
AT89C5131A Starter Kit Hardware User Guide
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:
2.3.3
EA
Remove the clock generators before the using the programmer.
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 interrupt event.
Note: Remove the J7 jumper before using the programmer. Otherwise the programmer 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
4245A–USB–11/04
AT89C5131A Starter Kit Hardware User Guide
Hardware Description
2.4.3
TWI Peripheral
The CT3 and CT5 contacts have to be soldered in order to use the SDA and SCL alternate 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 contacts 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
LED 3
AT89C5131A Starter Kit Hardware User Guide
CT12
3
LED
2-7
4245A–USB–11/04
Hardware Description
2.5
External
Connectors
These two external connectors to build a customer extended board easily.
Figure 2-7. Top View of J5 and J6 Connectors
J5
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6 - WR
P3.7 - RD
NC
NC
NC
NC
NC
NC
NC
NC
2-8
4245A–USB–11/04
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
J6
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
VCC
VSS
SDA
SCL
NC
RESET
EA
BP1
A16
NC
VSS
XTAL2
VSS
NC
NC
NC
NC
NC
NC
NC
NC
BUZZER
VSS
VSS
4.35 12V
4.35 12V
VSS
NC
NC
NC
NC
NC
NC
NC
NC
PSEN
VSS
ALE
P1.0 - KBD 0
P1.1 - KBD 1
P1.2 - KBD 2
P1.3 - KBD 3
P1.4 - KBD 4
P1.5 - KBD 5
P1.6 - KBD 6
P1.7 - KBD 7
VSS
VSS
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P4.0
P4.1
NC
NC
NC
NC
NC
NC
AT89C5131A Starter Kit Hardware User Guide
Section 3
Device Programming
3.1
In-System
Programming
The user memory of the AT89C5131A part can be programmed using the ISP mode of
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 simultaneously. 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
Programmer
The AT89C5131A microcontroller can also be programmed using a programmer with
the J3 connector. Connect all required signals between the programmer and the J3 connector 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
2
3
4
5
6
7
8
9
10
AT89C5131A Starter Kit Hardware User Guide
VCC
VSS
XTAL1
VSS
NC
RST
P3.2 (Test0)
VSS
P3.4 (Test1)
VSS
3-9
Rev. 4245A–USB–11/04
Section 4
Appendix
AT89C5131A Starter Kit Hardware User Guide
4-11
Rev. 4245A–USB–11/04
4-12
4245A–USB–11/04
A
A
B
B
C
C
D
D
1
1
6
6
2
2
7
7
3
3
8
8
4
4
9
9
5
5
1
1
2
2
3
3
4
4
1
1
2
2
3
3
4
4
T W I M a le
T W I M a le
Tx_PC
Tx_PC
R x_PC
R x_PC
Vbus
Vbus
5
5
R2
R2
1 .5 K
1 .5 K
R8
R8
R7
R7
4
4
3
3
1
1
13
13
8
8
14
14
7
7
6
6
2
2
4 .7 K
4 .7 K
4
4
4 . 7 K Vcc
4 . 7 K Vcc
0.1 µF
0.1 µF
Generic_SDA
Generic_SDA
G e n eric_SCL
G e n eric_SCL
Vss
Vss
C6 0.1 µF
C6 0.1 µF
VV-
C4
C4
V+
V+
R xD_µC
R xD_µC
12
12
9
9
16
16
TxD_µC
TxD_µC
11
11
10
10
D+
D+
DD-
VREF
VREF
MAX202ECSE
MAX202ECSE
VV-
V+
V+
VCC
VCC
R1OUT
R1OUT
R2OUT
R2OUT
T1IN
T1IN
T2IN
T2IN
D+
D+
DD-
VREF
VREF
CT4 CONTACT
CT4 CONTACT
G e neric_SDA
1
2
G e neric_SDA
1
2
G e n eric_SCL
1
2
G e n eric_SCL
1
2
CT6 CONTACT
CT6 CONTACT
C2+
C2+
C1C1-
C1+
C1+
R1IN
R1IN
R2IN
R2IN
T1OUT
T1OUT
T2OUT
T2OUT
R 5U 1 27
R 5U 1 27
27
27
U S B U n load
U S B U n load
SW1
SW1
R4
R4
C7 0.1 µF
C7 0.1 µF
C3 0.1 µF
C3 0.1 µF
CT3 CONTACT
CT3 CONTACT
TWI_CON_SDA
1
2
TWI_CON_SDA
1
2
TWI_CON _SCL
1
2
TWI_CON _SCL
1
2
CT5 CONTACT
CT5 CONTACT
Vcc
Vcc
TWI_CON_SDA
TWI_CON_SDA
TWI_CON _SCL
TWI_CON _SCL
GND
GND
SDA
SDA
S CL
S CL
CO NNECTOR SIP4 RA
CO NNECTOR SIP4 RA
J4
J4
P4_1
P4_1
P4_0
P4_0
GND
GND
V b us
V b us
USB_CON_DUSB_CON_DUSB_CON _D+
USB_CON _D+
GND
GND
RS232 Female
RS232 Female
P1
P1
USB B
USB B
J1
J1
4
4
3
3
Vcc
Vcc
3
3
C5
C5
0.1 µF
0.1 µF
Date:
Date:
S ize
S ize
A
A
T itle
T itle
Vcc
Vcc
J2
J2
Vcc
Vcc
Vss
Vss
XTAL1
XTAL1
Vss
Vss
Vpp
Vpp
_RST
_RST
T est0
T est0
Vss
Vss
T est1
T est1
Vss
Vss
Vcc
Vcc
Vcc
Vcc
_SS
_SS
M ISO
M ISO
SCK
SCK
M OSI
M OSI
GND
GND
Frida y, October 25, 2002
Frida y, October 25, 2002
Do cument Number
Do cument Number
1
1
2
2
TP2
TP2
P1_1
P1_1
P1_5
P1_5
P1_6
P1_6
P1_7
P1_7
S heet
S heet
P3_4
P3_4
_RST
_RST
P3_2
P3_2
XTAL1
XTAL1
P3_1
P3_1
1
1
2
2
1
1
1
1
of
of
D2
D2
LED GREEN
LED GREEN
Tx LED
Tx LED
Vcc
Vcc
4
4
Rev
Rev
1 .0.2
1 .0.2
R6
R6
1 K
1 K
TxD_µC
TxD_µC
P3_0
P3_0
CT2 CONTACT
CT2 CONTACT
1
1
2
2
CT1 CONTACT
CT1 CONTACT
D1
D1
LED RED
LED RED
Rx LED
Rx LED
R1
R1
1 K
1 K
R xD_µC
R x D _ µ C 11
D+ TP
D+ TP
D - TP
D - TP
TP1
TP1
L P C Test Mode Male
L P C Test Mode Male
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
1
1
2
2
3
3
4
4
5
5
6
6
USB_CON_DU S B _ C O N _ D - 11
1
1
AVSS
AVSS
AVDD
AVDD
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
J3
J3
CO NNECTOR SIP6 RA
CO NNECTOR SIP6 RA
S P I Male
S P I Male
AVSS
AVSS
AVDD
AVDD
Vcc
Vcc
PLLF
PLLF
C2
C2
2.2 nF
2.2 nF
USB_CON _D+
USB_CON _D+
Vcc
Vcc
R3
R3
100
100
C1
C1
10 nF
10 nF
PLLF
PLLF
2
2
A
A
B
B
C
C
D
D
4.1
5 5 C2C21515 G N D
GND
5
5
Appendix
Electrical
Electrical Schematics
Schematics
AT89C5131A Starter Kit Hardware User Guide
A
B
C
D
5
Vss
Vss
Vss
XTAL2 _ G
Vss
_RST_G
_EA
Buzzer
Vss
Vss
Vss
XTAL2
Vss
_RST_G
_EA
BP1
A16
Vcc_CPU
Vcc
Vss
Vss
T W I _ s oft_sda
G e neric_SDA
T
W I _ s o f t_scl
G e n eric_SCL
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
C 5 1 G eneric Left
H E A DER 24X2
J5
4
P3_3
P1_0
P1_1
P1_2
P1_3
P1_4
P1_5
P1_6
P1_7
P3_0
P3_1
P3_2
P3_3
P3_4
P3_5
P3_6
P3_7
P3_4
P1_0
P1_1
P1_2
P1_3
P1_4
P1_5
P1_6
P1_7
P3_0
P3_1
P3_2
P3_3
P3_4
P3_5
_WR
_RD
4
2
2
A16
JP1
Buzzer
3
3
A 1 6 _ B u z z J u m p er
CT7 CONTACT
BP1
2
1
1
1
3
AT89C5131A Starter Kit Hardware User Guide
3
5
Date:
S ize
A
T itle
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7
P4_0
P4_1
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
_PSEN
Vss
ALE
Keyb_0
Keyb_1
Keyb_2
Keyb_3
Keyb_4
Keyb_5
Keyb_6
Keyb_7
Vss
Vss
4 .35_12V
4 .35_12V
Vss
C 5 1 G e n e r i c Right
H E A DER 24X2
J6
Vss
Vss
_PSEN
Vss
ALE
P1_0
P1_1
P1_2
P1_3
P1_4
P1_5
P1_6
P1_7
4.35_12V
4.35_12V
Vss
1
2
Frida y, October 25, 2002
Do cument Number
1
S heet
2
1
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
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7
P4_0
P4_1
2
of
4
Rev
1 .0.2
A
B
C
D
Appendix
4-13
4245A–USB–11/04
A
B
C
D
P3_0
P2_3
P2_4
P2_5
XTAL2
XTAL1
P2_6
P2_7
VDD
AVDD
UCAP
AVSS
SW2
XTAL2
_RST
ALE
INT0
Vcc
nc1
P2.3/A11/D11
P2.4/A12/D12
P2.5/A13/D13
XTAL2
XTAL1
P2.6/A14/D14
P2.7/A15/D15
VDD
AVDD
UCAP
AVSS
nc3
P3.0/RxD
nc4
nc5
U5
C8
SW5
0.1 µF
5
AT89C5131A-M_64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SW4
ISP
R10
2.2 K
P1_0
_PSEN
ISP Switch
1
J7
INT0
R11
10 K
2
1 µF
C21
CONTACT
CT14
Closed for v2.0.0
XTAL2_G
_RST_G
2
P3_2
SW3
RESET
4
RST
VCC
7
8
5
C13
Vcc
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
10 nF
C14
ALE_L
R12
10 K
Vcc
XTAL1
1
1K
3
EA
J10
ALE
D7
Vcc
LED RED
2
XTAL2
Vss
Vcc
Vss
Date:
Size
A
Title
Vcc
10 nF
100 nF
Vcc
20
29
P3_0
P3_1
2
U3
P3.0/RxD
P3.1/TxD
RST
XTAL1
XTAL2
LED3
LED2
LED1
LED0
2
Thursday, May 13, 2004
Document Number
1
2
2
1
Sheet
2
CT11CONTACT
1
CT10CONTACT
1
CT9 C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c10
2
1
_RST_SW
Vcc
4
Vss
MAX708SCSA
U2
CT13
CONTACT Closed for v2.0.0
1
2
3
GND
XTAL2_G
_RST_G
ALE_L
2
3
18
4
UCAP
1
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
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
nc16
P4.1/SDA
P4.0/SCL
P1.7/CEX4/KIN7/MOSI
P1.6/CEX3/KIN6/SCK
P1.5/CEX2/KIN5/MISO
P2.2/A10/D10
P2.1/A9/D9
P2.0/A8/D8
P0.0/AD0/D0
P1.4/CEX1/KIN4
P1.3/CEX0/KIN3
P1.2/ECI/KIN2
P1.1/T2EX/KIN1/SS
P1.0/T2/KIN0
nc15
nc6
nc7
PLLF
DD+
VREF
UVSS
EA
ALE
PSEN
P3.1/TxD
P3.2/INT0
P3.3/INT1/LED0
P3.4/T0
P3.5/T1/LED1
nc9
17
18
PLLF 19
D20
D+
21
VREF 22
23
_EA
24
ALE
25
_PSEN 26
P3_1 27
P3_2 28
P3_3 29
P3_4 30
P3_5 31
32
25
UCAP
2
34
nc3
16
VDD
46
nc4
UVSS
4245A–USB–11/04
VSS
4-16
VSS 41
5
3
LED3
LED2
LED1
LED0
ALE
_EA
_PSEN
P3_7
P3_6
P3_5
P3_4
P3_3
P3_2
27
26
28
39
35
33
32
31
30
ALE
_EA
_PSEN
P3_7
P3_6
P3_5
P3_4
P3_3
P3_2
P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
of
4
Rev
1.0.2
LED PWR GREEN
D6
LED PWR GREEN
D5
LED PWR GREEN
D4
LED PWR GREEN
D3
P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7
1
2
3
9
10
11
14
15
Vcc
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
52
45
44
42
40
38
37
36
1
1
A
B
C
D
Appendix
AT89C5131A Starter Kit Hardware User Guide
A
B
C
D
P3_0
P2_3
P2_4
P2_5
XTAL2
XTAL1
P2_6
P2_7
VDD
AVDD
UCAP
AVSS
SW2
XTAL2
_RST
ALE
INT0
Vcc
nc1
P2.3/A11/D11
P2.4/A12/D12
P2.5/A13/D13
XTAL2
XTAL1
P2.6/A14/D14
P2.7/A15/D15
VDD
AVDD
UCAP
AVSS
nc3
P3.0/RxD
nc4
nc5
U5
C8
SW5
0.1 µF
5
AT89C5131A-M_64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SW4
ISP
R10
2.2 K
P1_0
_PSEN
ISP Switch
1
J7
INT0
R11
10 K
2
1 µF
C21
CONTACT
CT14
Closed for v2.0.0
XTAL2_G
_RST_G
2
P3_2
SW3
RESET
4
RST
VCC
7
8
5
C13
Vcc
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
10 nF
C14
Vcc
ALE_L
R12
10 K
XTAL1
1
1K
3
EA
J10
ALE
D7
LED RED
2
XTAL2
Vss
Vcc
Vss
Date:
Size
A
Title
Vcc
10 nF
100 nF
2
U3
P3.0/RxD
P3.1/TxD
RST
XTAL1
XTAL2
LED3
LED2
LED1
LED0
2
Thursday, May 13, 2004
Document Number
1
2
2
1
Sheet
2
CT11CONTACT
1
CT10CONTACT
1
CT9 CONTACT
2
CT8 CONTACT
1
AT89C5131 Evab_2.0.0- CPU
P3_7
P3_6
P3_5
P3_3
ALE
EA
PSEN
P3.7/RD/LED3
P3.6/WR/LED2
P3.5/T1/LED1
P3.4/T0
P3.3/INT1/LED0
P3.2/INT0
P2.0/A8/D8
P2.1/A9/D9
P2.2/A10/D10
P2.3/A11/D11
P2.4/A12/D12
P2.5/A13/D13
P2.6/A14/D14
P2.7/A15/D15
P0.0/AD0/D0
P0.1/AD1/D1
P0.2/AD2/D2
P0.3/AD3/D3
P0.4/AD4/D4
P0.5/AD5/D5
P0.6/AD6/D6
P0.7/AD7/D7
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.1/A9/D9
P2.0/A8/D8
P0.0/AD0/D0
P1.4/CEX1/KIN4
P1.3/CEX0/KIN3
P1.2/ECI/KIN2
P1.1/T2EX/KIN1/SS
P1.0/T2/KIN0
nc15
nc6
nc7
PLLF
DD+
VREF
UVSS
EA
ALE
PSEN
P3.1/TxD
P3.2/INT0
P3.3/INT1/LED0
P3.4/T0
P3.5/T1/LED1
nc9
17
18
PLLF 19
D20
D+
21
VREF 22
23
_EA
24
ALE
25
_PSEN 26
P3_1 27
P3_2 28
P3_3 29
P3_4 30
P3_5 31
32
UVSS
UCAP
2
34
nc3
46
nc4
16
VDD
VSS
AT89C5131A Starter Kit Hardware User Guide
VSS 41
5
3
LED3
LED2
LED1
LED0
ALE
_EA
_PSEN
P3_7
P3_6
P3_5
P3_4
P3_3
P3_2
27
26
28
39
35
33
32
31
30
ALE
_EA
_PSEN
P3_7
P3_6
P3_5
P3_4
P3_3
P3_2
P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
of
4
Rev
1.0.2
LED PWR GREEN
D6
LED PWR GREEN
D5
LED PWR GREEN
D4
LED PWR GREEN
D3
P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7
1
2
3
9
10
11
14
15
Vcc
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
52
45
44
42
40
38
37
36
1
1
A
B
C
D
Appendix
4-17
4245A–USB–11/04
A
B
C
10 K 10 K
R 14 R 14
limiter_in
limiter_in
19V
2
9 V M9ale
V M ale
1
2
9V
1
C h a rge
C h a rge
A
4-
-
+
5
5
O5C O C
E4N E N
5
4
P O WPEORW E R
U8
O U T 3O U T83
O U T 2O U T72
O U T 1O U T61
1
1
4
2
4
2
D9
D9
V cc V cc
1
3
5
2
4
6
SW6 SW6
3
3
G N D GTNPD2 T P 2
1
TP6 TP6
V b u s VTbPu s T P
1
TP4 TP4
4 . 3 5 _41. 23 V
5_12V
P o w ePr oSwwei rt cShw i t c h
R 1 9 1R 1K9 1 K
PowerPower
L E D LREEDD R E D
C T 1 2C
T AOCNTT A C T
C TO1N2C
1
3
2
4
6
2
3
2
2
JP4 JP4
2
22
1
1
3
IN
2
IN O U T O U T
121-1121-1
%
%
2
C 20 C 20
0 . 1 µ0F. 1 µ F
2
1
4 of
2
1
o f4
4
2
F r i d aFyr,i dOacyt ,o bOecrt o2b5e, r22050,2 2 0 0 2
D a t e :D a t e :
A
B
C
D
Rev Rev
1 . 0 . 21 . 0 . 2
S heetS heet 4
R21 R21
365-1365-1
%
%
V c c LVecvce lL ej uvme lp ej ur m p e r
22
C 18 C 18
1 0 µ F1 0T Aµ N
F TTAALN. T A L .
1
R22 R22
196-1196-1
%
%
R E G _ROEUGT_ O U T
JP5 JP5
A T 8 9ACT58193C1 5E1 v3a1bE_ v1 a. 0b._21 -. 0P. 2O W
EO
RWER
- P
R E G _RFEBG _ F B
R E G _RFEBG _ F B
R 20 R 20
2
1
S ize S ize D o c uDmoecnut mNeunmt bNeurm b e r
A
A 1
1
T itle T itle
R E G _ROEUGT_ O U T
R e g uRl aet go ur l Jaut omr pJeur m p e r
P O WPEORW E R 2
REGR
_ IENG _ I N
2
D 10 D 10
1 N 4 010N2 4 0 0 2
U9 U9
L M 1 0L8M4/TO263
1 0 8 4/TO263
C 17 C 17
D 11 D 11
0 . 1 µ0F. 1 µ FS M B JS9M. 0BAJ 9 . 0 A
REGR
_ IENG _ I N
P o w ePr oSwoeurr cSeo uJ rucmepJeur m p e r
G N DG N D 1
G N D GTNPD1 T P 1
3
JP3 JP3
V b u sV b u1s
TP5 TP5
V c c TVPc c T P
1
TP3 TP3
C 16 C 16
1 0 µ F1 0 µ F
l i m i ter_out
l i m i ter_out
P o w ePr oSwuepply
r S u pply1
3
5
8
7
6
G N DG N D 1
PowerPower 1
Vcc Vcc
C 19 C 19
1 0 µ F1 0 µ F
+3 P o w3ePr oSwuepply
r S u pply
U8
2
P o w ePr oSwuepr pSlyu 2p p ly 2 D F 0 0D5FS0 0 5 S
4
2 IN1
IN1
3 IN2
IN2
U6
2
3
U6
T P S 2T0P4S1 2A 0D4 1 A D
r S u pply
2 P o w2ePr oSwuepply
R 1 5 R 1 5J 1 2 J 1 2
180 180
1
2
1
1
D8 D8
J11 C
NE
J 1O1N C
O CN TNOE RC TSOI PR2 S I P 2 M R A 4M0R0A7 4 0 0 7
2
22
C15 C15
0 . 1 µ0F. 1 µ F
JP2 JP2
1
J13 J13
C O N CN O
EC
N TNOE R
C TJOARC KJ APCWKR P W R
P o w ePr oSwuepr pSlyu 1p p ly 1
3
3
2
2
B
1
1
C
1
L i m i t Le irmJiut emr pJeur m p e r
V b u sV b uVs b u sV b u2s
D
o v e r _ol vi m
e ri t_er
l i m i t er
GND
1
1
3
3
4
GND
1
1
3
3
4
ADJ
1
D
1
2
ADJ
1
5
1
1
2
1
1
3
3
1
3
3
3
1
3
3
3
1
4245A–USB–11/04
1
4-18
1
5
A
B
C
D
Appendix
AT89C5131A Starter Kit Hardware User Guide
Appendix
VCC
_SS
MISO
SCK
MOSI
GND
CHIP
GEN
CONN
VBUS
RX
TX
RS232
38
- + 36
9V
34
32
BATT
EA
30
28
VBUS
AT89C5131A Evab 1.0.2
GND
D+ DUSB
1
PWR.S.
LIM
0
REG
1
1
5V
VCC
LPC TEST MODE
PWR
26
24
22
20
18
16
14
12
10
8
6
4
2
ALE
GND
RST
P1.0
ON
PWR
POWER
INT0
SYS
CLK
LED
OFF
CRYSTAL
3.3V
VCC
USB
3
UNLOAD
ICC
2
ISP
7
5
3
1
TWI
PSEN
11
9
PCA
39
37
35
33
31
29
27
25
23
21
19
17
15
13
TWI
SPI
INT1
47
45
43
41
VCC
SDA
SCL
GND
Figure 4-1. AT89C5131A Evaluation Board Overview
A16
Component
Placement
BUZZ
4.2
Figure 4-2. AT89C5131A Evaluation Board Component Implementation
J4
J2
47
45
43
42
40
41
39
38
37
35
33
31
29
27 CT7
25
23
21
19
36
34
32
30
28
J5 26
24
22
20
18
16
14
12
10
8
6
4
2
CT4
1 2 3 4
J1
CT3
CT1
CT2
CT5
D1
D2
J13
J9
17
15
13
11 JP1
9 3
7 2
5 1
3
1
P1
1 2 3 4 5 6
48
46
44
J12
CT6
TP4
J11
J10
U3
JP3
TP1 TP2
U5
TP6
D3
2
3
CT9
D4
CT10
2
D5
CT11
3
1
SW1
1
J3
SW4
4
6
JP4
1
JP5
1
2
3
CT12
SW2
2
1
3
5
D6
Y1
J8
JP2
1
J7
SW5
CT13
SW6
D9
D7
SW3
TP3
AT89C5131A Starter Kit Hardware User Guide
48
46
44
47
45
43
42
40
41
39
38
37
35
33
31
29
27
25
23
21
19
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
J6
17
15
13
11
9
7
5
3
1
TP5
4-19
4245A–USB–11/04
Appendix
Figure 4-3. AT89C5131A Evaluation Board Mechanical Outlines
99.06 mm
2.54 mm
5.08 mm
Top view
RIGHT
LEFT
93.98 mm (37*2.54 mm)
C51 Generic Board’s
Right connector
2.54 mm
7.00 mm
C51 Generic Board’s
Left connector
BOTTOM
4.4
75 mm
TOP
5.08 mm
Mechanical
Outlines
6.35 mm
4.3
2.54 mm
Bill of Materials
Table 4-1. Bill of Materials
4-20
4245A–USB–11/04
Reference
Part
C11, C12
22 pF
C2
2.2 nF
C1, C10, C14
10 nF
C9, C13
100 nF
C3, C4, C5, C6,
C7, C8, C15, C17,
C20, C21
0.1 µF
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
AT89C5131A Starter Kit Hardware User Guide
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,
TP4, TP5, TP6
TEST POINTS
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,
CT4, CT5, CT6,
CT7, CT8, CT9,
CT10, CT11,
CT12, CT13,
CT14
CONTACT
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
2325 Orchard Parkway
San Jose, CA 95131
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Regional Headquarters
Europe
Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
Tel: (41) 26-426-5555
Fax: (41) 26-426-5500
Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Atmel Operations
Memory
2325 Orchard Parkway
San Jose, CA 95131
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
Tel: (33) 2-40-18-18-18
Fax: (33) 2-40-18-19-60
ASIC/ASSP/Smart Cards
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax: (33) 4-76-58-34-80
Zone Industrielle
13106 Rousset Cedex, France
Tel: (33) 4-42-53-60-00
Fax: (33) 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Scottish Enterprise Technology Park
Maxwell Building
East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743
e-mail
[email protected]
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