The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

2004 Microchip Technology Inc. DS51524A Code protection cons


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



PICDEMZ DEMONSTRATION USER'S GUIDE
2004 Microchip Technology Inc.
DS51524A
Code protection constantly evolving. Microchip committed continuously improving code protection features products. Attempts break Microchip's code protection feature violation Digital Millennium Copyright Act. such acts allow unauthorized access your software other copyrighted work, have right relief under that Act.
Information contained this publication regarding device applications like provided only your convenience superseded updates. your responsibility ensure that your application meets with your specifications. MICROCHIP MAKES REPRESENTATIONS WARRANTIES KIND WHETHER EXPRESS IMPLIED, WRITTEN ORAL, STATUTORY OTHERWISE, RELATED INFORMATION, INCLUDING LIMITED CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY FITNESS PURPOSE. Microchip disclaims liability arising from this information use. Microchip's products critical components life support systems authorized except with express written approval Microchip. licenses conveyed, implicitly otherwise, under Microchip intellectual property rights.
Trademarks Microchip name logo, Microchip logo, Accuron, dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, MATE, PowerSmart, rfPIC, SmartShunt registered trademarks Microchip Technology Incorporated U.S.A. other countries. AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB, PICMASTER, SEEVAL, SmartSensor Embedded Control Solutions Company registered trademarks Microchip Technology Incorporated U.S.A. Analog-for-the-Digital Age, Application Maestro, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel Total Endurance trademarks Microchip Technology Incorporated U.S.A. other countries. SQTP service mark Microchip Technology Incorporated U.S.A. other trademarks mentioned herein property their respective companies. 2004, Microchip Technology Incorporated, Printed U.S.A., Rights Reserved. Printed recycled paper. 11/12/04
Microchip received ISO/TS-16949:2002 quality system certification worldwide headquarters, design wafer fabrication facilities Chandler Tempe, Arizona Mountain View, California October 2003. Company's quality system processes procedures PICmicro® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory analog products. addition, Microchip's quality system design manufacture development systems 9001:2000 certified.
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE Table Contents
Preface Chapter PICDEM Demonstration Overview
Introduction What PICDEM Demonstration Kit? PICDEM Demonstration Components Overview PICDEM Demonstration PICDEM Motherboard PICDEM Card PICDEM Software
Chapter Getting Started with PICDEM Demonstration
Introduction Host Computer Requirements Using PICDEM Boards First Time 2.3.1 Assembling PICDEM Nodes 2.3.2 Installing PICDEM Software Files Executing Preprogrammed Demo Applications
Chapter Experimenting with PICDEM Demonstration
Introduction Modifying Demo Application Configurations 3.2.1 Modifying Node Values 3.2.2 Modifying Association Binding Configurations 3.2.3 Clearing Entire Neighbor Binding Table 3.2.4 Clearing Individual Association Binding Entry Testing Performance Modifying Hardware Configuration Developing Your Application Creating Your Application Source File 3.6.1 Programming Your Application 3.6.2 Restoring Demo Firmware
Chapter Troubleshooting
Introduction Common Issues
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
Appendix PICDEM Motherboard Schematics
PICDEM Motherboard PICDEM Motherboard Assembly PICDEM Motherboard Layer PICDEM Motherboard Layer
Appendix PICDEM Card
Introduction What PICDEM Card? PICDEM Card Components Overview PICDEM Card PICDEM Card Features PICDEM Software Getting Started with PICDEM Card B.7.1 Introduction B.7.2 Motherboard Requirements B.7.3 Using PICDEM Card First Time PICDEM Card Schematics PICDEM Card Assembly B.10 PICDEM Card Layer B.11 PICDEM Card Layer B.12 PICDEM Card Layer B.13 PICDEM Card Layer
Worldwide Sales Service
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE Preface
NOTICE CUSTOMERS
documentation becomes dated, this manual exception. Microchip tools documentation constantly evolving meet customer needs, some actual dialogs and/or tool descriptions differ from those this document. Please refer site (www.microchip.com) obtain latest documentation available. Documents identified with "DS" number. This number located bottom each page, front page number. numbering convention number "DSXXXXXA", where "XXXXX" document number revision level document. most up-to-date information development tools, MPLAB® on-line help. Select Help menu, then Topics open list available on-line help files.
INTRODUCTION
This chapter contains general information that will useful know before using PICDEM Demo Kit. Items discussed this chapter include: Document Layout Conventions Used this Guide Warranty Registration Recommended Reading Microchip Site Development Systems Customer Change Notification Service Customer Support
DOCUMENT LAYOUT
This document describes PICDEM Demo development tool evaluate experiment with Microchip solutions ZigBeeprotocol. manual layout follows: Chapter PICDEM Demonstration Overview Describes PICDEM Demonstration works. Chapter Getting Started with PICDEM Demonstration What need know start using PICDEM Demonstration Kit. Chapter Experimenting with PICDEM Demonstration program PICDEM Demonstration Kit. Chapter Troubleshooting solve common operation problems with PICDEM Demo Kit. Appendix PICDEM Motherboard Schematics Hardware information PICDEM demonstration board Appendix PICDEM Card Hardware information PICDEM card
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
CONVENTIONS USED THIS GUIDE
Where applicable, this manual uses following documentation conventions: DOCUMENTATION CONVENTIONS
Description Arial font: Italic characters Initial caps Represents Referenced books Emphasized text window dialog menu selection field name window dialog menu path dialog button binary number where digit keyboard Sample source code Filenames File paths Keywords Command-line options values variable argument Examples MPLAB® User's Guide only compiler. Output window Settings dialog select Enable Programmer "Save project before build" File>Save Click Click Power `b00100, `b10 Press <Enter>, <F1>
Quotes Underlined, italic text with right angle bracket Bold characters `bnnnn Text angle brackets Courier font: Plain Courier
Italic Courier 0xnnnn Square brackets Curly brackets pipe character: Ellipses.
#define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, file.o, where file valid filename hexadecimal number where 0xFFFF, 0x007A hexadecimal digit Optional arguments mcc18 [options] file [options] Choice mutually exclusive errorlevel {0|1} arguments; selection Replaces repeated text var_name var_name.] Represents code supplied void main (void) user
DS51524A-page
2004 Microchip Technology Inc.
Preface
WARRANTY REGISTRATION
Please complete enclosed Warranty Registration Card mail promptly. Sending Warranty Registration Card entitles users receive product updates. Interim software releases available Microchip site.
RECOMMENDED READING
This user's guide describes PICDEM Demo Kit. Other useful documents listed below. following Microchip documents available recommended supplemental reference resources. Microchip Stack ZigBeeProtocol (AN965) This application note describes Microchip Stack ZigBee protocol quickly build your application without need acquire detailed knowledge ZigBee specifications. illustrate usage stack, working demo applications included. These demo applications used reference simply modified adapted your requirements.
MICROCHIP SITE
Microchip provides online support site www.microchip.com. This site used means make files information easily available customers. Accessible using your favorite Internet browser, site contains following information: Product Support Data sheets errata, application notes sample programs, design resources, user's guides hardware support documents, latest software releases archived software General Technical Support Frequently Asked Questions (FAQ), technical support requests, online discussion groups, Microchip consultant program member listing Business Microchip Product selector ordering guides, latest Microchip press releases, listing seminars events, listings Microchip sales offices, distributors factory representatives
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip's customer notification service helps keep customers current Microchip products. Subscribers will receive e-mail notification whenever there changes, updates, revisions errata related specified product family development tool interest. register, access Microchip site www.microchip.com, click Customer Change Notification follow registration instructions. Development Systems product group categories are: Compilers latest information Microchip compilers other language tools. These include MPLAB C17, MPLAB MPLAB compilers; MPASMand MPLAB ASM30 assemblers; MPLINKand MPLAB LINK30 object linkers; MPLIBand MPLAB LIB30 object librarians. Emulators latest information Microchip in-circuit emulators.This includes MPLAB 2000 MPLAB 4000. In-Circuit Debuggers latest information Microchip in-circuit debugger, MPLAB MPLAB latest information Microchip MPLAB IDE, Windows® Integrated Development Environment development systems tools. This list focused MPLAB IDE, MPLAB MPLAB SIM30 simulators, MPLAB Project Manager general editing debugging features. Programmers latest information Microchip programmers. These include MPLAB MATE® device programmers PICSTART® Plus PICkit® development programmer.
CUSTOMER SUPPORT
Users Microchip products receive assistance through several channels: Distributor Representative Local Sales Office Field Application Engineer (FAE) Technical Support Development Systems Information Line
Customers should contact their distributor, representative field application engineer (FAE) support. Local sales offices also available help customers. listing sales offices locations included back this document. Technical support available through site http://support.microchip.com addition, there Development Systems Information Line which lists latest versions Microchip's development systems software products. This line also provides information customers receive currently available upgrade kits. Development Systems Information Line numbers are: 1-800-755-2345 United States most Canada 1-480-792-7302 Other International Locations
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE Chapter PICDEM Demonstration Overview
INTRODUCTION
This chapter presents overview features requirements PICDEM Demonstration Kit. Topics covered this chapter include: What PICDEM Demonstration Kit? PICDEM Demonstration Components Overview PICDEM Demonstration PICDEM Motherboard PICDEM Card PICDEM Software
WHAT PICDEM DEMONSTRATION KIT?
PICDEM Demonstration designed allow developers evaluate experiment with Microchip solutions ZigBee protocol. PICDEM Demonstration provides ZigBee nodes create simple two-node network. required, additional nodes purchased expand network. preprogrammed demo application firmware allows multiple operational configurations without modifying single line code. Using Microchip Stack ZigBee Protocol source code, available free-of-charge from Microchip site, developers develop their applications modify supplied demo applications.
PICDEM DEMONSTRATION COMPONENTS
Your demonstration contains following items: PICDEM demonstration motherboards. PICDEM cards (Exact transceiver dependent upon your P/N). batteries. Microchip Software ZigBee CD-ROM, which contains demo applications source code Microchip Stack. This manual (included CD-ROM Adobe® Acrobat® format). warranty registration card.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
OVERVIEW PICDEM DEMONSTRATION
PICDEM Demonstration (also referred PICDEM kit) designed demonstrate Microchip solution ZigBee protocol. PICDEM includes ZigBee nodes, each preprogrammed with demo Coordinator Reduced Function Device (RFD) applications. Each node consists boards motherboard card. PICDEM motherboard designed support different types transceivers. Microchip will adding support transceivers time progresses. complete list supported transceivers, please visit Microchip site. addition demonstrating standard ZigBee functionality, PICDEM also used develop custom applications based ZigBee protocol. includes complete source code Microchip Stack ZigBee protocol. Microchip application note AN965, Microchip Stack ZigBeeProtocol (DS00965) discusses Microchip Stack more detail.
PICDEM MOTHERBOARD
PICDEM demonstration board motherboard, features necessary begin developing ZigBee protocol-based applications using Microchip PIC18 family microcontrollers. preprogrammed firmware allows users begin evaluating board right box, with additional programming configuration. FIGURE 1-1: PICDEM MOTHERBOARD
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Demonstration Overview
Features PICDEM demonstration board include: Microcontroller Socket (U4): 28-pin sockets provided user's choice Microchip PIC18 microcontrollers. board equipped from factory with PIC18LF4620 high-performance microcontroller, clocked preprogrammed with demo application firmware using Microchip Stack. microcontroller each board included demonstration contains label that identifies either ZigBee Coordinator ZigBee RFD. Temperature Sensor (U3: TC77): This 5-pin thermal sensor with interface from Microchip. User-defined LEDs (D1, D2): These LEDs driven digital pins controller, used simulate digital output embedded device. These LEDs enabled/disabled jumpers JP3. default, LEDs enabled permanently shorting jumpers traces. required, traces install your jumpers. User-defined Push Buttons (S2, S3): These switches connected digital pins controller, used simulate digital input embedded application. These switches have external pull-up resistors; result must enable internal pull-up option PORTB correctly read switch status. Reset Push Button (S1): This switch tied MCLR controller, used reset board. RJ-11 (six-wire) Modular Connector (J5): This connector allows demonstration board connected Microchip MPLAB systems advanced microcontroller debugging programming. RS-232 (DB9F) Connector (P1): This connector allows demonstration board connected other board serial port. preprogrammed demo application firmware uses this connector communicate with offer application configuration options. required, disconnect on-board RS-232 driver circuit from controller breaking traces jumper. Card Connector (J2): This common connector connect supported cards. This connector provides +3.3V bus, discrete digital control signals. Prototype Area: prototype area provided breadboard additional circuitry development. Connections provided +3.3V ground, ports microcontroller. On-board Power: on-board regulator provides 3.3V rated board powered either external input (J1) on-board battery (B1). board contains diode protect against accidental reverse power connection. When using battery power board, switch must jack wired such that when plug inserted, on-board battery automatically disconnected from circuit. Measure Current (JP4): This jumper used measure current drawn circuits board. default, this jumper shorted trace. measure current, trace insert ammeter between terminals. also install your choice resistor measure voltage across determine current. Node This unique serial number used preprogrammed demonstration application firmware create unique 64-bit extended Medium Access Control (MAC) address. extended address board changed either serial configuration modifying firmware. Revision Level Indicator (Back Side): text solder side board indicates hardware revision level.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
PICDEM CARD
PICDEM motherboard designed support cards using transceivers from various vendors. Microchip planning support transceivers. Please check Microchip site list supported transceivers. find details individual card respective user's guide document. Appendix "PICDEM Card" information cards supplied your PICDEM Demonstration Kit.
PICDEM SOFTWARE
provides complete source code Microchip Stack ZigBee protocol. also includes demo applications based Microchip Stack. download latest version Microchip Stack from Application Design Center Microchip site.
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE
Chapter Getting Started with PICDEM Demonstration
INTRODUCTION
Topics covered this chapter include: Host Computer Requirements Using PICDEM Boards First Time Executing Preprogrammed Demo Applications
HOST COMPUTER REQUIREMENTS
preprogrammed demo applications require host computer observe functionality. However, host computer required want change default demo application configuration. change default demo application configuration, must have system that meets following hardware software requirements: computer system with available standard serial port (DB9) operating system that provides standard RS-232 terminal program using available hardware serial port PICDEM Demonstration includes that contains complete source code both demo applications Microchip Stack. view contents modify demo applications develop your application, must have system that meets Microchip MPLAB system requirements. Please visit Microchip site up-to-date system requirements download Microchip MPLAB software.
USING PICDEM BOARDS FIRST TIME
2.3.1 Assembling PICDEM Nodes
PICDEM Demonstration consists ZigBee node boards. Each node consists motherboard card packaged separately. must assemble each node before applying power. Perform following steps prepare each node: Unbox unwrap each board place non-conductive surface. Carefully plug card into connector motherboard. Note that connectors motherboard card polarized will allow incorrect insertion. have power supply with plug, power-up board. not, connect supplied batteries connector slide switch position. Observe that LEDs have flashed. This confirms that boards working properly.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
FIGURE 2-1: MOTHERBOARD CARD CONNECTION
2.3.2
Installing PICDEM Software Files
PICDEM Demonstration contains complete source code Microchip Stack ZigBee protocol demo applications. Microchip Stack ZigBee protocol available free-of-charge Microchip customers. part installation process, must accept no-cost electronic software license continue installation. install files: Insert PICDEM software into your system's CD-ROM drive. Using Windows Explorer, open start installation process double-clicking MpZBeev1.00.00.exe icon. version number change versions made available. When presented, review software license agreement click accept accept license agreement continue installation process. decide click accept, installation will terminate. After successful completion, program group named "Microchip Stack ZigBee" will created source files will copied "MpZBee" directory root drive your computer. This program group provides shortcuts documents.
DS51524A-page
2004 Microchip Technology Inc.
Getting Started with PICDEM Demonstration
EXECUTING PREPROGRAMMED DEMO APPLICATIONS
order observe full functionality demo applications, must have demo Coordinator node demo node with similar cards. discussed later this document, reconfigure boards such that more than node. preprogrammed demo Coordinator applications implement custom remote control switch application. more information about these demo applications, please refer Microchip application note AN965, Microchip Stack ZigBeeProtocol (DS00965). demo applications completely stand-alone require interface host computer. However, have access host computer, observe activity logs applications. interface host computer useful understand troubleshoot setup issues might have. following execute preprogrammed demo application: Make sure that have assembled each node plugging card into motherboard. Remove power from both boards, previously applied. Locate Coordinator node looking "COORD." label controller. Optional: Connect Coordinator node serial port launch your favorite terminal program. Select appropriate port 19200 bps, 8-N-1, flow control. Apply power Coordinator node. Observe that both flash simultaneously, followed flashing itself. connected observe that terminal program displays message "New network successfully started". locate node looking "RFD." label controller. Optional: Connect node serial port launch your favorite terminal program. Select appropriate port 19200 bps, 8-N-1, flow control. While keeping Coordinator node still powered, apply power node. Observe that both LEDs flash simultaneously, followed multiple flashes connected observe that seconds, terminal program displays message "Rejoin successful". message message "Rejoin failed", make sure that have Coordinator node powered running properly; reset node again. this point, node successfully associated with Coordinator node. Press node observe that Coordinator node switches on/off. Press Coordinator observe that node switches on/off. When press Coordinator, node will toggle after moments. This delay occurs frequency which node polls Coordinator node. Note: actual radio range PICDEM nodes depends type card antenna use. Please refer user's guide respective card range information.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
NOTES:
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE
Chapter Experimenting with PICDEM Demonstration
INTRODUCTION
Topics covered this chapter include: Modifying Demo Application Configurations Testing Performance Modifying Hardware Configuration Developing Your Application Creating Your Application Source File
MODIFYING DEMO APPLICATION CONFIGURATIONS
preprogrammed demo applications factory configured with certain configurations such node identifier, network association binding information. required, easily change these configurations through running standard RS-232 terminal program stand-alone binding process. Demo Coordinator Demo applications similar terminal interface with minor differences available configuration options. Some options require standard terminal software, while other options performed sequence switch presses without need terminal software. able perform terminal-dependent steps, must have access least RS-232 (DB9, male-to-female) cable, host computer with least serial port available standard serial terminal program.
3.2.1
Modifying Node Values
specified IEEE 802.15.4 specification, each ZigBee node must contain unique 64-bit address value. part 64-bit address consists 24-bit IEEE assigned Organization Unique Identifier (OUI) other 40-bit organization assigned number. PICDEM demo applications create complete address combining Microchip 00-04-a3 zero padded 16-bits node value label found board. node value stored microcontroller Flash memory. PICDEM boards factory-configured with their respective node values. required, easily change node values performing steps that follow. Note: following procedure assumes that using Microsoft HyperTerminal program. terminal program your choice provided required port settings set.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
Perform following steps modify Node value: Connect PICDEM node available serial port computer, using straight male-to-female RS-232 cable. Launch HyperTerminal "Connection Description" dialog box, enter convenient name connection, then click "Connect dialog box, select port that PICDEM board connected Click Configure serial port connected PICDEM node with these settings: 19200 bps, data bits, Stop bit, parity, flow control Click initiate connection. Open "Properties" dialog selecting File>Properties. Select "Settings" click ASCII Setup. Check "Echo typed characters locally". Click close open dialog boxes. Apply power node while holding switch, press hold both Reset switches; then release Reset switch. following configuration menu would appear terminal window (Exact header text would depend type node trying reconfigure date build):
ZigBee Demo Application v1.0 (Microchip Stack ZigBee v1.0.0) Built 2004 node Join network. Perform quick demo binding (Must perform first) Leave previously joined network (Must perform first) Change next channel. Transmit unmodulated signal. Transmit random modulated signal. Save changes exit. Enter menu choice:
Type change Node value. Follow instructions enter Node value. Press Reset switch node type exit configuration mode application.
DS51524A-page
2004 Microchip Technology Inc.
Experimenting with PICDEM Demonstration
3.2.2 Modifying Association Binding Configurations
PICDEM nodes factory-configured with following settings: demo node associated with demo Coordinator node. Switch demo node bound demo Coordinator node. Switch demo Coordinator node bound demo node. these configurations that allow press node control other node. required, easily modify these configurations using custom binding procedure implemented demo applications. example, bind node same node another node (assuming that have more than node). Although following procedure does require observe setup messages displayed demo applications. These messages useful understand troubleshoot setup issues. view setup messages using terminal program 19200 bps, 8-N-1, flow control. following modify association binding configurations: Remove power from nodes. Apply power Coordinator node node with "COORD." label controller) without pressing switches, already powered, simply reset board pressing Reset switch. This puts demo Coordinator node normal mode operation. Observe that flash momentarily followed brief flash connected terminal program, note that message "New network successfully started" displayed. error message, means that demo Coordinator could find empty channel. While keeping Coordinator node powered apply power node node with "RFD." label controller) while holding switch, press hold both Reset switches; then release Reset switch. Observe that connected terminal program, note that configuration menu displayed. have more than node, continue step each node. Press node begin association sequence with Coordinator. connected terminal program, note that message "Successfully associated" displayed. this message, make sure that demo Coordinator node powered running normal mode. your computer serial ports demo Coordinator node still connected computer, note that terminal displays message node just joined". have more than node, press each node associate them Coordinator node. Since there many different possible combinations binding configuration, Table used describe necessary sequence steps each combination:
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
TABLE 3-1: STEPS BINDING CONFIGURATION
Bind Result bound Coordinator Bind Switch
RFD: Press hold first Coordinator: Press hold then press release first then press followed release followed Coordinator: Press hold first then press release followed
RFD: Press hold first Coordinator bound then press release followed
RFD: Press hold first RFD: Press hold first bound then press release then press release same followed followed RFD1: Press hold first RFD2: Press hold first bound then press release then press release followed followed Coordinator: Coordinator: allowed
Note:
each step performed, LEDs respective node will toggled between off, Also note that terminal program connected node displays message "Attempting bind." terminal connected Coordinator node displays "Received valid." message. complete binding process, must perform both Bind Switch Bind actions.
Press Reset switch each node begin normal execution. connected terminal program, note that message "Rejoin successful" displayed. Depending binding performed, press node confirm that same other node toggles. Note: successfully control same other node, Coordinator node must powered running normal mode.
DS51524A-page
2004 Microchip Technology Inc.
Experimenting with PICDEM Demonstration
3.2.3 Clearing Entire Neighbor Binding Table
specified ZigBee protocol specification, Coordinator stores association binding information separate tables local memory. Microchip demo Coordinator application uses on-chip Flash memory store this information. either erase individual association binding entry entire table. erase entire table demo Coordinator, perform following steps: Remove power from nodes. Connect Coordinator node using standard RS-232 cable. Launch terminal program open appropriate port with these settings: 19200 bps, 8-N-1, flow control. Apply power Coordinator node (the node with "COORD." label controller) while holding switch, press hold both Reset switches, then release Reset switch. Observe that Note that terminal program displays following configuration menu:
ZigBee Demo Coordinator Application v1.0 (Microchip Stack ZigBee v1.0.0) Built 2004 node Clear Neighbor Table. Clear Binding Table. Change next channel. Transmit unmodulated signal. Transmit random modulated signal. Save changes exit. Enter menu choice:
clear association table, type Upon successful completion, configuration menu will redisplayed. Note that clearing association table automatically clears associated binding table. clear binding table, type Upon successful completion, configuration menu will redisplayed.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
3.2.4 Clearing Individual Association Binding Entry
want clear individual table entry related specific node, must execute configuration command that node. this, perform following steps: Remove power from nodes. Power-up Coordinator node normal mode make sure that LEDs flash once followed single flash Select node whose association binding entry needs cleared connect using standard RS-232 cable. Launch terminal program open appropriate port with these settings: 19200 bps, 8-N-1 flow control. Apply power node while holding switch, press hold both Reset switches; then release Reset switch. Observe that Note that terminal program displays following configuration menu:
ZigBee Demo Application v1.0 (Microchip Stack ZigBee v1.0.0) Built 2004 node Join network. Perform quick demo binding (Must perform first) Leave previously joined network (Must perform first) Change next channel. Transmit unmodulated signal. Transmit random modulated signal. Save changes exit. Enter menu choice:
Type first join already powered running demo Coordinator node. Type leave already powered running demo Coordinator node. Upon successful completion, configuration menu will redisplayed. This step will automatically remove binding entries associated with this node. Note: After completing these steps, must associate bind this node with your choice Coordinator resume normal application operations. Refer Section 3.2.2 "Modifying Association Binding Configurations" more information.
DS51524A-page
2004 Microchip Technology Inc.
Experimenting with PICDEM Demonstration
TESTING PERFORMANCE
PICDEM demo applications also provide special menu options test performance. Menu options allow transmit either continuous unmodulated signal random modulated signal. Perform following steps: Remove power from nodes. Connect node using standard RS-232 cable. Launch terminal program open appropriate port with these settings: 19200 bps, 8-N-1, flow control. Power-up node while holding switch, press hold both Reset switches, then release Reset switch. Observe that Note that terminal program displays following configuration menu (Exact header text would depend type node trying test):
ZigBee Demo Application v1.0 (Microchip Stack ZigBee v1.0.0) Built 2004 node Join network. Perform quick demo binding (Must perform first) Leave previously joined network (Must perform first) Change next channel. Transmit unmodulated signal. Transmit random modulated signal. Save changes exit. Enter menu choice:
power-up, demo application selects very first channel available transceiver specific band. example, frequency band, power-up, channel selected. change next channel selecting "Change next channel" option repeatedly until reach desired channel. Note that demo application does display channel number information. must count number times menu option typed. Type testing demo Coordinator) transmit continuous unmodulated signal, type testing demo Coordinator) transmit continuous random modulated signal. standard network analyzer evaluate performance. Once select either test option, must reset board perform other action.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
MODIFYING HARDWARE CONFIGURATION
PICDEM boards designed flexible terms enabling/disabling on-board components adding your circuit.
Jumper Purpose connect/disconnect on-board RS-232 driver PICmicro (RC7 shorted trace respectively) enable/disable (Factory enabled trace shorts) Enable/Disable (Factory enabled trace shorts) measure current draw entire board (Factory shorted trace)
DEVELOPING YOUR APPLICATION
PICDEM shipped with complete source files Microchip Stack ZigBee protocol. Please refer Microchip application note AN965 (DS00965) detailed information. Microchip committed continually improve features existing version Microchip Stack. Please check Microchip site latest revision Microchip Stack source files.
CREATING YOUR APPLICATION SOURCE FILE
Microchip Stack includes source files both demo Coordinator applications. either modify demo applications suit your application them reference create your application. Please refer Microchip application note AN965 (DS00965) detailed instructions create your application.
3.6.1
Programming Your Application
Once have developed your application, must program into PICDEM nodes. facilitate easy identification Coordinator node, recommended that program your Coordinator application into respective node only. However, note that PICDEM motherboards exactly same programmed Coordinator, applications. PICDEM does include tools clearing reprogramming microcontroller. this, must appropriate device programmer. also MPLAB Development System, which provides complete development suite device debugging programming. PICDEM motherboard contains modular connector connect MPLAB MATE other compatible programmers. following configuration options when programming microcontroller: HS-PLL Oscillator Mode depending your application requirement Watchdog Timer Disabled (Demo applications software enabled Watchdog) Low-Voltage Programming Disabled other options should changed your requirements
DS51524A-page
2004 Microchip Technology Inc.
Experimenting with PICDEM Demonstration
3.6.2 Restoring Demo Firmware
restore original demo firmware reprogramming reconfiguring PICDEM node. either factory built file rebuilt file program microcontroller. factory built file available PICDEM Software file DemoCoordApp.hex Demo Coordinator application, DemoRFDApp.hex Demo application. want rebuild demo firmware, please refer Microchip application note AN965 (DS00965) detailed instructions. demo firmware embedded with necessary PICmicro configuration options appropriate PICDEM hardware. must have access compatible PICmicro device programmer program on-board microcontroller. Since configuration information such node association binding information stored on-chip Flash memory, reprogramming microcontroller requires that reconfigure each node before observe demo application functionality. newly programmed board will automatically enter into configuration mode. Refer Section "Modifying Demo Application Configurations" detailed procedure reconfiguring applications.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
NOTES:
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE Chapter Troubleshooting
INTRODUCTION
This chapter discusses common operational issues resolve them. Topics covered this chapter include: Common Issues
COMMON ISSUES
When power node, LEDs blinking. primary reason this issue would lack power and/or incorrectly programmed firmware. Check PICDEM motherboard power: using external power supply, Verify that power supply plugged wall outlet power. Check external power plug correct polarity. Check that voltage available plug. using battery, Verify that battery fully charged correctly plugged into BT1. Verify that battery power switch Disconnect external power plug from socket. Verify that on-board microcontroller programmed correctly with appropriate file. Refer Section 3.6.2 "Restoring Demo Firmware" details. have installed jumpers motherboard, make sure that on-board LEDs enabled shorting jumpers. Make sure that card correctly plugged into motherboard. Connect board terminal program displays error messages. PICDEM node does communicate with host system. primary reason this issue would lack power and/or incorrectly programmed firmware. Verify that on-board microcontroller programmed correctly with appropriate file. Refer Section 3.6.2 "Restoring Demo Firmware" details. Make sure that on-board RS-232 driver connected microcontroller appropriately shorting jumper. Make sure that your terminal program 19200 bps, 8-N-1, flow control. Make sure that card correctly plugged into motherboard.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
PICDEM node displays message "Unexpected reset occurred" terminal. on-board firmware stuck some unexpected infinite loop. This occur there short open certain card signals, there programming mistake firmware. Verify that on-board microcontroller programmed correctly with appropriate file. Refer Section 3.6.2 "Restoring Demo Firmware" details. Make sure that card correctly plugged into motherboard. have modified hardware, make sure that card signals shorted open. have reprogrammed firmware, verify that Watchdog Timer prescaler maximum. plugging different card eliminate card problem. LEDs node blink continually. on-board firmware stuck some unexpected infinite loop. issue Cannot control LEDs another node. primary reason this issue would that demo Coordinator running and/or switch correctly bound target LED. Make sure that on-board LEDs node controlling enabled shorting jumper. Make sure that nodes bound properly using procedure described Section "Modifying Demo Application Configurations". Make sure that demo Coordinator powered running. Make sure that nodes within radio sphere Coordinator. Cannot control LEDs same node. primary reason this issue would that demo Coordinator running and/or switch correctly bound LED. Make sure that have performed proper binding operation using procedure described Section "Modifying Demo Application Configurations". Make sure that demo Coordinator powered running. Make sure that node within radio sphere Coordinator. Note that binding switch same Coordinator node allowed. node does associate with demo Coordinator node. Make sure that both Coordinator within each other's radio sphere. Make sure that Configuration mode, appropriate Join sequence performed. node does rejoin with demo Coordinator node. Make sure that both demo Coordinator within each other's radio sphere. Make sure that node successfully associated with Coordinator. Make sure that demo Coordinator running normal mode. Press release Reset switch demo Coordinator again.
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE Appendix PICDEM Motherboard Schematics
PICDEM MOTHERBOARD
2004 Microchip Technology Inc.
INVALID FORCEON FORCEOFF
C1C2+
DS51524A-page
PICDEMZ Demonstration User's Guide
PICDEM MOTHERBOARD ASSEMBLY
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Motherboard Schematics
PICDEM MOTHERBOARD LAYER
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
PICDEM MOTHERBOARD LAYER
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Motherboard Schematics
TABLE A-1:
Reference C10, C11, C12, C13, JP2, JP3, 28-pin Socket PICmicro® Load 1/8W 0805 1/8W 0805 4.7K 1/8W 0805 1.0M 1/8W 0805 Conn Jack 50AU Switch Tact 230GF Switch Slide SPDT L=2MM Sensor Thermal 3.3V SOT235 Test Point Multi Purpose Test Point Multi Purpose Yageo America Yageo America Yageo America Yageo America AMP/Tyco Omron Electronics E-Switch, Inc. Microchip Keystone Electronics Keystone Electronics 9C08052A3300JLHFT 9C08052A4700JLHFT 9C08052A4701JLHFT 9C08052A1004JLHFT 520470-3 B3S-1002 EG1271 TC77-3.3MCTTR 5011 5010 Thin 565NM Diff 0805 Micropower SOT23-5 Lumex Opto Maxim Mill-Max Microchip 40-pin Socket (needs have internal ribs) Mill-Max SML-LXT0805GW-TR MAX3221CAE 110-99-328-41-001 110-99-640-41-001 PIC18LF4620-I/P National Semiconductor LP2981AIM5-3.3 .100" Socket/Terminal Samtec LST-106-07-F-D
PICDEM MOTHERBOARD BILL MATERIALS (BOM)
Description Diode Schottky MELF Conn Batt Male Horz Snap-on Conn Batt Horz Snap-on Conn Vert Snap-on 22PF 100V Monolith Cerm .1UF Ceramic 0805 Vendor Diodes Inc. Keystone Electronics Keystone Electronics Keystone Electronics Panasonic Panasonic Vendor 1N5817M-13 ECU-S2A220JCA ECJ-2VB1C104K
Capacitor Tant 2.2UF Capacitor Tant 3.3UF Crystal 4.000 20PF HC-49/US Conn Powerjack Mini PCMT
Kemet Kemet Inc. Switchcraft Inc.
T491B225K025AS T491B335K016AS ECS-40-20-4 RAPC712
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
NOTES:
DS51524A-page
2004 Microchip Technology Inc.
PICDEMZ DEMONSTRATION USER'S GUIDE Appendix PICDEM Card
INTRODUCTION
This appendix presents overview features requirements PICDEM card. Topics covered this appendix include: What PICDEM Card? PICDEM Card Components Overview PICDEM Card PICDEM Card Features PICDEM Software Getting Started with PICDEM Card PICDEM Card Schematics PICDEM Card Assembly PICDEM Card Layer PICDEM Card Layer PICDEM Card Layer PICDEM Card Layer PICDEM Card Bill Materials (BOM)
WHAT PICDEM CARD?
PICDEM card designed plug into PICDEM motherboard. This board uses CC2420 transceiver manufactured Chipcon. CC2420 IEEE 802.15.4 compatible transceiver band. Please refer www.chipcon.com more information CC2420 transceiver. PICDEM card uses trace antenna. required, card easily modified standard monopole antenna. schematic design straight adoption CC2420 reference design published Chipcon.
PICDEM CARD COMPONENTS
PICDEM card designed part PICDEM Demonstration Kit. Your PICDEM Card contains following items: PICDEM card warranty registration card download complete schematic design files from Microchip site.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
OVERVIEW PICDEM CARD
PICDEM card designed demonstrate Microchip solution ZigBee protocol frequency band. design files related card available from Microchip site. this board directly your design plug into PICDEM motherboard complete ZigBee node. current version Microchip Stack ZigBee Protocol provides necessary software support this card. FIGURE B-1: PICDEM CARD
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Card
PICDEM CARD FEATURES
PICDEM card designed CC2420 transceiver. CC2420 IEEE 802.15.4 compliant transceiver frequency band. card provides 2-row header connect PICDEM motherboard. current version PICDEM card with on-board trace antenna found provide line sight radio range about Exact range depends many factors, including limited obstacles, antenna design. Microchip characterized performance Chipcon CC2420 transceiver. more information about characteristics, please refer Chipcon site. FIGURE B-2: PICDEM CARD
Features PICDEM card include: Transceiver (U1): 48-pin packaged CC2420 transceiver. This chip implements complete part layer. Board Connector (J2): This connector used connect PICDEM motherboard. This connector includes +3.3V bus, discrete digital control signals. Optional Connector (P5): This optional connector with external antenna. must remove install connect transceiver. This connector designed accept mini-SMA connector. Antenna: This inverted F-type antenna, which adopted from Chipcon CC2420 board design. Refer Chipcon's CC2420DBK User Manual (available download from Chipcon site) more information. Revision Level Indicator (back side): text solder side board indicates hardware revision level.
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
PICDEM SOFTWARE
download latest version PICDEM software from Microchip site.
GETTING STARTED WITH PICDEM CARD
B.7.1 Introduction
This section covers following topics: Motherboard Requirements Using PICDEM Card First Time
B.7.2
Motherboard Requirements
PICDEM card designed with PICDEM motherboard similar board. planning card with your custom board, PICDEM motherboard schematic reference (see Section "PICDEM Motherboard").
B.7.3
Using PICDEM Card First Time
PICDEM card must properly plugged into PICDEM motherboard complete setup. Refer Figure example. Perform following steps prepare each node: Remove from unwrap each board place non-conductive surface. Carefully plug PICDEM card into connector main board. Note that connectors main board card polarized will allow incorrect insertion. Power PICDEM motherboard. Observe that LEDs have flashed. This confirms that boards working properly. Note: Before transmitting signal, check with your local telecommunication authorities ensure that restriction 2400-2483.5 band effect. CC2420 operates frequency band; however, advised that even though this band commonly thought world-wide band, some countries allow unlicensed operation this band.
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Card
PICDEM CARD SCHEMATICS
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
PICDEM CARD ASSEMBLY
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Card
B.10 PICDEM CARD LAYER
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
B.11 PICDEM CARD LAYER
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Card
B.12 PICDEM CARD LAYER
2004 Microchip Technology Inc.
DS51524A-page
PICDEMZ Demonstration User's Guide
B.13 PICDEM CARD LAYER
DS51524A-page
2004 Microchip Technology Inc.
PICDEM Card
TABLE B-1:
C61, C381, C391 C101 C11, C71, C251, C261, C351 C421, C431 L61, R421 R451 Ceramic 22PF 0402 10000PF Ceramic 0402 .10UF Ceramic 0402 10UF 6.3V Ceramic 0805 CC2420 Single-chip transceiver Inductor 5.6NH +/-0.2NH 0402 Inductor 7.5NH 570MA 0402 2.00 1/8W 0805 Crystal (second vendor) Crystal .100" Socket/Terminal Conn Recept Straight .110" Components Panasonic Kemet Kemet Panasonic Chipcon Susumu Murata Electronics Yageo America Crystek TOYOCOM Samtec 0402N220J500NT ECJ-0EC1H680J C0402C103K4RACTU C0402C104K8PACTU ECJ-2FB0J106M CC2420-STB1 QLP48 HPL1005-5N6 LQW15AN7N5J00D 9C08052A2R00FGHFT 9C04021A4302FLHF3 CSX3-AA-1816.000 TSX-10A 16pf LST-106-07-F-D C171, C371, C441, C481 68PF Ceramic 0402
PICDEM CARD BILL MATERIALS (BOM)
Description Capacitor TANT 2.2UF Ceramic .5PF 0402 Ceramic 5.6PF 0402 Kemet Yageo America Components Vendor Vendor T491B225K025AS 0402CG508C9B200 0402N5R6D500NT
Reference
43.0K 1/16W 0402 Yageo America
Johnson Components 142-0701-231
2004 Microchip Technology Inc.
DS51524A-page
Worldwide Sales Service
AMERICAS
Corporate Office 2355 West Chandler Blvd. Chandler, 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Address: www.microchip.com Atlanta Alpharetta, Tel: 770-640-0034 Fax: 770-640-0307 Boston Westford, Tel: 978-692-3848 Fax: 978-692-3821 Chicago Itasca, Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, Tel: 248-538-2250 Fax: 248-538-2260 Kokomo Kokomo, Tel: 765-864-8360 Fax: 765-864-8387 Angeles Mission Viejo, Tel: 949-462-9523 Fax: 949-462-9608 Jose Mountain View, Tel: 650-215-1444 Fax: 650-961-0286 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509
ASIA/PACIFIC
Australia Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 China Chengdu Tel: 86-28-8676-6200 Fax: 86-28-8676-6599 China Fuzhou Tel: 86-591-8750-3506 Fax: 86-591-8750-3521 China Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 China Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 China Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 China Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 China Shunde Tel: 86-757-2839-5507 Fax: 86-757-2839-5571 China Qingdao Tel: 86-532-502-7355 Fax: 86-532-502-7205
ASIA/PACIFIC
India Bangalore Tel: 91-80-2229-0061 Fax: 91-80-2229-0062 India Delhi Tel: 91-11-5160-8631 Fax: 91-11-5160-8632 Japan Kanagawa Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Korea Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 82-2-558-5934 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Taiwan Hsinchu Tel: 886-3-572-9526 Fax: 886-3-572-6459
EUROPE
Austria Weis Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark Ballerup Tel: 45-4450-2828 Fax: 45-4485-2829 France Massy Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany Ismaning Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands Drunen Tel: 31-416-690399 Fax: 31-416-690340 England Berkshire Tel: 44-118-921-5869 Fax: 44-118-921-5820
10/20/04
DS51524A-page
2004 Microchip Technology Inc.

Other recent searches


SN74LVT16245B - SN74LVT16245B   SN74LVT16245B Datasheet
SN54LVT16245B - SN54LVT16245B   SN54LVT16245B Datasheet
PDU-S101 - PDU-S101   PDU-S101 Datasheet
MBR20100CE - MBR20100CE   MBR20100CE Datasheet
M35053-XXXSP - M35053-XXXSP   M35053-XXXSP Datasheet
ISO1000 - ISO1000   ISO1000 Datasheet
EN61000-4-5 - EN61000-4-5   EN61000-4-5 Datasheet
GBU8A - GBU8A   GBU8A Datasheet
GBU8K - GBU8K   GBU8K Datasheet
BR9080A-W - BR9080A-W   BR9080A-W Datasheet
AF-W - AF-W   AF-W Datasheet
ARFV-W - ARFV-W   ARFV-W Datasheet
BR9016A-W - BR9016A-W   BR9016A-W Datasheet
AF-W - AF-W   AF-W Datasheet
ARFV-W - ARFV-W   ARFV-W Datasheet
aJ-102EK - aJ-102EK   aJ-102EK Datasheet
aJ-102-based - aJ-102-based   aJ-102-based Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive