Microchip Technology ATmega4809 Xplained Pro, megaAVR 0 Getting Started

Page 1

Features

AN2653
Getting Started with megaAVR® 0-Series
Getting Started with megaAVR® 0-series
Getting Started with ATmega4809 Xplained Pro and Atmel® Studio 7.0

Introduction

Author: Irun Walberg, Microchip Technology Inc.
This application note outlines how to get started with the megaAVR® 0-series
Refer to the data sheet for further information on the differences between the megaAVR® 0-series devices.
devices.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 1
Page 2
AN2653

Table of Contents

Features.......................................................................................................................... 1
Introduction......................................................................................................................1
1. Relevant Devices.......................................................................................................3
1.1. megaAVR® 0-Series..................................................................................................................... 3
2. Get the Device Datasheet......................................................................................... 4
3. Get the Tools............................................................................................................. 5
3.1. Get the ATmega4809 Xplained Pro Evaluation Kit.......................................................................5
3.2. Get the STK600 Starter Kit...........................................................................................................7
3.3. Get Source Code from Atmel | START.........................................................................................8
3.4. Get Atmel Studio 7.0.................................................................................................................... 9
3.5. Get IAR Embedded Workbench for AVR......................................................................................9
3.6. Get Device Support...................................................................................................................... 9
4. Atmel Studio Users Getting Started.........................................................................10
4.1. Atmel Studio with ATmega4809 Xplained Pro............................................................................10
4.2. Atmel Studio with STK600..........................................................................................................15
5. What's Next............................................................................................................. 21
6. Revision History.......................................................................................................22
The Microchip Web Site................................................................................................ 23
Customer Change Notification Service..........................................................................23
Customer Support......................................................................................................... 23
Microchip Devices Code Protection Feature................................................................. 23
Legal Notice...................................................................................................................24
Trademarks................................................................................................................... 24
Quality Management System Certified by DNV.............................................................25
Worldwide Sales and Service........................................................................................26
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 2
Page 3

1. Relevant Devices

48KB
32KB
16KB
8KB
4KB
28/32 48
Pins
Flash
ATmega3208
ATmega4808
ATmega3209
ATmega4809
This chapter lists the relevant devices for this document.

1.1 megaAVR® 0-Series

The figure below shows the megaAVR® 0-series devices, laying out pin count variants and memory sizes:
Vertical migration is possible without code modification, as these devices are fully pin and feature compatible.
Horizontal migration to the left reduces the pin count and therefore the available features.
Figure 1-1. megaAVR® 0-Series Overview
AN2653
Relevant Devices
Devices with different Flash memory size typically also have different SRAM and EEPROM.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 3
Page 4

2. Get the Device Datasheet

Web pages
http://www.microchip.com/wwwproducts/en/ATmega3208
http://www.microchip.com/wwwproducts/en/ATmega3209
http://www.microchip.com/wwwproducts/en/ATmega4808
http://www.microchip.com/wwwproducts/en/ATmega4809
Documents/files
megaAVR 0-series Manual (.pdf)
ATmega3208/4808 – 28-pin Datasheet (.pdf)
ATmega3208/4808 – 32-pin Datasheet (.pdf)
ATmega3209/4809 – 48-pin Datasheet (.pdf)
megaAVR 0-series Errata (.pdf)
The documentation for the megaAVR® 0-series is split into three document types:
Manual (includes all device independent descriptions of the device)
Datasheet1 (includes all device dependent descriptions of the device, number of peripherals, pinout and electrical characteristics)
Errata (includes all known erratas for the device)
AN2653
Get the Device Datasheet
1
For devices that are future products, the product brief is available instead of the datasheet.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 4
Page 5

3. Get the Tools

DEBUG USB
POWER HEADER
EXTENSION 1 HEADER
EXTENSION 2 HEADER
EXTENSION 3 HEADER
ATmega4809
RESET BUTTON
CURRENT MEASUREMENT
HEADER
SW0 USER BUTTON
USER LED0
mikroBUS™ socket
AVR DEBUG
FOR EXTERNAL
DEBUGGER
ATECC508A
CRYPTO DEVICE
32.768kHz Crystal
TARGET VOLT AGE
SELECT HEADER
Atmel Studio 7.0, which uses GCC compiler, is the preferred IDE to get started with megaAVR® 0-series.

3.1 Get the ATmega4809 Xplained Pro Evaluation Kit

Figure 3-1. ATmega4809 Xplained Pro Kit
AN2653
Get the Tools
Web page: http://www.microchip.com/developmenttools/productdetails.aspx?partno=atmega4809-xpro
Get the kit: http://www.microchipdirect.com/ProductSearch.aspx?Keywords=atmega4809-xpro
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 5
Page 6
Document/file:
ATmega4809 Xplained Pro (.pdf)
Key Features
ATmega4809 Microcontroller
Selectable Target Voltage
3.3V
5.0V (USB / external power)
One Mechanical Reset/User Programmable Button
One Mechanical User Programmable Button
One Yellow User Programmable LED
ATECC508 CryptoAuthentication™ device
32.768 kHz Crystal
Three Xplained Pro Extension Headers
One mikroBUS™ Socket
10-pin, 50-mil AVR Debug Connector with UPDI
Embedded Debugger
Auto-ID for board identification in Atmel Studio
One yellow status LED
One green board power LED
Symbolic debug of complex data types including scope information
Programming and debugging, including power measurements
Data Gateway Interface: SPI, I2C, four GPIOs
Virtual COM port (CDC)
USB Powered
AN2653
Get the Tools
The ATmega4809 Xplained Pro user guide covers how to power the kit and the detailed information on board components, extension interface, and the hardware guide.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 6
Page 7

3.2 Get the STK600 Starter Kit

Figure 3-2. STK600 Starter Kit
AN2653
Get the Tools
Table 3-1. STK600 Device Support for megaAVR 0-Series
Device Routing Card Socket Card
ATmega3209 STK600-RC048M-107 STK600-QFN48
ATmega3209 STK600-RC048M-107 STK600-TQFP48
ATmega4809 STK600-RC048M-107 STK600-QFN48
ATmega4809 STK600-RC048M-107 STK600-TQFP48
For device support for other devices, refer to: http://www.microchip.com/STK600_Starter_Kit-
Users_Guide
Web page: http://www.microchip.com/ATSTK600
Get the kit: http://www.microchipdirect.com/ProductSearch.aspx?Keywords=ATSTK600
Document/file:
STK600 User Guide (.pdf)
Key features
AVR Studio 4/AVR32 Studio/AVR Studio 5/Atmel Studio Compatible
USB Interface to PC for Programming and Control
Powered from USB Bus or from an External 10-15V DC Power Supply
Adjustable Target VCC (0-5.5V)
Two Adjustable Reference Voltages with High Accuracy (0-5.0V, 10mV res.)
Clock Oscillator, Adjustable On-The-Fly from Atmel Studio (0-50MHz, 0.1% res.)
Serial In-System Programming (ISP) of tinyAVR® and megaAVR® Devices
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 7
Page 8
AN2653
Get the Tools
PDI Programming of AVR XMEGA® Devices
JTAG Programming of megaAVR, AVR XMEGA, and AVR UC3 Devices
aWire Programming of AVR UC3 Devices
ISP and JTAG Programming of AVR Devices in External Target Systems
Flexible Routing and Socket Card System for Easy Mounting of all Supported Devices
Eight Push Buttons for General Use
Eight LEDs for General Use
All AVR I/O Ports are Easily Accessible through Pin Header Connectors
Expansion Connectors for Plug-In Modules and Prototyping Area
On-Board 4Mb DataFlash for Non-volatile Data
USB mini-AB (On-The-Go) Connector for AVR Devices with USB
PHY and DSUB-9 Connector for RS-232 Interface
PHY and DSUB-9 Connector for CAN Bus
PHY and Header for LIN Bus
Device Board with an ATmega2560 AVR Microcontroller Included
The STK600 User Guide describes how to power the kit, the detailed information on board components, extension interface, and the hardware guide.

3.3 Get Source Code from Atmel | START

The example code is available through Atmel | START, which is a web-based tool that enables configuration of application code through a Graphical User Interface (GUI). The code can be downloaded for both Atmel Studio 7.0 and IAR Embedded Workbench® via the direct example code-link(s) below or the BROWSE EXAMPLES button on the Atmel | START front page.
Atmel | START web page: http://microchip.com/start
Example Code
Finding example code for devices in the megaAVR 0-series, can be done by searching for the device name, e.g. ATmega4809, in the Atmel | START example browser.
Press User guide in Atmel | START for details and information about example projects. The User guide button can be found in the example browser, and by clicking the project name in the dashboard view within the Atmel | START project configurator.
Atmel Studio
Download the code as an .atzip file for Atmel Studio from the example browser in Atmel | START, by clicking DOWNLOAD SELECTED EXAMPLE. To download the file from within Atmel | START, click EXPORT PROJECT followed by DOWNLOAD PACK.
Double-click the downloaded .atzip file and the project will be imported to Atmel Studio 7.0.
IAR Embedded Workbench
For information on how to import the project in IAR Embedded Workbench, open the Atmel | START user guide, select Using Atmel Start Output in External Tools, and IAR Embedded Workbench. A link to the Atmel | START user guide can be found by clicking About from the Atmel | START front page or Help And Support within the project configurator, both located in the upper right corner of the page.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 8
Page 9

3.4 Get Atmel Studio 7.0

Web page: http://www.microchip.com/development-tools/atmel-studio-7
Document/file:
Atmel Studio 7.0 (build 1645) Installer (.exe)
Atmel Studio 7.0 or later is the preferred IDE for developing and debugging firmware for the megaAVR 0-series.

For device support, refer to Get Device Support.

3.5 Get IAR Embedded Workbench for AVR

Web page: https://www.iar.com/iar-embedded-workbench/#!?architecture=AVR
Document/file: IAR Embedded Workbench® installer for AVR.
3.6 Get Device Support
Atmel Studio: Support for new devices in Atmel Studio can be added by using the Device Pack
Manager, which is found under Tools->Device Pack Manager.
AN2653
Get the Tools
®
For megaAVR® 0-series, update to the latest version by performing the following steps:
1. Click Check for Updates
2. For megaAVR® 0-series, select the latest available version of ATmega_DFP
3. Click Install
For offline installers, go to http://packs.download.atmel.com/. To install a pack, double click on the installer file and follow the instructions. Any open Atmel Studio windows will have to be closed for the installation to take effect.
IAR: Support for new devices in IAR Embedded Workbench can be added by installing the latest service pack. The service pack is available from My Pages on https://iar.com.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 9
Page 10

4. Atmel Studio Users Getting Started

4.1 Atmel Studio with ATmega4809 Xplained Pro

Prerequisites
Atmel Studio 7.0 1645 or above installed
The ATmega4809 Xplained Pro board connected to Atmel Studio 7.0 via the on-board USB connector, which is connected to the embedded debugger. The kit will be powered by the USB, and the embedded debugger will enable debugging and programming via the USB.
Workflow
1. Launch Atmel Studio 7.0.
2. The page shown in the figure below will appear when ATmega4809 Xplained Pro is connected to Atmel Studio 7.0.
AN2653
Atmel Studio Users Getting Started
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 10
Page 11
Atmel Studio Users Getting Started
Figure 4-1. ATmega4809 Xplained Pro Page in Atmel Studio
AN2653
3. Start creating a new project by clicking New → Project... or by using the shortcut Ctrl+Shift+N, as shown in the figure below.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 11
Page 12
Figure 4-2. Create New Project in Atmel Studio
AN2653
Atmel Studio Users Getting Started
4. Select the GCC C Executable Project template from the new project wizard shown in the figure below, type in the name of the solution and project (e.g. GETTING_STARTED and LED_TOGGLE), and click OK.
Figure 4-3. New Project Wizard
5. Select ATmega4809 from the device selection wizard as shown in the figure below, and click OK.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 12
Page 13
Figure 4-4. Device Selection Wizard
AN2653
Atmel Studio Users Getting Started
A new project with a main.c file associated with it, will be generated in Atmel Studio.
6. Replace the main loop in the main.c file with the following code snippet:
int main (void) { /* Configure SW0 as input */ PORTB.DIRCLR = PIN2_bm;
/* Configure LED0 pin as output */ PORTB.DIRSET = PIN5_bm;
while (1) { /* Check the status of SW0 */ /* 0: Pressed */ if (!(PORTB.IN & (PIN2_bm))) { /* LED0 on */ PORTB.OUTSET = PIN5_bm; } /* 1: Released */ else { /* LED0 off */ PORTB.OUTCLR = PIN5_bm; } } }
In the code editor, the code should appear as shown in the figure below.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 13
Page 14
Figure 4-5. Code Editor Window
AN2653
Atmel Studio Users Getting Started
7. Open project properties by clicking Project → Properties or by using the shortcut ALT+F7.
8. In the Tool view (see the figure below) set Selected debugger/programmer to mEDBG and Interface to UPDI.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 14
Page 15
Figure 4-6. Debugger and Interface for ATmega4809
AN2653
Atmel Studio Users Getting Started
9. Build the project by clicking Build → Build Solution or by using the shortcut F7.
10. Program ATmega4809 with the project code and start debugging by clicking Debug → Start debugging and break or by using the shortcut ALT+F5. The application is programmed onto the device and program execution should break in main.
11. Run the code by clicking Debug → Continue or by using the shortcut F5).
12. Verify that LED0 is lit when SW0 is pushed on the ATmega4809 Xplained Pro.

4.2 Atmel Studio with STK600

Prerequisites
Atmel Studio 7.0 1645 or above installed
The STK600 board connected to Atmel Studio 7.0 via the on-board USB connector.
Workflow
1. Launch Atmel Studio 7.0.
2. Start creating a new project by clicking New → Project... or by using the shortcut Ctrl+Shift+N, as shown in the figure below.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 15
Page 16
Figure 4-7. Create New Project in Atmel Studio
AN2653
Atmel Studio Users Getting Started
3. Select the GCC C Executable Project template from the new project wizard shown in the figure below, type in the name of the solution and project (e.g. GETTING_STARTED and LED_TOGGLE), and click OK.
Figure 4-8. New Project Wizard
4. Select ATmega4809 from the device selection wizard as shown in the figure below, and click OK.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 16
Page 17
Figure 4-9. Device Selection Wizard
AN2653
Atmel Studio Users Getting Started
A new project with a main.c file associated with it will be generated in Atmel Studio.
5. Replace the main function in the main.c file with the following code snippet:
int main (void) { /* STK600 have eight User Buttons and eight User LEDs which can be connected to any IO pin using cables */ /* Configure PB0 as input (remember to connect SW0 to PB0 using a cable */ PORTB.DIRCLR = PIN0_bm;
/* Configure PB1 as output (remember to connect LED0 to PB1 using a cable*/ PORTB.DIRSET = PIN1_bm;
while (1) { /* Check the status of SW0 */ /* 0: Pressed */ if (!(PORTB.IN & (PIN0_bm))) { /* LED0 on */ PORTB.OUTCLR = PIN1_bm; } /* 1: Released */ else { /* LED0 off */ PORTB.OUTSET = PIN1_bm; } } }
In the code editor, the code should appear as shown in the figure below.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 17
Page 18
Figure 4-10. Code Editor Window
AN2653
Atmel Studio Users Getting Started
6. Open project properties by clicking Project → Properties or by using the shortcut ALT+F7.
7. In the Tool view (see the figure below) set Selected debugger/programmer to STK600 and Interface to UPDI.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 18
Page 19
Atmel Studio Users Getting Started
Figure 4-11. Debugger and Interface for ATmega4809
AN2653
8. Build the project by clicking Build → Build Solution or using the shortcut F7.
9. Connect the embedded debugger on STK600 to ATmega4809 by connecting a cable between the ISP/PDI headers, as shown in the figure below.
Figure 4-12. UPDIConnection on STK600
10. Connect PB2 to SW0, and PB5 to LED0 by using cables.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 19
Page 20
AN2653
Atmel Studio Users Getting Started
11. Load the code onto the STK600 and start debugging by clicking Debug → Start debugging and break or by using the shortcut ALT+F5. The application is programmed onto the device and the
program execution should break in main.
12. Run the code by clicking Debug → Continue or by using the shortcut F5.
13. Verify that LED0 is lit when SW0 is pushed on STK600.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 20
Page 21

5. What's Next

For further information on related AVR products and IDE, refer to the links below:
Software:
Atmel Studio: http://www.microchip.com/avr-support/atmel-studio-7
Atmel Studio help: "Help → View Help" (shortcut "CTRL+F1")
Atmel Gallery: https://gallery.microchip.com/
Firmware:
Atmel START documentation: http://start.atmel.com/static/help/index.html
Atmel START examples: http://microchip.com/start/#examples
Hardware:
AVR042: AVR Hardware Design Considerations: http://www.microchip.com/
AVR042:AVR_Hardware_Design_Considerations
AVR IBIS files: http://www.microchip.com/doclisting/TechDoc.aspx?type=IBIS
AVR BDSL files: http://www.microchip.com/doclisting/TechDoc.aspx?type=BSDL
Recommended programming/debugging tools:
Atmel-ICE:
Documentation: http://www.microchip.com/Atmel-ICE_Debugger_User_Guide
Buy: http://www.microchip.com/developmenttools/productdetails.aspx?partno=atatmel-ice
Power debugger:
Documentation: http://www.microchip.com/42696D_Power_Debugger_User_Guide
Buy: http://www.microchip.com/developmenttools/productdetails.aspx?
partno=atpowerdebugger
AN2653
What's Next
Other:
AVR Freaks®: http://www.avrfreaks.net/
Application notes: http://www.microchip.com/paramChartSearch/chart.aspx?branchID=30047, find the preferred device and go to the product page. All relevant application notes can be found under the documentation tab.
AVR product selector: http://www.microchip.com/paramChartSearch/chart.aspx?branchID=30047
More technical documentation concerning various products: http://www.microchip.com/webdoc/
Microchip Technical Support: http://www.microchip.com/support/hottopics.aspx
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 21
Page 22

6. Revision History

Doc. Rev. Date Comments
A 02/2018 Initial document release
AN2653
Revision History
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 22
Page 23
AN2653

The Microchip Web Site

Microchip provides online support via our web site at http://www.microchip.com/. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information:
Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software
General Technical Support – Frequently Asked Questions (FAQ), technical support requests, online discussion groups, Microchip consultant program member listing
Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives

Customer Change Notification Service

Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, access the Microchip web site at http://www.microchip.com/. Under “Support”, click on “Customer Change Notification” and follow the registration instructions.

Customer Support

Users of Microchip products can receive assistance through several channels:
Distributor or Representative
Local Sales Office
Field Application Engineer (FAE)
Technical Support
Customers should contact their distributor, representative or Field Application Engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document.
Technical support is available through the web site at: http://www.microchip.com/support

Microchip Devices Code Protection Feature

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.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 23
Page 24
AN2653
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.

Legal Notice

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 unless otherwise stated.

Trademarks

The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, KeeLoq logo, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA 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.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
GestIC is a registered trademark 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.
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 24
Page 25
AN2653
©
2018, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
ISBN: 978-1-5224-2693-6

Quality Management System Certified by DNV

ISO/TS 16949
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.
®
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 25
Page 26

Worldwide Sales and Service

AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE
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
Austin, TX
Tel: 512-257-3370
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Novi, MI
Tel: 248-848-4000
Houston, TX
Tel: 281-894-5983
Indianapolis
Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Tel: 317-536-2380
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Tel: 951-273-7800
Raleigh, NC
Tel: 919-844-7510
New York, NY
Tel: 631-435-6000
San Jose, CA
Tel: 408-735-9110
Tel: 408-436-4270
Canada - Toronto
Tel: 905-695-1980
Fax: 905-695-2078
Australia - Sydney
Tel: 61-2-9868-6733
China - Beijing
Tel: 86-10-8569-7000
China - Chengdu
Tel: 86-28-8665-5511
China - Chongqing
Tel: 86-23-8980-9588
China - Dongguan
Tel: 86-769-8702-9880
China - Guangzhou
Tel: 86-20-8755-8029
China - Hangzhou
Tel: 86-571-8792-8115
China - Hong Kong SAR
Tel: 852-2943-5100
China - Nanjing
Tel: 86-25-8473-2460
China - Qingdao
Tel: 86-532-8502-7355
China - Shanghai
Tel: 86-21-3326-8000
China - Shenyang
Tel: 86-24-2334-2829
China - Shenzhen
Tel: 86-755-8864-2200
China - Suzhou
Tel: 86-186-6233-1526
China - Wuhan
Tel: 86-27-5980-5300
China - Xian
Tel: 86-29-8833-7252
China - Xiamen
Tel: 86-592-2388138
China - Zhuhai
Tel: 86-756-3210040
India - Bangalore
Tel: 91-80-3090-4444
India - New Delhi
Tel: 91-11-4160-8631
India - Pune
Tel: 91-20-4121-0141
Japan - Osaka
Tel: 81-6-6152-7160
Japan - Tokyo
Tel: 81-3-6880- 3770
Korea - Daegu
Tel: 82-53-744-4301
Korea - Seoul
Tel: 82-2-554-7200
Malaysia - Kuala Lumpur
Tel: 60-3-7651-7906
Malaysia - Penang
Tel: 60-4-227-8870
Philippines - Manila
Tel: 63-2-634-9065
Singapore
Tel: 65-6334-8870
Taiwan - Hsin Chu
Tel: 886-3-577-8366
Taiwan - Kaohsiung
Tel: 886-7-213-7830
Taiwan - Taipei
Tel: 886-2-2508-8600
Thailand - Bangkok
Tel: 66-2-694-1351
Vietnam - Ho Chi Minh
Tel: 84-28-5448-2100
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
Finland - Espoo
Tel: 358-9-4520-820
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany - Garching
Tel: 49-8931-9700
Germany - Haan
Tel: 49-2129-3766400
Germany - Heilbronn
Tel: 49-7131-67-3636
Germany - Karlsruhe
Tel: 49-721-625370
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Germany - Rosenheim
Tel: 49-8031-354-560
Israel - Ra’anana
Tel: 972-9-744-7705
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Italy - Padova
Tel: 39-049-7625286
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Norway - Trondheim
Tel: 47-7289-7561
Poland - Warsaw
Tel: 48-22-3325737
Romania - Bucharest
Tel: 40-21-407-87-50
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
Sweden - Gothenberg
Tel: 46-31-704-60-40
Sweden - Stockholm
Tel: 46-8-5090-4654
UK - Wokingham
Tel: 44-118-921-5800
Fax: 44-118-921-5820
© 2018 Microchip Technology Inc.
Application Note
DS00002653A-page 26
Loading...