background image

UM026302-0916

 

RE200B Pyroelectric Sensor

Z8 Encore! XP

®

 F6482 Series Development Kit

User Manual

23

To learn more about this RE200B device, visit 

http://www.bucek.name/pdf/re200b.pdf

.

Figure 23. RE200B Pyroelectric Sensor Circuit

Figure 24. The RE200B Pyroelectric Sensor

Summary of Contents for Z8 Encore! XP F6482 Series

Page 1: ...lying on the information therein All referenced brands product names service names and trademarks are the property of their respective owners 00000005981LF 000 EOS Power Buy Now We have 45 000 LP502030 PCM NTC LD A02554 EEMB Lithium Battery Rectangular 3 7V 250mAh Rechargeable in stock now Starting at 0 034 This EEMB part is fully warrantied and traceable 1 855 837 4225 Give us a call Internationa...

Page 2: ...Copyright 2016 Zilog Inc All rights reserved www zilog com UM026302 0916 User Manual Z8F64820100ZCOG Z8 Encore XP F6482 Series Development Kit ...

Page 3: ...orm 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 2016 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 REPRESENTA...

Page 4: ...h 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 Date Revision Level Description Page Sep 2016 02 Removed RS 232 to 6 pin circuit adapter in the Kit Contents 3 12 Oct 2013 01 Original issue n a ...

Page 5: ...82 Series Development Kit User Manual 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 Caution ...

Page 6: ... Development Board 13 Power Sources 15 Z8F6482 MCU Features 15 SBLCDA4 LCD 17 32Mbit 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 ZDSII Flash Loader Utility 30 Z8F6482 Sample Projects 30...

Page 7: ...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 32MBit Flash with SPI Bus 20 Figure 18 S25FL032A Pin Configuration 20 Figure 19 U2 on the F6482 Series Developme...

Page 8: ...ference 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 ...

Page 9: ...er Manual viii List of Tables Table 1 Z8F64820100ZCOG Contents 3 Table 2 USB to TTL Serial Converter Connections 13 Table 3 LCD1 Pin Map 19 Table 4 Jumper Settings 29 Table 5 Z8F6482 MCU Sample Projects 31 Table 6 F6482 Series Development Kit Documentation 31 ...

Page 10: ...ent PC using Zilog s USB SmartCable To learn more about the Z8F6482 MCU refer to the F6482 Series Product Specification PS0294 This document provides instructions for setting up and configuring Z86482 Development Board and includes schematic diagrams and a discussion of Board features and ZDSII The first sections of this document guide you through the following tasks Download and Install the ZDSII...

Page 11: ...The Z8 Encore XP F6482 Series Development Kit UM026302 0916 2 Z8 Encore XP F6482 Series Development Kit User Manual Figure 1 The F6482 Series Development Kit ...

Page 12: ...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 5V MCU current measurement test points J5 and J6 Power supply level adjustable with potentiometer R13 USB SmartCable ZDSII software samples and documentation available free for downlo...

Page 13: ...tly 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 ZDSII software download also includes complete source code to all peripheral devices supported by the BSP API Advanced programme...

Page 14: ...160 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 ZDSII for Z8 Encore v5 2 2 or later from the Downloadable Software category in the Zilog Store see Figure 2 2 When your download is complete double click the installation file named ZDS2_Z8Encore _ version exe and follow the on scr...

Page 15: ... or disconnecting the USB SmartCable 1 Ensure that the following F6482 Series Development board default jumper settings are configured see Table 5 on page 31 for reference J1 IN J2 OUT J9 IN J19 OUT J21 1 2 IN J21 5 6 IN J23 1 2 IN 2 Connect one end of the 6 circuit ribbon cable provided in your Kit to the USB Smart Cable unit ensuring that the ribbon s male connector is aligned correctly with the...

Page 16: ...F6482 Series Development Kit User Manual 7 3 Connect the other end of the ribbon cable to Debug Connector J16 on the Develop ment Board Ensure that Pin 1 on the ribbon cable is aligned with Pin 1 on the target connector as highlighted in Figure 4 Figure 4 Debug Connector J16 ...

Page 17: ... application An optional terminal emulation program and a 3rd Party USB to TTL Serial converter not supplied maybe used and must be configured for 57600 8 N 1 with no flow control as described in the HyperTerminal Configuration section on page 12 To get started with the Z8F6482 demonstration observe the following procedure 1 Launch ZDSII by navigating from the Windows Start menu to Programs Zilog ...

Page 18: ...ment Kit User Manual 9 3 Select the ledblink zdsproj project from within the XP_F6482_ledBlink_C folder and click Open as shown in Figure 7 A list of source files will appear in the workspace panel Figure 6 Open Project from the ZDSII File Menu Figure 7 Select the ledblink zdsproj Project ...

Page 19: ... box In the Project Settings dialog box click the Debugger tab 7 On the Debugger page select Z8F64820100ZCOG from the Target list then select USB SmartCable from the Debug Tool drop down menu as shown in Figure 8 8 Click OK to close the Project Settings dialog box 9 If you are prompted to rebuild any affected files click Yes Otherwise choose Build from the menu bar then click Rebuild All 10 To run...

Page 20: ...482 Series Development Kit User Manual 11 11 After the application has started console output should be visible in the terminal emu lation program as shown in Figures 10 and 11 Figure 9 Select Go from the Debug Menu Figure 10 Console Output Using Hyperterminal Windows XP ...

Page 21: ...nes how to configure HyperTerminal for the Z8F6482 demonstration project The HyperTerminal application is not available in Windows Vista and Windows 7 systems If you are using either of these operating systems consider using installing different communica tion software such as Tera Term see Appendix C Tera Term Configuration on page 39 1 Connect a 3rd Party USB to TTL Serial converter to J20 on th...

Page 22: ...is port to reflect the following settings 57600 bps 8 data bits No parity 1 stop bit No flow control 5 In HyperTerminal click the Call button to connect to the F6482 Series Development Board When connected you should be able to see the demonstration program menu shown in Figure 11 F6482 Series Development Board The purpose of the F6482 Series Development Kit is to provide a set of hardware and sof...

Page 23: ...The Z8 Encore XP F6482 Series Development Kit UM026302 0916 14 Z8 Encore XP F6482 Series Development Kit User Manual Figure 12 The F6482 Series Development Board ...

Page 24: ...ent PC using the USB A to USB Mini B cable included in the Kit The other option is to connect an external 5VDC source with at least 300 400mA of current to J14 5VDC and J15 GND USB power at P1 External power across J14 and J15 Z8F6482 MCU Features The Z8F6482 MCU is a member of Zilog s Z8 Encore XP Family of microcontroller products Key features include 24MHz eZ8 CPU core Figure 13 F6482 Series De...

Page 25: ... LCD pack ages contain only one 8 channel event system provides communication between peripherals for autonomous triggering Full speed Universal Serial Bus USB2 0 device supporting eight endpoints with integrated USB PHY not available on 64 pin package with LCD Two full duplex 9 bit UART ports with the support of Local Interconnect Network LIN and Digital Addressable Lighting Interface DALI protoc...

Page 26: ...uding an Internal Precision Oscil lator IPO Digitally Controlled Oscillator DCO Watchdog Timer Oscillator WTO Frequency Locked Loop FLL and Phase Locked Loop PLL High Frequency Crystal Oscillator HFXO operating in the 1 25MHz range Wide 1 8V 3 6V operating voltage range 32 44 64 and 80 pin packages 40 C to 85 C extended operating temperature range To learn more refer to the F6482 Series Product Sp...

Page 27: ... Kit UM026302 0916 18 Z8 Encore XP F6482 Series Development Kit User Manual The pin configuration of LCD1 as connected to the Z8F6482 MCU s pins is shown in Figure 15 Figure 14 Seven Segment LCD from Softbaugh Figure 15 LCD1 Pin Configuration ...

Page 28: ...fication pdf Figure 16 LCD1 on the F6482 Series Development Board Table 3 LCD1 Pin Map Pin COM3 COM2 COM1 COM0 COM3 COM2 COM1 COM0 Pin 1 DP7 7E 7G 7F X X X X X 2 7D 7C 7B 7A MEM MINUS ERR DOL 26 3 DP6 6E 6G 6F 8BC RX TX ENV 25 4 6D 6C 6B 6A A0 A1 A2 ANT 24 5 COL5 5E 5G 5F BB B0 B1 BT 23 6 5D 5C 5B 5A AL AD AR AU 22 7 DP4 4E 4G 4F P2 P1 P0 PL 21 8 4D 4C 4B 4A F4 F3 F2 F1 20 9 COL3 3E 3G 3F P3 P4 PR...

Page 29: ...and outputs data on a serial output SO Upon installing the ZDSII software refer to the following sample project folders for source code which can be used to read and program SPI Flash memory BSP Samples AES EncryptingDataLogger BSP Samples UART_SPI_M2M The S25FL032A device can be found on the F6482 Series Development Board at location U2 The pin configuration of this device is shown in Figure 18 a...

Page 30: ...IC5318 Low Voltage Drop Out Regulator The on board regulator is the MIC5318 Low Voltage Drop Out Regulator This device regulates the 5V input voltage to the MCU s VCC_T which can be adjusted from 1 8V to 3 6V using the R13 trim pot Pin assignments a circuit diagram and an image of the MIC5318 device are shown in Figures 20 through 22 Figure 19 U2 on the F6482 Series Development Board Figure 20 MIC...

Page 31: ...200B pyroelectric sensor is made of a crystalline material that generates a surface electric charge when exposed to heat in the form of infrared radiation A circuit diagram and an image of the RE200B device are shown in Figures 23 and 24 Figure 21 The MIC5318 Low Voltage Drop Out Regulator Circuit Figure 22 The MIC5318 Low Voltage Drop Out Regulator ...

Page 32: ...ic Sensor Z8 Encore XP F6482 Series Development Kit User Manual 23 To learn more about this RE200B device visit http www bucek name pdf re200b pdf Figure 23 RE200B Pyroelectric Sensor Circuit Figure 24 The RE200B Pyroelectric Sensor ...

Page 33: ...301 is a bridge tied load BTL audio power amplifier developed especially for low voltage applications in which internal speakers are required Pin assignments a cir cuit diagram and an image of the TPA301D device are shown in Figures 25 through 27 Figure 25 TPA301D Mono Audio Power Amplifier Pin Assignments Figure 26 TPA301D Mono Audio Power Amplifier Circuit ...

Page 34: ...1508 Speaker The CVS 1508 low profile speaker manufactured by CUI Inc consists of a 0 3W 8Ω neodymium magnet and mylar cone housed in a 15mm round frame An image of the CVS 1508 device is shown in Figure 28 To learn more about this CVS 1508 device visit http www cui com product resource cvs 1508 pdf Figure 27 The TPA301D Mono Audio Power Amplifier Figure 28 The CVS 1508 Speaker ...

Page 35: ...sistor is a silicon NPN ambient light sensor with a high radiant sensitivity and a daylight blocking filter A circuit diagram and an image of the TEFT4300 device are shown in Figures 29 and 30 To learn more about this TEFT4300 device visit http www vishay com docs 81549 teft4300 pdf Figure 29 TEFT4300 PhotoTransistor Circuit Figure 30 The TEFT4300 PhotoTransistor ...

Page 36: ...M285 micropower circuit manufactured by Texas Instruments is an adjustable band gap voltage reference diode which can be found on the F6482 Develop ment Board at location VR1 Voltage references a circuit diagram and an image of the LM285 device are shown in Figures 31 through 33 Figure 31 LM285 Adjustable Micropower Voltage Reference Figure 32 LM285 Adjustable Micropower Circuit ...

Page 37: ...Development Kit User Manual J16 DBG The J16 DBG device connects the F6482 Series Development Kit to the PC through a debug tool A circuit diagram and an image of the J16 DBG device are shown in Figures 34 and 35 Figure 33 The LM285 Adjustable Micropower Device Figure 34 The J16 DBG Circuit ...

Page 38: ...N OUT External source could be connected or PB3 can be used as a GPIO J2 VREF IN On board source 2 5V is VREF OUT OUT Pin PB4 can be used as a GPIO or the internal source of VREF can be output here J9 SPI Flash Select IN On board SPI Flash can be used IN OUT PC1 can be used as a GPIO J19 Audio Disable IN On board audio amplifier and speaker are dis abled OUT On board audio amplifier and speaker ar...

Page 39: ...ader you can program the Z8F6482 MCU directly using the hex code generated from the ZDSII IDE Figure 36 presents an example Z8F6482 Sample Projects A number of sample projects are included with the ZDSII Z8 Encore v5 2 2 software which can be downloaded for free from the Zilog Store These sample projects will be accessible upon installation of ZDSII Z8 Encore v5 2 2 their locations are listed in T...

Page 40: ... XP_F6482_Motion SMR_Demo samples XP_F6482 XP_F6482_SMR_Demo Table 6 F6482 Series Development Kit Documentation Description Document ID Installed Location F6482 Series Product Specification PS0294 Documentation Chip_Documentation F6482 Series Product Brief PB0246 Documentation Chip_Documentation eZ8 CPU User Manual UM0128 Documentation Chip_Documentation Z8 Encore XP F6482 Series API Programmer s ...

Page 41: ... DP BENCH POWER 5VDC GND POWER RESET DBG LAYOUT OF J16 TOP VIEW VCC_T USB_DM USB_DP DBG RST VCC_5v VCC_5v VCC_T VCC_T VCC_T P1 USB mini B VBUS 1 DM 2 DP 3 ID 4 GND 5 SH1 6 SH2 7 SH3 8 SH4 9 C23 0 01uF C20 4 7uF C19 1uF L1 FERRITE BEAD R11 16 5K SW1 1 2 J14 1 2 3 R15 19 6K C21 0 1uF R13 20K 1 3 2 D2 PMEG3020 3 2 1 C22 10uF 1 2 R16 10K U3 MIC5318 GND 2 EN 1 IN 3 ADJ 5 OUT 4 BYP 6 Center Pad 7 J15 1 ...

Page 42: ...N T0OUT SCL DE0 PH2 SEG3 PH3 SEG4 PH4 SEG5 PH5 SEG6 PF5 SEG15 PG0 SCK1 SEG21 PD1 C1INN AMPBINN ANA7 PD6 DE1 PF2 SEG8 ESOUT2 PJ0 SEG13 PF0 SEG2 ESOUT0 PC6 T2IN TOUT SCKOUT ESOUT0 PA2 DE0 CLK2IN PE5 T4CHC ESOUT2 PA7 T1OUT SDA PC7 T2OUT CTS1 ESOUT1 PJ1 SEG14 PE2 T4IN PB0 ANA0 AMPAOUT PE3 T4CHA ESOUT0 PA4 RXD0 MOSI0 PC5 SCK0 T0OUT SDA CTS0 PF1 SEG7 ESOUT1 PB6 ANA10 PJ2 SEG17 PC1 ANA5 C0INN PG1 MOSI1 S...

Page 43: ...uF Y2 32 768KHZ J1 1 2 U2 S25FL032 CS 1 SO IO1 2 WP ACC IO2 3 GND 4 SI IO0 5 SCK 6 HOLD IO3 7 VCC 8 Z8F6482AT U1 PG4 SEG0 1 PG5 SEG1 2 VLCD 3 PA2 DE0 CLK2IN X2IN 4 PA3 CTS0 X2OUT 5 PE3 T4CHA ESOUT0 6 PD6 DE1 7 PA4 RXD0 MOSI0 8 PA5 TXD0 SCK0 9 VSS 10 VDD 11 PD5 TXD1 12 PA6 T1IN T1OUT SCL 13 PC4 MOSI0 T0IN T0OUT SCL DE0 14 PF0 SEG2 ESOUT0 15 PB7 16 PC5 SCK0 T0OUT SDA CTS0 17 PH2 SEG3 19 PH3 SEG4 20 ...

Page 44: ...PF7 PF0 PF1 PG0 PG1 PG2 PG3 PG4 PG5 PG6 PG7 PH0 PH1 PH2 PH3 PH4 PH5 PH6 PH7 PJ0 PJ1 PJ2 PJ3 VCC_T VCC_T VCC_T VCC_T VCC_T VCC_T VCC_T VCC_5v VCC_T VBIAS R26 470 R20 10K SH2 shunt C34 3 3uF U6 RE200B D 1 S 2 GND 3 C24 1500pF R31 10K C31 5pF D7 1N4448W C30 0 47uF 1 2 R27 470 R36 3 3K J20 1 2 3 4 5 6 C33 1000pF R32 10K J18 HDR PIN 2x36 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 4...

Page 45: ...rtCable driver If this is the case skip ahead to Step 9 If Windows cannot find the driver close the search dialog and proceed to the next step 3 In the Search programs and files field in the Windows Start menu enter Device Manager The Device Manager will appear in a list of search results 4 From this list of results click Device Manager to open the Device Manager dialog which presents a list of de...

Page 46: ...driver dia log 5 Select Browse my computer for driver software advanced to display the Browse For Driver dialog which prompts you to key in or browse for the location of the driver s 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 then click the Next but ton On 32 bit Vista systems navigate to ZDSII Installation de...

Page 47: ... click Continue Anyway 3 In the Please choose your search and installations dialog select Search for the best driver in these locations and include this location in search 4 Use the Browse button to navigate to one of the following paths ZDSII Installation device drivers USB x32 ZDSII Installation CD Device Drivers USB x32 5 Click Next to locate the appropriate driver 6 Click Next a second time th...

Page 48: ...f your PC has a serial interface navigate via the Setup menu to Serial port to select the COM port assigned to your serial port If you do not have a serial port on your PC use a USB to serial adapter not included in the kit 3 Use the Ports COM LPT listing in the Device Manager to determine the correct COM port assigned to your adapter Configure this port to reflect the following set tings 57600 bp...

Page 49: ...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 ets about Zilog product offerings please visit the Zilog Knowledge Base or consider par ticipating in the Zilog Forum This publication is subject to replacement by a later edition To determine whether a later edition exists please visit the Zilog w...

Reviews: