AN1552. MRF24XA Radio Utility Driver Program GETTING STARTED INTRODUCTION SERIAL PORT SETTINGS. Microchip Technology Inc.

Similar documents
Section 40. Introduction (Part IV)

PIC12LF1552 Silicon Errata and Data Sheet Clarification DEV<8:0>

PIC12F752/HV752 Family Silicon Errata and Data Sheet Clarification. DEV<8:0> (1) REV<4:0> Silicon Revision (2)

SPI Communication with the AR1020 Controller

RN4020 PICtail /PICtail Plus Board User s Guide

PIC18F6390/6490/8390/8490

PIC10F220/222 Rev. B Silicon/Data Sheet Errata. Sym. Characteristic Min. Typ Max. Units Conditions

PIC18F2480/2580/4480/4580

PIC16(L)F1503 Family Silicon Errata and Data Sheet Clarification

MCS3122 Memory Programming Specification

PIC32MX. PIC32MX Rev. B2 ES Silicon Errata. PIC32MX (Rev. B2 ES) Silicon Errata. 1. Module: Device Reset. 2. Module: Software Device Reset

dspic33fj128gp804 AND PIC24HJ128GP504

TB3010. Maximize Software Portability for Future PIC32 MCUs CASE 1: WRITING TO SFR INTRODUCTION CASE 2: READING FROM SFR. Microchip Technology Inc.

PIC12F629/675 Family Silicon Errata and Data Sheet Clarification. (1) Revision ID for Silicon Revision (2)

Deadman Timer (DMT) HIGHLIGHTS. This section of the manual contains the following major topics:

Recommended Usage of Microchip SPI Serial SRAM Devices RECOMMENDED CONNECTIONS FOR 23XXXX SERIES DEVICES VCC 23XXXXX HOLD SCK

Section 1. Introduction

Section 41. Prefetch Module for Devices with L1 CPU Cache

TB3107. Advantages of NVSRAM Over FRAM ADVANTAGES OF NVSRAM INTRODUCTION PIN DESCRIPTION

AN1393. PIC12LF1840T48A Microcontroller Transmitter Reference Design INTRODUCTION KEY REQUIREMENTS CONFIGURATION REGISTER WRITE

Using a Timer to Interface PIC18 MCUs with UNI/O Bus-Compatible Serial EEPROMs CIRCUIT FOR PIC18F24J10 MCU AND 11XXX SERIAL EEPROM MCLR RA3 VCC (1)

Section 32. Configuration

PIC18F6627/6722/8627/8722

Using C18 and a Timer to Interface PIC18 MCUs with UNI/O Bus-Compatible Serial EEPROMs RB5 RB3 RB2 RB1 RB0 VDD RC4

Using C and a Timer to Interface MSP430 MCUs with UNI/O Bus-Compatible Serial EEPROMs CIRCUIT FOR MSP430F1232 MCU AND 11XXX SERIAL EEPROM VCC (1)

Application Portability for 32-Bit Microcontrollers Reality or Myth?

PIC12F635 Silicon Errata and Data Sheet Clarification. (1) Revision ID for Silicon Revision (2)

PIC10F200/202/204/206

PIC24FJ64GA004 FAMILY

Recommended Usage of Microchip 23XX512/23XX1024 Serial SRAM Devices. Device Density Voltage Range Hold Pin SPI SDI SQI

PIC16(L)F1847 Family Silicon Errata and Data Sheet Clarification

TB079. Programming Baseline Flash Devices with PICkit 1 PIC12F508/509 AND PIC16F505 PROGRAMMING INTRODUCTION. PICkit 1 FIRMWARE VERSION 2.0.

Trace Interface Kit. PIC32MX 100P QFP to 100P PIM. PIC32MX450/ pin to 100-pin USB PIM. PIC32MX 1xx/2xx PIM PIC32MZ2048EC P PIM

PIC24FV32KA304 FAMILY

AN1006. Interfacing SPI Serial EEPROMs to PIC18 Devices INTRODUCTION CIRCUIT FOR PIC18F1220 AND 25 SERIES (SPI) DEVICE

PIC16(L)F1512/1513 Family Silicon Errata and Data Sheet Clarification DEV<8:0>

Using C18/HI-TECH C Compiler to Interface Serial SRAM Devices to PIC16F/PIC18F Microcontrollers

20-Pin 8-Bit CMOS Flash Microcontroller Product Brief. Timers 8/16-bit I/O

PIC16F91X/946 Family Silicon Errata and Data Sheet Clarification

PIC16F72. PIC16F72 Data Sheet Errata. Clarifications/Corrections to the Data Sheet: 1. Module: Core (Product Identification System)


TB3009. Common 8-Bit PIC Microcontroller I/O Pin Issues INTRODUCTION TRIS BITS TABLE 1: QUICK TROUBLESHOOTING GUIDE. Microchip Technology Inc.

Maxim DS1338 MCP7940N Migration

Interfacing 8051 MCUs with SPI Serial EEPROMs CIRCUIT FOR P89LPC952 MCU AND 25XXX SERIAL EEPROM

Section 19. Dual Comparator Module

Sample Rate Conversion Library for dspic User s Guide

MCP1710 Demo Board User s Guide

Using C and a Hardware Module to Interface Texas Instruments MSP430XXXX MCUs with SPI Serial EEPROMs CIRCUIT FOR MSP430XXXX AND 25XXX SERIAL EEPROM

MCP215X. MCP215X Rev. A Silicon/Data Sheet Errata. 4. Module: IR Protocol Handler. 1. Module: IR Protocol Handler. 5. Module: Test Escapes

PIC18F4520 PIC18F45K20 Migration

R&E International A Subsidiary of Microchip Technology Inc.

Section 25. Device Configuration

EQCO-SDI HD-SDI Repeater User s Guide

MGC D Gesture Controller Product Brief. Introduction. Key Features. Applications. Peripheral Features. Power Features

TC670. Tiny Predictive Fan Failure Detector. Features. General Description. Applications. Package Type. Typical Application Circuit

MSSP MODULE. MSSP Module Silicon/Data Sheet Errata. 1. Module: I 2 C (Slave Mode)

Product Change Notification - SYST-12GOUO321 (Printer Friendly)

MCP2140. MCP2140 Rev. A Silicon/Data Sheet Errata. Clarifications/Corrections to the Data Sheet: INTEGRATED OPTICAL TRANSCEIVER

8-Bit MCUs: Sophisticated Solutions for Simple Applications

TB082. Understanding Reset Events On The PIC10F20X INTRODUCTION WATCHDOG TIMER OR WDT POWER-ON RESET (POR)

PIC16(L)F1825/1829 Family Silicon Errata and Data Sheet Clarification

Interfacing PIC18 MCUs with UNI/O Bus-Compatible Serial EEPROMs PDIP RA0 RB3 RA1 RB2 RA4 RA7 PIC18F1220 RA2 RB7 RA3 RB6 RB0 RB5 RB1 RB4 SOT-23 VCC

AN1365. Recommended Usage of Microchip Serial RTCC Devices POWER SUPPLY INTRODUCTION. Power-Up. VCC Ramp Rates. Microchip Technology Inc.

PIC16(L)F1454/1455/1459

AN1070. Driving Liquid Crystal Displays with the PIC16F913/914/916/917/946 INTRODUCTION WHAT DOES THE LCD DRIVER MODULE DO?

Using the C18 Compiler to Interface Microwire Serial EEPROMs to PIC18 Devices CIRCUIT FOR PIC18F1220 AND 93 SERIES (MICROWIRE) DEVICE PIC18F1220

MPLAB ICD 2 DESIGN ADVISORY. Operational Issues AC GROUNDING

PIC18(L)F24/25/45K50 Family Silicon Errata and Data Sheet Clarification

WM32X2057GXXAS. 2.4 GHz IEEE b/g/n Wi-Fi MCU Module. Features. Antenna. Networking. Operating Conditions. RF Features. Memory Interfaces MODULE

32-bit Microcontrollers. PIC32 Microcontroller Family with USB On-The-Go.

MCP2515 PICtail Plus Daughter Board User s Guide

Interfacing Baseline PIC MCUs with UNI/O Bus-Compatible Serial EEPROMs SOT-23 GP0 PIC10F202 GP2 GP1 SOT-23 VCC 11XXX VSS SCIO

R&E International A Subsidiary of Microchip Technology Inc.

Software Tools.

Section 10. I/O Ports

Sample Rate Conversion Library for PIC32 User s Guide

MTCH101 Evaluation Kit User s Guide

Common Debugger Advisories

Section 20. Comparator Voltage Reference

MRF24J40MC PICtail / PICtail Plus Daughter Board User s Guide

PIC18F97J60 FAMILY. PIC18F97J60 Family Rev. A0 Silicon Errata. 1. Module: Resets. 2. Module: I/O (PORTJ)

BM63. Bluetooth 4.2 Stereo Audio Module. Features. Audio Codec. RF/Analog. Peripherals. DSP Audio Processing

PIC24HJ256GPX06A/X08A/X10A

PIC16LF1902/03/04/06/07

Using the MSSP Module to Interface SPI Serial EEPROMs with PIC18 Devices PDIP (600 MIL) PIC18F452 VDD VSS. Vcc 25XXX HOLD SCK. Vss

PL360G55CB-EK Quick Start Guide

PIC10(L)F32X Development Board User s Guide

AN1243. Low Latency Driver to Access External EEPROM Using PIC18 Family Devices INTRODUCTION LOW LATENCY DESIGN OVERVIEW OF LOW LATENCY DESIGN

Dawn GUI User s Guide

TC1278/TC1279. Obsolete Device. 3-Pin Reset Monitors for 5V Systems. Features. General Description. Applications. Package Type

ENC28J60. ENC28J60 Rev. B7 Silicon Errata. 3. Module: Memory (Ethernet Buffer) 1. Module: Reset. 4. Module: Interrupts

Interfacing 23X512/1024 SDI/SQI Serial SRAM Devices to NXP LPC18XX/43XX Microcontrollers Using the SPIFI Peripheral. Vcc B13

Section 9. Watchdog Timer and Power-up Timer

IS2062/64. Bluetooth 4.2 Stereo Audio SoC. Features. Audio Codec. Peripherals. Baseband Features. Operating Condition. RF Features.

PIC16F684. PIC16F684 Rev. A Silicon/Data Sheet Errata. 1. Module: Resets (when WDT times out)

PIC16(L)F145X. 14/20-Pin, 8-Bit Flash USB Microcontroller Product Brief

BM62/64. Bluetooth 4.2 Stereo Audio Module. Features. DSP Audio Processing. RF/Analog BM62 AND BM64 MODULES

PIC16(L)F1847 Family Silicon Errata and Data Sheet Clarification

Recommended Usage of Microchip UNI/O Bus-Compatible Serial EEPROMs RECOMMENDED CONNECTIONS FOR 11XXX SERIAL EEPROM (1) SOT-23 VCC 2 VSS 11XXX SCIO

Interfacing SPI Serial EEPROMs to Microchip PICmicro Microcontrollers PIC16F877 VDD VSS. Vcc 25XXXXX HOLD SCK

Transcription:

MRF24XA Radio Utility Driver Program AN1552 Author: INTRODUCTION Sushma Myneni Microchip Technology Inc. The MRF24XA Radio Utility Driver Program provides design engineers with a development and testing platform for the MRF24XA RF transceiver. Microchip s MRF24XA is an IEEE 802.15.4-compliant, low-power transceiver, which also supports additional capabilities when operating in proprietary mode. For more information about the list of features supported by the MRF24XA RF transceiver, please refer to the MRF24XA Data Sheet (DS70005023), which is available for download from the Microchip web site (www.microchip.com/wireless). The MRF24XA Radio Utility Driver Program can be used to test Transmit (TX), Receive (RX), Sleep, and other capabilities of the transceiver. The MRF24XA Radio Utility Driver Program was designed to operate with the following Microchip development boards through a PICtail board connector: PICDEM PIC18 Explorer Development Board (PIC18F87J11) Explorer 16 Development Board (PIC24F128GA010) 8-bit Wireless Development Board (PIC18F46J50) TX, RX and other options can be chosen using a terminal emulator by connecting the chosen development board to the PC s serial port using a RS-232 cable. See the Getting Started section for setup information. The MRF24XA Radio Utility Driver Program source code and hex files are available in an archive file (see Section Appendix A: Source Code ), which can be downloaded from the product page at: www.microchip.com/mrf24xa For additional materials, please refer to the References section. GETTING STARTED Use the following procedure to set up your hardware: 1. Insert the MRF24XA RF transceiver daughter board into the desired development board. Refer to one of the following sections for the board in use: Using the PICDEM PIC18 Explorer Development Board Using the Explorer 16 Development Board Using the 8-bit Wireless Development Board 2. Connect the power cord for the development board. 3. Connect an RS-232 cable between the development board and the PC that will display the MRF24XA Radio Utility Driver Program user interface. 4. Program the development board by choosing the appropriate hex file located in the PreCompiled HEX folder within the project folder. Note: If you are new to Microchip development tools, please refer to Section 5.5 Loadable Projects and Files in the MPLAB X IDE User s Guide (DS52027). 5. Using a terminal emulation program, set the serial port communication parameters using the information listed in Table 1. TABLE 1: The hex files for each of the development boards are different. SERIAL PORT SETTINGS Parameter Setting Bits per second 19200 or 115200 (1) Data bits 8 Parity None Stop bits 1 Flow control None Note 1: Use a higher baud rate setting when using a higher clock with the PIC microcontroller. The name of the precompiled hex file indicates the appropriate selection for the baud rate. 2013 Microchip Technology Inc. DS00001552A-page 1

Using the PICDEM PIC18 Explorer Development Board The MRF24XA daughter board can be connected to the PICtail board connector, J3, on the PICDEM PIC18 Explorer Development Board. This connection supports 3-wire SPI, interrupts, and other MRF24XA handshake signals between the PIC microcontroller and the MRF24XA daughter board. Figure 1 provides an example of this setup. FIGURE 1: CONNECTING THE MRF24XA DAUGHTER BOARD TO THE PICtail BOARD CONNECTOR (J3) ON THE PICDEM PIC18 EXPLORER DEVELOPMENT BOARD DS00001552A-page 2 2013 Microchip Technology Inc.

Using the Explorer 16 Development Board The MRF24XA daughter board s PCB edge connector can be used to connect to the PICtail Plus connector of the Explorer 16 Development Board. This connection supports 3-wire SPI, interrupts, and other MRF24XA handshake signals between the PIC microcontroller and the MRF24XA daughter board. The setup between the Explorer 16 Development Board and the MRF24XA daughter board is shown in Figure 2. FIGURE 2: CONNECTING THE MRF24XA DAUGHTER BOARD TO THE PICtail PLUS CONNECTOR ON THE EXPLORER 16 DEVELOPMENT BOARD 2013 Microchip Technology Inc. DS00001552A-page 3

Using the 8-bit Wireless Development Board The MRF24XA daughter board can be connected to the PICtail board connector, J201, on the 8-bit Wireless Development Board. This connection supports 3-wire SPI, interrupts, and other MRF24XA handshake signals between the PIC microcontroller and the MRF24XA daughter board. Figure 3 provides an example of this setup. FIGURE 3: CONNECTING THE MRF24XA DAUGHTER BOARD TO THE PICtail BOARD CONNECTOR (J201) ON THE 8-BIT WIRELESS DEVELOPMENT BOARD DS00001552A-page 4 2013 Microchip Technology Inc.

Using the MRF24XA Radio Utility Driver Program The MRF24XA Radio Utility Driver Program can be operated through the user interface that is displayed in the terminal emulator window. Table 2 lists the available menu options. TABLE 2: MENU ITEMS Main Menu Available Options 0: Configure 1: Set Channel 2: Set Packet Loop 3: Set Packet Interval in ms 4: Set Real-Time Display for Received Packet 5: Set Real-Time Count for Received Packet 7: Set TX Power 8: Set MRF24XA to Deep Sleep Mode 9: Change Data Rate 1: Transmit 1: Transmit Standard Packet 2: Transmit 20 Byte Packet 3: Transmit Custom Packet 4: Transmit Turnaround Packet 5: Transmit Pseudo-random Packet Sequence 2: Receiver 1: Reset Received Packet Counter 2: Maximum Input Power Level 3: Energy Detection Test 4: Clear Channel Assessment 5: Sensitivity RX ON/OFF 3: Turnaround Time 1: Set ACK time to 180 µs 2: Set ACK time to 192 µs 3: Set ACK time to 204 µs 4: Continuous Transmit 1: Continuous (CW) Mode 2: Packet Mode 3: Sequential Transmit on all Channels 5: PER Test Between Two Units 1: Set as Transmitter 2: Set as Receiver 3: Set PER Package Count to 1000 and Interval to 100 ms 9: MRF24XA Register Access 1: Register Get 2: Register Set 3: Dump Registers 4: Dump Private Registers 5: Dump RX Buffer 6: Dump TX Buffer 2013 Microchip Technology Inc. DS00001552A-page 5

CONFIGURE MENU The Configuration menu can used to set the configuration parameters of the transceiver, as well as the configuration options for the driver. FIGURE 4: CONFIGURE MENU Set Channel: This option can be used to change the channel of the transceiver. The default value is channel 11. The MRF24XA supports channels 11-26. Set Packet Loop: This option can be used to set the counter for the number of times a packet needs to be transmitted. This option should also be used with transmit options 1 through 5. Set Packet Interval in ms This option can be used to configure the delay between transmissions. This option should also be used with Set Packet Loop and transmit options 1 through 5. DS00001552A-page 6 2013 Microchip Technology Inc.

Set Real-Time Display for Received Packet This option allows the user to start or stop the realtime display of the received packet. The contents of the entire RX packet with the packet counter will be output to the terminal emulator window. Figure 5 provides an example of the output. FIGURE 5: REAL-TIME DISPLAY OF RECEIVED PACKET EXAMPLE 2013 Microchip Technology Inc. DS00001552A-page 7

Set Real-Time Count for Received Packet This option displays only the packet count of the received packets. This option can be used instead of Set Real-Time Display for Received Packet in those instances when it is not necessary to view the contents of the packet in the terminal emulator window. Figure 6 provides an output example. FIGURE 6: REAL-TIME PACKET COUNT Set TX Power This option allows the user to select a number between 0 and 31, where 0 indicates the minimum setting and 31 indicates the maximum transmit power setting. Set MRF24XA to Deep Sleep Mode This option allows the user to test the Sleep mode current for the device. Change Data Rate This option allows the user to choose between 125 kbps, 250 kbps (default, IEEE 802.15.4), 500 kbps, 1 Mbps, or 2 Mbps data rates. By default, the receiver is enabled to receive only 250 kbps frames; therefore, also apply the same setting for the receiver. DS00001552A-page 8 2013 Microchip Technology Inc.

TRANSMIT MENU: The transmit menu allows the user to select data with a different payload size or to use a different mode for transmission. Transmit Standard Packet This option allows on-air IEEE 802.15.4 packet transmission. Transmit 20 Byte Packet This option can be used to transmit an on-air packet with a length of 20 bytes. Transmit Custom Packet This option allows the user to enter, in hex, the packet data to be transmitted on-air. The maximum length of the packet is limited to 127 bytes. Transmit Turnaround Packet This option allows the user to transmit a packet with the Acknowledgment bit set in the frame control field. The recipient node will transmit back the acknowledgment. Transmit Pseudo Random Packet Seq This option allows the user to transmit an on-air pseudo-random packet. FIGURE 7: TRANSMIT MENU 2013 Microchip Technology Inc. DS00001552A-page 9

RECEIVER MENU The Receiver menu options provide the flexibility to set the receiver parameters, such as LNA Gain, RX Sensitivity, and CCA. Reset Received Packet Counter This option resets the received packet counter to zero. The received packet counter keeps track of the incoming packet count. Maximum Input Power Level This option sets the LNA gain setting to a low value. Energy Detection Test This option outputs the results of energy detection in each channel from channel 11 through channel 26. Clear Channel Assessment This option allows the user to configure the CCA to one of three available settings and will output the results to the terminal emulator window. For more information on CCA, please refer to the MRF24XA Data Sheet (DS70005023). Sensitivity RX ON/OFF This option enables the user to test the sensitivity of the receiver. The receiver packet counter will be updated based on the sensitivity test results instead of the actual RX packet count. FIGURE 8: RECEIVER MENU DS00001552A-page 10 2013 Microchip Technology Inc.

TURNAROUND TIME MENU This menu provides options that enable the user to configure the turnaround time of the transmit by setting the ACK to 180 µs, 192 µs, or 204 µs. FIGURE 9: CHANGING THE TRANSCEIVER TURNAROUND TIME 2013 Microchip Technology Inc. DS00001552A-page 11

CONTINUOUS TRANSMIT MENU Using Continuous (CW) mode, the user can observe the center frequency and signal quality on an oscilloscope. Appropriate selection for the channel setting, data rate and transmit power levels must be done before choosing any of the options available through the Continuous Transmit menu. To stop continuous transmit after choosing either CW mode or Packet mode, press the <ESC> key to return to the main menu. Continuous (CW) Mode This option allows to user to set the transceiver to transmit in Continuous (CW) mode, and to observe the frequency and the oscillator signal output on a spectrum analyzer. The output signal is an unmodulated signal. Packet Mode This option sets the transceiver to transmit continuous packets with a minimum delay and to observe a continuous modulated signal on a spectrum analyzer. Sequential Transmit on all Channels This option allows the user to continuously transmit on all channels in the frequency band. The modulated signal can be observed on a spectrum analyzer. FIGURE 10: CONTINUOUS TRANSMIT DS00001552A-page 12 2013 Microchip Technology Inc.

PER MODE MENU This option enables the user to set one node as the transmitter and the other node as the receiver for the purpose of observing the packet error rate (PER). The PER test requires two MRF24XA transceiver units, with each one running the MRF24XA Radio Utility Driver Program and both set to the same operating channel. Steps for setting up a PER test: 1. Configure Unit 1 as the receiver by selecting Set as Receiver in the PER test menu. 2. Configure Unit 2 as the transmitter by selecting Set as Transmitter in the PER test menu. 3. Unit 1 performs an energy scan on all of the channels and outputs the values in the terminal emulator window. Using the energy scan results, the user has the choice to conduct the experiment under less interfering environments as opposed to the noisy channels. To choose a less noisy channel, select the channel reporting the lowest energy scan value. Enter this channel number on both Unit 1 and Unit 2. 4. Unit 1 reports the number of packets received and the PER percentage. The PER percentage can be calculated as: {(Number of Lost Packets / Package Size) * 100} 5. Unit 2 reports the number of packets sent. Note: The default number of packets in each burst is set to 100. To set this value to 1000, choose option 3 Set PER Package Count to 1000 and Interval to 100 ms. FIGURE 11: PER RECEIVER (UNIT 1) 2013 Microchip Technology Inc. DS00001552A-page 13

FIGURE 12: PER TRANSMIT (UNIT 2) DS00001552A-page 14 2013 Microchip Technology Inc.

REGISTER ACCESS MENU The Register Access menu options allow the user to Set or Get the MRF24XA register values, as well as the ability to output (i.e., dump) register values and the contents of the TX and RX buffers. Register Get This option allows the user to read back a particular register value. Register Set This option allows the user to set a register value. Dump Registers This option allows the user to output the standard set of register values (0x00-0x67) to the terminal emulator window. Dump Private Registers This option allows the user to output the private set of register values (0x80-0xFF) to the terminal emulator window. Dump RX Buffer Outputs the contents of the RX Buffer (0x301 <0x301 + packetlen>). The packet length (packetlen) for the receiver buffer is available at the physical memory location, 0x300. Dump TX Buffer Outputs the contents of the TX Buffer (0x201 <0x201 + packetlen>). The packet length (packetlen) of the transmit buffer is available at the physical memory location, 0x200. FIGURE 13: REGISTER ACCESS 2013 Microchip Technology Inc. DS00001552A-page 15

REFERENCES The following documents can be used to support the MRF24XA Radio Utility Driver Program and are available for download from the Microchip web site (www.microchip.com): Explorer 16 Development Board User s Guide (DS51589) PICDEM PIC18 Explorer Demonstration Board User s Guide (DS51721) 8-bit Wireless Development Kit User s Guide (DS70654) MRF24XA Data Sheet (DS70005023) DS00001552A-page 16 2013 Microchip Technology Inc.

APPENDIX A: SOURCE CODE All of the software covered in this application note is available as a single WinZip archive file. This archive can be downloaded from the Microchip corporate Web site at: www.microchip.com 2013 Microchip Technology Inc. DS00001552A-page 17

NOTES: DS00001552A-page 18 2013 Microchip Technology Inc.

Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular Microchip Data Sheet. Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. Microchip is willing to work with the customer who is concerned about the integrity of their code. Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as unbreakable. Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights. QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV == ISO/TS 16949 == Trademarks The Microchip name and logo, the Microchip logo, dspic, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC 32 logo, rfpic, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. Analog-for-the-Digital Age, Application Maestro, BodyCom, chipkit, chipkit logo, CodeGuard, dspicdem, dspicdem.net, dspicworks, dsspeak, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mtouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rflab, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. & KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. 2013, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. ISBN: 9781620773840 Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company s quality system processes and procedures are for its PIC MCUs and dspic DSCs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 9001:2000 certified. 2013 Microchip Technology Inc. DS00001552A-page 19

Worldwide Sales and Service AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.com Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Cleveland Independence, OH Tel: 216-447-0464 Fax: 216-447-0643 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Santa Clara Santa Clara, CA Tel: 408-961-6444 Fax: 408-961-6445 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 ASIA/PACIFIC Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China - Beijing Tel: 86-10-8569-7000 Fax: 86-10-8528-2104 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 China - Chongqing Tel: 86-23-8980-9588 Fax: 86-23-8980-9500 China - Hangzhou Tel: 86-571-2819-3187 Fax: 86-571-2819-3189 China - Hong Kong SAR Tel: 852-2943-5100 Fax: 852-2401-3431 China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 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-8864-2200 Fax: 86-755-8203-1760 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 ASIA/PACIFIC India - Bangalore Tel: 91-80-3090-4444 Fax: 91-80-3090-4123 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 India - Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 Japan - Osaka Tel: 81-6-6152-7160 Fax: 81-6-6152-9310 Japan - Tokyo Tel: 81-3-6880-3770 Fax: 81-3-6880-3771 Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-5778-366 Fax: 886-3-5770-955 Taiwan - Kaohsiung Tel: 886-7-213-7828 Fax: 886-7-330-9305 Taiwan - Taipei Tel: 886-2-2508-8600 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Munich 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 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 UK - Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049 11/29/12 DS00001552A-page 20 2013 Microchip Technology Inc.