background image

Appendix

4-16

AT89C5131A Starter Kit Hardware User Guide

4245A–USB–11/04

5

5

4

4

3

3

2

2

1

1

D

D

C

C

B

B

A

A

VSS

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_7

P2_6

ALE

_EA

_PSEN

P3_7

P3_6

P3_5

P3_4

P3_3

P3_2

AVDD

PLLF

AVSS

P4_0

P4_1

P1_7

P1_5

P1_4

P1_3

P1_1

P1_0

_RST

XTAL1

XTAL2

P3_0

P3_1

VDD

P0_0

VREF

D+

D-

_EA

P1_2

P1_6

P2_7

P2_1

P1_4

P2_6

_EA

P1_3

P1_2

ALE

P2_4

P1_1

P3_0

P4_0

P3_5

P4_1

P1_6

P1_5

XTAL1

P2_3

P1_7

P3_3

VDD

P2_0

D-

AVSS

P2_5

P2_2

P3_2

VREF

P0_0

_PSEN

P3_4

D+

PLLF

AVDD

P1_0

XTAL2

XTAL2

ECI

P1_2

XTAL1

ALE_L

LED0

P3_3

LED1

P3_5

LED2

P3_6

LED3

P3_7

Vss

_RST_SW

Vcc

Vss

XTAL1

P3_2

Vss

P3_1

_PSEN

P1_0

XTAL2_G

XTAL2

_RST_G

_RST

ALE_L

ALE

UCAP

UCAP

UCAP

Vcc

Vcc

Vcc

Vcc

Vcc

Vcc

Vcc

Vcc

Vcc

Vcc

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

ALE

_EA

_PSEN

P3_7

P3_6

P3_5

P3_4

P3_3

P3_2

VREF

D+

D-

AVDD

PLLF

AVSS

P4_0

P4_1

P1_7

P1_6

P1_5

P1_4

P1_3

P1_2

P1_1

P1_0

_RST

P3_0

P3_1

Vss

Vcc

XTAL1

_RST

XTAL2_G

_RST_G

Title

Size

Document Number

Rev

Date:

Sheet

of

1

1.0.2

AT89C5131 Evab_2.0.0- CPU

A

34

Thursday, May 13, 2004

Title

Size

Document Number

Rev

Date:

Sheet

of

1

1.0.2

AT89C5131 Evab_2.0.0- CPU

A

34

Thursday, May 13, 2004

Title

Size

Document Number

Rev

Date:

Sheet

of

1

1.0.2

AT89C5131 Evab_2.0.0- CPU

A

34

Thursday, May 13, 2004

Not Mounted for v2.0.0

Closed for v2.0.0

Closed for v2.0.0

C14

10 nF

C14

10 nF

MR

1

VCC

2

GND

3

PFI

4

 PFO

5

RST

7

RST

8

U2

MAX708SCSA

U2

MAX708SCSA

1

2

CT13

CONTACT

CT13

CONTACT

R13

1 K

R13

1 K

1

2

CT8

CONTACT

CT8

CONTACT

D7

LED RED

ALE

D7

LED RED

ALE

1

2

CT11

CONTACT

CT11

CONTACT

P2.0/A8/D8

56

P2.1/A9/D9

57

P2.2/A10/D10

58

P1.5/CEX2/KIN5/MISO

59

P1.6/CEX3/KIN6/SCK

60

P1.7/CEX4/KIN7/MOSI

61

P4.0/SCL

62

P4.1/SDA

63

P2.3/A11/D11

2

P2.4/A12/D12

3

P2.5/A13/D13

4

XTAL2

5

XTAL1

6

P2.6/A14/D14

7

P2.7/A15/D15

8

VDD

9

AVDD

10

UCAP

11

AVSS

12

P3.0/RxD

14

PLLF

19

D-

20

D+

21

VREF

22

UVSS

23

EA

24

ALE

25

PSEN

26

P3.1/TxD

27

P3.2/INT0

28

P3.3/INT1/LED0

29

P3.4/T0

30

P3.5/T1/LED1

31

nc11

34

P3.6/WR/LED2

35

P0.7/AD7/D7

36

P0.6/AD6/D6

37

P0.5/AD5/D5

38

P3.7/RD/LED3

39

P0.4/AD4/D4

40

VSS

42

P0.3/AD3/D3

43

RST

44

P0.2/AD2/D2

45

P0.1/AD1/D1

46

nc13

47

P0.0/AD0/D0

55

P1.4/CEX1/KIN4

54

P1.3/CEX0/KIN3

53

P1.2/ECI/KIN2

52

P1.1/T2EX/KIN1/SS

51

P1.0/T2/KIN0

50

nc16

64

nc1

1

nc15

49

nc14

48

nc12

41

nc10

33

nc9

32

nc7

18

nc6

17

nc5

16

nc4

15

nc3

13

U5

AT89C5131A-M_64

U5

AT89C5131A-M_64

C11

22 pF

C11

22 pF

C8

0.1 µF

C8

0.1 µF

C22

1µF

C22

1µF

1

2

J8

SYS CLK

J8

SYS CLK

Y1

CRYSTAL

Y1

CRYSTAL

1

2

J7

INT0

J7

INT0

1

2

CT14

CONTACT

CT14

CONTACT

C21

1 µF

C21

1 µF

C9

100 nF

C9

100 nF

1

2

CT9

CONTACT

CT9

CONTACT

C12

22 pF

C12

22 pF

R9

4.7 K

R9

4.7 K

1

2

J10

EA

J10

EA

D3

LED PWR GREEN

LED0

D3

LED PWR GREEN

LED0

SW3

RESET

SW3

RESET

SW5

INT0

SW5

INT0

R12

10 K

R12

10 K

D6

LED PWR GREEN

LED3

D6

LED PWR GREEN

LED3

C10

10 nF

C10

10 nF

1

2

CT10

CONTACT

CT10

CONTACT

C13

100 nF

C13

100 nF

P2.0/A8/D8

1

P2.1/A9/D9

2

P2.2/A10/D10

3

P1.5/CEX2/KIN5/MISO

4

P1.6/CEX3/KIN6/SCK

5

P1.7/CEX4/KIN7/MOSI

6

P4.0/SCL

7

P4.1/SDA

8

P2.3/A11/D11

9

P2.4/A12/D12

10

P2.5/A13/D13

11

XTAL2

12

XTAL1

13

P2.6/A14/D14

14

P2.7/A15/D15

15

VDD

16

AVDD

17

UCAP

18

AVSS

19

P3.0/RxD

20

PLLF

21

D-

22

D+

23

VREF

24

UVSS

25

EA

26

ALE

27

PSEN

28

P3.1/TxD

29

P3.2/INT0

30

P3.3/INT1/LED0

31

P3.4/T0

32

P3.5/T1/LED1

33

nc3

34

P3.6/WR/LED2

35

P0.7/AD7/D7

36

P0.6/AD6/D6

37

P0.5/AD5/D5

38

P3.7/RD/LED3

39

P0.4/AD4/D4

40

VSS

41

P0.3/AD3/D3

42

RST

43

P0.2/AD2/D2

44

P0.1/AD1/D1

45

nc4

46

P0.0/AD0/D0

52

P1.4/CEX1/KIN4

51

P1.3/CEX0/KIN3

50

P1.2/ECI/KIN2

49

P1.1/T2EX/KIN1/SS

48

P1.0/T2/KIN0

47

U3

AT89C5131_52

U3

AT89C5131_52

R10

2.2 K

R10

2.2 K

SW2

ISP Switch

SW2

ISP Switch

D5

LED PWR GREEN

LED2

D5

LED PWR GREEN

LED2

1

2

J9

PCA CLK

J9

PCA CLK

D4

LED PWR GREEN

LED1

D4

LED PWR GREEN

LED1

R11

10 K

R11

10 K

SW4

ISP

SW4

ISP

Summary of Contents for AT89C5131A

Page 1: ...AT89C5131A Starter Kit Hardware User Guide ...

Page 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 ...

Page 3: ...ures 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 E...

Page 4: ...Introduction 1 2 AT89C5131A Starter Kit Hardware User Guide 4245A USB 11 04 Figure 1 1 AT89C5131A Evaluation Board ...

Page 5: ... 04 Section 2 Hardware Description 2 1 Block Diagram Figure 2 1 AT89C5131A Evaluation Board Components AT89C5131A Power Supply USB TWI SPI RS232 LED C51 Generic Board Interface Reset ISP EA INT0 Device Device Host Device Human C51 Generic Board Programming Specific Device Interface ...

Page 6: ...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 LIM REG VBUS 5V 3 3V ICC PWR S PWR VCC LIM REG VBUS 5V 3 3V ICC PWR S PWR VCC LIM REG VBUS 5V 3 3V ICC PWR S PWR VCC LIM REG VBUS 5V 3 3V ICC PWR S PWR VCC LIM REG VBUS 5V 3 3V ICC PWR S PWR VCC LIM REG VBUS 5V ...

Page 7: ...onnector 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 ...

Page 8: ... 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 per...

Page 9: ...hese 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 L...

Page 10: ...2 VSS NC NC NC NC NC NC NC NC BUZZER VSS VSS 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 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 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 ...

Page 11: ...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 t...

Page 12: ...AT89C5131A Starter Kit Hardware User Guide 4 11 Rev 4245A USB 11 04 Section 4 Appendix ...

Page 13: ... n load TP1 D T P 1 J2 C O N N E C T O R S I P 6 R A S P I Male 1 2 3 4 5 6 J3 L P C Test Mode Male 1 2 3 4 5 6 7 8 9 10 C 5 0 1 µ F R 4 27 Electrical Schematics 5 5 4 4 3 3 2 2 1 1 D D C C B B A A D D V R E F V b u s U S B _ C O N _ D U S B _ C O N _ D P L L F A V D D _ S S M I S O S C K M O S I V V G N D T x _ P C G e n e r i c _ S C L S D A S C L T x D _ µ C R x D _ µ C G e n e r i c _ S D A V ...

Page 14: ...3_3 P3_4 P3_5 P3_6 P3_7 P3_0 _ R S T _ G Vss Vss Vcc Vss G e n e r i c _ S D A G e n e r i c _ S C L _ E A Vss Vss XTAL2 _ G _ P S E N A L E Vss Vss Vss 4 3 5 _ 1 2 V 4 3 5 _ 1 2 V Vss P4_0 P4_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 T itle S ize D o c u m e n t N u m b e r R e v D a t e S heet o f 1 1 0 2 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...

Page 15: ... A14 D14 7 P2 7 A15 D15 8 VDD 9 AVDD 10 UCAP 11 AVSS 12 P3 0 RxD 14 PLLF 19 D 20 D 21 VREF 22 UVSS 23 EA 24 ALE 25 PSEN 26 P3 1 TxD 27 P3 2 INT0 28 P3 3 INT1 LED0 29 P3 4 T0 30 P3 5 T1 LED1 31 nc11 34 P3 6 WR LED2 35 P0 7 AD7 D7 36 P0 6 AD6 D6 37 P0 5 AD5 D5 38 P3 7 RD LED3 39 P0 4 AD4 D4 40 VSS 42 P0 3 AD3 D3 43 RST 44 P0 2 AD2 D2 45 P0 1 AD1 D1 46 nc13 47 P0 0 AD0 D0 55 P1 4 CEX1 KIN4 54 P1 3 CE...

Page 16: ... A14 D14 7 P2 7 A15 D15 8 VDD 9 AVDD 10 UCAP 11 AVSS 12 P3 0 RxD 14 PLLF 19 D 20 D 21 VREF 22 UVSS 23 EA 24 ALE 25 PSEN 26 P3 1 TxD 27 P3 2 INT0 28 P3 3 INT1 LED0 29 P3 4 T0 30 P3 5 T1 LED1 31 nc11 34 P3 6 WR LED2 35 P0 7 AD7 D7 36 P0 6 AD6 D6 37 P0 5 AD5 D5 38 P3 7 RD LED3 39 P0 4 AD4 D4 40 VSS 42 P0 3 AD3 D3 43 RST 44 P0 2 AD2 D2 45 P0 1 AD1 D1 46 nc13 47 P0 0 AD0 D0 55 P1 4 CEX1 KIN4 54 P1 3 CE...

Page 17: ...1 µ F U 8 D F 0 0 5 S 1 3 2 4 C 1 5 0 1 µ F TP6 G N D T P 2 1 J P 2 L i m i t e r J u m p e r 1 1 2 2 3 3 D 1 1 S M B J 9 0 A R 2 0 121 1 5 5 4 4 3 3 2 2 1 1 D D C C B B A A limiter_in P o w e r S u p p ly 2 P O W E R R E G _ I N R E G _ O U T V c c G N D G N D V b u s R E G _ I N Power P o w e r S u p p ly 1 P O W E R 9 V P o w e r S u pply l i m i ter_out o v e r _ l i m i t er P o w e r S u ppl...

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

Page 19: ... Top view TOP BOTTOM LEFT 2 54 mm 93 98 mm 37 2 54 mm RIGHT 5 08 mm 5 08 mm 75 mm 99 06 mm Right connector C51 Generic Board s Left connector 2 54 mm 2 54 mm 7 00 mm 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 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 R...

Page 20: ...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 ...

Page 21: ...ppendix AT89C5131A Starter Kit Hardware User Guide 4 22 4245A USB 11 04 SW3 SW4 SW5 PUSH BUTTON U2 MAX708SCSA U6 TPS2041AD U9 LM1084 TO263 Y1 CRYSTAL Table 4 1 Bill of Materials Continued Reference Part ...

Page 22: ...69 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 Memory 2325 Orchard Parkway San Jose CA 95131 Tel 1 408 441 0311 Fax 1 408 436 4314 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 Sm...

Page 23: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Atmel AT89STK 05 ...

Reviews: