background image

Complete Schematics

6-2

STK502 User Guide

2528A–AVR–11/02

Figure 6-1.  Schematics, 1 of 3

1

2

3

4

5

6

78

A

B

C

D

8

7

6

5

4

3

2

1

D

C

B

A

A9903.3.1020.B

MCU.Sch

13

27-Aug-2002

16:12:06

STK502

add-on

card

for

ATmega169,

SOCKETS

ATMEL

Norway

Vestre

Rosten

78,

7075

TILLER

NORWAY

PAGE:

of

TITLE:

Document

number:

Revision:

B

Date:

PAT

[7

..0

]

PC

T

[7..0]

PAT[7..0]

PCT[7..0]

PFT[7..0]

PFT

[7

..0

]

PGT[5..0]

PGT

[5

..0

]

AREFT

XTAL1

XTAL2

PDT[7..0]

PBT[7..0]

PB

T

[7..0]

PDT

[7

..0

]

PET0

PET1

PET2

PET3

PET4

PET5

PET6

PET7

PET[7..0]

PET[

7.

.0

]

PB

T

0

PB

T

1

PB

T

2

PB

T

3

PB

T

4

PB

T

5

PB

T

6

PB

T

7

VTG

GND

PAT0

PAT1

PAT2

PAT

3

PAT

4

PAT

5

PAT

6

PAT

7

PC

T

0

PC

T

1

PC

T

2

PC

T

3

PC

T

4

PC

T

5

PC

T

6

PC

T

7

VTG

GND

PGT

0

PGT

1

PGT

2

PDT0

PDT1

PDT2

PDT3

PDT4

PDT5

PDT6

PDT7

ADC0

ADC1

PFT2

PFT3

PFT4

PFT5

PFT6

PFT7

GND

AVTG

PAT

[7

..0

]

PC

T

[7..0]

PAT[7..0]

PCT[7..0]

PFT[7..0]

PFT[

7.

.0

]

PGT[5..0]

PG

T

[5..0]

AREFT

XTAL1

XTAL2

PDT[7..0]

PBT[7..0]

PB

T

[7..0]

PD

T

[7..0]

PET0

PET1

PET2

PET3

PET4

PET5

PET6

PET7

PET[7..0]

PET[

7.

.0

]

PB

T

0

PB

T

1

PB

T

2

PB

T

3

PB

T

4

PB

T

5

PB

T

6

PB

T

7

VTG

GND

PAT0

PAT1

PAT2

PAT

3

PAT

4

PAT

5

PAT

6

PAT

7

PC

T

0

PC

T

1

PC

T

2

PC

T

3

PC

T

4

PC

T

5

PC

T

6

PC

T

7

VTG

GND

PGT

0

PGT

1

PGT

2

PDT0

PDT1

PDT2

PDT3

PDT4

PDT5

PDT6

PDT7

ADC0

ADC1

PFT2

PFT3

PFT4

PFT5

PFT6

PFT7

GND

AVTG

Z

IF

 So

ck

et

T

Q

FP

 Fo

ot

pr

in

t

VTG

AVTG

1

2

C102

100N_16V

_X7R

1

2

C103

100N_16V

_X7R

1

2

C107

100N_16V

_X7R

1

2

C106

100N_16V

_X7R

2

1

L100

BLM

-21A

102S

GND

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

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

ST

100

T

Q

FP64 ZIF SOCKET

1

2

C104

100N_16V

_X7R

1

2

C105

100N_16V

_X7R

1

2

C100

100N_16V

_X7R

1

2

C101 100N_16V

_X7R

AR

E

FT

AR

E

FT

GND

GND

PD7(SEG15)

32

PD6(SEG16)

31

PD5(SEG17)

30

PD4(SEG18)

29

PD3(SEG19)

28

PD2(SEG20)

27

PD1(INT0/SEG21)

26

PD0(ICP/SEG22)

25

LCDCAP

1

PE0(RXD)

2

PE1(TXD)

3

PE2(AIN0/XCK)

4

PE3(AIN1)

5

PE4(SCL/USCK)

6

PE5(SDA/DI)

7

PE6(DO)

8

XTAL1(TOSC1)

24

XTAL2(TOSC2)

23

GND

22

VCC

21

PG5(RESET)

20

PG4(T0/SEG23)

19

PG3(T1/SEG24)

18

PB7(OC2)

17

PB6(OC1B)

16

PB5(OC1A)

15

PB4(OC0)

14

PB3(MISO)

13

PB2(MOSI)

12

PB1(SCK)

11

PB0(SS)

10

PE7

9

(SEG14)PG0

33

(SEG3)PA7

44

(SEG4)PG2

43

(SEG5)PC7

42

(SEG6)PC6

41

(SEG7)PC5

40

(SEG8)PC4

39

(SEG9)PC3

38

(SEG10)PC2

37

(SEG11)PC1

36

(SEG12)PC0

35

(SEG13)PG1

34

(SEG2)PA6

45

(SEG1)PA5

46

(SEG0)PA4

47

(COM3)PA3

48

AVCC

64

AGND

63

AREF

62

(ADC0)PF0

61

(ADC1)PF1

60

(ADC2)PF2

59

(ADC3)PF3

58

(TCK/ADC4)PF4

57

(TMS/ADC5)PF5

56

(TDO/ADC6)PF6

55

(TDI/ADC7)PF7

54

GND

53

VCC

52

(COM0)PA0

51

(COM1)PA1

50

(COM2)PA2

49

U100

ATMEGA169L-4AC

Not m

ounted

PGT3

PGT4

GND

L

C

DC

AP

GND

L

C

DC

AP

PGT3

PGT4

ADC0

ADC0

ADC1

ADC1

PGT5

PGT5

1

2

C108

1U_16V

_X7R

Not m

ounted

1

2

C109

1U_16V

_X7R

Summary of Contents for STK502

Page 1: ...STK502 User Guide...

Page 2: ......

Page 3: ...JTAG Connector 2 6 2 5 LCD Display 2 7 2 5 1 Connecting the STK502 LCD to the ATmega169 2 7 2 5 2 Default Segment Configuration 2 7 2 5 3 Using Both Colons on the Display 2 8 2 6 TOSC Switch 2 10 2 7...

Page 4: ...Table of Contents ii STK502 User Guide 2528A AVR 11 02 Section 5 Technical Support 5 1 Section 6 Complete Schematics 6 1...

Page 5: ...ping This user guide is a general getting started guide as well as a complete technical refer ence for advanced users The STK502 board also includes a demonstration application and comes with two appl...

Page 6: ...sion Connectors for Port E F and G LCD Display Header for Using an External LCD Display LCD and Other Peripherals Can be Disconnected from the Device JTAG Connector for On chip Debugging Using JTAG IC...

Page 7: ...the STK502 top module should match EXPAND0 written beside the expansion header on the STK500 board Figure 2 1 Connecting STK502 to the STK500 Board Note Connecting STK502 with wrong orientation may d...

Page 8: ...y as the ports on the STK500 board Port A to Port D are already present on the STK500 board They are not duplicated on the STK502 2 2 1 PORT E PORT F Figure 2 3 shows the pin out for the I O port head...

Page 9: ...hat it is not directly con nected to the ZIF socket or the TQFP footprint on the STK502 This because the RESET signal on the STK500 has an pull up resistor to VCCT which will interfere with PG5 when u...

Page 10: ...ing See AVR109 application note for more information on this topic Note The jumper for the Reset signal on PORTG RST must be mounted before any programming can take place See Section 2 2 2 2 2 3 1 In...

Page 11: ...mount the BSEL2 jumper in order to High voltage Program the ATmega devices This setting also applies to High voltage Programming of the ATmega169 The device can now be programmed using the High volta...

Page 12: ...n JTAG interface The pin out of the connector is shown in Figure 2 9 and is compliant with the pin out of the JTAG ICE available from Atmel Connecting a JTAG ICE to this connector allows On chip Debug...

Page 13: ...TB and PORTD Be sure to disconnect any LCD display connected to the ATmega169 during the High voltage Programming Otherwise the lifetime of the display may be reduced Caution When using PORTA PORTC PO...

Page 14: ...lock date etc shall be displayed it can be useful to control both colons on the LCD display But connecting these LCD pins will also lead to a connection between segment see Technical Specifications S5...

Page 15: ...gh the ordinary Port connectors PORTA PORTC PORTD and PORTG Note Make sure the display is compatible with the electrical characteristics on the ATmega169 For more information on how to write software...

Page 16: ...re shared with XTAL1 and XTAL2 The TOSC switch selects whether the 32 kHz crystal on the STK502 or the XT1 XT2 signals from STK500 should be connected to these pins on the device Figure 2 15 shows a s...

Page 17: ...t that when the temperature goes down the resis tance goes up Using a voltage divider and reading the voltage over the thermistor through the ADC channels on ATmega169 the temperature can be calculate...

Page 18: ...h Positions PIN In this position the PF0 and PF1 are from the PORTF on the STK502 are connected to the PF0 and PF1 on the ATmega169 Default position Sensor In this position the pin 1 from the screw te...

Page 19: ...he LCD seems to be stuck at high low The PORTA C D and or G are connected to something else than the LCD display Check that nothing is connected to these PORTS on the STK500 and STK502 Can t control P...

Page 20: ...properly Please refer to Figure 2 7 for correct Parallel Programming setup STK500 target voltage error Please refer to the ATmega169 data sheet for the Parallel Programming Voltage limits Adjust the t...

Page 21: ...1 Rev 2528A AVR 11 02 Section 4v Technical Specifications System Unit Physical Dimensions 56 x 119 x 27 mm Weight 70 g Operating Conditions Voltage Supply 1 8V 5 5V Temperature 0 C 50 C LCD display O...

Page 22: ...Technical Specifications 4 2 STK502 User Guide 2528A AVR 11 02 Figure 4 1 Layout for the STK502 LCD display...

Page 23: ...w 4 1 3 Alphanumeric Digit Number Four The bit mappings for the alphanumeric digit number four are listed below 4 1 4 Alphanumeric Digit Number Five The bit mappings for the alphanumeric digit number...

Page 24: ...git number seven are listed below Table 4 5 Bit Mappings for LCD Alphanumeric Digit Number Six Register Name Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 LCDDR2 6 K 9 S9 6 A LCDDR7 6 J 6 F 6 H 6 B LCDDR12...

Page 25: ...ion Which target AVR device is used complete part number Target voltage and speed Clock source and fuse setting of the AVR Programming method ISP or High voltage Hardware revisions of the AVR tools fo...

Page 26: ...Technical Support 5 2 STK502 User Guide 2528A AVR 11 02...

Page 27: ...STK502 User Guide 6 1 Rev 2528A AVR 11 02 Section 6 Complete Schematics On the following pages the complete schematics and assembly drawing of the STK502 revision B are shown...

Page 28: ...TG AVTG 1 2 C102 100N_16V_X7R 1 2 C103 100N_16V_X7R 1 2 C107 100N_16V_X7R 1 2 C106 100N_16V_X7R 2 1 L100 BLM 21A102S GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3...

Page 29: ...202 1 2 3 4 5 6 7 8 9 10 J204 1 2 3 4 5 6 7 8 9 10 J203 1 2 3 4 5 6 7 8 9 10 J205 EXPAND0 EXPAND1 1 2 C201 100N_16V_X7R 1 2 C200 100N_16V_X7R 1 2 C202 100N_16V_X7R 1 2 C203 100N_16V_X7R GND GND VTG VT...

Page 30: ...20 S4 5F 5E 5P 21 4 4H 4G 4N 22 S3 4F 4E 4P 23 3 COL1 S7 7 24 S2 3H 3G 3N 25 2 3F 3E 3P 26 2A 2B 2C 2D 27 S1 2H 2G 2N 28 1 2F 2E 2P 29 X1 1B 1C S6 30 1A 1J 1N 1D 31 1F 1G 1E X2 32 BP1 33 BP2 34 LCD di...

Page 31: ...Complete Schematics STK502 User Guide 6 5 2528A AVR 11 02 Figure 6 4 Assembly Drawing 1 of 1...

Page 32: ...Complete Schematics 6 6 STK502 User Guide 2528A AVR 11 02...

Page 33: ...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 Memory 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 441 0311 FAX...

Reviews: