background image

UM025801-1112

Schematic Diagrams

Z51F3221 Development Kit

User Manual

38

Appendix A. Schematic Diagrams

Figures 32 and 33 display schematic diagrams of the Z51F3221 Development Board.

Figure 32. Z51F3221 Development Board, #1 of 2

Current measurement

PROTOTYPE AREA (.1X.1 GRID)
DO NOT POPULATE HEADERS

RESETB

DSCL

VCC

VCC

VCC_T

DSDA

RESETB

DSCL
DSDA

COM0

COM1

COM2

COM3

SEG0

SEG1

SEG2

SEG3

SEG5
SEG4

SEG7
SEG6

SEG8

SEG10
SEG9

SEG12
SEG11

SEG14
SEG13

SEG16
SEG15

SEG18
SEG17

SEG20
SEG19

SEG22
SEG21

SEG24
SEG23

SEG26
SEG25

SEG28
SEG27

SEG29
SEG30
SEG31

P82/REM
P83/PWM0
P84/EC0
P85/EINT10

P86/TxD
P87/RxD

P92

P00
P01

P02
P03
P04

P06
P07

P16

P15

P14

P21/AN1

P20/AN0

VCC

P24/AN4

P23/AN3

P22/AN2

P26/AN6

P25/AN5

P12

P34
P33
P32
P31

P27/AN7

P13

P03

P01

P02

P00

P31

P32

P33

P82/REM
P83/PWM0
P84/EC0
P85/EINT10
P92
P04
P06
P07
P12
P13

P15

P14

P16

P21/AN1

P20/AN0

P23/AN3
P24/AN4

P22/AN2

P25/AN5
P26/AN6

P34

P27/AN7

SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
COM0

SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
COM3

COM1

COM2

VCC_T

VCC_T

VCC_T

VCC_T

VCC_T

VCC_T

VCC_T

VCC_T

VCC_T

TxD

RxD

Title

Size

Document Number

Rev

Zilog

1590 Buckeye Drive
Milpitas, CA  95035
408-513-1500
Website: www.zilog.com

Page

Zilog Confidential All Rights Reserved

96C1329 001G

Z51F3221ATX Development Board

MCU

Title

Size

Document Number

Rev

Zilog

1590 Buckeye Drive
Milpitas, CA  95035
408-513-1500
Website: www.zilog.com

Page

Zilog Confidential All Rights Reserved

96C1329 001G

Z51F3221ATX Development Board

MCU

Title

Size

Document Number

Rev

Zilog

1590 Buckeye Drive
Milpitas, CA  95035
408-513-1500
Website: www.zilog.com

Page

Zilog Confidential All Rights Reserved

96C1329 001G

Z51F3221ATX Development Board

MCU

Y1

12 MHz

1

3

2

J7

1

C3

0.1uF

C5

0.1uF

SW1

B3U-1000P

1

2

J1

1x18

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

PROTO1

proto 15x8

1

1

2

2

3

3

4

4

7

7

5

5

8

8

6

6

R6

49.9K

U4

CEM1206S

+

1

-

2

C4

18pF

C2

18pF

SW2

B3U-1000P

1

2

SW5

B3U-1000P

1

2

R11

470

C1

0.1uF

R15

49.9K

SW3

B3U-1000P

1

2

R10

470

R14

49.9K

SW4

B3U-1000P

1

2

D1

LL4148

2

1

R9

470

R7

200

VR1

2.5V

1

2

3

Y2

32.768KHZ

J2

1x18

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18

R13

49.9K

R3
10K

D4

YELL

2

1

R8

2.2K

U2

spare

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

10

10

11

11

12

12

13

13

14

14

15

15

16

16

R12

49.9K

D3

RED

2

1

D2

GREEN

2

1

1

2

3

4

U1

Z51F322

P77/SEG3/RXD

1

P80/SEG32

2

P81/SEG33

3

P82/SEG34/REM

4

P83/SEG35/PWM0O/T0O

5

P84/SEG36/EC0

6

P85/SEG37/EINT10/ACK

7

P86/SEG38/TXD

8

P87/SEG39/RXD

9

VDD

10

VSS

11

XOUT

12

XIN

13

P92

14

SXIN

15

SXOUT

16

RESETB

17

VREG

18

P00/EINT0

19

P01/EINT1

20

P02/EINT2

21

P03/EINT3

22

P04/EINT4

23

P05/EINT5/EC3/BUZO

24

P06/EINT6

25

P07/EINT7

26

P10/DSCL

27

P11/DSDA

28

P12/EINT13/PWM3O/T3O

29

P13/EC3/BUZO

30

P14/SO

31

P15/SCK

32

P16/SI

33

P20/AN0

34

P21/AN1

35

P22/AN2

36

P23/AN3

37

P24/AN4

38

P25/AN5

39

P26/AN6

40

LVIREF/AN7/P27

41

AVREF

42

AVSS

43

VLC0/P31

44

VLC1/P32

45

VLC2/P33

46

VLC3/P34

47

COM0/P35

48

COM1/P36

49

SEG0/COM2/P40

50

SEG1/COM3/P41

51

SEG2/COM4/P42

52

SEG3/COM5/P43

53

SEG4/COM6/P44

54

SEG5/COM7/P45

55

SEG6/P46

56

SEG7/P47

57

SEG8/P50

58

SEG9/P51

59

SEG10/P52

60

SEG11/P53

61

SEG12/P54

62

SEG13/P55

63

SEG14/P56

64

SEG15/P57

65

SEG16/P60

66

SEG17/P61

67

SEG18/P62

68

SEG19/P63

69

SEG20/P64

70

SEG21/P65

71

SEG22/P66

72

SEG23/P67

73

SEG24/P70

74

SEG25/P71

75

REM/SEG26/P72

76

T0O/PWM0O/SEG27/P73

77

EC0/SEG28/P74

78

ACK/EINT10/SEG29/P75

79

TXD/SEG30/P76

80

U3

spare

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

10

10

11

11

12

12

13

13

14

14

15

15

16

16

J3

HDR/PIN 2x5

1

2

3

4

5

6

7

8

9

10

LCD1

VIM-878

1D_1E_1F_CA1

1

1L_1K_1J_1I

2

2D_2E_2F_CA2

3

2L_2K_2J_2I

4

3D_3E_3F_CA3

5

3L_3K_3J_3I

6

4D_4E_4F_CA4

7

4L_4K_4J_4I

8

5D_5E_5F_CA5

9

5L_5K_5J_5I

10

6D_6E_6F_CA6

11

6L_6K_6J_6I

12

7D_7E_7F_CA7

13

7L_7K_7J_7I

14

8D_8E_8F_CA8

15

8L_8K_8J_8I

16

COM0

17

COM1

18

COM2

19

COM3

20

8A-8B_8C_DP8

21

8H_8G_8N_8M

22

7A_7B_7C_DP7

23

7H_7G_7N_7M

24

6A_6B-6C_DP6

25

6H_6G_6N_6M

26

5A_5B_5C_DP5

27

5H_5G_5N_5M

28

4A_4B_4C_DP4

29

4H_4G_4N_4M

30

3A_3B_3C_DP3

31

3H_3G_3N_3M

32

2A_2B_2C_DP2

33

2H_2G_2N_2M

34

1A_1B_1C_DP1

35

1H_1G_1N_1M

36

R2
10K

C6

0.1uF

J6

1

J8

HDR/PIN 1x24

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

R5

1 ohm

Summary of Contents for Z51F3221

Page 1: ...Copyright 2012 Zilog Inc All rights reserved www zilog com User Manual Z51F3221 Development Kit Z8051 Family of 8 Bit Microcontrollers UM025801 1112...

Page 2: ...erform can be reason ably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Document Disclaimer 2012 Zilog Inc All rights reserved Information...

Page 3: ...F3221 Development Kit User Manual iii Revision History Each instance in the Revision History table below reflects a change to this document from its previous version Date Revision Level Description Pa...

Page 4: ...Operating Systems 7 Z8051 OCD Driver Installation 8 FTDI USB to UART Driver Installation 15 Configure the Z8051 OCD and Z51F3221 Development Board 17 Build and Run the Z51F3221 Demo Project 20 Using t...

Page 5: ...ure 11 Device Manager Dialog Windows 7 14 Figure 12 A Successful USB to UART Driver Installation 16 Figure 13 Connecting the 10 Circuit Cable to the Board 17 Figure 14 Connecting the USB Mini B Cable...

Page 6: ...1F3221 Development Board 2 of 2 39 Figure 34 Found New Hardware Dialog Windows Vista 40 Figure 35 Install Device Driver Dialog Windows Vista 41 Figure 36 Couldn t Find Driver Dialog Windows Vista 42 F...

Page 7: ...12 List of Tables Z51F3221 Development Kit User Manual vii List of Tables Table 1 Z51F3221000ZCOG Contents 2 Table 2 Z51F3221 Development Kit Sample Projects 36 Table 3 Z51F3221 Development Kit Docume...

Page 8: ...d a UART to USB port The Board fea tures the Z51F3221 MCU in a 80 pin LQFP package plus a DBG connector to connect the Board to a host development PC using the Z8051 USB On Chip Debugger OCD cable For...

Page 9: ...s of the Z51F3221 Development Kit Figure 1 The Z51F3221 Development Kit Table 1 Z51F3221000ZCOG Contents Item Description Quantity 1 Z51F3221 Development Board 1 2 Z8051 USB On Chip Debugger OCD 1 3 Z...

Page 10: ...rating Systems The Z51F3221 Development Board and the Z8051 On Chip Debugger support the follow ing operating systems Microsoft Windows XP Microsoft Windows Vista 32 bit 64 bit Microsoft Windows 7 32...

Page 11: ...ing components Z51F3221 U1 80 pin LQFP chip 3 LEDs Green D2 Red D3 and Yellow D4 connected to the GPIO pins of the Z51F3221 MCU 1 green LED to indicate USB power D5 1 red LED to indicate an overcurren...

Page 12: ...U6 and D6 External source of reference voltage 2 5V for the on chip ADC VR1 MCU current consumption measurement resistor R5 with test points J6 and J7 Buzzer U4 8 digit 14 segment LCD panel Test poin...

Page 13: ...6 In this instance power to the Board will be terminated and the USB port of the PC will be protected from shorting Schematic diagrams of the Z51F3221 Development Board are presented on pages 38 and...

Page 14: ...w Observe the following procedure to install the Z8051 On Chip Debugger software and documentation on your computer 1 Ensure that the OCD interface hardware is not connected to your PC 2 In a web brow...

Page 15: ...the two USB A male to Mini B cables with the host PC s USB port Connect the Mini B end to the OCD device 2 After the PC detects the new hardware it will display the Installing device driver soft ware...

Page 16: ...Z8051 Installation Z8051_ version_number device drivers OCD USB x64 4 When Windows prompts you whether to install or not install as shown in Figure 7 click Install this driver software anyway and wai...

Page 17: ...Installation Z51F3221 Development Kit User Manual 10 5 When the installation is complete the screen shown in Figure 8 will appear Click Close to exit the OCD driver installation Figure 7 Can t Verify...

Page 18: ...t Kit User Manual 11 On some installations the Found New Hardware screen shown in Figure 8 may also dis play the text string Zilog Z8051 USB OCD No Firmware This occurrence is normal and can be disreg...

Page 19: ...UM025801 1112 Z8051 OCD Driver Installation Z51F3221 Development Kit User Manual 12 Figure 9 Unsuccessful Installation Scenario 1...

Page 20: ...UM025801 1112 Z8051 OCD Driver Installation Z51F3221 Development Kit User Manual 13 Figure 10 Unsuccessful Installation Scenario 2...

Page 21: ...nstallation Z51F3221 Development Kit User Manual 14 6 If Zilog Z8051 USB OCD appears in the Device Manager as highlighted in Figure 11 the OCD driver software has been successfully installed Figure 11...

Page 22: ...ber device drivers FTDI Uart 3 The installation process will begin and you should observe output similar to the fol lowing messages on the screen of your PC 32 bit OS detected installation path dpinst...

Page 23: ...s 7 systems launch the Start menu enter device manager in the Search programs and files field and press the Enter key To open the Device manager on earlier Windows systems navigate via the following p...

Page 24: ...t the power up sequence Carefully follow these steps to avoid encountering an improper connection or disconnection 1 Connect the Z8051 On Chip Debugger OCD to the host PC s USB port 2 Connect one end...

Page 25: ...to the Z51F3221 Board s P1 con nector to apply power to the Board Note that the green LED D5 is ON see Figure 14 In the event that you later remove the LCD panel from the Board observe its orientation...

Page 26: ...UM025801 1112 Configure the Z8051 OCD and Z51F3221 Z51F3221 Development Kit User Manual 19 Figure 15 An Example Setup...

Page 27: ...key to continue Proceed by pressing any key on your keyboard as a result a hex file for the demo will be created in the following path Z8051 Installation Z8051_ version_number samples Z51F3221 Demo de...

Page 28: ...ree download of the latest version of the OCD software visit the Zilog website and navigate via the Tools and Software menu to Software Downloads 5 In the Debugger window select Load Hex from the File...

Page 29: ...ect Z51F3221 Development Kit User Manual 22 6 In the Object File dialog browse to the hex file that you created in Step 2 and click Open 7 Click the Download button to open the Configuration dialog bo...

Page 30: ...evelopment Kit User Manual 23 8 Click the Write button If you have modified any of the settings in the Configuration dialog the Configuration Is Changed dialog shown in Figure 19 will appear Figure 18...

Page 31: ...e disregard the instructions stated in the Configuration Is Changed dialog and pro ceed to Step 9 9 Click OK to open the On Chip Debugger s main window A typical OCD display is shown in Figure 20 Figu...

Page 32: ...ample win dows shown in Figure 21 do not need to be opened 10 Click the Reset Go toolbar icon shown in Figure 22 As a result LEDs D2 D3 and D4 on the Z51F3221 Board will blink in sequence and the LCD...

Page 33: ...project example that follows the Z51F3221 MCU related project is referenced as Demo This document refers to the Keil Vision IDE V4 53 0 6 PK51 Prof Developers Kit or later Refer to the Z8051 Tools Pro...

Page 34: ...r Manual 27 4 Return to the Project menu and select Options for Target Demo 5 In the Options for Target Demo dialog that appears click the Device tab and ensure that your target is properly selected f...

Page 35: ...DE on a Demo Project Z51F3221 Development Kit User Manual 28 6 After selecting the target click the Debug tab and select the Zilog Z8051 Target Driver from the Use drop down menu as highlighted in Fig...

Page 36: ...nt Kit User Manual 29 7 Click the Settings button located to the right of this drop down menu to configure your Debug and Flash options The Settings dialog is displayed with the Debug Options tab appe...

Page 37: ...ers used in your project will run while the processor is stopped by the debugger The Reset at Main option will only work if you have a main file in your project oth erwise you should deselect this opt...

Page 38: ...lect the Load Application at Startup checkbox as shown in Figure 28 so that the IDE will download the code upon con nection There is no need to select or enter an initialization file 11 Click OK to ex...

Page 39: ...Kit User Manual 32 13 Start your debugging session by clicking the Start Stop Debug Session icon as indi cated in Figure 29 A default Windows configuration of the debug session is shown in Figure 30 F...

Page 40: ...icon Refer to Appendix D on page 46 for a discussion of Stand Alone Flash Programming Using the Keil Vision IDE HyperTerminal Configuration A communications program such as HyperTerminal can be used o...

Page 41: ...lect the following settings 9600bps 8 data bits No parity 1 stop bit No flow control 3 Click the Call button to connect to the Z51F3221 Board Upon connection you should be able to see the Demo program...

Page 42: ...l 35 to create edit run and debug this project please see the Z8051 Tools Product User Guide PUG0033 and or the Z8051 On Chip Debugger and In System Programmer User Man ual UM0240 Turn off the power b...

Page 43: ...Documentation Chip_Documentation Z51F0811 Product Specification PS0296 Documentation Chip_Documentation Z51F3220 Product Specification PS0299 Documentation Chip_Documentation Z51F3221 Product Specific...

Page 44: ...pment Kit User Manual 37 Z51F6412 Development Kit User Manual UM0259 Documentation Tools_Documentation Z8051 Tools Product User Guide PUG0033 Documentation Tools_Documentation Table 3 Z51F3221 Develop...

Page 45: ...2 R11 470 C1 0 1uF R15 49 9K SW3 B3U 1000P 1 2 R10 470 R14 49 9K SW4 B3U 1000P 1 2 D1 LL4148 2 1 R9 470 R7 200 VR1 2 5V 1 2 3 Y2 32 768KHZ J2 1x18 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 R13 49 9...

Page 46: ...J11 1 L1 FERRITE BEAD J10 1 P1 USB mini B VBUS 1 DM 2 DP 3 ID 4 GND 5 SH1 6 SH2 7 SH3 8 SH4 9 h1 10 h2 11 C9 1uF R16 470 R18 1 5K J9 1 D5 GREEN 2 1 R21 4 75K C10 1uF C13 0 01uF C12 0 1uF R20 20K 1 3...

Page 47: ...will remain unconnected while you install these drivers 1 Connect the OCD hardware to the USB port of your PC by connecting the A male end of one of the two USB A male to Mini B cables with the devel...

Page 48: ...pment Kit User Manual 41 4 When the Insert the Disc dialog appears as shown in Figure 35 select I don t have the disc Show me other options Click the Next button to display the dialog that follows whi...

Page 49: ...M025801 1112 OCD Driver Installation on Windows Vista Systems Z51F3221 Development Kit User Manual 42 5 Return to page 8 and follow Steps 3 through 6 Figure 36 Couldn t Find Driver Dialog Windows Vist...

Page 50: ...the target side of the OCD will remain unconnected while you install these drivers 1 Connect the OCD hardware to the USB port of your PC by connecting the A Male end of one of the two USB A male to M...

Page 51: ...aths and click the Next button leaving all other selections at their default settings On 32 bit machines use the following path Z8051 Installation Z8051_ version_number device drivers OCD USB x32 On 6...

Page 52: ...1 Development Kit User Manual 45 4 When Windows prompts you whether to continue the installation or stop click the Continue Anyway button and wait until the installation is completed Windows may promp...

Page 53: ...the Project menu open the Options for Target your project and click the Utilities tab In the Use Target Driver for Flash Programming drop down menu within the Configure Flash Menu Command pane ensure...

Page 54: ...Options dia log 4 Click OK to exit the Options For Target Demo dialog 5 From the Flash menu of the Keil IDE see Figure 41 select either of the following options Select Download to program Flash memor...

Page 55: ...og s Technical Support page at http sup port zilog com To learn more about this product find additional documentation or to discover other fac ets about Zilog product offerings please visit the Zilog...

Reviews: