background image

Copyright ©2012 Zilog

®

, Inc. All rights reserved.

www.zilog.com

User Manual

Z51F3220 Development Kit

Z8051

 Family of 8-Bit Microcontrollers

UM024304-0412

Summary of Contents for Z51F3220

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

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: ...a change to this document from its previous version Date Revision Level Description Page Apr 2012 04 Updated for improved usability All Mar 2012 03 Added a G to end of part number to indicate RoHS com...

Page 4: ...rd Description 4 Install the Z8051 OCD Software and Documentation 7 Z8051 OCD Driver Installation 7 FTDI USB to UART Driver Installation 15 Configure the Z8051 OCD and Z51F3220 Development Board 17 Bu...

Page 5: ...Installation 16 Figure 13 Connecting the 10 Circuit Cable to the Board 17 Figure 14 Connecting the USB Mini B Cable to the Board 18 Figure 15 An Example Setup 19 Figure 16 Initial OCD Screen 21 Figure...

Page 6: ...Z51F3220 Development Kit User Manual vi List of Tables Table 1 Z51F3220000ZCOGG Contents 2 Table 2 Default Jumper Settings 6 Table 3 Z51F3220 Development Kit Sample Projects 28 Table 4 Z51F3220 Devel...

Page 7: ...a UART to USB port The Board fea tures the Z51F3220 MCU in a 44 pin MQFP package plus a DBG connector to connect the Board to a host development PC using the Z8051 USB On Chip Debugger OCD cable For m...

Page 8: ...pment Kit Figure 1 The Z51F3220 Development Kit Table 1 Z51F3220000ZCOGG Contents Item Description Quantity 1 Z51F3220 Development Board 1 2 Z8051 USB On Chip Debugger OCD 1 3 Z8051 OCD Target Cable 1...

Page 9: ...ting Systems The Z51F3220 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 bi...

Page 10: ...44 pin MQFP chip 3 LEDs Green D2 Red D3 and Yellow D4 connected to the GPIO pins of the Z51F3220 MCU 1 green LED to indicate USB power D5 1 red LED to indicate an overcurrent condition D6 5 pushbutto...

Page 11: ...t on the Board U6 and D6 External source of reference voltage 2 5V for the on chip ADC VR1 MCU current consumption measurement resistor R7 with test points J4 and J5 Buzzer U1 4 digit 7 segment LCD pa...

Page 12: ...le point in the voltage divider circuit that includes resistors R3 and R6 the scaling is performed by software so that the LCD always displays the actual voltage For a visual representation see the sc...

Page 13: ...2 Insert the Z8051 Software and Documentation CD into your computer s CD ROM drive The setup program launches automatically If the setup program does not launch automatically open Windows Explorer br...

Page 14: ...6 which prompts you to key in or browse for the location of the inf file Depending on the type of computer you use 32 bit or 64 bit use the Browse button to navigate to one of the following paths the...

Page 15: ...UM024303 0312 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual 9 Figure 6 Browse For Driver Dialog Windows Vista...

Page 16: ...nt Kit User Manual 10 4 When Windows prompts you whether to install or not install as shown in Figure 7 click Install this driver software anyway and wait until the installation is completed Windows m...

Page 17: ...ete the screen shown in Figure 8 will appear Click Close to exit the OCD driver installation On some installations the Found New Hardware screen shown in Figure 8 may also dis play the text string Zil...

Page 18: ...UM024303 0312 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual 12 Figure 9 Unsuccessful Installation Scenario 1...

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

Page 20: ...re and Documentation Z51F3220 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...

Page 21: ...on_number 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...

Page 22: ...Windows 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 follo...

Page 23: ...present 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 on...

Page 24: ...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 In the event that you later remove the LCD panel from the Board observe its orien...

Page 25: ...UM024303 0312 Configure the Z8051 OCD and Z51F3220 Development Z51F3220 Development Kit User Manual 19 Figure 15 An Example Setup...

Page 26: ...as a result a hex file for the demo will be created in the following path Z8051 Installation Z8051_ version_number samples Z51F3220 Demo demo hex 3 Set up the OCD and Development Board If you have no...

Page 27: ...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 28: ...ect Z51F3220 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 29: ...t Enable Reset input and click the Write button to open the Configuration Is Changed dialog A typical OCD display if child windows are open is shown in Figure 19 Please disregard the instructions stat...

Page 30: ...elopment Kit User Manual 24 9 Click OK 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 19 Configurat...

Page 31: ...xample 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 Z51F3220 Board will blink in sequence and the LCD...

Page 32: ...sider using installing different com munication software such as Tera Term Please refer to the documentation for the particu lar emulation software you use to configure it for communication with the Z...

Page 33: ...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 Z8051 On Chip Debu...

Page 34: ...on Z51F0410 Product Specification PS0295 Documentation Chip_Documentation Z51F0811 Product Specification PS0296 Documentation Chip_Documentation Z51F3220 Product Specification PS0299 Documentation Chi...

Page 35: ...0 1x10 J20 1x10 1 2 3 4 5 6 7 8 9 10 D4 YELL D4 YELL 2 1 R16 49 9K R16 49 9K D3 RED D3 RED 2 1 J9 J9 1 2 3 4 5 6 7 8 9 10 11 R5 10K R5 10K D2 GREEN D2 GREEN 2 1 Y2 32 768KHZ Y2 32 768KHZ R15 49 9K R15...

Page 36: ...5 CBUS0 23 VCC 20 C14 0 1uF C14 0 1uF U5 MIC5318 U5 MIC5318 GND 2 EN 1 IN 3 ADJ 5 OUT 4 BYP 6 Center Pad 7 R20 1 5K R20 1 5K J13 J13 1 R23 4 75K R23 4 75K R21 20K R21 20K C13 0 01uF C13 0 01uF J14 J14...

Page 37: ...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 38: ...pment Kit User Manual 32 4 When the Insert the Disc dialog appears as shown in Figure 27 select I don t have the disc Show me other options Click the Next button to display the dialog that follows whi...

Page 39: ...M024303 0312 OCD Driver Installation on Windows Vista Systems Z51F3220 Development Kit User Manual 33 5 Return to page 8 and follow Steps 3 through 6 Figure 28 Couldn t Find Driver Dialog Windows Vist...

Page 40: ...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 41: ...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 42: ...0 Development Kit User Manual 36 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 43: ...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: