Zilog Z8F1681 User Manual

Z8F64820100ZCOG
Z8 Encore! XP® F6482 Series Development Kit
User Manual
UM026301-1013
Copyright ©2013 Zilog®, Inc. All rights reserved.
www.zilog.com
Z8 Encore! XP® F6482 Series Development Kit
Warning:
User Manual
ii
DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.
LIFE SUPPORT POLICY
ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A criti­cal component is any componen t in a li fe supp ort device o r syste m whose failure to p erform ca n be re ason­ably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
Document Disclaimer
©2013 Zilog, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering.
Z8, Z8 Encore!, and Z8 Encore! XP are trademarks or registered trademarks of Zilog, Inc. All other prod­uct or service names are the property of their respective owners.
UM026301-1013

Revision History

Each instance in the Revision History table below reflects a change to this document from its previous version. For more details, click the appropriate links in the table.
Revision
Date
Oct 2013
Level Description Page
01 Original issue. n/a
Z8 Encore! XP
®
F6482 Series Development Kit
User Manual
iii
UM026301-1013 Revision History
Z8 Encore! XP® F6482 Series Development Kit
Caution:
User Manual
iv

Safeguards

The following precautions must be observed when working with the devices described in this document.
Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD).
Safeguards UM026301-1013
Table of Contents
Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iii
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iv
List of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix
The Z8 Encore! XP
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Kit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Board Support Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Supported Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Download and Install the ZDS II Software and Documentation . . . . . . . . . . . . . . . . . 4
Connect the F6482 Series Development Board to your PC . . . . . . . . . . . . . . . . . . . . 6
Start the Z8F6482 Demonstration Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
HyperTerminal Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
F6482 Series Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Power Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Z8F6482 MCU Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
SBLCDA4 LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
32 Mbit Flash with SPI Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
MIC5318 Low Voltage Drop-Out Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
RE200B Pyroelectric Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
TPA301D Mono Audio Power Amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
CVS-1508 Speaker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
TEFT4300 PhotoTransistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
LM285 Adjustable Micropower Voltage Reference . . . . . . . . . . . . . . . . . . . . . . . . . 27
J16 DBG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
ZDS II Flash Loader Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Z8F6482 Sample Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
F6482 Series Development Kit Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
®
F6482 Series Development Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Z8 Encore! XP
®
F6482 Series Development Kit
User Manual
v
Appendix A. Schematic Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix B. Installing the USB SmartCable Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Windows 7 32/64 Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Windows Vista 32/64 Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Windows XP Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
UM026301-1013 Table of Contents
Z8 Encore! XP® F6482 Series Development Kit User Manual
vi
Appendix C. Tera Term Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table of Contents UM026301-1013

List of Figures

Figure 1. The F6482 Series Development Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Figure 2. The Downloadable Software category in the Zilog Store . . . . . . . . . . . . . . . 5
Figure 3. Connecting the Six-Conductor Ribbon Cable to the Serial or USB
SmartCable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 4. Debug Connector J16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 5. Power Supply Port P1 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 6. Open Project from the ZDS II File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 7. Select the ledblink.zdsproj Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Z8 Encore! XP
®
F6482 Series Development Kit
User Manual
vii
Figure 8. Select Z8F64820100ZCOG and USB SmartCable . . . . . . . . . . . . . . . . . . . 10
Figure 9. Select Go from the Debug Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 10. Console Output Using Hyperterminal (Windows XP) . . . . . . . . . . . . . . . . 11
Figure 11. Console Output Using Tera Term (Windows 7) . . . . . . . . . . . . . . . . . . . . . 12
Figure 12. The F6482 Series Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 13. F6482 Series Development Kit Block Diagram . . . . . . . . . . . . . . . . . . . . . 15
Figure 14. Seven-Segment LCD from Softbaugh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 15. LCD1 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 16. LCD1 on the F6482 Series Development Board . . . . . . . . . . . . . . . . . . . . . 19
Figure 17. 32 MBit Flash with SPI Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 18. S25FL032A Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 19. U2 on the F6482 Series Development Board . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 20. MIC5318 Low Voltage Drop-Out Regulator Pin Assignments . . . . . . . . . . 21
Figure 21. The MIC5318 Low Voltage Drop-Out Regulator Circuit . . . . . . . . . . . . . . 22
Figure 22. The MIC5318 Low Voltage Drop-Out Regulator . . . . . . . . . . . . . . . . . . . . 22
Figure 23. RE200B Pyroelectric Sensor Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 24. The RE200B Pyroelectric Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 25. TPA301D Mono Audio Power Amplifier Pin Assignments . . . . . . . . . . . . 24
Figure 26. TPA301D Mono Audio Power Amplifier Circuit . . . . . . . . . . . . . . . . . . . . 24
Figure 27. The TPA301D Mono Audio Power Amplifier . . . . . . . . . . . . . . . . . . . . . . 25
UM026301-1013 List of Figures
Z8 Encore! XP® F6482 Series Development Kit User Manual
viii
Figure 28. The CVS-1508 Speaker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 29. TEFT4300 PhotoTransistor Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 30. The TEFT4300 PhotoTransistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 31. LM285 Adjustable Micropower Voltage Reference . . . . . . . . . . . . . . . . . . 27
Figure 32. LM285 Adjustable Micropower Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 33. The LM285 Adjustable Micropower Device . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 34. The J16 DBG Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 35. The J16 DBG Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 36. An Example Flash Loader Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 37. F6482 Series Development Board Schematic Diagram, #1 of 4 . . . . . . . . . 32
Figure 38. F6482 Series Development Board Schematic Diagram, #2 of 4 . . . . . . . . . 33
Figure 39. F6482 Series Development Board Schematic Diagram, #3 of 4 . . . . . . . . . 34
Figure 40. F6482 Series Development Board Schematic Diagram, #4 of 4 . . . . . . . . . 35
List of Figures UM026301-1013

List of Tables

Table 1. Z8F64820100ZCOG Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 2. LCD1 Pin Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 3. Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 4. Z8F6482 MCU Sample Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 5. F6482 Series Development Kit Documentation . . . . . . . . . . . . . . . . . . . . . 31
Z8 Encore! XP
®
F6482 Series Development Kit
User Manual
ix
UM026301-1013 List of Tables
Z8 Encore! XP® F6482 Series Development Kit User Manual
x
List of Tables UM026301-1013
Z8 Encore! XP
®
F6482 Series Development Kit
The Z8 Encore! XP® F6482 Series Development Kit
This document describes how to set up the F6482 Series Development Kit (Zilog part number Z8F64820100ZCOG) and use it to evaluate your Z8F6482-based designs and applications. The Kit features a development board consisting of four LEDs, three push­buttons, a buzzer/speaker, a 7.1 seven-segment LCD, a pyroelectric sensor, a phototransis­tor, 32Mbit SPI Flash, port pin headers, and USB and UAR T ports. The Board features the Z8F6482 MCU in a 80-pin LQFP package, plus a DBG connector to connect the Board to a host development PC using Zilog’s USB SmartCable. To learn more about the Z8F6482 MCU, refer to the F6482 Series Product Specification (PS0294)
.
User Manual
1
This document provides instructions for setting up and configuring Z86482 Development Board and includes schematic diagrams and a discussion of Board features and ZDS II.
The first sections of this document guide you through the following tasks:
Download and Install the ZDS II Software and Documentation – see page 4
Installing the USB SmartCable Driver – see Appendix B.
SmartCable Driver on page 36
Connect the F6482 Series Development Board to your PC – see page 6
Start the Z8F6482 Demonstration Program – see page 8
Further details, including memory configurations, jumper settings, and a listing of sample projects can be found in the Z8F6482 Sample Projects
Figure 1 shows an image of the F6482 Series Development Kit.
section on page 30.
Installing the USB
UM026301-1013 The Z8 Encore! XP® F6482 Series Development Kit
Z8 Encore! XP® F6482 Series Development Kit User Manual
2
Figure 1. The F6482 Series Development Kit
The Z8 Encore! XP® F6482 Series Development Kit UM026301-1013

Kit Contents

Table 1 lists the contents of the F6482 Series Development Kit.
Item Description Quantity
1 F6482 Series Development Board 1 2 USB SmartCable 1 3 6-circuit ribbon cable 1 4 A (male) to Mini-B USB cable 1 5 RS-232 to 6-pin circuit adapter 1 6 F6482 Series Development Kit Flyer (FL0160) 1
Z8 Encore! XP
Table 1. Z8F64820100ZCOG Contents
®
F6482 Series Development Kit
User Manual
3

Kit Features

The key features of the F6482 Series Development Kit are:
F6482 Series Development Board, which includes: – Z8F6482 MCU in an 80-pin LQFP package operating at 24 MHz with 64 KB of
internal Flash memory and 3.75 KB of internal RAM memory – 32 Mbit SPI Flash – A USB interface that provides:
Power to the Board with overcurrent protection
Connection to the Z8F6482 MCU’s USB port
7.1 segment LCD module – Speaker: SP1 – Pyroelectric sensor – Phototransistor – UART(s) port J20 – Test points, headers, and prototype area – External source of reference voltage (2.5 V) – MCU current measurement test points J5 and J6 – Power supply level adjustable with potentiometer R13
USB SmartCable
ZDS II software, samples, and documentation available free for download
UM026301-1013 Kit Contents
Z8 Encore! XP® F6482 Series Development Kit User Manual
4
Z8F6482 Board Support Package (BSP) source code and sample programs

Board Support Package

The ZDS II software download includes a Board Support Package (BSP) that provides an application programming interface (API) to configure and control select Z8F6482 MCU peripherals. This BSP API is accessible through a static library linked to customer applica­tions and is a blend of macros and C functions that facilitate application development by abstracting direct SFR manipulation from the programmer. Macros provide near-assem­bly-level access to SFRs without incurring the overhead (i.e., code size and execution time) of C functions for basic operations (e.g., stopping a timer). More complex operations are implemented in C functions, thereby eliminating the customer requirement for recreat­ing code for frequently-used operations (e.g., transmitting a block of data through the UART under DMA control). By using the BSP library, customers can develop applications that access Z8F6482 MCU peripherals with only a few function calls, effectively reducing development effort to a minimum.
The ZDS II software download also includes complete source code to all peripheral devices supported by the BSP API. Advanced programmers can cut and paste code snip­pets from the BSP into their own applications, or simply study the BSP source code to gain a better understanding of the Z8F6482 Series of MCUs.
T o learn more about the BSP API, refer to the F6482 Series Board Support Package Refer -
ence Manual (RM0064).

Supported Operating Systems

The F6482 Series Development Board supports the following operating systems:
Microsoft Windows 7 (32-bit/64-bit)
Microsoft Windows Vista (32-bit/64-bit)
Microsoft Windows XP
Download and Install the ZDS II Software and Documenta­tion
Observe the following steps to install your ZDS II software and documentation.
The Z8 Encore! XP® F6482 Series Development Kit UM026301-1013
Z8 Encore! XP
Note:
®
F6482 Series Development Kit
User Manual
If you have already installed ZDS II – Z8 Encore! <version> and have downloaded the soft­ware and documentation by following the procedure on the paper insert in your kit (FL0160), you’re ready for Appendix B. Installing the USB SmartCable Driver on page 36.
1. Prior to connecting the F6482 Series Development Board to your development PC, download ZDS II for Z8 Encore! v5.2.0 (or later) from the Downloadable Software category in the Zilog Store; see Figure 2.
5
Figure 2. The Downloadable Software category in the Zilog Store
2. When your download is complete, double-click the installation file named
ZDS2_Z8Encore!_<version>.exe, and follow the on-screen instructions.
UM026301-1013 Download and Install the ZDS II Software and
Loading...
+ 35 hidden pages