Hide thumbs Also See for Z8051 Series:
Table of Contents

Advertisement

Quick Links

Z8051
Family of 8-Bit Microcontrollers
Z51F3220 Development Kit
User Manual
UM024304-0412
Copyright ©2012 Zilog ® , Inc. All rights reserved.
www.zilog.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8051 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for ZiLOG Z8051 Series

  • Page 1 ™ Z8051 Family of 8-Bit Microcontrollers Z51F3220 Development Kit User Manual UM024304-0412 Copyright ©2012 Zilog ® , Inc. All rights reserved. www.zilog.com...
  • Page 2 HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. Z8051 is a trademark or registered trademark of Zilog, Inc. All other product or service names are the property of their respective owners.
  • Page 3: Revision History

    Z51F3220 Development Kit User Manual Revision History Each instance in the Revision History table below reflects a change to this document from its previous version. Revision Date Level Description Page Updated for improved usability. 2012 Added a G to end of part number to indicate RoHS compliance; added 2012 Figure 21.
  • Page 4: Table Of Contents

    Z51F3220 Development Kit User Manual Table of Contents Revision History............iii List of Figures.
  • Page 5: List Of Figures

    Z51F3220 Development Kit User Manual List of Figures Figure 1. The Z51F3220 Development Kit ........2 Figure 2.
  • Page 6 Z51F3220 Development Kit User Manual List of Tables Table 1. Z51F3220000ZCOGG Contents ........2 Table 2.
  • Page 7: Introduction

    Z51F3220 Development Kit User Manual Introduction This manual describes how to set up Zilog’s Z51F3220 Development Kit (Zilog part num- ber Z51F3220000ZCOG) and use it to evaluate your Z8051-based designs and applica- tions. The Kit features a development board consisting of five LEDs, five pushbuttons, a buzzer, four 7-segment LCD digits, port pin headers and a UART-to-USB port.
  • Page 8: Kit Contents

    Z51F3220 Development Kit User Manual Figure 1. The Z51F3220 Development Kit Kit Contents Table 1 lists the contents of the Z51F3220 Development Kit. Table 1. Z51F3220000ZCOGG Contents Item Description Quantity Z51F3220 Development Board Z8051 USB On-Chip Debugger (OCD) Z8051 OCD Target Cable (10ckt) USB Cable: A (male) to Mini-B Z8051 OCD Software and Documentation CDROM Z51F3220 Development Kit Insert (FL0139)
  • Page 9: Supported Operating Systems

    Z51F3220 Development Kit User Manual Appendix 2 on page 3 displays an image of the Z51F3220 Development Board. Figure 2. Z51F3220 Development Board Supported Operating Systems The Z51F3220 Development Board and the Z8051 On-Chip Debugger support the follow- ing operating systems: •...
  • Page 10: Z51F3220 Development Board Description

    Z51F3220 Development Kit User Manual Figure 3. Block Diagram of the Z51F3220 Development Board Z51F3220 Development Board Description The Z51F3220 Development Board consists of the following components: • Z51F3220: U2, 44-pin MQFP chip • 3 LEDs: Green (D2), Red (D3) and Yellow (D4) connected to the GPIO pins of the Z51F3220 MCU •...
  • Page 11: Figure 4. Z51F3220 Development Board: Highlighted Components

    Z51F3220 Development Kit User Manual • USB interface providing power and communication to the Board through adjustable LD0: U5 • Power supply level that can be adjusted with potentiometer R22 • Overcurrent protection circuit on the Board: U6 and D6 •...
  • Page 12: Table 2. Default Jumper Settings

    Z51F3220 Development Kit User Manual By default, the Z51F3220 Development Board is set up with preinstalled shunts on J16 jumper pins 1–2 and 5–6 to allow the interfacing of the Z51F3220 MCU’s UART0 to the USB port. When the Board is connected to the USB port of the host PC, LED D5 will be ON.
  • Page 13: Install The Z8051 Ocd Software And Documentation

    Z51F3220 Development Kit User Manual Install the Z8051 OCD Software and Documentation The Z8051 On-Chip Debugger (OCD) interface is the interface by which your PC will communicate with the Z51F3220 MCU to download and execute code. In addition to the OCD, software such as development tools and sample applications will be installed.
  • Page 14: Figure 5. Install Device Driver Dialog, Windows 7

    Figure 5. Install Device Driver Dialog, Windows 7 IMPORTANT NOTE: If you should encounter the scenarios presented in Figures 9 or 10, right-click your mouse on ZILOG OCD I/F (highlighted in Figure 9) or Unknown device (highlighted in Figure 10) and select Update Driver Software...
  • Page 15: Figure 6. Browse For Driver Dialog, Windows Vista

    Z51F3220 Development Kit User Manual Figure 6. Browse For Driver Dialog, Windows Vista UM024303-0312 Install the Z8051 OCD Software and Documentation...
  • Page 16: Figure 7. Can't Verify Publisher Dialog, Windows Vista

    Z51F3220 Development Kit User Manual 4. When Windows prompts you whether to install or not install, as shown in Figure 7, click and wait until the installation is completed Install this driver software anyway (Windows may prompt you more than once). Figure 7.
  • Page 17: Figure 8. Successfully Installed Dialog, Windows Vista

    On some installations, the Found New Hardware screen shown in Figure 8 may also dis- play the text string, . This occurrence is normal Zilog Z8051 USB OCD - No Firmware and can be disregarded. UM024303-0312 Install the Z8051 OCD Software and Documentation...
  • Page 18: Figure 9. Unsuccessful Installation, Scenario 1

    Z51F3220 Development Kit User Manual Figure 9. Unsuccessful Installation, Scenario 1 UM024303-0312 Install the Z8051 OCD Software and Documentation...
  • Page 19: Figure 10. Unsuccessful Installation, Scenario 2

    Z51F3220 Development Kit User Manual Figure 10. Unsuccessful Installation, Scenario 2 UM024303-0312 Install the Z8051 OCD Software and Documentation...
  • Page 20: Figure 11. Device Manager Dialog, Windows 7

    Z51F3220 Development Kit User Manual 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. Device Manager Dialog, Windows 7 UM024303-0312 Install the Z8051 OCD Software and Documentation...
  • Page 21: Ftdi Usb-To-Uart Driver Installation

    Z51F3220 Development Kit User Manual FTDI USB-to-UART Driver Installation An FTDI USB-to-UART driver is required to allow your PC to communicate through its USB port to the on-chip UART of the Z51F3220 MCU. Observe the following procedure to perform these connections. 1.
  • Page 22: Figure 12. A Successful Usb-To-Uart Driver Installation

    Z51F3220 Development Kit User Manual Figure 12. A Successful USB-to-UART Driver Installation Note: To launch the Device Manager on Windows 7 systems, launch the Start menu, enter device manager in the field, and press the Enter key. Search programs and files To open the Device manager on earlier Windows systems, navigate via the following path:...
  • Page 23: Configure The Z8051 Ocd And Z51F3220 Development Board

    Z51F3220 Development Kit User Manual Configure the Z8051 OCD and Z51F3220 Development Board Observe the following procedure to set up and configure the Z8051 On-Chip Debugger and the Z51F3220 Board. Caution: Steps number 1 to 4 present the power-up sequence. Carefully follow these steps to avoid encountering an improper connection or disconnection.
  • Page 24: Figure 14. Connecting The Usb Mini-B Cable To The Board

    Z51F3220 Development Kit User Manual 4. Using the second USB-to-Mini-B cable, connect the standard USB end to the host PC’s USB port. 5. Connect the other end of this second Mini-B cable to the Z51F3220 Board’s P1 con- nector to apply power to the Board. Note that the green LED D5 is ON; see Figure 14. Figure 14.
  • Page 25: Figure 15. An Example Setup

    Z51F3220 Development Kit User Manual Figure 15. An Example Setup UM024303-0312 Configure the Z8051 OCD and Z51F3220 Development...
  • Page 26: Build And Run The Z51F3220 Demo Project

    , return to the Configure the Z8051 Disconnected OCD and Z51F3220 Development Board section on page 17 to configure the proper power-up sequence. If the problem persists, Zilog recommends that you review the Z8051 OCD Driver Installation FTDI USB-to-UART Driver Installation sections.
  • Page 27: Figure 16. Initial Ocd Screen

    Z51F3220 Development Kit User Manual Figure 16. Initial OCD Screen Note: For a free download of the latest version of the OCD software, visit the Zilog website navigate via the Tools and Software menu to Software Downloads 5. In the Debugger window, select...
  • Page 28: Figure 17. Object File Dialog

    Z51F3220 Development Kit User Manual Figure 17. Object File Dialog 6. In the Object File dialog, browse to the hex file that you created in Step 2 and click Open 7. Click the button to open the Configuration dialog box, shown in Figure 18. Download UM024303-0312 Build and Run the Z51F3220 Demo Project...
  • Page 29: Figure 18. Configuration Dialog

    Z51F3220 Development Kit User Manual Figure 18. Configuration Dialog 8. Select and click the button to open the Configuration Is Enable/Reset input Write Changed dialog. A typical OCD display, if child windows are open, is shown in Figure 19. Note: Please disregard the instructions stated in the Configuration Is Changed dialog, and pro- ceed to Step...
  • Page 30: Figure 19. Configuration Is Changed Dialog

    Z51F3220 Development Kit User Manual Figure 19. Configuration Is Changed Dialog 9. Click to open the On-Chip Debugger’s main window. A typical OCD display is shown in Figure 20; Figure 21 shows an OCD window with child windows open. Figure 20. A Typical On-Chip Debugger Window UM024303-0312 Build and Run the Z51F3220 Demo Project...
  • Page 31: Figure 21. A Typical On-Chip Debugger Window With Child Windows Open

    Z51F3220 Development Kit User Manual Figure 21. A Typical On-Chip Debugger Window with Child Windows Open Note: Use the View menu to open the child windows. For this demonstration, the example win- dows shown in Figure 21 do not need to be opened. 10.
  • Page 32: Hyperterminal Configuration

    Z51F3220 Development Kit User Manual Note: Similar projects that you can use as references are listed in Table 3 on page 28. HyperTerminal Configuration A communications program such as HyperTerminal can be used on Windows XP systems to view the messages from the Z51F3220 Development Board. The following procedure examines how to configure HyperTerminal for the Z51F3220 demo project.
  • Page 33: Figure 23. Demo Program Menu In Hyperterminal

    Z51F3220 Development Kit User Manual Figure 23. Demo Program Menu in HyperTerminal At this point, you have successfully run the Z51F3220 demo project, but you are welcome to continue evaluating the demo in HyperTerminal. For additional information about how to create, edit, run and debug this project, please see the Z8051 Tools Product User Guide (PUG0033) and/or the...
  • Page 34: Sample Projects And Documentation

    A number of Z8051-related documents are included in the Z51F3220 Development Kit, and their locations, listed in Table 4, will be accessible upon installation. You can also find current versions of each of these documents on the Zilog website. Table 4. Z51F3220 Development Kit Documentation...
  • Page 35: Schematic Diagrams

    Z51F3220 Development Kit User Manual Schematic Diagrams Figures 24 and 25 display schematic diagrams of the Z51F3220 Development Board. VCC_T VCC_T LL4148 LL4148 49.9K 49.9K CEM1206S CEM1206S VCC_M SEG11 Pin 23 Pin 22 RxD1 RxD1 PWM2O/T2O/EINT12/AN12/SEG15/P11 P10/SEG14/AN13/RXD1/SCL1/MISO1 SEG12 Pin 24 Pin 21 TxD1 PWM1O/T1O/EINT11/AN11/SEG16/P12...
  • Page 36: Figure 25. Z51F3220 Development Board, #2 Of 2

    Z51F3220 Development Kit User Manual VCC_5V GREEN GREEN VCC_T FERRITE BEAD FERRITE BEAD 4.7uF 4.7uF 0.1uF 0.1uF VCC_T 1.5K 1.5K 4.7uF 4.7uF 0.1uF 0.1uF VBUS Center Pad TPS2051B TPS2051B MIC5318 MIC5318 VCC_T 0.01uF 0.01uF VCC_5V 0.01uF 0.01uF USB, mini B USB, mini B 4.75K 4.75K...
  • Page 37: Appendix A. Ocd Driver Installation On Windows Vista Systems

    Z51F3220 Development Kit User Manual Appendix A. OCD Driver Installation on Windows Vista Systems The driver programs for the Z8051 On-Chip Debugger are copied to the development PC during the software and documentation installation. In the following procedure for PCs running Windows Vista 32- and 64-bit operating systems, ensure that the target side of the OCD will remain unconnected while you install these drivers.
  • Page 38: Figure 27. Install Device Driver Dialog, Windows Vista

    Z51F3220 Development Kit User Manual 4. When the Insert the Disc dialog appears, as shown in Figure 27, select I don’t have Click the button to display the dialog that the disc. Show me other options. Next follows, which is shown in Figure 28. Figure 27.
  • Page 39: Figure 28. Couldn't Find Driver Dialog, Windows Vista

    Z51F3220 Development Kit User Manual Figure 28. Couldn’t Find Driver Dialog, Windows Vista 5. Return to page 8 and follow Steps 3 through UM024303-0312 OCD Driver Installation on Windows Vista Systems...
  • Page 40: Appendix B. Ocd Driver Installation On Windows Xp Systems

    Z51F3220 Development Kit User Manual Appendix B. OCD Driver Installation on Windows XP Systems The driver programs for the Z8051 On-Chip Debugger are copied during the software and documentation installation. In the following procedure for Windows XP systems, ensure that the target side of the OCD will remain unconnected while you install these drivers. 1.
  • Page 41: Figure 30. The Found New Hardware Wizard's Browse Screen

    On some installations, the Found New Hardware screen shown in Figure 29 may also dis- play the text string, . This occurrence is normal Zilog Z8051 USB OCD - No Firmware and can be disregarded. Figure 30. The Found New Hardware Wizard’s Browse Screen...
  • Page 42 Z51F3220 Development Kit User Manual 4. When Windows prompts you whether to continue the installation or stop, click the button and wait until the installation is completed (Windows may Continue Anyway prompt you more than once). When the installation is complete, click Finish UM024303-0312 OCD Driver Installation on Windows XP Systems...
  • Page 43: Customer Support

    User Manual Customer Support To share comments, get your technical questions answered, or report issues you may be experiencing with our products, please visit Zilog’s Technical Support page at http://sup- port.zilog.com. To learn more about this product, find additional documentation, or to discover other fac-...

This manual is also suitable for:

Z51f3220

Table of Contents