Home

Encore electronic Zilog Z8ENCORE000ZCO User's Manual

image

Contents

1. Z8 Encore Flash Microcontroller Development Kit User Manual 9VDC VDD gt 9VDC cu u14 0 1uF FA LM7805C TO220 0 5A us 5 o N o 4 iN OUT 4 N e VES vice 7 CONSOLE 21 c Q v LA RXE160 a C16 S P1 3 c17 Los 4 ci 1 5 ux C18 0 1 ME 6 0 1 honno 8 cos S TXDO Ser P3 D5 ol 0 1 C19 C20 7 2 8 oo 0 1uF 0 1uF RDO 3 5 VA S26 eem T S al o 1 tio JACK qe PAS_TXDO gt gt T1IN Tour HZ 2 e wT at Bi S 12 aN roour 8 u16 VDD DB9 Female uy PA3 CTS0 X 15 R10UT rain 16 CTSO 24 un vour H f VDD ypp GND U20A y PA4 RXDOXX 10 R2oUT Rain 9 RXDO T MS vor 1 gt vpp RM C52 a nid 0 CON Dei n du m KEE hona 3 LCONDS 2 W wi lt n 209 Z 11 68 74LVCO0 SO q SHON NC R25 330nF C24 N 74LVCO4 SD u21 OD MAX3222 ei 2R7 SE 0 1 D6 GND SM y x GREEN U17B y E J10 EEDA As 3 3 OK E U20B PAS TXDO rapes SB 3 3 4 4 IRDA_SD Alan gt gt GND 6 5 PA4_RXDO 3 en 74LVC04 SO DIS_IDA gt RXI i 27 M EN IRDA 6 R16 M 74LVCO0 SO GND UF GND 10K ZHX1810 MODEM s ND VDD VDD HH M
2. u5 CT3 0 CT4 0 cT1_0 KS SH C32 PEO ijo on LZ CT gt CMS 7 PE1 D1 a1 e gt L SS BES Ip aj on CT34 PE3 D3 Q3 TI 13 12 PE4 D Ou 14 Ds as HI H B Moj je Di 1 B nop s D2 Tips qe 18 h b ov jp D h fb ovy B D4 elo gy 9 ddl ea a l GA oe prn 1 2 pb E p p rers PES Stan vec 44444 ASIA mo y PRL mo y 44224 110E eup H caj ANO 42 ANZO 12 r4 rh rh r rh obo Ge wee 4uF re rere 4 r 74HCT374 GND ANS 1 11 4 A 4 4 4 ANA 144 4 4 4 4 4 ANI 11 AN2 1 11 r4 r4 rr rp E p r r4 r4 r4 rch Cd rh r4 r4 rh rH A us mz gt ARRAS mz gt 4424 92 AN1 2 2 AN2_2 2 gt kd kd kd gt PGO 31 po ao H2 4 CA hb d r r r rm r PG1 tio o L 7 6 AN3_3 9 AN4 3 9 PG2 g 22 Q2 rg AN13 9 AN2_3 9 PG3 D3 o pe ee Re rh he Se dua PG4 13 D4 Q4 12 4 dk b t C C C r CS Sie aH 24544 132322 i2 igos 8 2221 22222 ps A 18107 7 H2 ANIA 4 AN 4 dk d ie wee da ae r4 r4 r r r4 r4 r4 d r4 rs eu vec 14444 KKK KIK mus s 24 mas ZEISS loe aun HE c ANS 5 AN2 5 5 uF 74HCT374 AN3 6 6 ANA 6 6 GND lan1_6 6 AN2 6 6 LTP 757 LTP 757 LTP 757 LTP 757 u7 US ug u10 Ut U12 PGO 3 2 AN2 0 PGO 3 2 AN3 0 PGO 3 2 ANA 0 PEO 3 2 CT2 0 PEO 3 2 CT3 0 PEO 3 2 CTA 0 P I ABD Q0 ART PCT 4 D0 BH E PGT 4 D0 Qu ART PET 4 f CT2 1 PET 4 D00 ars org PET goo Qu CT4 1 pez 7 a1 Ce AN2 2 PGZ 7 P1 Q1 6 PGZ tat a1 Ce AN4 2 Pez 7 D1 Q1 r6 CT27 PEZ 7
3. S SCL serial clock line 15 SDA serial data line 15 serial communications devices 15 setting up the evaluation board 5 Index Z8 Encore Flash Microcontroller Development Kit User Manual sb EH I i O CI zilog shunt status 24 signals J6 17 J8 20 SocketModem 28 power 26 SocketModem ordering information 29 software 2 SPI interface 16 suggested host system configuration 4 system software requirements 4 U user configurable pushbuttons 29 using ZDS 9 V Vref 25 Z Z8 Encore features 13 Z8 Encore MCU 13 UM014605 0208 Index Z8 Encore Flash Microcontroller Development Kit User Manual ZILOTD x Customer Support For answers to technical questions about the product documentation or any other issues with Zilog s offerings please visit Zilog s Knowledge Base at http www zilog com kb For any comments detail technical questions or reporting problems please visit Zilog s Technical Support at http support zilog com UM014605 0208 Customer Support Z8 Encore Flash Microcontroller Development Kit User Manual 7 ILION l L U U Y AN Warning DO NOT USE IN LIFE SUPPORT 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 i
4. makes it suitable for a variety of applications including motor control security systems home appliances personal electronic devices and sensors The Evaluation Board contains circuitry to support and presents all the features of Z8 Encore The key features of Z8 Encore include e eZ8 core CPU 64 KB Flash memory with in circuit programming capability 4KB register RAM e channel 10 bit analog to digital converter ADC e Two full duplex UARTs e PC interface Master Mode only e Serial Peripheral Interface SPI e Two Infrared Data Association IrDA compliant infrared encoder decoders e Three to four 16 bit timers with capture compare and PWM capabil ity 40 pin and 44 pin packages feature only 3 timers The fourth timer is available only on the 64 68 and 80 pin packages Watchdog Timer WDT with internal RC oscillator e 3 channel DMA Up to 60 Input Output 1 0 pins e 24 interrupts with configurable priority UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual e On Chip Debugger e Voltage Brownout VBO Protection Power On Reset POR e 3 0 V 3 6 V operating voltage with 5 V tolerant inputs e 0 C 70 C operating temperature For further information on the Z8 Encore family of devices refer to Z8 Encore XP 64K Series Flash Microcontrollers Product Specification PS0199 LED Array The LED array display user information
5. CONNECTORS DO NOT USE J6_17 AND J6_35 E 9V D D raal 9 9VDC gt D2 d 9299992 al SDA amp 1D 1 NI Sas m GND D0 y d xs 12 MOD DIS oND CON DIS a a jajaja ajajal VDD MWAIT PEO es R1 R2 GND GND u1 g 4 7K 4 7K PE7 gt gt PAO_TOIN u2 e cas PEG PA1 TOOUT 539828 93552828890 PA6 SCL 1 16 VDD ag PES 4 PAZ EE PAT SDA 7 sel voo Hie GND PE4 PA3_CTSO es s E53 eee SDA WP PE3 PA4_RXDO 2 o 355 2328 3q OVERR N MUX O H PE2 Q9 PASCTXDU za a eaa A jux SEL LEE a amp MINA MUX SEL 2 PE1 SSPA7_SDA 3 MNB M OUT Ari GND CND KPas SCL PAO TON 1 64 PA7_SDA 7 MINS M_OUT_B 10 10 0 PC4 MOSI PD2 2 PAO TOIN PATISDA 63 PD6_CTS1 GND 8 MIN D M OUT C y PD7 RCOUT amp 34j PCS MISO PCL ss 2 poz _ PDe CTS1 BS PCI SCK 24 GND M_OUT_D PD6 _CTS1 X 41 42 PET TOUT PFS 3H PC2 55 PC3 SCK L I PD7 RCOUT PDS TXD1X d 44 PCE TIN UT PES PD7 RCOUT ren PGO PCAB550 PD4_RXD1 gt 45 46 PCy SCK RESET gt vDo RESET PGO
6. There are four 7 x 5 LED matrixes To light up an LED dot the appropriate Anode bit must be 1 and the correlated Cathode must be 0 All Anodes are addressed by Port G and Cathodes are addressed by Port E Every LED Matrix is addressed by separate pair of registers Each register pairs is addressed by a bit of Port E or Port G Table 1 through Table 4 describe how to address each Anode and Cathode of D1 through D4 Table 1 LED Anode Assignments Function Port G Bit No 6 5 4 3 2 1 0 Anode Row 0 X Anode Row 1 X Anode Row 2 X Anode Row 3 X Anode Row 4 X Anode Row 5 X Anode Row 6 X Note Row 0 Topmost Row UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual 15 Table 2 LED Cathode Modem Trigger Function Port E Bit No 4 3 2 1 0 Cathode Column 0 X Cathode Column 1 X Cathode Column 2 X Cathode Column 3 X Cathode Column 4 X Note Column 0 Leftmost Column Table 3 LED Addressing Function Port Bit No PE 5 PE 6 PE 7 PG 7 D3 X D4 X D1 X D2 X Serial Communications Devices IC Interface The Z8 Encore is compatible with PC protocol in this case the PCA8550 The PC controller consists of two bidirectional bus lines a serial data SDA line and a serial clock SCL line The PC Controller operates in Master mode to transmit and receive data Having a PCA8550 on board enables config
7. AS Port A bit 5 IN OUT TXDO 33 PE1 Port E bit 1 IN OUT 34 PA7 Port A bit 7 IN OUT SDA 35 RESERVED 36 PA6 Port A bit 6 IN OUT SCL 37 GND 38 GND 39 PD7 Port D bit 7 IN OUT RCOUT 40 PC4 Port C bit 4 IN OUT MOSI 41 PD6 Port D bit 6 IN OUT CTS1 42 PC3 Port C bit 3 IN OUT MISO 43 PD5 Port D bit 5 IN OUT TXD1 44 PC7 Port C bit 7 IN OUT T2OUT 45 PD4 Port D bit 4 IN OUT RXD1 46 PC6 Port C bit 6 IN OUT T2IN Note Do not use pins marked Reserved when designing Expansion Modules All the signals are driven directly by the MCU UMO14605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual zilog Table 5 Header J6 Continued Pin No Signal Name Function Direction Comments 47 PD3 Port D bit 3 IN OUT 48 PC3 Port C bit 3 IN OUT SCK 49 PD2 Port D bit 2 IN OUT 50 PC2 Port C bit 2 INOUT SS 51 PD1 Port D bit 1 IN OUT TSOUT 52 PCO Port C bit 0 IN OUT T1IN 53 PDO Port D bit 0 IN OUT TSIN 54 PC1 Port C bit 1 IN OUT T1OUT 55 GND 56 GND 57 GND 58 GND 59 GND 60 GND Note Do not use pins marked Reserved when designing Expansion Modules All the signals are driven directly by the MCU Table 6 Header J8 Pin No Signal Name Function Direction Comments 1 VDD 2 GND 3 PBO Port B bit 0 IN ALGO Analog input 4 PB1 Port B bit 1 IN ALG1 Analog input 5 PB2 Port B bit 2 IN ALG2 Analog
8. Bi a1 6 CT3_2 PEZ ya Hi Ce CTA Z PG3 alo Og ANS PG3 BS Q2 9 ANS PG3 IER 2 o az PEs D20 Q2 g 03 PE IER Ao EEN PES 2 Go 3 PG4 13 Q3 2 AN2 4 PGF 13 03 2 AN3_4 PGF 13 Q3 2 ANI 4 PE4 13 Q3 2 CT2 4 PE4 13 Kies CT3 4 PE4 13 Q3 2 CT4 4 pes D O po 4 2 L Pos D ou AS H dp o D4 Q4 D Q4 14 15 E 14 15 E 14 15 E 14 15 14 15 14 15 po HD5 05 INOS POR D5 Q5 POR D5 05 NES D5 05 D5 05 D5 Q5 17 16 x 17 16 17 16 x 17 16 17 16 17 16 tHe Qe H tHe Qe H tHe Q6 H tHe Q6 H tHe as H ig1D6 Qe H BJ DT o Jup aH D or D or D Q7 07 or PEGS cik e d PED gt 11 bcik vec 20 VDD PG Lek voc 20 VDD PEG 11 bork vec 20 VDD PET it bork vec 20 VDD PG7 Co voc L VDD 110E eup H 110E cno H er 110E cno H ci 110E cno H en 110E oup H eio 110E oup H cu 1u AUF uF uF uF uF 74HCT374 74HCT374 74HCT374 74HCT374 74HCT374 74HCT374 GND GND GND GND GND GND VDD Ferrite Core R7 R8 R9 M_TIPK n 10K 10K 10K E 2 am UA SE R10 oes Su t 4 o 0 gt gt PD3 YY 6 SW PUSHBUTTON 33 SIDACTOR P3100SB i es B U13 RJ11 o o gt gt FS M RING SW PUSHBUTTON 33 R12 swa B VDD cu cis t o o PF S Xen 0 001uF 0 001uF SW PUSHBUTTON 33 gt GND Figure 10 Z8 Encore Evaluation Board 96C 0868 001 Rev C UMO14605 0208 Schematics UM014605 0208
9. Cum PD3 S 47 48 Pr VDD GND s3 pot PD2 49 50 Fi PC2 SS Pr PS PG1 38 pez PCO TIN E PFA ri E PG PD1 ToK 51 52 PCT TIOURSPCOLTIIN Pr PF4 PG2 27 pES PDO_T3IN gt 53 54 PC1_T10UT Per rs PES L BEE VDD PEs PE PES e PET T 1 T eno th Pes PE7 Hi vpp PEZ 412 end voo Hi3 5 C45 C46 C49 C50 PET SE E 04 0 1uF 0 1uF 0 1uF 0 1uF L A WA L50 GND PEO PGS sp 181 GND posl op P J8 PFZ 17 48 VDD VDD GND PFI 18 PF2 VDD PGT PBO ALGO H 2 PB1ALG1 PFO 19 EE Peize 46 PC7 TOUT PB2_ALG2 PB3 ALG3 SOCKET VDD 20 45 PC6_TZIN PB4_ALG4 5 6 PBs ALGS Por Taut 21 VOD PC6 T2IN 14 BBG r e PB7_ALG7 PDO T3N 22 PD1 T30UT DBG 43 PC1_TI0UT 9 10 PDO T3IN PCI TIOUT er GND EXTAL 23 42 PCO_TTIN a a PH1 ALG9 24 EXTAL PCO T1IN 41 CND de PH3 ALG11 Yi ATA eo 18 AL E P GND 19 20 GND 18 432MHz DR NT PFO 21 22 PFT 2389959999939 PFO_DTRIS PF 23 24 PES SSPEI_RTS1 995222222 2222540 PF2 DSR 22 PFT 25 26 PFS SS PF3 DCD R3 z99r8nid inn rfr PFA RM s 27 28 PET SS PFS EE pre Vb 29 30 VDD lt lt PF7 TA d d 31 32 Si Zar VDD RD RESET 33 34 WR d 35 36 INSTRD 8 ei Sis xor eal d R4 BUSACK E 37 38 PHI E BUSREQ T8pF T8pF 3 38833933 100K NMI GND a ao GND Pul lt 433323333 33 0 1uF PGO PG1 ana lod led AZ TT e ae BESSER PG4 S PG4 47 48 PG5 gt PGS 0 001uF us R5 E CS0 53 54 44 Nc NC Z S 3 6 3 55 56 PBO ALGO PB1_AL
10. G1 PB2 ALG2 PB3 ALG3 PB4 ALG4 PRS ALG5 4 NC NC Es 1 MEMRO DD 57 58 GND ADJ 1 s9 80 C51 MAX6160 Header 30x2 C36 C31 C32 c33 C34 C35 e 22uF 4 veo gt vec 0 001uF 0 001uF 0 001uF 0 001uF 0 001uF 0 001uF ar wA VREF vob 3 yop i 1 i 1 i eu 100K GND S EXTERNAL VREF C37 C38 C39 C40 C41 C42 DBG 0 001uF 0 001uF 0 001uF 0 001uF 0 001uF 0 001uF GND p4 NTERFACE PB6_ALG6 PB7_ALG7 PHO_ALG8 PH1_ALG9 PH2_ALG10 PH3_ALG11 Z8F64 amp CONNECTORS DBG Header 3x2 ops us pezos 7 voo VDA PC3_SCK 3 cE SERMOD Ce PC4 mosi df SE sek SDI S pee miso E ie GND sDO DS1722 Figure 9 Z8 Encore Evaluation Board 96C0868 001 Rev C UMO14605 0208 Schematics Z8 Encore Flash Microcontroller Development Kit User Manual
11. T VDD 10K y u22 E PA4 RXDOX i Ro vec LB 2 p gt gt DIS_IRDA 20 RE 8 po __ Rar 053 J14 5 gt 3 Le 0 1uF N U24B PAZ DE A TC74LVT125 4 5 1 PA5_TXDO DI GND 2 P5 c DS1487 1 c 2 3 RT 1 GND 4 5 6 U23 z A Y PD4 RXD amp RO vec LB 4 8 r 29 RE B pL con8 3 6 C54 INI PF1_RTS1 gt DE A 0 1uF R28 rH PD5_TXD1X Ain eup LS 4 CND JE 120 DS1487 J13 RT 2 1 VDD a 2 a RS485_2_EN zi END 12 11 MOD DS U24D M TC74LVT125 GND VDD VDD vec vec amp GND GND A A 5 4 3 2 1 Figure 12 Z8 Encore Evaluation Board 96C 0868 001 Rev C UMO14605 0208 Schematics Z8 Encore Flash Microcontroller Development Kit User Manual Zilog 34 CONSOLE FORCEON DBO Female R2OUTE 24 RIOUT R2OUT RST E Boun R5OUT 2 El 3 Schematic Z8 Encore Smart cable 5 tz Jamba d 96C0882 001 A LESSER TEILEN Er 2 o Figure 13 Z8 Encore Smart Cable UM014605 0208 Schematics Z8 Encore Flash Microcontroller Development Kit Index A addressing LED 14 anode and cathode 14 anode assignments 14 array LED 14 B block diagram 12 blocks evaluation board 11 C C address for configuration register 16 cathode modem assignments 15 communication devices serial 15 configuration 4 headers 23 register I2C 16 connectors RS 232 and RS 485 17 console enable disable 25 D debug and testing 17 digital thermometer 16 documentatio
12. ZDS II Z8 Encore Integrated Development Environment IDE with ANSI C Compiler Sample code Device driver software e Document browser e Acrobat Reader UM014605 0208 Introduction Z8 Encore Flash Microcontroller Development Kit User Manual ZILOQ Documentation The following documentation are included in the Z8 Encore development kit Programmer s Reference Sheet Registration card Z8 Encore technical documentation on CD ROM ZDSII IDE User Manual eZ8 CPU User Manual Product Specification Product briefs Application notes Programmer s Reference Sheet Flyers Product Line Card The sample code is installed with ZDS II and is located in the instal lation directory sample in the disk drive The device driver software is installed with ZDS II and resides in the installation directory Napplica tions Z8Encore F640X DriversDemo in the disk drive The documentation can be installed with the DemoShield interface or can be viewed on the CD ROM using the DemoShield menus and a PDF reader A copy of the Acrobat installer is provided on the CD ROM and can be installed from the DemoShield install screen After installing the documentation on your system Windows Explorer can be used to select any document to be viewed with PDF file viewer UM014605 0208 Introduction Z8 Encore Flash Microcontroller Development Kit User Manual System Software Requireme
13. Zilog Z8ENCORE000ZCO Z8 Encore Flash Microcontroller Development Kit User Manual UMO14605 0208 Copyright 2008 by Zilog Inc All rights reserved www zilog com Z8 Encore Flash Microcontroller Development Kit User Manual Zil Revision History Each instance in Revision History reflects a change to this document from its previous revision For more details refer to the corresponding pages and appropriate links in the table below Revision Date Level Description Page No February 05 Updated Zilog logo changed All 2008 ZiLOG to Zilog implemented style guide and template Deleted Figure 7 Figure to be added at a later revision in Smart Cable section July 2003 04 Updates All July 2003 03 Corrected Schematics 30 March 02 Corrected Timer 3 errors All 2003 March 01 Original Issue All 2003 UM014605 0208 Revision History Z8 Encore Flash Microcontroller Development Kit User Manual Table of Contents Introduction a 1 Kit Contents 1 Hardware exe at a foie eke baw es 1 Software on CD ROM 2 Documentation 3 System Software Requirements eee 4 Supported Host System Configuration 4 Installations 21 us du see mE ee eee xa Emus 5 Setting up the Evaluation Board 5 Changing the Universal 9 V DC Power Supply Plug Config
14. _RING 2 MOD DIS 1 MOD VCC HEADER 2 ol us 8 vec 1 28 27 VDD MOD VCC qa Her 8 v 2 1 VDD 24 A 3 3 cx of et v 28 u19 RI con 3 C44 1 29 3 fa ha C2 B vec 2 L 1 c2 GND 2 GND RESET gt gt RESET a PD5 mp T4IN nour L P DTR1 PFo_DTRI LY T2IN aour HO HIEL Bis RTS1 10K FEI RTS 2 T3IN T30uT H RESET e EH VDD MOD DiS X 22 FORCEOFF o oO MRESET RIB A 23 warn L sw4 C30 Pr FORCEON INVALID p21 el i eup L5 DD R20 GND 10K bra mn 7 R20UTB ka 1 7 ANA 19 4 DSR1 P2 RX Rei PF2 DSR1 Pour RAIN DSRI DCD 1 54 Le 2 ANA 18 root R n RH DSR1 S 5 RXD1 2 o q h x TR R22 PD6 CTS1 amp 171 paour Rain FS ER RISI ERP E 4 1 2 AAA 16 7 RXD1 CTST 8 GND TX 10 R239 PD4 RXDIKK R4QUT RAIN DIRA Lo La Za 2 ARK HEADER9 HEADER 32 PF3_DCD1 lt lt 15 paour pain L BEDI RI 2 o vap MODEM CONNECTORS o pd Geh 2 ii o DB9 Male lou col 10 D MAX3245CAI MODEM d h L TP2 Figure 11 Z8 Encore Evaluation Board 96C0868 001 Rev C Schematics Z8 Encore Flash Microcontroller Development Kit User Manual zilog s i lo NV 14 lo 312 gt gt 0_CON_DIS 1 U24C R30 2 z M 10K TC7ALVT125 GND RS485_1_EN R26
15. dem OUT pins 2 3 3 3 V DC is provided to power SocketModem SocketModem Table 14 J12 RS 485 1 Enable First Interface Shunt Position Function Device Affected IN RS 485 disabled none OUT Enables RS 485 first interface Console and IrDA Table 15 J13 RS 485 1 Enable Second Interface Shunt Position Function Device Affected IN RS 485 disabled none OUT Enables RS 485 second interface SocketModem Table 16 J14 RT 1 Termination Resistors Enable RS 485 First Interface Shunt Position Function Device Affected IN First RS 485 interface termination resistors none disabled OUT Enables first RS 485 interface termination none resistors UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual Z 27 Table 17 J15 RT_2 Termination Resistors Enable RS 485 Second Interface Shunt Position Function Device Affected IN Second RS 485 interface termination none resistors disabled OUT Enables second RS 485 interface none termination resistors UMO14605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual zilog Embedded Modem Figure 7 displays the embedded modem location Figure 7 Embedded Modem Placement The evaluation board provides for an embedded modem the SF56D SP SocketModem The SocketModem is not part of the kit Table 18 on page 29 lists ordering information for the modem The int
16. er Development Kit User Manual zilog Table 5 Header J6 Pin No Signal Name Function Direction Comments 1 VCC 2 VCC 3 9 V DC 4 9VDC 5 SCL I C Clock OUT 6 ID2 Evaluation Board OUT ID 7 SDA 12C Data IN OUT 8 ID1 Evaluation Board OUT ID 9 GND 10 IDO Evaluation Board OUT ID 11 MOD_DIS Modem Disable OUT If a shunt is installed the Modem Function on the evaluation board is disabled 12 CON_DIS Console Disable OUT If a shunt is installed the Console Function on the evaluation board is disabled 13 MWAIT IN Reserved see note 14 GND 15 PEO Port E bit 0 IN OUT 16 17 CS3 Reserved see note 18 19 GND 20 GND Note Do not use pins marked Reserved when designing Expansion Modules All the signals are driven directly by the MCU UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit Table 5 Header J6 Continued User Manual zilog Pin No Signal Name Function Direction Comments 21 PE7 Port E bit 7 IN OUT 22 PAO Port A bit 0 IN OUT TOIN 23 PE6 Port E bit 6 IN OUT 24 PA1 Port A bit1 IN OUT TOOUT 25 PES Port E bit 5 IN OUT 26 PA2 Port A bit 2 IN OUT 27 PE4 Port E bit 4 IN OUT 28 PA3 Port A bit 3 IN OUT CTSO 29 PE3 Port E bit 3 IN OUT 30 PA4 Port A bit 4 IN OUT RXDO 31 PE2 Port E bit 2 IN OUT 32 P
17. erface communicates with the modem serially LEDs D7 D10 provide information about the status of the modem s interface lines The phone line connection is for the U S only To connect to a modem outside of the U S modifications must be made to the board The necessary data is found in the SocketModem Data Sheet available for download at www zilog com UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual Zilog Table 18 SocketModem Ordering Information Sales Order Number Part Number Configuration SC56H1 SC43 E310 001 V 90 56 kbps serial interface 5 V operation SC56H1_L SC43 E320 001 V 90 56 kbps serial interface 3 3 V operation SC336H1 SC34 E310 001 V 34 33 6 kbps serial interface 5 V operation SC336H1 L SC34 E310 001 V 34 33 6 kbps serial interface 5 V operation SC144H1 SC14 E310 001 V 32 14 4 kbps serial interface 5 V operation SC144H1 L SC14 E310 001 V 32 14 4 kbps serial interface 5 V operation Pushbuttons The Z8 Encore evaluation board contains three user configurable push buttons see Figure 8 7223 EE Figure 8 User Configurable Pushbuttons UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual chematics Zil Figure 9 through Figure 13 display schematics for the Z8 Encore Target Module and the Z8 Encore Evaluation Board Z8F64 amp
18. input 6 PB3 Port B bit 3 IN ALG3 Analog input Note Do not use pins marked Reserved when designing Expansion Modules All the signals are driven directly by the MCU UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual Table 6 Header J8 Continued ZI Pin No Signal Name Function Direction Comments 7 PB4 Port B bit 4 IN ALG4 Analog input 8 PB5 Port B bit 5 IN ALG5 Analog input 9 PB6 Port B bit 6 IN ALG6 Analog input 10 PB7 Port B bit 7 IN ALG7 Analog input 11 GND 12 GND 13 PHO Port H bit 0 IN ALG8 Analog input 14 PH1 Port H bit 1 IN ALG9 Analog input 15 PH2 Port H bit 2 IN ALG10 Analog input 16 PH3 Port H bit 3 IN ALG11 Analog input 17 Reserved see note 18 Reserved see note 19 Reserved see note 20 Reserved see note 21 GND 22 GND 23 PFO Port F bit 0 IN OUT DTR1 24 PF1 Port F bit 1 IN OUT RTS1 25 PF2 Port F bit 2 IN OUT DSR1 26 PF3 Port F bit 3 IN OUT DCD1 27 PF4 Port F bit 4 IN OUT RI1 28 PF5 Port F bit 5 IN OUT 29 PF6 Port F bit 6 IN OUT 30 PF7 Port F bit 7 IN OUT 31 VDD 32 VDD Note Do not use pins marked Reserved when designing Expansion Modules UMO14605 0208 All the signals are driven directly by the MCU Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual ZI Table 6 Header J8 Con
19. ion on the CD ROM or available for download at www zilog com UMO14605 0208 Installation Z8 Encore Flash Microcontroller Development Kit User Manual Z8 Encore Evaluation Board Introduction Z8 Encore evaluation board 64 KB version is an evaluation and proto typing board for the Z8 Encore family of MCUs The board provides you with a tool to evaluate features of Z8 Encore family and to develop an application before building the hardware Features The features of the Z8 Encore evaluation board include UMO14605 0208 Z8 Encore MCU LED array with four 7 x 5 LED matrices Serial Communications Devices PC configuration IC for Expansion Module SPI Interface with temperature sensor Infrared Data Association IrDA transceiver Power and communication interfaces 9V DC power supply Two RS 232 connectors One RS 485 connector with two ports Expansion Module interface Embedded modem socket with U S phone line interface modem is not included in the kit Three pushbuttons Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual Zilog Block Diagram The board consists of the following major blocks Z8 Encore MCU Serial communication devices SPI and PC Power and communication interfaces LED array Expansion Module interfaces IrDA transceiver Zilog Debug Interface DBG Figure 5 Major Z8 Encore Evaluation Board B
20. isters or devices gt Note The default settings for all jumpers is OUT Table 7 Configuration Headers and Jumpers Related Headers Header Function Registers or Devices J1 RJ11 J2 Modem connector Header 32 J3 Modem connector Header 9 J4 Modem connector Header 2 J6 12 CON_DIS J6 14 GND Console Enable Disable J2 J6 11 MOD_DIS J6 9 GND Modem Enable Disable J7 External Vref Internal Vref Control J8 Expansion Module Header J9 Vref test point R5 J10 IrDA Enable Disable J6 12 CON_DIS J6 14 GND UMO14605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual ZIlOg Table 7 Configuration Headers and Jumpers Continued Related Headers Header Function Registers or Devices J11 SocketModem Power 3 V DC 5 V DC J12 RS 485 1 EN J13 RS 485 2 EN J14 RT 1 J15 RT 2 Table 8 through Table 13 list jumper information concerning the shunt status functions and devices affected of selected jumpers Table 8 J6 9 J6 11 Modem Enable Disable Shunt Status Function Device Affected IN Modem connector P2 is UART1 cannot communicate through P2 disabled Ports D and F can be assigned to functions other than UART1 OUT Modem connector P2 is If the embedded SocketModem is not in the enabled socket UART1 communicates through P2 Table 9 J6 12 J6 14 Console Enable Disable Shunt Sta
21. locks UMO14605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual zilog Figure 6 displays the Z8 Encore evaluation board block diagram Temp Sensor N ZR Port A 0 7 pap N x Port B 0 7 N Port C 0 7 Port D 0 7 N WA P LED ARRAY Port E 0 7 Port F 0 7 N Port G 0 7 Port H 0 3 L We Z8 Encore MCU Port A Port D Port F Port C N WA WDA y y Port E Port G Port H Pot B RS 232 N Console T ey N X RS 485 RS485_1 RS232 J Modem y v Embedded A phones Line Modem RS 485 RS485 2 a E e a HE e x S NP Lai A Eu PP d EA xd Expansion Module Interface Figure 6 Z8 Encore Evaluation Board Block Diagram UMO14605 0208 Z8 Encore Evaluation Board MCU Z8 Encore Flash Microcontroller Development Kit User Manual A rion The Z8 Encore MCU family of products are the first in a line of Zilog MCU products based upon the new 8 bit eZ8 core CPU The Flash in circuit programming capability allows for faster development time and program changes in the field The new eZ8 core CPU is upward compati ble with existing Z8 instructions The rich peripheral set of the Z8 Encore
22. n 3 UM014605 0208 User Manual sb EH I i O CI zilog E embedded modem 28 ENDEC 16 evaluation board block diagram 12 configuration headers 23 DIS IrDA 26 embedded modem 28 expansion module interface 17 external Vref 25 features 10 Dc interface 15 J11 VDC values 26 J6 signals pins and functions 18 J8 signals pins and functions 20 major blocks 11 power and communication 17 SocketModem ordering information 29 SPI interface 16 Vref 25 expansion module interface 17 external Vref 25 F features evaluation board 10 12 features Z8 Encore 13 file menu 9 fixed voltage 25 G getting started 9 Index Z8 Encore Flash Microcontroller Development Kit H hardware 1 host system configuration 4 I DC configuration register 16 DC interface 15 infrared communication 16 installation 5 the ZDC II Z8 Encore software 8 wizard screen shot 8 interface four wire 16 I2C 15 SPI 16 IrDA enable disable 26 transceiver 16 J J11 VDC values 26 J6 signals pins and functions 18 J8 signals pins and functions 20 K kit contents 1 UM014605 0208 User Manual sb 2 IO ZILOQ 36 L LED addresses 14 modem status 28 LED anode and cathode information 14 M MCU 13 modem enable disable 24 P PCA8550 16 phone line connections 28 plug in modules 17 power and communication 17 power supply 17 pushbuttons 29 R register pairs 14 requirements 4 RS 232 connector 17 RS 485 connector 17
23. ntended 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 critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Document Disclaimer 2008 by 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 Z8 Encore XP Z8 Encore MC Crimzon eZ80 and ZNEO are trademarks or registered trademarks of Zilog Inc All other product or service names are the property of their respective owners UM014605 0208 39
24. nts IBM PC or compatible computer with the following recommended configurations Supported Host System Configuration The following system configurations are required on the host PC e Microsoft Windows XP SP1 Windows 2000 SP3 Windows NT 4 0 SP6 Windows 98 SE Pentium 11 233 MHz processor or higher up to Pentium IV 2 8 GHz e 96 MB RAM or more e 25 MB hard disk space or more e Super VGA video adapter e CD ROM One or more RS 232 communication ports UMO14605 0208 Introduction Z8 Encore Flash Microcontroller Development Kit User Manual s PEA IEA a Z l L L y L Ns d Installation This chapter describes the installation of hardware and software tools for the Z8 Encore Evaluation Kit Also describes setting up the evaluation board substituting plug configurations of the universal 9 V DC power supply and installing the ZDS II IDE Z8 Encore software Setting up the Evaluation Board The PC communicates with the Z8 Encore Flash MCU Evaluation board using the serial port of the PC A Z8 Encore Smart Cable converts the RS 232 signals into the 3 3 V bidirectional open drain signal needed to communicate with the on chip debugger of the eZ8 This Z8 Encore Smart Cable is a small circuit board with an attached cable and a six pin right angle female connector that attaches to the evaluation board J Caution Always use a grounding strap to prevent damage resulting from electro static discharge ESD Follow the s
25. plug configura tion out of its slot 3 Select the plug configuration of choice for your location and insert it into the slot left by the previous plug configuration 4 Push the new plug configuration down until it snaps into place see Figure 4 Figure 4 Inserting a New Plug Configuration UM014605 0208 Installation Z8 Encore Flash Microcontroller Development Kit User Manual 7 ILION l U L Y Installing the ZDS II Z8 Encore Software Follow the steps below to install the software tools 1 Load the ZDS II Z8 Encore Flash MCU CD into the CD ROM drive of the host PC The CD launches DemoShield automatically and provides a menu to install the product and documentation Select INSTALL PRODUCTS followed by INSTALL ZDS II to display the Installation Wizard gt Note Software versions used in the following illustrations are for reference only You may have an updated version 2 UMO14605 0208 Click Next to continue with the installation The License Agreement appears Select Yes to accept the agreement and proceed with the installation After selecting Yes the Choose Destination Location screen appears Follow the directions on the screen and choose whether to install ZDS TI in the default location or in some other folder Click Next The Select Program Folder screen appears Follow the on screen instructions and click Next After selecting Next the Installation Wizard completes the installa
26. teps below to setup the Z8 Encore evaluation board 1 Connect the serial port of the PC to the Z8 Encore Smart Cable female DB9 connector 2 Connect the Z8 Encore Smart Cable to the Z8 Encore Flash MCU evaluation board pin header P4 3 Connect the 9 V DC universal power supply to the evaluation board then to an electrical outlet For the Z8 Encore development kit external connections see Figure 2 on page 6 UM014605 0208 Installation Z8 Encore Flash Microcontroller Development Kit User Manual Zilog Serial Port 3 9 V Universal ow Power Supply Smart Cable Figure 2 Evaluation Board External Connections Changing the Universal 9 V DC Power Supply Plug Configurations Figure 3 displays the contents of the Universal Power Supply kit 9 V DC Universal Power Supply Plug Configurations Removal Tool Figure 3 9 V DC Universal Power Supply Components UM014605 0208 Installation Z8 Encore Flash Microcontroller Development Kit User Manual Zilog The 9 V DC universal power supply features three different plug configu rations the power supply and a tool that aids in removing one plug con figuration to insert another Follow the steps below to substitute one plug configuration for another 1 Using the removal tool place the power supply in the round hole at the top of the current plug configuration 2 Press down to disengage the keeper tab and push the
27. tinued Pin No Signal Name Function Direction Comments 33 RD Read Reserved see note 34 WR Write Reserved see note 35 RESET Pushbutton reset OUT 36 INSTRD Reserved see note 37 BUSACK Reserved see note 38 BUSREQ Reserved see note 39 NMI Reserved see note 40 PHI Reserved see note 41 GND 42 GND 43 PGO Port G bit 0 IN OUT 44 PG1 Port G bit 1 IN OUT 45 PG2 Port G bit 2 IN OUT 46 PG3 Port G bit 3 IN OUT 47 PG4 Port G bit 4 IN OUT 48 PG5 Port G bit 5 IN OUT 49 PG6 Port G bit 6 IN OUT 50 PG7 Port G bit 7 IN OUT 51 GND 52 GND 53 CS0 Reserved see note 54 CS1 Reserved see note 55 CS2 Reserved see note 56 CSx Reserved see note Note Do not use pins marked Reserved when designing Expansion Modules All the signals are driven directly by the MCU UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual ZILOg Table 6 Header J8 Continued Pin No Signal Name Function Direction Comments 57 MEMRQ Reserved see note 58 lIORQ Reserved see note 59 VDD 60 GND Note Do not use pins marked Reserved when designing Expansion Modules All the signals are driven directly by the MCU Configuration Headers Jumpers Configuration headers jumpers help to configure the board Table 7 lists the function of each header and related headers reg
28. tion When the installation is complete another screen appears asking you to register the product online at www zilog com To register at a later time the registration link to the internet site is provided in the ZDS II Help menu The following directory is installed on the host PC assuming all installation settings remain at their defaults C Program Files ZiLOG ZDSII_Z8Encore _F640X_ lt Ver sion gt Installation Z8 Encore Flash Microcontroller Development Kit User Manual I AN Z ILO g Getting Started Using ZDS Il Follow the steps below to open an existing project 1 9 Connect the Evaluation board to the host PC s serial communications port using the Smart Cable Apply 9 V DC power to the Evaluation board Run the ZDS II Software Start gt Programs gt ZDS 11 28 Encore F640x_ lt Version gt ZDS 11 28 Encore F640x_ lt Version gt Select Open Project from the File menu The Open Project dialog box appears Select samples The samples folder appears Select the 28F640x_ledBlink folder and then the src folder to access the ledBlink pro project file Select the ledblink pro file The initial ZDS II program screen opens Click Rebuild All and then the Reset icon Er to connect and download the code to the Evaluation board Click Go icon to start the program For more information refer to Zilog Developer Studio II Z8 Encore User Manual UM0130 supplied with the documentat
29. tus Function Device Affected IN Console connector P1 is disabled If J6 12 14 is IN and J10 is IN Port A 3 5 is assigned to IrDA if J10 is OUT Port A 3 5 is assigned to UARTO OUT Console connector P1 is enabled None UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit Table 10 J7 External Vref User Manual Z 25 Shunt Status Function Device or Register Affected IN External Vref is used for ADC Internal Vref is disabled OUT Internal Vref is used for ADC Internal Vref is enabled Table 11 J9 Vref Function Device or Register Affected J9 1 Test point to external Vref Vref J9 2 GND None Table 12 J10 IrDA Enable Disable Shunt Status Function Device Affected IN IrDA enabled Only the IrDA interface is operational OUT IrDA disabled UARTO communicates through RS 232 If J6 12 14 is IN Port A 3 5 can be assigned to other functions console connector P1 is disabled If J6 12 14 is OUT console connector P1 is enabled Port A 3 5 is assigned to UARTO gt Note Ifthe IrDA board is installed the Console port is disabled UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual 3 26 Table 13 J11 SocketModem Power 3 V DC 5 V DC Shunt Position Function Device Affected IN pins 1 2 5 0 V DC is provided to power SocketModem SocketMo
30. two fully functional high performance UARTs with Infrared Encoder Decoders Endec The Infrared Endec is inte grated with an on chip UART to allow easy communication between the Z8 Encore and IrDA transceivers Infrared communication provides secure reliable low cost point to point communication between PCs PDAs cell phones printers and other infrared enabled devices UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual sl ee ae ni en d Z l LI j 17 Power and Communication Interfaces The following are the power and communication interfaces e 9V DC power supply powers the board e Two RS 232 DB9 connectors and an RS 485 connector with two ports e Zilog IrDA transceiver is integrated onto the Z8 Encore evaluation board Smart Cable The Z8 Encore Smart Cable enables communication with the Host computer The Z8 Encore Smart Cable converts a one wire interface into a two wire TxD and RxD RS 232 like interface with RS 232 levels Expansion Module Interface The Expansion Module Interface allows addition of any plug in modules The Expansion Module Interface brings out the signals from the Z8 Encore device for debug and testing Two 60 pin male headers J6 and J8 implement the Expansion Module Interface Tables 5 and Table 6 list the signals and their direction where applicable UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroll
31. uces Flash to the Z8 line of microcontrollers The Z8 Encore Development Kit Z83ENCORE000ZCO allows you to become familiar with the hardware and software tools available with this product This kit consists of the 64 KB version of the Z8 Encore Evaluation board that supports and presents the features of the Z8 Encore The software development tool kit allows you to begin writing application software and contains all supporting documents This manual acquaints you with the Z8 Encore Development Kit and gives instructions on setting up and using the tools to start building designs and applications Kit Contents The Z8 Encore Flash MCU development kit contains the following Hardware The hardware component of the Z8 Encore Flash MCU development kit include e 78 Encore Evaluation board Smart cable for PC to Z8 Encore evaluation board DB9 to six pin male e 9V DC universal power supply for details see Figure 3 on page 6 UMO14605 0208 Introduction Z8 Encore Flash Microcontroller Development Kit User Manual geg e d em A I 10 ng l L V L j Registration Card Smart Cable Quick Start Guide N 9 V DC Universal Power Supply Evaluation Software Board Documentation CD Figure 1 Z8 Encore Development Kit Contents Software on CD ROM The software components of Z8 Encore development kit include e Zilog Development Studio II
32. uration of the Expansion Module The PCA8550 is a 4 bit multiplexer that selects four bits of data either from a non volatile register or from the input pins In this case four input pins are left unconnected and only a non volatile register is selected as a source of data Only three bits are used Currently this chip is not used by the software provided with the board so you can use it to your UM014605 0208 Z8 Encore Evaluation Board Z8 Encore Flash Microcontroller Development Kit User Manual Z lod SKS SS 46 advantage The configuration register Table 4 is available at the address 0x9C for Write operation and 0x9D for Read operation on the PCA8550 device For more details on programming this device refer to PCA8550 Product Specification www semiconductors philips com Table 4 12C Address for Configuration Register on the PCA8550 U2 Device Bit No 7 6 5 4 3 2 1 0 Value 1 0 0 1 1 1 0 R W SPI Interface The SPI allows the Z8 Encore to exchange data between other peripheral devices such as EEPROMs ADC and ISDN devices The SPI is a full duplex synchronous character oriented channel that supports a four wire interface To work with SPI interface for temperature sensor types of applications DS1722 Digital Thermometer was incorporated into the board The serial mode is SPI For more details on programming the device refer to DS1722 Product Specification IrDA Transceiver The Z8 Encore contains
33. urations 6 Installing the ZDS II Z8 Encore Software 8 Getting Started 9 Using ERLABEN 9 Z8 Encore Evaluation Board 10 Introd ction icon a Y e oc ees te AAA 10 UI cof ki KAA AA RES 10 Block DISBIARIT WA Ron Qc Scbol api rU R 11 MCU o Pm 13 LED Array exis RR RRR RRR ten ERR ee Ree RARA 14 Serial Communications Devices 000 eee 15 120 Interface sx sonrisa ee RR RR RR RR UE 15 SPI Interface se ek eee m Rs 16 IrDA Transceiver 16 Power and Communication Interfaces 17 Smart Cable 2 45 405 3 339 oP oe eee ke ewe ea RR REG Gu RN 17 Expansion Module Interface 00s 17 Configuration Headers Jumpers na anaana eaa 23 Embedded Modem 28 UM014605 0208 Table of Contents Z8 Encore Flash Microcontroller Development Kit User Manual Pushbuttons 29 SCHEMATICS iii aaa do 30 le UU UTOE TAA VA ANA MWA UNA ah eens oa ee eens 35 Customer Support lt lt lt e e e e eene 38 UM014605 0208 Table of Contents Z8 Encore Flash Microcontroller Development Kit User Manual 7 IION l L U U Y Introduction Zilog s Z8 Encore P Flash Microcontroller MCU is the first in the new line of Zilog microcontroller products This board supports the Z8 Encore and introd

Download Pdf Manuals

image

Related Search

Related Contents

Soccer Server 3D Manual - Department of Computer Science  施工要領書 - Coreserver  CCTP Lot 06-Menuiserie Intérieure Bois - Acoustique  Briggs & Stratton 50A User's Manual  Check the supplied items. Welcome to your new Sony IC recorder  Integral IN1T256NRRBXK2 memory module  TRIAD2 (Notice d"installation)  Renault Megane (3,5 doors) 1996/1-1999/4 1999/4  

Copyright © All rights reserved.
Failed to retrieve file