Anda di halaman 1dari 36

Official Sponsor

Engineers’ Guide to
Microchip Technology
22018
018 Edition

Everything you need to


build your next design is
available at Microchip
Boost Your IoT Security
Zero Touch Provisioning for AWS IoT

Securing data comes with challenges, but the main challenge is providing
a secure authentication and securely handling private keys in a production
environment. This has led cloud providers to push towards hardware-based
ZLJ\YP[`VI[HPUZ[YVUNKL]PJLPKLU[P[`[VH]VPKZWVVÄUNHUKWYV[LJ[HNHPUZ[
\UH\[OVYPaLKÄYT^HYL\WKH[LZHUKWYVSPMLYH[PVU

4PJYVJOPW»ZWYLJVUÄN\YLK(;,**4(/(>TLL[Z[OLZLJOHSSLUNLZI`
SL]LYHNPUN(>:0V;1\Z[0U;PTL9LNPZ[YH[PVU10;910;9JVTIPULK^P[O[OL
T\[\HSH\[OLU[PJH[PVUOHUKZOHRLLUHISLZI\SRJLY[PÄJH[L\WSVHKPUNVUJLH
system is deployed.
Zero Touch Secure Provisioning Kit
Key Features
(AT88CKECC-AWS-XSTK-B)
‹ ,SPTPUH[LWYP]H[LRL`ZTHUPW\SH[PVUMYVTZVM[^HYL\ZLYZHUKTHU\MHJ[\YLYZ
‹ Provide secure mutual authentication and unique trusted identity
‹ 3L]LYHNL(>:0V;HUK10;9MVYI\SRJLY[PÄJH[L\WSVHKPUN

www.microchip.com/AWSECC508
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks are the property of their registered owners.
© 2017 Microchip Technology Inc. All rights reserved. 11/17
DS00002581A
Welcome to the 2018 Engineers’ ENGINEERS’ GUIDE TO
Guide to Microchip Technology MICROCHIP TECHNOLOGY
2018
Vice President & Publisher
Microchip Technology Inc. (NASDAQ: MCHP) is a leading provider of Clair Bright
microcontroller, mixed-signal, analog and Flash-IP solutions, providing low- Editorial
risk product development, lower total system cost and faster time to market Editor-in-Chief
for thousands of diverse customer applications worldwide. Microchip offers Caroline Hayes ❘ chayes@extensionmedia.com
Managing Editor
outstanding technical support along with dependable delivery and quality. Anne Fisher ❘ afisher@extensionmedia.com
Senior Editors
This Engineers’ Guide was designed to provide valuable information and insight Gabe Moretti ❘ gmoretti@extensionmedia.com
Dave Bursky ❘ dbursky@extensionmedia.com
on Microchip Technology as well as many Microchip Design Partners. We hope
you enjoy this edition of the Engineers’ Guide to Microchip Technology.
Creative/Production
Production Traffic Coordinator
For your convenience, a digital version of this guide can be found at Marjorie Sharp
www.microchip.com/engineersguide2018. Production Manager/Graphic Designer
Nicky Jacobson
Graphic Designer
Simone Bradley

Contents Senior Web Developers


Slava Dotsenko
Special Features Advertising / Reprint Sales
Vice President, Sales
Cooperating on Creativity So Many Choices Embedded Electronics Media Group
By Caroline Hayes, Extension Media 4 Microchip Technology Inc. 16 Clair Bright
cbright@extensionmedia.com
Balance of Power Solving the Security Conundrum (415) 255-0390 ext. 15
Microchip Technology Inc. 8 Microchip Technology, Inc. 19 Sales Manager
Elizabeth Thoma
Maximum Impact Suite Success (415) 244-5130
Microchip Technology Inc. 9 Microchip Technology, Inc. 24 ethoma@extensionmedia.com

Ready for Action The Coax Advantage Marketing/Circulation


Microchip Technology Inc. 11 Microchip Technology, Inc. 26 Jenna Johnson
jjohnson@extensionmedia.com
To Subscribe
www.eecatalog.com

Product Showcases
Extension Media, LLC Corporate Office
Embedded Design Group Martin Company
Embedded System Design and Electronics Engineering President and Publisher
Development 29 and Manufacturing 30 Vince Ridley
vridley@extensionmedia.com
(415) 255-0390 ext. 18
FzPro S.r.l.s. Shenzhen A&D Technology Co., Ltd.
Vice President & Publisher
EMU01 29 Shenzhen A&D Technology Co., Ltd. 31 Clair Bright
cbright@extensionmedia.com
GERMAN POWER GmbH TechToys Company Human Resources / Administration
Power Supplies 29 ArduoHDMI Shield 31 Darla Rovetti

Special Thanks to Our Sponsor


HCE Engineering Srl Patent Outsourcing Limited
Cosino A5136 29 Patent Outsourcing Limited 31

OCCAM Technology Thinxtream Technologies, Inc.


OCCAM Technology 30 Connected Products to Connected
Business 32
Lynx Corporation Engineers’ Guide to Microchip Technology is published by
Security Consulting 30 TLC Engineering Solutions Extension Media LLC, 1786 18th Street, San Francisco, CA
TLC Engineering Solutions 32 94107. Copyright © 2017 by Extension Media LLC. All rights
reserved. Printed in the U.S.

2 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
It’s all about the parts

Over 300 Advanced Engineers worldwide


Global System Design Centers providing design consulting services
In-depth product expertise
World-class global logistics

Download our NEW


Game-Changing, Ultra-Low Power
32-bit MCU Ecosystem brochure
to learn how you can design-in Microchip with complete
confidence and support.
http://bit.ly/MCP32bitMCU

www.FutureElectronics.com
Engineers’ Guide to Microchip Technology

Cooperating on Creativity
A good partner supports the freedom to innovate and provides the tools to help designers
explore and push boundaries. Microchip sees the customer as a partner, working
together with a mutual end goal, writes Caroline Hayes, Senior Editor

By Caroline Hayes, Extension Media

I n a rapidly changing marketplace, it is essential for


engineers to be up to date with innovations that
can impact applications and with the features they
SAVING TIME AND MONEY
There are three core areas of engagement in the customer partner-
ship. They are based around helping the customer make money, save
need to incorporate to achieve the design. This can money and reduce their risk. Microchip provides products that are
be challenging as designers have to consider many easy to use, and which provide the needed capabilities, such as con-
factors, such as connectivity, security and longevity nectivity and security, that enable customers to develop innovative
of the product under development. These multiple products, and to differentiate themselves from the competition. The
disciplines can be onerous, acknowledges Ross Ayotte, ability to use the same tools and support services across designs
Microchip’s Senior Manager of Corporate Marketing means that development team can be efficient. Reduced iterations
and Marcom, which is why Microchip establishes and fewer revisions mean that the time-to-market is condensed,
partnerships with its customers. One of the guiding saving the customer time and money. In many of the competitive
principles of the company is: “Customers are our arenas in which its customers operate, such as automotive, aero-
focus,” he says, adding that listening to customers is space, telecoms, and consumer products, being the first to market
as important as gaining credibility with high-quality is critical to a product’s success and seeing the return on the invest-
products and comprehensive services. “We start by lis- ment in its development.
tening to our customers,” explains Ayotte. “Working
closely with customers means understanding the Providing increased functionality within an MCU is a valuable way
challenges they are facing and requires a sales team of saving development time and adding the ability to innovate. One
dedicated to problem-solving,” he continues. way Microchip does this is through the integration of Core Indepen-
dent Peripherals (CIPs) which add functionality without increasing
The first step is to listen to customers to find out what is an embedded system’s footprint. They simplify the implementa-
happening in their marketplace and, perhaps even more tion of complex control systems, for example, closed loop power
importantly, what is likely to be happening three or supply control, or a custom communication protocol. CIPs execute
four years from now. By understanding the challenges tasks independently of the Central Processing Unit (CPU), which is
that customers are likely to face, Microchip can engage offloaded to focus on system-critical tasks. Another benefit is that,
with them to source products that solve problems. since CIPs execute these tasks deterministically in hardware, they
negate the need to write and validate code for these functions. The
Many of the partnerships have been developed over added functionality that can be achieved with CIPs enables smaller,
long periods of time and are based on exceeding cus- lower power MCUs to be used in complex systems, such as lighting
tomer expectations in not just products, but in the control or a sensor end node, for a more cost-effective design.
fields of service and attitude, says Ayotte.
MITIGATING RISK
Microchip prides itself on having the only non-com- The engagement process is focused on lessening any hurdles that
missioned sales force in the industry. This allows the may result in being late to market or delivering a product that falls
sales team to direct its focus on the customer’s needs short of market expectations. This includes everything from concept
and are not tied to meeting a corporate performance to production and supply. That collaboration helps Microchip assess
target but instead can relate to the client’s end goals, the right design early in the development stage. This reduces mid- or
of problem solving with products and services tailored late-course corrections which are costly in terms of time and money.
for the project.

4 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
  
‹–Š‹‰‹ƒ’ ‘˜ƒ–‹˜‡‘Ž—–‹‘•

•  

•   

•  

• 
•  
 
•    

  


 
 








     
 ŽŶƐƵŵĞƌ DĞĚŝĐĂů /ŶĚƵƐƚƌŝĂů

 Ž‡…–”‘‹…•‰‹‡‡”‹‰ƒ†ƒ—ˆƒ…–—”‹‰
  ΪΪ


Ǧ ȋ‘ ‘—”Ž›ƒ–‡ǨȌ


 • ‹‰‹–ƒŽƒ†ƒŽ‘‰‹”…—‹–•
 • „‡††‡†‹”…—‹–•ƒ†›•–‡•  
 • ‹…”‘…Š‹’ ͵ʹǡ ͳ͸ǡ ͺƒ††•  
 • „‡††‡†
”ƒ’Š‹…•ƒ†‹•’Žƒ›• ZΘĂŶĚ^ĂůĞƐKĨĨŝĐĞ
 • ƒ†‘’Ž‡šŽ‰‘”‹–Š• ŝŐŝĂƉ^ŽůƵƚŝŽŶƐ͕>>͘
 • ‘–‘”ƒ†‘–‹‘‘–”‘Ž ϱϮϲϬtĞƐƚďƌĞĞnjĞĐƚ͘
• ‘™‡”ƒ†ƒ––‡”›ƒƒ‰‡‡– ,ŝůůŝĂƌĚ͕K,ϰϯϬϮϲ
• ‡’‡”ƒ–—”‡‘–”‘Žƒ†•‡•‘”• tĞď͗ǁǁǁ͘ĚŝŐŝnjĂƉƐŽůƵƚŝŽŶƐ͘ĐŽŵ
•  ǡ–Š‡”‡–ƒ† ŵĂŝů͗ƐĂůĞƐΛĚŝŐŝnjĂƉƐŽůƵƚŝŽŶƐ͘ĐŽŵ
• ‘†—•ƒ†‡”‹ƒŽ –‡”ˆƒ…‡ WŚŽŶĞ͗;ϲϭϰͿϯϴϵͲϯϬϮϮ
• ‹”™ƒ”‡ƒ†‘ˆ–™ƒ”‡†‡•‹‰
• …Š‡ƒ–‹…•ǡƒ†Žƒ›‘—–
• ”‘–‘–›’‡•ǡ’‡…‹ƒŽ–›”—•ƒ† ‹‰Š‘Ž—‡”‘†—…–‹‘
• —ƒŽ‹–›‘–”‘Žƒ†‡•–‹‰  
• ǡǡ ‘’Ž‹ƒ…‡
Engineers’ Guide to Microchip Technology

The recent merger and acquisition activity in the semiconductor


industry has highlighted the consolidation of product lines as com-
panies are bought or merged. The impact of this, says Ayotte, is
that parts are often deemed end-of-life as they either clash with
other product lines or are identified as being unprofitable and pro-
duction is stopped. Yet, developers need to know that the part on
which they are basing a project will be available for some time and
from a reliable source. This is not just old-fashioned conservatism,
this is a sound business model, as the obsolescence of a product
could lead to a complete redesign.

“At Microchip, we have a policy of customer-driven obsolescence,”


Figure 1: The WINC1500 module can add Wi-Fi® connectivity to any
Ayotte says. “This means that our customers don’t need to fear a forced
embedded system.
redesign because we are no longer manufacturing a particular part. If
a customer is in production with a part and wants to buy more, we will continues. Using the code generated in the MPLAB IDE, this switch
continue to manufacture it,” he confirms. merely requires the code to be resized for use with the 8-bit device.

THE TOOLS TO INNOVATE Many projects may bridge multiple disciplines. Some specialties, how-
Development tools are a key part of the support structure available ever, may not be available to the design team. For example, vehicles
from Microchip. Efficient tools can reduce design time and save a are requiring more in-vehicle connectivity and the Internet of Things
customer’s resources. For ease of access, tools are scalable across the relies on it. Yet connectivity requires particular RF and protocol exper-
company’s product lines. Many of Microchip’s software tools are also tise. Microchip’s portfolio includes a wide selection of connectivity
available as free downloads or free trials. modules across many wireless technologies. The modules can be easily
integrated into a design because they include an integrated antenna
Designers who have selected any of the company’s 8-, 16, or 32-bit as well as FCC, IC and CE certifications. These whole-package modules
PIC® MCUs or 16-bit dsPIC® DSCs can take advantage of MPLAB® eliminate the need for wireless expertise when building a connected
X Integrated Development Environment (IDE) or the cloud-based design while also reducing overall development time.
MPLAB Xpress IDE along with a suite of tools that includes com-
pilers, programmers, debuggers and software as well as development
boards designed for specific applications. As an excellent example
of the ease of use philosophy behind this ecosystem of tools, there
is also MPLAB Code Configurator (MCC). This free, graphical pro-
gramming environment generates C code for use in design projects
and configures functions and peripherals specific to an application.
It also features a drag-and-drop operation to show the engineer
the various options available, saving valuable time in researching
choices and in writing code.

For developing applications based on AVR® or SAM MCUs, designers


can use Atmel Studio 7, which provides a seamless and easy-to-use envi-
ronment to build and debug applications written in C/C++ or assembly Figure 2: The SAMB11-ZR is a fully certified module that saves development
code. It also connects to the debuggers, programmers and development time and lowers the BoM.
kits that support AVR and SAM devices. Atmel START is an innovative
online tool that enables intuitive, graphical configuration of embedded With the continuing proliferation of the Internet of Things (IoT),
software projects. It allows users to select and configure software com- designers are expected to adapt existing products to bring Wi-Fi® and
ponents, drivers and middleware, as well as complete example projects, networking capabilities to existing MCUs. Microchip’s WINC1500
specifically tailored to the needs of their applications. Wi-Fi device (Figure 1) is an IEEE 802.11b/g/n network controller
System on Chip (SoC). An ideal add-on to existing MCU solutions, the
As stated earlier, one of the core areas of focus for the company is WINC1500 makes it easy to bring Wi-Fi and networking capabilities
the drive to mitigate risk for the customer. Having code that is scal- through its SPI-to-Wi-Fi interface. It connects to a wide variety of
able across numerous portfolios of MCUs through the free MPLAB MCUs, including Microchip’s SAM, PIC24 and PIC32 MCUs, with the
X IDE allows designers to streamline and adapt ideas as the market module only requiring a high-speed crystal or oscillator to be added
demands. For example, a customer may develop code for a design as an external clock source. It also supports a variety of security pro-
using a 16-bit MCU for their initial product; that customer may later tocols including WPA (Wi-Fi Protected Access) /WPA2 Personal, TLS
decide to downsize to a more cost-effective 8-bit MCU as production (Transport Security Layer) v1.2 and SSL (Secure Sockets Layer).

6 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Engineers’ Guide to Microchip Technology

For those wanting an easy to use Bluetooth® solution, the SAMB11- lowering the investment and effort required for development. The
ZR is a fully certified ultra-low power Bluetooth Low Energy module solution addresses common security needs such as trusted boot,
with integrated ARM® Cortex®-M0 based MCU and application Flash secure communications and firmware updates, secure storage and
memory (Figure 2) in a 10 x 7 mm package. It supports numerous trusted device identification.
application profiles making the device a versatile SoC suitable for a
wide variety of connected designs. Using a complete Bluetooth solu- To provide security design expertise to its customers, Microchip has
tion like the SAMB11-ZR saves developers time, cost and board space created a Security Design Partner Program. All companies in the pro-
– all positive elements in the design process. gram are trusted partners who have not only been vetted as a genuine
security expert on Microchip technologies, but have demonstrated
SMART AND SECURE their expertise with products available for customers to integrate into
There are innumerable conversations about security happening at any designs to save on development time and costs. The network includes
given moment; however, security is not just to protect the end user leading cloud-providers, TLS stack providers and certificate authority
from accidental or malicious attacks. Protecting Intellectual Property companies – all of which can work with customers to identify security
(IP) and devices from such threats is critical as it protects revenue needs as well as help in the implementation of secure designs.
streams for the customer and can negate the need for costly redesigns
as a result of a hack. Security not only includes designing in security measures from a
system’s inception, but also being reactive to new potential threats.
There is not a one-size-fits-all security solution. What’s important Given that technology is constantly evolving, standards that may
when designing a system is to be able to create a unique, trusted have once provided sufficient protection may become more suscep-
identity that can be securely authenticated and protected. There tible over time. In late 2017, the KRACK Wi-Fi vulnerability surfaced.
are different ways to implement this trust and additional measures This vulnerability wasn’t hardware-based but was actually a security
can be added based on the level of security a particular system vulnerability of the widely used WPA2 (Wi-Fi Protected Access II)
requires. Microchip has a scalable security portfolio that spans industry protocol. Microchip was on the front lines fighting this
both hardware and software and their sales team can help identify vulnerability and was one of the first vendors to issue a patch to its
what a customer’s security needs are and the best way to implement customers. Providing solutions to security challenges is a priority for
those safeguards. Microchip and it is tackling these challenges from every angle.

To safeguard a customer’s IP and a device’s private keys, CryptoAu- TOTAL SYSTEM SOLUTIONS
thentication™ products, like the ATECC608A secure element, add The reach of Microchip’s products extends across automotive and
hardware-based root of trust storage to verify the identity of anyone aerospace, to telecoms, power tools and lighting. As Ayotte puts it:
who is trying to gain access. Placing the secret keys in hardware “If it plugs in, or has a battery, we are in it – or should be.” In many
removes them from the reach of attackers while ensuring that keys instances, such as the connected car, or smart lighting in home auto-
cannot be copied, cloned, counterfeited or tampered with. This secure mation, these application areas blend more than one discipline of
element can also be used to authenticate accessories or disposables, electronics design.
such as printer cartridges, to ensure a compatible accessory is being
used that will provide an optimal user experience. For this reason, the 1,000-member sales team concentrates on
understanding and enhancing customer knowledge. Acting as a
For systems looking to implement security measures such as secure partner, each member of the team considers the customer’s current
boot, asymmetric encryption for public key cryptography, hashing for skill set and can provide an overview of what may need to be added
authentication and anti-cloning and elliptical curves for encrypting for a particular project.
and decrypting data, there is the CEC1702 MCU. This ARM Cortex-M4
based MCU ensures boot code has not been compromised, which is By being omnipresent in the marketplace, engaging with customers
becoming increasingly important in the rapidly growing IoT landscape. and discussing present and future projects, the sales team is able to
The 32-bit MCU safeguards firmware with pre-boot authentication bring in experts and identify opportunities. Crucially, it can address
and verifies that firmware updates are from a trusted source and not how to solve challenges such as connectivity or security in new
corrupted. There is also authentication of system-critical commands, system designs. Ayotte describes the team as taking a consultative
ensuring they are from a known source, and encryption protects code role, bringing in Microchip’s embedded systems expertise together
and data from theft and attacks. with availability of a range of resources that can be tailored for a
specific application.
If a customer is looking for a software-based approach, they can
explore the IoT Security Suite for Microchip’s SAMA5D2 micro- The selection of products that are scalable across all product groups,
processors (MPUs) that Microchip announced earlier this year in and resources that can be provided as and when required, can be a
conjunction with Sequitur Labs. The suite enables device OEMs to flexible approach - used by the customer to make money, save money
use hardware-based isolation and cryptography while dramatically and reduce risk in a dynamic, innovative market.

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 7
Engineers’ Guide to Microchip Technology

Balance of Power

6W[PTPaL@V\Y)H[[LY`7V^LYLK+LZPNUZ^P[O,ULYN`,ѝJPLU[IP[4PJYVJVU[YVSSLYZ

S
aving power to extend battery life is a pressing design hardware and software tools and reference designs that will help
requirement for developers of the latest solutions for the you understand and evaluate the innovative low-power features
consumer, industrial, medical and personal care market [OLZL4*<ZVɈLY;OLZLSV^WV^LYL]HS\H[PVURP[Z^PSSTHRLP[
segments. This is especially important in applications that easy to prototype your design using SAM and PIC32 MCUs:
target the Internet of Things (IoT) such as wearable devices,
࠮ SAM L21 Xplained Pro Evaluation Kit
smart locks, thermostats, industrial sensors, portable EKG
monitors and connected cosmetics. Power consumption is ࠮ SAM L22 Xplained Pro Evaluation Kit
also a concern in LPWAN nodes that are intended for use on ࠮ SAM G55 Xplained Pro Evaluation Kit
LoRaWAN™ or Sigfox networks. ࠮ SAM D21 Xplained Pro Evaluation Kit
࠮ SAM D11 Xplained Pro Evaluation Kit
To meet the needs of power-constrained applications that also
YLX\PYL OPNO M\UJ[PVUHSP[` 4PJYVJOPW VɈLYZ H IYVHK YHUNL VM ࠮ PIC32MX274 XLP Starter Kit
low-power and ultra-low-power 32-bit microcontrollers (MCUs)
The Power Debugger (ATPOWERDEBUGGER) and Data
[OH[LɈLJ[P]LS`IHSHUJLWV^LYJVUZ\TW[PVUHUKWLYMVYTHUJL
Visualizer GUI allow you to analyze and monitor your SAM
Devices in this portfolio range from the smallest SAM D to the
4*<IHZLKHWWSPJH[PVU»ZYLHS[PTLWV^LYWYVÄSL^OPSL[OLXLP
ultra-low-power SAM L to the higher-performing SAM G and
Battery Life Estimator allows you to estimate the battery life
the eXtreme Low Power (XLP) PIC32MX4*<ZLHJOVɈLYPUN
of batteries that are most commonly used in SAM and PIC®
MLH[\YLZ [OH[ ^PSS JH[LY [V [OL ZWLJPÄJ ULLKZ VM H SV^WV^LY
MCU-based embedded applications.
embedded design.
Take advantage of our proven ultra-
The SAM devices are designed from the ground up to utilize low
low-power technology along with our
leakage processes and libraries and provide industry-leading
many support resources to develop
low power consumption. As a result, they feature active cur-
J\[[PUNLKNL LULYN`LɉJPLU[ KLZPNUZ
rents of under 35 μA/MHz and sleep currents of 200 nA. They
\ZPUN IP[ 4*<Z ;OL` VɈLY `V\ [OL
HSZV VɈLY H ]HYPL[` VM PUUV]H[P]L WV^LYZH]PUN MLH[\YLZ Z\JO
ÅL_PIPSP[` [V LHZPS` JYLH[L H OPNOS` VW[P-
as multiple power domains, performance levels, SleepWalking
mized low-power solution in no time.
peripherals and an Event system.
Visit our 32-bit MCUs web page to get
Getting started with your low-power design is quick and easy started today.
with our comprehensive development resources that include

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

8 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
MAXIMUM
IMPACT
Create Compelling Graphical User
Interfaces to Make Your Product Stand Out

Free Visual Design Tools and Graphics


Libraries Simplify the Design of PIC32
MCU-Based GUI Applications

I
n today’s competitive marketplace, an easy-to-
use and well-designed Graphical User Interface
(GUI) can often be the primary driver in brand
ZMKWOVQ\QWVIVLK][\WUMZXZMNMZMVKMNWZI[XMKQߦK
product. However, most developers don’t have any
graphic design experience and sometimes lack the
tools they need to create compelling GUIs. With
our Visual Design Tools, we now make it easy for
you to develop professional-looking GUIs for your
32-bit PIC® MCU-based embedded design without
needing any special training or design skills.

This industry-leading complement of compre-


hensive visual GUI development tools, software
graphics libraries and hardware tools is sup-
ported by the free MPLAB® Harmony software
NZIUM_WZSIVLWߥMZ[aW]\PMKPWQKMWN][QVO\_W
best-in-class tools: MPLAB Harmony Graphics
Composer and SEGGER emWin Pro Library.
Engineers’ Guide to Microchip Technology

MPLAB Harmony Graphics Composer displays, cutting your development time from weeks to hours.
)UWLMZVIVLߧM`QJTM/=1KWUXW[MZ\WWT\PI\KIVJM][MLQV 1\IT[WWߥMZ[[MIUTM[[KWV^MZ[QWVWNLI\I[PMM\\QUQVO^IT]M[
designs that use PIC32 microcontrollers, MPLAB Harmony to simulated timing waveforms. The adaptive LCC graphics
Graphics Composer (MHGC) is free and available through driver supports standard and non-standard display resolu-
362'( .GXSUT_ )UTߟM[XGZUX and MPLAB X Integrated tions and aspect ratios, lowering the barrier of entry for novice
Development Environment (IDE). It works in conjunction with graphics developers.
the MPLAB Harmony Graphics Library and your own custom
MHGC Highlights
graphic assets to help you develop professional-looking GUIs
‫ ڧ‬Go from concept to glass in minutes without writing a single
without writing a single piece of code. It takes care of all con-
line of code
ߦO]ZI\QWV ZMY]QZMUMV\[ IVL OMVMZI\M[ \PM VMKM[[IZa [W]ZKM
‫ ڧ‬+WVߦO]ZMXZWRMK\[NWZaW]Z/=1ZMY]QZMUMV\[
code. MHGC’s intuitive, user-friendly interface lets you easily
import images and fonts and add them into your project. The ‫ ڧ‬Drag and drop widgets and objects directly into the design
\WWTIT[WITTW_[aW]\WILLLMTM\MUW^M[KITMIVLKWVߦO]ZM with WYSIWYG design simplicity
objects within the application. These objects can be interac- ‫ ڧ‬Extend your brand by importing custom images
tive—including sliders, dials and buttons—without any need ‫ ڧ‬Design directly for MPLAB Harmony Graphics Primitive Library
for you to understand the underlying graphics code.
SEGGER emWIN Pro
If you prefer, you may choose to use SEGGER emWin Pro as
aW]ZOZIXPQK[TQJZIZaIVL\ISMIL^IV\IOMWNQ\[ZWJ][\WߥMZQVO
of widgets and shape drawings for applications that operate
_Q\PIOZIXPQKIT4+,1\Q[:<7;QVLMXMVLMV\ZMY]QZM[WVTaIV
ANSI-compliant C compiler and enables you to take advantage
of the SEGGER development tool chain and utilities. This library
is available within MPLAB Harmony under license and available
for free for use with our 16- and 32-bit PIC® MCUs and 16-bit
dsPIC® Digital Signal Controllers (DSCs). Documentation and
some demonstration examples are also available to assist you
with your GUI development.

Ready to Create?
To help jumpstart your GUI development, our Multimedia
If you have used MPLAB Harmony v.1x to create GUIs in the
Expansion Board II (DM320005-2) is a highly integrated,
past, you should note that the latest release, MPLAB Harmony
KWUXIK\ IVL ߧM`QJTM XTI\NWZU \PI\ _WZS[ _Q\P W]Z PIC32MZ
v2.02, incorporates a completely new graphics library and
Embedded Connectivity with FPU (EF) Starter Kit. It features
WߥMZ[ aW] M^MV UWZM NMI\]ZM[ IVL IL^IV\IOM[ QV KZMI\QVO
a 4.3" WQVGA PCAP touch display, an on-board 24-bit stereo
GUIs. A migration guide is provided within MPLAB Harmony
audio codec, a VGA camera, an 802.11 b/g wireless module,
v2.02 that will assist you in enabling your designs in the new
a Bluetooth® HCI transceiver, a temperature sensor, a microSD
framework. Download the Migration FAQs for additional infor-
slot and an analog accelerometer.
mation or contact your nearest 3OIXUINOVYGRKYUߡIK if you
need more assistance. If you’re ready to give your next GUI design the maximum
impact, simply download MPLAB Harmony software frame-
/TJ[YZX_‫ڜ‬Y,OXYZ-;/:UURLUX)UTߟM[XOTM?U[X work and MPLAB Harmony Graphics Composer MPLAB X plug
Own Display in for free from the MPLAB Harmony web pageAW]_QTTߦVLI
<PMVM_,Q[XTIa5IVIOMZQ[\PMQVL][\Za‫ߦ[ڞ‬Z[\/=1JI[ML\WWT number of other helpful resources there too, including training
for prototyping new and non-standard displays that are not materials, documentation and information on third-party tools
[]XXWZ\MLQV584)*0IZUWVa1\JZQVO[ZMTM^IV\KWVߦO]ZI\QWV and support to make it even easier to get started.
settings to one screen to speed up the prototyping of new

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

10 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Engineers’ Guide to Microchip Technology

Ready for Action

PIC®4PJYVJVU[YVSSLYZ^P[O*VYL0UKLWLUKLU[7LYPWOLYHSZ6ќLYH5L^3L]LSVM
Integration to Take on Tough Design Challenges

E
mbedded systems have become an indispensable part of The need to meet these market demands puts embedded
life. The latest technological innovations have opened up designers under constant pressure to innovate. Their go-to
exciting new business opportunities for industry giants as ZVS\[PVU[OLTPJYVJVU[YVSSLY4*<HSZVT\Z[RLLW\W^P[O[OL
^LSSHZZ[HY[\WZ,U[O\ZPHZ[PJHIV\[[OLWV[LU[PHSVMZPNUPÄJHU[ JOHSSLUNLVML]VS]PUNZ`Z[LTULLKZ6]LY[OLWHZ[ZL]LYHS`LHYZ
ÄUHUJPHSZ\JJLZZTHU`JVTWHUPLZHYLTV[P]H[LK[VPU]LZ[PU 4PJYVJOPW OHZ ILLU PU[YVK\JPUN 70*® 4*<Z ^P[O UL^ SL]LSZ
developing future products that feature these emerging tech- of integration to deliver the right combination of features and
nologies. This creates intense competition in many market M\UJ[PVUHSP[`HKLZPNULYULLKZMVYHZWLJPÄJWYVQLJ[;OLZLUL^
ZLJ[VYZ;VKPɈLYLU[PH[LPU[OPZJYV^KLKZWHJLJVTWHUPLZULLK 70* 4*<Z ^P[O VUJOPW *VYL 0UKLWLUKLU[ 7LYPWOLYHSZ *07Z
[V LUOHUJL [OLPY WYVK\J[ VɈLYPUNZ HUK JVZ[VW[PTPaL VɈLYÅL_PIPSP[`ZJHSHIPSP[`HUKLUOHUJLKWLYMVYTHUJL^OPSLZ[PSS
their designs. remaining low-power and cost-competitive solutions for many
HWWSPJH[PVUZ:VTLVM[OLZWLJPHSH[[YPI\[LZVM*07ZPUJS\KL!
N
INDEPE DENCE ࠮ 0UKLWLUKLU[TVK\SLZ[OH[M\UJ[PVU^P[OV\[[OLJVUZ[HU[
RE
CO HI
G Z\WLY]PZPVUVM[OLJLU[YHSWYVJLZZPUN\UP[*7<
H
TY

TH

࠮ +LKPJH[LKOHYK^HYLMVYOPNO[OYV\NOW\[HUKULHYaLYVSH[LUJ`
LI

RO
BI

࠮ Direct interaction with other on-chip peripherals to implement


ALA

UG
HPU
IBILITY/SC

ZLSMZ\Z[HPUPUNJSVZLKSVVWZ`Z[LTZVɈLYPUNOPNOLYPU[LNYH[PVU
T

࠮ 0U[LSSPNLU[TVK\SLZ[OH[YLX\PYLHSTVZ[UVWYVJLZZVY
resources to function
FLEX

ON

࠮ Low power consumption with the capability to operate in


ATI
GR

WV^LYZH]PUNTVKLZTHRPUN[OLTPKLHSMVYSV^WV^LYKLZPNUZ
TE
LO

IN
W

PO G *07Z HYL KLZPNULK PU OHYK^HYL [V JVZ[ LɈLJ[P]LS` PTWSLTLU[


W HI
ER
the target functionality. The incremental cost of designing a
I N T E L LI G E N C E
Z`Z[LTM\UJ[PVU\ZPUN*07ZPZT\JOSV^LY[OHU[OH[VMZPTPSHY
PTWSLTLU[H[PVUZZ\JOHZ\ZLYÄYT^HYLYLX\PYPUN-SHZO9(4
Core Independent Peripherals necessary processor bandwidth and external components.

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 11
Engineers’ Guide to Microchip Technology

*07Z HSSV^ 70* 4*<Z [V WLYMVYT L_[YLTLS` JVTWSL_ HUK


KLKPJH[LK[HZRZ^P[OSP[[SL[VUVPU[LYHJ[PVU^P[O[OL*7<;OPZ
lowers overall power consumption while also freeing up the
*7<[VWLYMVYTV[OLY[HZRZ0UHKKP[PVUYLWSHJPUNVɈJOPWKPZ-
crete components with these integrated peripherals results in
ZPNUPÄJHU[)64JVZ[ZH]PUNZ)`MYLLPUN\WWYVJLZZVYYLZV\YJ-
LZ*07ZLUHISLWHYHSSLSWYVJLZZLZ[VILPTWSLTLU[LK[VNL[OLY
^P[O [OL *7< ^P[OV\[ [OL ULLK MVY H JVZ[S` 4*< ^P[O OPNOLY
processing power.

Peripheral Integration
*07Z HYL MV\UK VU THU` 70* 4*<Z PUJS\KPUN 70* 70*
70*KZ70*HUK70*44MHTPSPLZ:VTLVM[OL*07ZH]HPS- Figure 2: Flash and RAM Requirements for Encryption/Decryption
able on some families of 16-bit PIC24 MCUs and dsPIC® Digital
Signal Controllers+:*ZHUK32-bit PIC32MM MCUs include
H7LYPWOLYHS;YPNNLY.LULYH[VY7;.*VUÄN\YHISL3VNPJ*LSSZ (Z H OHYK^HYL TVK\SL [OL JY`W[V LUNPUL OHZ H ]LY` OPNO
*3* JY`W[V LUNPUL ^P[O 9HUKVT 5\TILY .LULYH[VY 95. throughput as compared to a similar implementation in soft-
OPNOZWLLKJVTWHYH[VYZ^P[OISHURPUNHUKKPNP[HSÄS[LYM\UJ[PVUZ ^HYL 0[ JHYYPLZ V\[ LUJY`W[PVU HUK KLJY`W[PVU HWWYV_PTH[LS`
HUK4\S[PWSL*HW[\YL*VTWHYL7>44**7 [LU [PTLZ MHZ[LY [OHU H ZVM[^HYL JY`W[V PTWSLTLU[H[PVU ^OPSL
consuming almost the same amount of power. This improves
[OLV]LYHSSLULYN`LɉJPLUJ`VM[OLHWWSPJH[PVUI`HWWYV_PTH[L-
ly ten times. These are important factors for power-sensitive
HWWSPJH[PVUZ [OH[ YLX\PYL OPNOS` ZLJ\YL KH[H [OYV\NOW\[ :PUJL
[OPZ*07PZHSZVJHWHISLVMVWLYH[PUNPUSV^WV^LYTVKLZ^OLU
[OL *7< PZ PU Z[HUKI` P[ YLK\JLZ Z`Z[LT WV^LY JVUZ\TW[PVU
PU IH[[LY`WV^LYLK 0U[LYUL[ VM ;OPUNZ 0V; HWWSPJH[PVUZ [OH[
YLX\PYLZLJ\YP[`

System Capability Extension and Cost Savings


(Z KLZPNU YLX\PYLTLU[Z L]VS]L *07Z JHU L_[LUK Z`Z[LT
JHWHIPSP[PLZ[VLUHISLTVYLPUUV]H[P]LKLZPNUZ;OL7LYPWOLYHS
;YPNNLY .LULYH[VY 7;. PZ H \ZLYWYVNYHTTHISL ZLX\LUJLY
that generates triggers with complex inputs to coordinate the
operation of other peripherals and addresses multiple system
ULLKZ 0[ YLK\JLZ [OL ULLK MVY *7< PU[LY]LU[PVU HUK VɈLYZ
[OLÅL_PIPSP[`HUKZJHSHIPSP[`[VPU[LYMHJLT\S[PWSLWLYPWOLYHSZ
PU[V H JSVZLKSVVW Z`Z[LT L_[LUKPUN [OL JHWHIPSP[` VM [OL
Figure 1: Peripheral Integration in New PIC® Microcontrollers overall system.

;OL7;.JHUILLɈLJ[P]LS`\ZLKPUPTWSLTLU[PUNHWWSPJH[PVUZ
Enhanced Performance Using CIPs SPRLPU[LNYH[LK7V^LY-HJ[VY*VYYLJ[PVU7-*PUTV[VYJVU[YVS
*07Z YLK\JL WYVJLZZVY YLZV\YJL YLX\PYLTLU[Z HUK HSSV^ MVY ;OPZ HWWSPJH[PVU YLX\PYLZ [OYLL 7>4 JOHUULSZ [V JVU[YVS [OL
[OL PTWSLTLU[H[PVU VM WHYHSSLS WYVJLZZLZ ^OPJO SLHKZ [V TV[VY M\UJ[PVUPUN HUK HU HKKP[PVUHS 7>4 [V JVU[YVS [OL 7-*
LUOHUJLK WLYMVYTHUJL -VY L_HTWSL [OL JY`W[V LUNPUL PZ VWLYH[PVU ( ZPTWSL 6\[W\[ *VTWHYL 6* WLYPWOLYHS JHU IL
JHWHISLVMZ\WWVY[PUN(,:+,:HUK+,:Z`TTL[YPJLUJY`W- \ZLK[VH\NTLU[[OLU\TILYVM7>4JOHUULSZH]HPSHISLVU[OL
[PVUHUKKLJY`W[PVU 0TWSLTLU[PUN[OLZLYV\[PULZPUZVM[^HYL KL]PJLIL`VUK[OLOPNOZWLLK7>4JOHUULSZ0UH7-*HWWSP-
YLX\PYLZ HIV\[ ¶ 2) VM -SHZO HUK ¶ )`[LZ VM 9(4 JH[PVUOV^L]LYJVTWSL[PUN[OLMVSSV^PUN[HZRZ^P[OPUHNP]LU
;OL JY`W[V LUNPUL *07 YLX\PYLZ HSTVZ[ UV -SHZO VY 9(4 ZV ^PUKV^VM[PTLPZ]LY`PTWVY[HU[!
these resources are available to perform other functions
࠮ :`UJOYVUPaPUNTV[VYJVU[YVS7>4HUK7-*7>4
YLX\PYLKI`[OLHWWSPJH[PVU
࠮ ;YPNNLYPUN(UHSVN[V+PNP[HS*VU]LY[LY(+*HJ[PVUZ
HUKZ^P[JOPUN(+*JOHUULSZ\ZLKMVYTV[VYJVU[YVSHUK
7-*ZPNUHSZ

12 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
PIC18F “K42” Family
MCUs For Every Space

The PIC18F “K42” family features the highest integration of Core Independent
Peripherals (CIPs), high-resolution analog, Direct Memory Access (DMA) and
vectored interrupts for fast processing. CIPs allow many functional tasks to
be done in hardware—reducing code, validation time, core overhead and
power consumption.
Highlights
ϯ Largest total memory of any 8-bit PIC® MCU
ϯ Up to 128 KB Flash ϯ Up to 8 KB SRAM
ϯ DMA controller for fast data transfers
ϯ Vectored interrupts for fast response times, reducing software overhead
ϯ 12-bit ADC with computation
ϯ Low-power features and multiple communication interfaces
ϯ Quick code development with the MPLAB®*VKL*VUњN\YH[VY

www.microchip.com/K42
The Microchip name and logo, the Microchip logo, MPLAB and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks are the property of their
registered owners. © 2017 Microchip Technology Inc. All rights reserved. 6/17
DS30010161A
Engineers’ Guide to Microchip Technology

)V[OVM[OLZLYLX\PYLTLU[ZHYLLɈLJ[P]LS`OHUKSLKI`HZPUNSL +TNGTIOTM6XUJ[IZ5ߞKXOTMY
7;.TVK\SL>OLU[OL7;.PZ\ZLK[VLUHISL[OLPU[LNYH[PVUVM ;V JV\U[LY PU[LUZL JVTWL[P[PVU THU` JVTWHUPLZ HYL VU H
7-*^P[OTV[VYJVU[YVSH[^VJOPWKLZPNUPZLSPTPUH[LK^OPJO X\LZ[[VKPɈLYLU[PH[L[OLPYWYVK\J[ZHUKLUOHUJL[OLPYWYVK\J[
ZPNUPÄJHU[S`YLK\JLZ[OLZ`Z[LTSL]LSJVZ[ VɈLYPUNZ HS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HYH[VYKVLZUV[OH]L[OLSV^LY
ZHTWSPUNYH[LSPTP[H[PVUVMHUVYTHS(+*P[LSPTPUH[LZ[OLULLK
MVYHOPNOZWLLK(+*PU[OL4*<

(UV[OLY L_HTWSL VM WYVK\J[ LUOHUJLTLU[ PZ PTWYV]PUN [OL


accuracy of utility energy meters. The accuracy of energy mea-
surement in a utility meter depends on the accuracy of monitor-
PUN[OLWOHZLKPɈLYLUJLIL[^LLU]VS[HNLHUKJ\YYLU[ZPNUHSZ[V
calculate the load power factor. The most common method of
TLHZ\YPUN[OLWOHZLKPɈLYLUJLIL[^LLU[^VZPNUHSZPZI`JVT-
WHYPUN [OL [PTL SHWZL IL[^LLU [OL [^V ZPNUHSZ» aLYV JYVZZPUN
HUKL_[YHWVSH[PUN[OLWOHZLHUNSLZ-VYHUHJJ\YH[LLZ[PTH[LVM
[OL WOHZL KPɈLYLUJL [OL ZHTWSPUN YH[L ZOV\SK IL Z\ɉJPLU[S`
OPNO [V TPUPTPaL [OL L_[YHWVSH[PVU LYYVYZ [OH[ VJJ\Y ^P[O H
Figure 3: 16-bit XLP PIC®4*<Z6ߜLY)LZ[PU*SHZZ
OPNOZWLLK (+* ;OL ZJLUHYPV NL[Z L]LU TVYL JVTWSPJH[LK
7V^LY:WLJPߝJH[PVUZ
^OLUHZPUNSL(+*ULLKZ[VZHTWSLHSS[OYLLZPNUHSZ·]VS[HNL
J\YYLU[HUKUL\[YHS·PUH[PTLKP]PZPVUT\S[PWSL_PUNZJLUHYPV0U
;OLZL?374*<ZVɈLYHYHUNLVMSV^WV^LYTVKLZ[VHKKYLZZ [OPZ JHZL [OL LɈLJ[P]L ZHTWSPUN YH[L YLX\PYLTLU[
]HYPV\Z KLZPNU YLX\PYLTLU[Z ;OL ?37 TVKLZ RLLW KPɈLYLU[ increases threefold.
YLZV\YJLZ VM [OL 4*< HJ[P]L HZ JVUÄN\YLK I` [OL KLZPNU-
LY ^OPSL [OL YLTHPUPUN TVK\SLZ HYL WV^LYLK KV^U ;V HPK PU
HJOPL]PUN H SV^WV^LY PTWSLTLU[H[PVU [OL *07Z PU ?37 70*
4*<ZHSZVJVUZ\TLTPUPTHSWV^LY

Figure 5: Phase Shift Is Measured in a Utility Meter to Determine


Power Factor

*07Z Z\JO HZ [OL *VUÄN\YHISL 3VNPJ *LSS *3* OLSW PTWYV]L
[OLHJJ\YHJ`VMWOHZLKPɈLYLUJLTLHZ\YLTLU[I`L_[LUKPUNP[Z
JHWHIPSP[`[VPTWSLTLU[[OLOHYK^HYLWOHZLKL[LJ[VY(JVTIP-
UH[PVU VM [OL *3* HUK [OL 0UW\[ *HW[\YL 0* WLYPWOLYHS JHU
TLHZ\YL[OLWOHZLKPɈLYLUJLIL[^LLU[^VZPNUHSZVM[OLZHTL
Figure 4: Power Savings Modes of XLP PIC® MCUs

14 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Engineers’ Guide to Microchip Technology

MYLX\LUJ` ;OPZ PTWSLTLU[H[PVU VɈLYZ IL[[LY YLZVS\[PVU HUK HUK PU[LNYH[LK VWLYH[PVUHS HTWSPÄLYZ PU H ZPUNSL JOPW ;OLZL
NP]LZSLHKSHNPUMVYTH[PVUHZ^LSS0[L_[LUKZ[OLM\UJ[PVUHSP[`VM integrated analog modules eliminate the need to create a
*3*LUHISLKLUOHUJLTLU[Z^P[OV\[[OLULLK[VTPNYH[L[VH T\S[PJOPW KLZPNU ( ZPUNSLJOPW ZVS\[PVU ZPNUPÄJHU[S` YLK\JLZ
TVYLL_WLUZP]LOPNOLYWLYMVYTHUJL4*< Z`Z[LTSL]LSJVZ[HUKZH]LZ7*)YLHSLZ[H[LMVYIL[[LYVW[PTP-
aH[PVU VM ZWHJLJVUZ[YHPULK KLZPNUZ Z\JO HZ ^LHYHISLZ HUK
sensor applications.

6UJOPW*07ZHSZVOLSWPUPTWSLTLU[PUNL_[LUKLKHWWSPJH[PVUZ
HUKVɊVHKPUNTHU`VM[OLKL[LYTPUPZ[PJYV\[PULZMYVT[OL*7<
(ZHYLZ\S[HUHWWSPJH[PVUPTWSLTLU[H[PVU\ZPUN*07ZYLX\PYLZ
ML^LYWYVJLZZVYYLZV\YJLZSPRLIHUK^PK[O-SHZOHUK9(4)`
YLTV]PUN [OL SVHK MYVT [OL *7< *07Z LUHISL T\S[PWSL WHYHS-
lel processes to be implemented without expensive multi-core
4*<Z (Z OHYK^HYL TVK\SLZ *07Z YLZWVUK MHZ[LY [V Z[PT\SP
and implement a target function with a higher throughput.
These attributes eliminate the need to migrate to higher-mem-
VY` OPNOLYWYVJLZZPUNJHWHIPSP[` 4*<Z [OLYLI` VW[PTPaPUN
design costs.
Figure 6: The Phase Detector IC Helps Improve the Accuracy of
7OHZL+PߜLYLUJL4LHZ\YLTLU[Z
(Z [OL YLX\PYLTLU[Z HUK I\ZPULZZ JOHSSLUNLZ MVY LTILKKLK
Z`Z[LTZJVU[PU\L[VL]VS]L[OL*VYL0UKLWLUKLU[7LYPWOLYHSZ
PU V\Y 70* 4*<Z ^PSS IL YLHK` [V UV[ VUS` TLL[ `V\Y WYLZLU[
Design Optimization YLX\PYLTLU[ZI\[HSZV[VOLSW`V\VɈLYPUUV]H[P]LUL^KLZPNUZ
(S[OV\NO KPɈLYLU[PH[PVU TH` IL H WYPTHY` MVJ\Z VM THU` PU [OL M\[\YL =PZP[ www.microchip.com to discover how our
KLZPNULYZ Z`Z[LTSL]LS JVZ[ VW[PTPaH[PVU JHUUV[ IL JVT- wide range of products and outstanding technical support can
WYVTPZLK 70* 4*<Z VɈLY H ]HYPL[` VM MLH[\YLZ [V HZZPZ[ ^P[O OLSW`V\Z[H`HOLHKVM[VTVYYV^»ZKLZPNU[YLUKZ
this goal. Some include highly integrated analog modules
PUJS\KPUNHUVUJOPWZPNTHKLS[H(+*OPNOZWLLK:(9(+*

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 15
Engineers’ Guide to Microchip Technology

So Many Choices

*46:]Z)PWVSHY6WLYH[PVUHS(TWSPÄLYZ!>OPJOPZ)LZ[MVY4`(WWSPJH[PVU&

T
oday’s system designer has many choices when it comes HIPWVSHY[YHUZPZ[VY[OLJVUK\J[PVUWH[OPZI\YPLKKV^UPUZPKL
[V ZLSLJ[PUN VWLYH[PVUHS HTWSPÄLYZ VW HTWZ ;OL [OYLL [OLZPSPJVU6UH*46:[YHUZPZ[VY[OLJ\YYLU[ÅV^PZULHY[OL
largest op amp manufacturers collectively have over Z\YMHJLTHRPUNP[Z\ZJLW[PISL[VKLMLJ[ZPU[OLZ\YMHJLVM[OL
sixteen hundred products from which to choose, and that ZPSPJVU^OPJOPUJYLHZLZ[OLSV^MYLX\LUJ`UVPZL([OPNOLYMYL-
KVLZU»[ PUJS\KL ZWLJPHS[` HTWSPÄLYZ /V^ KVLZ VUL NV HIV\[ X\LUJPLZMUVPZLPZULNSPNPISLHZ[OL^OP[LUVPZLMYVTV[OLY
ZVY[PUN [OYV\NO [OPZ V]LY^OLSTPUN U\TILY VM KL]PJLZ& 6UL ZV\YJLZ ILNPUZ [V KVTPUH[L *46: [YHUZPZ[VYZ OH]L H SV^LY
way to start narrowing down the options is to select the proper [YHUZJVUK\J[HUJLYLSH[P]L[VZPTPSHYS`ZPaLKIPWVSHY[YHUZPZ[VYZ
WYVJLZZ [LJOUVSVN` 4VZ[ THU\MHJ[\YLYZ JSLHYS` SHILS HU VW ^OPJOYLZ\S[ZPUOPNOLYIYVHKIHUKUVPZL0UNLULYHSIPWVSHYVW
HTW HZ *46: IPWVSHY VY L]LU )P*46: I\[ ^OH[ KVLZ [OPZ HTWZOVSKHUPUOLYLU[HK]HU[HNLV]LY*46:^OLUP[JVTLZ[V
TLHU^P[OYLNHYK[V[OLHJ[\HSHWWSPJH[PVU& UVPZLWLYMVYTHUJL

Power Consumption <URZGMK5ߞYKZ


*46:PZRUV^UMVYSV^LYWV^LYJVUZ\TW[PVUHZ[OL[YHUZPZ[VYZ (UV[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YTZ VM ÅPJRLY VY M UVPZL *46: [YHUZPZ[VYZ OH]L ^VYZL Price/Packaging
SV^MYLX\LUJ` UVPZL [OHU IPWVSHY [YHUZPZ[VYZ ([ SV^ MYLX\LU- /PZ[VYPJHSS`*46:PZRUV^UHZHTVYLJVZ[LɈLJ[P]L[LJOUVSVN`
JPLZ[OPZUVPZLPZKVTPUH[LKI`PYYLN\SHYP[PLZPU[OLJVUK\J[PVU ;OPZPZTHPUS`K\L[V[YHKP[PVUHSS`SV^LY^HMLYJVZ[ZKYP]LUI`
WH[OHUKUVPZLK\L[V[OLIPHZJ\YYLU[Z^P[OPU[OL[YHUZPZ[VYZ0U [OLOPNO]VS\TLVM*46:SVNPJJOPWZ+LZWP[L[OLSV^LY^HMLY

16 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Low-Power, High-Precision
5VKXGZOUTGR'SVROߟKXY
Enable Extended Battery Life
and High Accuracy

Microchip’s low-power Complementary Metal–Oxide–Semiconductor (CMOS)


technology and implementation of non-volatile memory for in-package trimming
LUHISL[OL4*7HTWSPњLYZϦL_[YLTLS`SV^VMMZL[;OPZTPUPTPaLZ
LYYVYLZWLJPHSS`H[OPNOLYNHPUZ(KKP[PVUHSS`^P[OHUVWLYH[PUN]VS[HNLYHUNLVM
=[V=[OLHTWSPњLYZJHUY\UVMMVM[^V=IH[[LY`JLSSZ^P[OM\SSIH[[LY`
\[PSPaH[PVU;OLPYSV^WV^LYJVUZ\TW[PVUL_[LUKZIH[[LY`SPMLHUK[OLPYYHPS[VYHPS
input/output structure enables greater dynamic range and better performance
HJYVZZ[OLLU[PYLVWLYH[PUN]VS[HNLYHUNL

Key features:
ϯ 4H_PT\TVMMZL[#|=
ϯ 3V^X\PLZJLU[J\YYLU[ U([`WPJHS
ϯ :WLJPњLKVWLYH[PVUKV^U[V=

www.microchip.com/MCP6031
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks are the property of their registered
owners. © 2017 Microchip Technology Inc. All rights reserved. 8/17
DS20005831A
Engineers’ Guide to Microchip Technology

JVZ[ZMVYHNP]LUJ\YYLU[JHWHIPSP[`*46:[YHUZPZ[VYZ[HRL\W of the circuitry and will end up resulting in an error voltage at the
TVYL ZPSPJVU HYLH [OLU IPWVSHY [YHUZPZ[VYZ YLZ\S[PUN PU H SHYNLY V\[W\[VM[OLHTWSPÄLY;OLSLZZIPHZJ\YYLU[[OLIL[[LYHUKPU
ZPSPJVU KPJL :V L]LU [OV\NO [OL ^HMLY JVZ[Z TH` IL SV^LY [OPZYLNHYK*46:OHZHKPZ[PUJ[HK]HU[HNL
[OLYLHYLSLZZKPLWLY^HMLY[O\ZULNH[PUN[OLJVZ[ILULÄ[0U
the end, the cost structure of these two process technologies =NOIN6XUIKYYOY(KYZLUX'SVROߟKXY%
PZ]LY`ZPTPSHY ;OPZ PZ H X\LZ[PVU [OH[ OHZ ILLU KLIH[LK PU [OL WHZ[ HUK PZ
L_WLJ[LK [V JVU[PU\L [V IL H WVPU[ VM KPZJ\ZZPVU MVY `LHYZ [V
(SHYNLYZPSPJVUZVS\[PVUHSZVSPTP[ZHTHU\MHJ[\YLY»ZWHJRHNPUN JVTL )PWVSHY HTWSPÄLYZ HYL NYV\UKLK PU OPZ[VY` I\[ *46:
VW[PVUZ;OPZJHUILHZPNUPÄJHU[SPTP[H[PVUHZZ`Z[LTKLZPNULYZ HTWSPÄLYZ VɈLY ZVTL PUOLYLU[ HK]HU[HNLZ )P*46: WYVJLZZ-
HYLJVUZ[HU[S`[HZRLK^P[OWSHJPUNTVYLWLYMVYTHUJLHUKM\UJ- LZ HYL [OL YLSH[P]L UL^JVTLYZ [V [OL ÄLSK I\[ [OPZ O`IYPK
[PVUHSP[`PU[VZTHSSLYHUKZTHSSLYMVYTMHJ[VYZ:L]LYHSWHJRHN- [LJOUVSVN` [HRLZ [OL ILZ[ VM IV[O ^VYSKZ HUK WYV]PKLZ Z\WL-
LZ Z\JO HZ [OVZL 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[V\Y5VKXGZOUTGR'SVROߟKXY*KYOMT
IPWVSHY[YHUZPZ[VYZJHUILVYKLYZVMTHNUP[\KLOPNOLY;OPZIPHZ Center[VSLHYUHIV\[V\YWVY[MVSPVVMWYVK\J[Z
current is converted into a voltage through the input resistance

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

18 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Engineers’ Guide to Microchip Technology

Solving the
Security Conundrum

How Hardware Cryptography Solutions for Securing Internet of Things Nodes Can
Minimize Your Embedded Design Costs

S
ecuring the Internet of Things (IoT) is a hot topic right now, the ecosystem with limited or no human interaction. In order to
especially as new instances of security breaches come do this, their cryptographic credentials must be stored in the
to light. Stories of hackers taking control of a vehicle that device itself. Since edge nodes are often physically accessible,
^HZ JY\PZPUN VU [OL OPNO^H` H[  TPSLZ WLY OV\Y VM H Å`PUN these credentials are in danger of exposure to hackers.
WSHULILPUNOHJRLK]PHP[ZPUÅPNO[LU[LY[HPUTLU[Z`Z[LTHUKVM
There are three major pillars for securing IoT designs:
smart meters in Spain being compromised for energy theft have
authentication, encryption, and secure key storage. While
helped to make IoT security a huge concern for consumers as
authentication and encryption are equally important building
^LSS HZ LTILKKLK KLZPNULYZ ;OL ]HS\L HUK ILULÄ[ VM ZTHY[
blocks in the security equation, it’s important to recognize that
connected devices has been overshadowed by uncertainty
encryption doesn’t ensure security in IoT applications. Since
about the security issues that may come with them.
it is generally too daunting and time consuming to hack into
:LJ\YP[` YLX\PYLTLU[Z MVY [OL 0V; HYL YHKPJHSS` KPɈLYLU[ MYVT complex authentication and encryption systems, the majority
those of traditional embedded designs because small, intel- of hacks are usually implemented by using imposter devices
ligent IoT nodes must be able to authenticate themselves to to break into the areas where secret keys are stored. The loss
of these secret keys severely impacts the authentication and
encryption processes. In other words, once hackers get a hold
of the keys, the other two protection mechanisms can also be
compromised or breached. Therefore, an IoT system is really
only as strong as the process that is used for the storage of
secret keys.

To address this challenge, embedded design engineers


have two options for implementing security in their IoT proj-
ects: software-based and hardware-based solutions. While
ZVM[^HYLIHZLKZVS\[PVUZOH]L[OLHK]HU[HNLVMÅL_PIPSP[`[OL`
generally don’t meet the needs of IoT systems. Hackers and
spoofers can exploit software bugs to break into a network
The diversity of the IoT world demands a new security paradigm. of devices. Updating the software with patches is a stopgap

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 19
Engineers’ Guide to Microchip Technology

TLHZ\YL [OH[ ZVTL[PTLZ VUS` VɈLYZ H [LTWVYHY` ZVS\[PVU 6U resource-sensitive cloud computing at the other end. It can only
[OLV[OLYOHUKOHYK^HYLIHZLKZ`Z[LTZHYLMHYTVYLKPɉJ\S[ be truly secure when the secret keys are stored in protected
to spoof or hack than software-based systems, making them a hardware. Using security co-processors in a node or gateway
more complete security solution. KLZPNU ^PSS ZHMLN\HYK WYP]H[L RL`Z JLY[PÄJH[LZ HUK V[OLY ZLU-
sitive security data to ensure authentication and protection
against software, hardware and back-door attacks.
The IoT’s Hardware Security
Blueprint
In IoT designs, the authentication and cryptography security
elements need to be implemented fairly early in the develop-
ment cycle. Therefore, it is critical that IoT developers have a
clear understanding of an end-to-end ecosystem for creating a
robust security roadmap. The traditional approach to hardware
security involves building the security stack on top of a micropro-
JLZZVY47<VYTPJYVJVU[YVSSLY4*</V^L]LYHZPNUPÄJHU[ (ZLJ\YP[`JVWYVJLZZVYVYJY`W[VLSLTLU[VߠVHKZ[OL
amount of computing power is required to carry out security authentication tasks from the main MCU
operations. For instance, precious CPU cycles are required to
HJJLSLYH[L[OLH\[OLU[PJH[PVUVMHWWSPJH[PVUZHUKÄYT^HYL(Z ( ZLJ\YP[` JVWYVJLZZVY PZ H JVZ[LɈLJ[P]L HKKP[PVU HUK P[Z
a result, hardware solutions built around a central MPU or MCU crypto elements consume very low power, which is essential
have seen limited success because this compute-intensive in IoT designs. Some other reasons to consider using security
authentication burdens the overall system and eventually slows co-processors include:
KV^U[OLKL]PJLWLYMVYTHUJL(SZVZLJ\YP[`ZVS\[PVUZI\PS[VU
࠮ They are equipped with hardware cryptographic acceleration
top of processors generally store the secret keys into memory,
[VJHYY`V\[Z[YVUNH\[OLU[PJH[PVU^OPSL[OL`VɊVHKJY`W-
which can be accessed by clever hackers via intrusion mecha-
tographic code and math from the central processor of an
nisms like snooping. Security co-processors or crypto elements
IoT node
can help resolve this design conundrum.
࠮ ;OL`ZPTWSPM`[OLTHU\MHJ[\YPUNWYVJLZZI`LɈLJ[P]LS`
dealing with the key provisioning, a process of loading
Enter Security Co-processors ZLJ\YP[`RL`ZHUKV[OLYZLJ\YP[`MLH[\YLZSPRLJLY[PÄJH[LZ
onto a product
( ZLJ\YP[` JVWYVJLZZVY PZ H ZLWHYH[L JOPW [OH[ VɊVHKZ
࠮ ;OL`HYLWYLSVHKLK^P[O\UPX\LRL`ZHUKJLY[PÄJH[LZ[V
security tasks from the main microprocessor or microcontroller
ensure that encryption keys are secure throughout the
while making authentication faster and less taxing on the overall
manufacturing process, which also reduces complexities in
WYVK\J[ KLZPNU 0[Z JY`W[V LSLTLU[Z VɈLY WYV[LJ[PVU HNHPUZ[
manufacturer supply chains
a wide array of security threats including IP theft, cloning,
over-building, reverse engineering and infecting IoT devices ࠮ They replace the traditional approach of using the Hardware
with rogue code. Security Module (HSM), which uses a database approach
to store, protect and manage keys, as well as requires a
(U 0V; UVKL VY NH[L^H` PZ [OL JLU[YHS ULY]V\Z Z`Z[LT [OH[ ZPNUPÄJHU[PU]LZ[TLU[PUPUMYHZ[Y\J[\YLHUKSVNPZ[PJZ
handles a horde of sensors and other “things” at one end and ࠮ They can also replace Trusted Platform Module (TPM) chips,
which have their roots in the computer industry and are not
well-positioned for low-price IoT edge applications; instead
ZLJ\YP[`JVWYVJLZZVYZMHJPSP[H[LJLY[PÄLK0+WSH[MVYTZHUK
can be deployed in IoT node-to-cloud environments, even at
smaller scales

A crypto element allows small, low-cost IoT nodes to implement


strong cryptographic security

20 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
IoT Security Suite
Making the Complex Simple

The IoT Security Suite for the SAMA5D2 MPU enables rapid and easy use of its
advanced security features, such as ARM® TrustZone® technology and hardware
cryptography, without a long learning curve. The suite covers the security
requirements for IoT device manufacturers in a single, easy-to-use package. It
supports storing, encrypting, decrypting and exchanging keys between devices
and applications, and its easy-to-use APIs save you time.

Features SAMA5D2 Xplained Ultra


ϔ 7UXVWHG%RRWϢ9VV[VM;Y\Z[9V;]LYPњLKZ[HY[\W Evaluation Board
(ATSAMA5D2-XULT)
ϔ )LUPZDUH3URWHFWLRQϢ,UJY`W[PVUHUKL_LJ\[PVUVMH\[OLU[PJH[LKњYT^HYL

ϔ 7UXVWHG'HYLFH,'Ϣ<UPX\LKL]PJLJLY[PњJH[L[PLK[V[OL9V;

ϔ 6HFXUH6WRUDJHϢ:LJ\YLZ[VYHNLVMRL`ZJLY[PњJH[LZHUKKH[H

ϔ 6HFXUH&RPPXQLFDWLRQV– Authenticated device pairing and IoT cloud communications

ϔ 6HFXUH)LUPZDUH8SGDWHϢ:LJ\YLS`\WNYHKLњYT^HYLYLTV[LS`

Download the IoT Security Suite Evaluation Kit (free) to get started.

www.microchip.com/SAMA5D2
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. ARM and Cortex are registered trademarks of ARM Limited
(or its subsidiaries) in the EU and other countries. All other trademarks are the property of their registered owners. © 2017 Microchip Technology Inc. All rights reserved. 8/17
DS60001511A
Engineers’ Guide to Microchip Technology

A Complete IoT Security


Primarily targeting cost-sensitive embedded applications, the
ATSHA204AJY`W[VLSLTLU[PZIHZLKVU:/(IHZLKZ`TTL[YPJ
Platform H\[OLU[PJH[PVUHUK\ZLZ2I`[LZ,,7964;OLATAES132A
JY`W[V LSLTLU[ IHZLK VU [OL (K]HUJLK ,UJY`W[PVU :[HUKHYK
Since the IoT security paradigm is somewhat of a moving
(,:IVHZ[Z2I`[LZVMZLJ\YLZLYPHS,,7964[VMHJPSP[H[L
target—with multiple device types communicating with each
faster symmetric authentication.
other over a multitude of wired and wireless interfaces—IoT
developers are relying on the expertise of chip suppliers that The ATECC508A crypto engine uses Elliptic Curve Cryptography
have years of experience in crypto hardware and security stan- (ECC) to create secure, hardware-based key storage for IoT
KHYKZSPRL;74HUK:LJ\YL/HZO(SNVYP[OT:/(4PJYVJOPWUV[ applications that include home automation, industrial network-
VUS`VɈLYZHYHUNLVMZLJ\YP[`JVWYVJLZZVYZ[OH[HYLJVTWH[P- ing and medical. It employs protected key storage as well as
ble with any MPU or MCU, but also powerful development tools hardware acceleration of ECC cipher suites, including mutual
to help you implement security co-processors more quickly into H\[OLU[PJH[PVU ^P[O ,SSPW[PJ *\Y]L +PNP[HS :PNUH[\YL (SNVYP[OT
your embedded systems. ,*+:(HUKRL`HNYLLTLU[^P[O,SSPW[PJ*\Y]L+PɉL/LSSTHU
,*+/[LJOUPX\LZ0[HSZVLUZ\YLZZLJ\YLZ[VYHNLI`\[PSPaPUN
the Hardware-TLS />;3: WSH[MVYT ;OL (;,**( Z\W-
ports the CryptoAuth Xplained Pro evaluation and develop-
ment kit and works with the CryptoAuthLib software support
library. Proving that hardware-based security solutions do not
ULLK [V IL JVZ[S` [OL (;,**( TPUPTPaLZ 0; SHIVY JVZ[Z
HUK SPJLUZPUN MLLZ HUK PZ VɈLYLK H[ ]LY` H[[YHJ[P]L WYPJLZ MVY
high-volume IoT applications.

0M`V\ULLK^VYSKJSHZZHUKJVZ[LɈLJ[P]LLTILKKLKZLJ\YP[`
solutions for your IoT system design, visit the Atmel® Security
ICs web page to learn more about how our hardware-based
security devices can reduce your costs and ensure trust for
every system design.

;OL(;,**(JY`W[VLSLTLU[ߝYZ[NLULYH[LZP[ZV^URL`HUK
then carries out ECC operation to authenticate IoT nodes

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

22 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Optimize Your Power
Delivery Solutions
UPD360 - USB Power Delivery Controller

4PJYVJOPWϦZ7V^LY+LSP]LY`7+*VU[YVSSLY<7+PZH<:)0-JLY[PњLK<:)
Type-C™7+*VU[YVSSLY<7+PU[LNYH[LZ[OLM\UJ[PVUHSISVJRZYLX\PYLKMVY
<:);`WL*HUK7+JVTT\UPJH[PVUZ^OPJOPUJS\KLZ=CONN-,;ZHUKWVY[WV^LY
JVU[YVSSLYZ<7+JHUVWLYH[LPUHZ[HUKHSVULTVKLVYHJVTWHUPVUTVKL
PU[LYMHJPUN[V4*<ZLTILKKLKJVU[YVSSLYZVY<:)O\IZV]LY02C/SPI interface.
<7+JHUILKLZPNULKPU[VHWWSPJH[PVUZ[OH[YLX\PYL<:)JVUULJ[P]P[`
HS[LYUH[LWYV[VJVSZ]Pa+PZWSH`7VY[HUKTHUHNLWV^LYHZH:V\YJLVY:PUR\W
to 100 W over USB Type-C connectors.
Highlights
ϯ USB Type-*HUKWV^LYKLSP]LY`M\UJ[PVUHSP[`
ϯ 0U[LNYH[LKWV^LYZ^P[JO
ϯ 0U[LNYH[LK=CONN FETs
ϯ +LHKIH[[LYy support
ϯ I2C/SPI interface

www.microchip.com/UPD360
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. USB Type-C and USB-C are trademarks of the USB
Implementers Forum. All other trademarks are the property of their registered owners. © 2017 Microchip Technology Inc. All rights reserved. 10/17
DS00002566A
Engineers’ Guide to Microchip Technology

Suite Success

Microchip’s Digital Power Design Suite Guides Development of Complex, Intelligent


Power Supplies

D
igital power designs can be challenging, but Microchip
has you covered. Our Digital Power Design Suite, which
supports applications using our dsPIC33 “GS” family of
Digital Signal Controllers, is a set of software tools and design
examples to make your development process easy. The Digital
Power Design Suite includes four packages: the Digital Com-
pensation Design Tool (DCDT), MPLAB® *VKL *VUÄN\YH[VY
(MCC), Microchip Compensator Libraries and Design Examples.

This combination of resources provides you with the tools and


guidance you need to develop complete digital power designs.
After your initial powertrain and feedback circuit has been
KLÄULK[OL+*+;JHUIL\ZLK[VHUHS`aL[OLZ`Z[LT»ZJOHYHJ-
[LYPZ[PJZHUKNLULYH[LJVLɉJPLU[Z[VIL\ZLKI`[OLJVTWLU-
ZH[VYÄYT^HYL+L]PJLPUP[PHSPaH[PVUJVKLJHUILNLULYH[LK^P[O
Z`Z[LT 0[ HSSV^Z `V\ [V HUHS`aL JSVZLKSVVW WLYMVYTHUJL ]PH
[OL OLSW VM 4** HUK [OL ÄUHS ÄYT^HYL JHU IL JYLH[LK ^P[O
)VKLWSV[ZHUK]LYPM`Z[HIPSP[`I`\ZPUN[OL+*+;»ZYVV[SVJ\Z
some help from the code examples and the code generated
and Nyquist plots. Once the desired performance is achieved,
from MCC and the DCDT. Here is a brief overview of each of the
[OL+*+;^PSSH\[VTH[PJHSS`JHSJ\SH[L[OLJVTWLUZH[VYJVLɉ-
elements of the Digital Power Design Suite.
JPLU[Z HUK ZJHSPUN WHYHTL[LYZ HUK NLULYH[L ZVM[^HYL ÄSLZ [V
IL\ZLK^P[O4PJYVJOPW»Z:47:*VU[YVS:VM[^HYL3PIYHYPLZ;OL
Digital Compensator Design Tool (DCDT) DCDT enables you to:
Available as a free plug-in for MPLAB® X Integrated
Development Environment (IDE), the Digital Compensator ࠮ (UHS`aLWSHU[HUKMLLKIHJR[YHUZMLYM\UJ[PVUZ
Design Tool (DCDT) is a topology-independent Graphical User ࠮ Design a controller (PID, 2P2Z, 3P3Z, etc.)
0U[LYMHJL.<0[OH[ZPTWSPÄLZ[OLV]LYHSSWYVJLZZVMKL[LYTPUPUN
࠮ Migrate analog type II and type III compensators to digital
[OLKPNP[HSJVTWLUZH[VYJVLɉJPLU[ZHUKHUHS`aPUN[OLJVU[YVS
࠮ (UHS`aLSVVWNHPU
system performance. The DCDT incorporates all feedback gains
and delays to provide the most accurate model of the control ࠮ ;\ULHJVU[YVSSLYHUKUVYTHSPaLJVLɉJPLU[Z

24 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Engineers’ Guide to Microchip Technology

0[»ZLHZ`[VNL[Z[HY[LK^P[O[OL+*+;WS\NPU^P[OPU473()? Microchip Compensator Libraries


IDE. Simply select the “Tools” menu and click on “Plugins”. Then The SMPS Control Library JVU[HPUZM\UJ[PVUISVJRZVW[PTPaLK
click the “Available Plugins” tab, select the Digital Compensator for speed, code and RAM usage in dsPIC33F/dsPIC33E
Design Tool and click “Install”. DSCs. The library functions are designed to be used within an
HWWSPJH[PVU MYHTL^VYR WYV]PKPUN LɉJPLU[ HUK ÅL_PISL PTWSL-
362'()UJK)UTߟM[XGZUX3)) mentation of the control of an SMPS application. The user-
362'( )UJK )UTߟM[XGZUX (MCC) is a free, graphical developed SMPS application interfaces to the DSC peripherals
programming environment that supports 8-bit, 16-bit and while using function calls into this library to perform majority of
32-bit PIC® microcontrollers. It generates seamless, easy-to- the time-critical operations.
understand C code to be inserted into your project. Using
HU PU[\P[P]L PU[LYMHJL P[ LUHISLZ HUK JVUÄN\YLZ H YPJO ZL[ VM Design Examples
WLYPWOLYHSZHUKM\UJ[PVUZZWLJPÄJ[V`V\YHWWSPJH[PVU4**PZ 4PJYVJOPW VɈLYZ THU` 0U[LSSPNLU[ 7V^LY YLMLYLUJL KLZPNU
incorporated into both the down- examples that include details of the hardware design and board
loadable MPLAB X IDE and the layout, as well as full source code as part of the design package.
cloud-based MPLAB Xpress IDE In addition to these full application examples, many other code
so you can quickly get started with examples and application notes are available on our website.
your project development.
:V [OLYL»Z UV ULLK [V ^VYY` HIV\[ HKKPUN KPNP[HS JVU[YVS [V
your next power conversion project. Microchip is here to
help you succeed. To learn more, visit our Intelligent Power
Design Center.

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 25
Engineers’ Guide to Microchip Technology

The Coax Advantage

0TWSLTLU[PUNH*VZ[,ѝJPLU[9VI\Z[HUK:JHSHISL7O`ZPJHS3H`LY:VS\[PVUMVY
/PNO:WLLK5L[^VYRLK(\[VTV[P]L0UMV[HPUTLU[:`Z[LTZ

H
istorically, high-bandwidth In-Vehicle Infotainment (IVI) To respond to the market’s demand for a lower-cost IVI
systems with data rates higher than 100 Mbps have been WO`ZPJHSSH`LY[OH[PZZ[PSSJHWHISLVMTLL[PUNJOHSSLUNPUNH\[V-
VɈLYLKPUOPNOLUKJHYZ/V^L]LYHUPUJYLHZPUNU\TILY TV[P]LYLX\PYLTLU[ZHUL^Z[HUKHYKPaLKWO`ZPJHSSH`LYMVY0=0
VM LJVUVTPJHS HUK OPNO]VS\TL WHZZLUNLY ]LOPJSLZ HYL HSZV UL[^VYRZOHZILLUPU[YVK\JLK[OH[PZIHZLKVUJVH_PHSJHISLZ
ILNPUUPUN[VVɈLYOPNOIHUK^PK[O0=0JHWHIPSP[PLZ(S[OV\NO0=0 *VH_PHSJHISLZOH]LTHU`KLZPNUTLYP[ZPUJS\KPUN!
Z`Z[LTZJHUVɈLY]HYPV\ZZVM[^HYLIHZLKMLH[\YLZHSSVM[OLT
࠮ :\WWVY[MVYOPNOIHUK^PK[OKH[H[YHUZMLY
ZOHYL H JVTTVU IHZL! [OL ULLK MVY HU \UKLYS`PUN WO`ZPJHS
SH`LY [LJOUVSVN` [OH[ PZ YVI\Z[ HUK Z\WWVY[Z OPNOIHUK^PK[O ࠮ /PNOZOPLSKPUNLɈLJ[P]LULZZ¶YVI\Z[,4*WLYMVYTHUJL
KH[H[YHUZMLY ࠮ (UH]HPSHISLH\[VTH[LKJVUULJ[VYZHZZLTIS`WYVJLZZ
࠮ :H[PZM`PUNKLTHUKPUNTLJOHUPJHSYLX\PYLTLU[ZZ\JOHZ
In recent years, the optical MOST150 network has
ILUKPUNJHWHIPSP[`HUKOPNO[LTWLYH[\YLYHUNL
Z\JJLZZM\SS`ZLY]LKHZ[OPZPUMV[HPUTLU[WO`ZPJHSSH`LYTLL[PUN
࠮ *VZ[LɈLJ[P]LMVYHUH\[VTV[P]LNYHKLZVS\[PVU
HSSVM[OLJOHSSLUNPUN6,4YLX\PYLTLU[Z^P[OP[ZOPNOIHUK^PK[O
ZJHSHIPSP[` SV^ ^LPNO[ YVI\Z[ULZZ LSLJ[YVTHNUL[PJ JVTWH[- ࠮ ;PNO[S`JVU[YVSSLKPTWLKHUJLLUHISPUNM\SSK\WSL_TVKL
PIPSP[` ,4* WLYMVYTHUJL HUK P[Z HIPSP[` [V Ä[ PU[V [OL SPTP[LK of operation
ZWHJLH]HPSHISLPU]LOPJSLZ/V^L]LYPUZWP[LVM[OLZLMLH[\YLZ ࠮ Enabling power transmission as well as data transmission
P[ZJVZ[OHZILLUHIHYYPLY[VP[ZHKVW[PVUI`ZVTLOPNO]VS\TL over the same cable
JHYTHU\MHJ[\YLYZ
*VH_PHS JHISLZ OH]L ILLU \ZLK PU [OL H\[VTV[P]L PUK\Z[Y` MVY
decades with a proven track record for point-to-point connec-
[PVUZ-VYL_HTWSL[OL`OH]LILLU\ZLK[VJVUULJ[[OLHU[LUUH
and radio and to connect the antenna to a Global System for
4VIPSL.:4JVTT\UPJH[PVUTVK\SL(ZHYLZ\S[[OLL_PZ[PUN
PUMYHZ[Y\J[\YL MVY OPNOS` H\[VTH[LK WYVK\J[PVU HUK [OL JVYYL-
ZWVUKPUNZ\WWS`JOHPUPZ^LSSLZ[HISPZOLK*VH_PHSJHISLZTLL[
H\[VTV[P]L [LTWLYH[\YL YHUNL HUK TLJOHUPJHS YLX\PYLTLU[Z
;OL` HYL Z\WWVY[LK I` H Z[HUKHYK MVY H\[VTV[P]L JVUULJ[VY
TVKLSZ·RUV^UHZ-(29(·[OH[OHZILLUHKVW[LKI`KPɈLYLU[

26 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Engineers’ Guide to Microchip Technology

Z\WWSPLYZ -(29( JVUULJ[VYZ L_PZ[ PU THU` KPɈLYLU[ ZOHWLZ ;OL JSHZZPJ YPUN [VWVSVN` VU H JVH_PHS WO`ZPJHS SH`LY JHU IL
HUK HYL H]HPSHISL ^P[O KPɈ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ional network topologies along with
[OLJSHZZPJYPUN\ZLKPU46:;UL[^VYRZHUPTWVY[HU[PUUV]H-
[PVUPU0=0UL[^VYRZ-VYZWLJPHSHWWSPJH[PVUZHJVTIPUH[PVUVM
+:JVTT\UPJH[PVUHUK-+JVTT\UPJH[PVUJHUHSZVILLHZPS` Figure 3: Infotainment System Consisting of Two Nodes in
PTWSLTLU[LK;HISLZ\TTHYPaLZ[OLWVZZPISL[VWVSVNPLZ[OH[ Point-to-Point Connection Based on a Full Duplex Coaxial
JHUILZ\WWVY[LK\ZPUNHJVH_PHSWO`ZPJHSSH`LY Physical Layer

Communications Topology -VYTVYLJVTWSL_0=0HYJOP[LJ[\YLZJVTWYPZLKVM[OYLLVYTVYL


UVKLZ-+JVTT\UPJH[PVUHSSV^Z`V\[VPTWSLTLU[HKHPZ`JOHPU
+\HS:PTWSL_ 9PUN
[VWVSVN`(UL_HTWSLVMH[OYLLUVKLPUMV[HPUTLU[Z`Z[LTPUH
-\SS+\WSL_ 7VPU[[VWVPU[*VUULJ[PVU
KHPZ` JOHPU [VWVSVN` PZ ZOV^U PU -PN\YL  ;OL HIZLUJL VM H
-\SS+\WSL_ +HPZ`*OHPU
YL[\YUJHISLZPTWSPÄLZ[OLJHYHZZLTIS`WYVJLZZ[VJVU[YPI\[L
-\SS+\WSL_ :[HY
[V[OLV]LYHSSYLK\J[PVUVMZ`Z[LTJVZ[Z
+\HS:PTWSL_HUK-\SS+\WSL_ /`IYPK

Table 1: Network Topology Options for Coaxial Cable-Based


IVI Systems

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 27
Engineers’ Guide to Microchip Technology

(SS [OLZL [VWVSVNPLZ VW[PVUHSS` Z\WWVY[ [OL [YHUZTPZZPVU VM


WV^LY V]LY [OL JVH_PHS KH[H SPUL ;OPZ HSSV^Z `V\ [V LSPTPUH[L
the need for dedicated power lines and connectors for each
UVKL PU [OL UL[^VYR YLZ\S[PUN PU JVZ[ HUK ^LPNO[ ZH]PUNZ HZ
^LSSHZZPTWSPM`PUN[OL]LOPJSLHZZLTIS`WYVJLZZ;OLHYJOP[LJ-
[\YLZZOV^UPU-PN\YLHUK-PN\YLHYLL_JLSSLU[L_HTWSLZVM
OV^ [OL [YHUZTPZZPVU VM WV^LY V]LY [OL JVH_PHS JHISL JHU IL
HK]HU[HNLV\Z)LJH\ZLVM[OLPYZTHSSMVYTMHJ[VY[OLJHTLYH
HUKTPJYVWOVULHYYH`TVK\SLZJHUILKLZPNULK[V\ZLHZPUNSL
JVUULJ[VY[OH[Z\WWVY[ZKH[HHZ^LSSHZWV^LY[YHUZTPZZPVU
Figure 4: Infotainment System Consisting of Three Nodes
Connected in a Daisy Chain Based on a Full Duplex Coaxial ( JVTWHYPZVU VM WO`ZPJHS SH`LY JVZ[Z MVY 0=0 UL[^VYRZ IHZLK
Physical Layer VUH[^VUVKLZ`Z[LTPZZOV^UPU;HISL;OPZJSLHYS`KLTVU-
Z[YH[LZ[OH[HUL[^VYRIHZLKVUHJVH_PHSWO`ZPJHSSH`LYVɈLYZ
;OL O\I JVUÄN\YH[PVU PZ HUV[OLY VW[PVU [OH[ PZ WVZZPISL ^OLU [OLILZ[WLYMVYTHUJL[VJVZ[YH[PV
[OYLLVYTVYLUVKLZHYLJVUULJ[LK[VHJVH_PHSWO`ZPJHSSH`LY
\ZPUN -+ JVTT\UPJH[PVU -PN\YL  PSS\Z[YH[LZ HU PUJHY KPZWSH` Physical
Relative
\UP[ HJ[PUN HZ H O\I PZ JVUULJ[LK WVPU[[VWVPU[ ^P[O [^V YLHY Layer Bandwidth Comment
Cost
]PL^JHTLYHZ[OH[YLWSHJL[OLL_[LYUHSTPYYVYZ Technology
Coaxial Cable _*OVRLZ_
Supporting 1 4\S[P.IWZ *VUULJ[VYT
Full Duplex *VH_*HISL
Optical _-6;_
Supporting 4 4\S[P.IWZ 76-*VUULJ[VY
Dual Simplex _T76-*HISL

Table 2: Cost Comparison Between Coaxial and Optical Physical


Layer Technologies

-PN\YL!/\I*VUߝN\YH[PVU)HZLKVU*VH_PHS7O`ZPJHS3H`LY The advantages of adopting a high-speed networked


PUMV[HPUTLU[Z`Z[LTIHZLKVUJVH_PHSWO`ZPJHSSH`LYHYLVI]PV\Z
;OL JVTIPUH[PVU VM +: HUK -+ JVTT\UPJH[PVU HSSV^Z `V\ [V (\[VTV[P]L6,4HKVW[PVUVM[OPZ[LJOUVSVN`^PSSILNPUYVSSPUN
HKK UL^ HWWSPJH[PVUZ [V HU L_PZ[PUN PUMV[HPUTLU[ Z`Z[LT [OH[ V\[[OPZ`LHYHUK^LL_WLJ[[VZLL[OLTHYRL[^LSJVTPUNP[HZH
PZ IHZLK VU [OL YPUN [VWVSVN` -VY L_HTWSL P[ JV\SK IL \ZLK ]HS\HISLZVS\[PVUMVYYLK\JPUNJVZ[ZHUKZPTWSPM`PUNH\[VTV[P]L
[VHKKHUH\KPVZ\IKVTHPU^P[OHTPJYVWOVULHYYH`UL[^VYR PUMV[HPUTLU[KLZPNUZ
[V HU L_PZ[PUN Z`Z[LT [OH[ ^HZ VYPNPUHSS` KL]LSVWLK ^P[OV\[
-VY TVYL PUMVYTH[PVU HIV\[ V\Y ZVS\[PVUZ MVY PTWSLTLU[PUN
[OPZM\UJ[PVUHSP[`
46:;[LJOUVSVN`V]LYJVH_PHSJHISLPUH\[VTV[P]LPUMV[HPUTLU[
Z`Z[LTZWSLHZL]PZP[V\YMOST Technology Design Center or
JVU[HJ[`V\YSVJHSMicrochip representative

Figure 6: Expanding an Existing Ring-Based Infotainment System


with the Addition of a Daisy Chain

Visit the digital edition at www.microchip.com/engineersguide2018 for links to more information on the products and tools mentioned.

28 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Product Showcases

Embedded Design Group FzPro S.r.l.s.

Embedded System Design and Development EMU01


EMU01, an acronym for Energy
Medical Devices ❘ Automation and Control Management Unit, is an
Commercial ❘ Aerospace ❘ Sensors ❘ Fiber Optics electronic board designed for
the management of the energy
Microfluidics ❘ Nanotechnology ❘ IoT provided by primary batteries
Wireless Communications ❘ Machine Learning installed on board an electric
Cloud Computing traction machine.

t Datalogger functions of
battery data throughout the
life of the machine, either
during discharge or charging.
t Communication with an external battery charger via
CANBUS protocol to optimize power saving during
charging of batteries.
t Increase the autonomy and avoid overcharging thanks
to the function called “AGV” that allows EMU01 to be
interfaced with PLC or similar systems.
t EMU01 is equipped with a software developed for the
Windows operating system, with which end-user can fully
configure the board and its functions quickly and easily.

Embedded Design Group FzPro S.r.l.s.


Pettit Applied Technologies, Inc. Via Béla Bartók, 29/H
7808 Potters Mill CT 44124 Ferrara, Italy
Derwood, Maryland 20855 Tel:+39 391 1766861
Tel: (301) 926-3549 Fax:+39 0532 746704
www.EmbeddedDesignGroup.com www.fzpro.it

GERMAN POWER GmbH HCE Engineering Srl


Power Supplies Cosino A5136
Cortex-A5 based CoMs
utilize Microchip SoCs
SAMA5D36 at 536MHz.
Cost effective CPU and
graphic performance
with minimum power
consumption, a perfect balance of power & efficiency for
your GNU/Linux embedded systems.

t 256MB DDR2 / 256MB Nand t Power Supply 3.3V


t Ethernet Phy On board t Size 67,6x37mm
t USB Host and device t Industrial Temperature
t Design of custom specific power supplies
t GPIO//I2C/SPI/SDIO -40..+85°C
t Converters for AC/DC, DC/DC and DC/AC from 1W … 3kW
t UART/CAN t Long Term Availability
and more
t Usage of microcontrollers for PWM, control, supervision
and interface This CPU module supports secure boot which allows you to
store on the system mass memory all your software in an en-
t Series production with qualified subcontractors crypted form making it inaccessible to unauthorized intrusions.
t Special requests are welcome

HCE Engineering Srl


GERMAN POWER GmbH Via Lamarmora, 4
Freiburger Strasse 7 57122 Livorno, Italy
75179 Pforzheim / Germany Tel: +390586219399
info@german-power.com info@hce-engineering.it
www.german-power.com http://www.hce-engineering.it/
a51-cortex-a5-536mhz/

2018 r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: 29
Product Showcases
TAKE YOUR PROJECT
IDEA FROM CONCEPT
TO COMPLETION
From class III medical devices to commercial
products, Occam Technology Group provides
design and development services for:

‡ Embedded Systems
‡ IoT Devices
‡ Communications Solutions
‡ Secure Systems

Let us know how we can help.


occamtechgroup.com
chris.carter@occamtechgroup.com
813.334.6472

Lynx Corporation Martin Company


Security Consulting Electronics Engineering and Manufacturing
ON TIME + ON SPEC + ON BUDGET
Integrity and Trust
Over 2,800 Projects Completed for 200+ Customers in the
Last 36 Years

We’ve handled some of the most


complex analog and digital electronics
designs in a variety of industries. When
you work with Martin Company you’re
partnering with true professionals that
complete nearly 100 projects a year on
time, on spec and on budget.

t"OBMPH %JHJUBM$JSDVJUT
Services Specializing In t4DIFNBUJDT #0.
t Vulnerability Analysis and t IoT Edge Node Design t1$#-BZPVU
t'JSNXBSF 4PGUXBSF t*40$FSUJmFE
Threat Modeling t TLS Integration t&NCFEEFE$JSDVJUT 4ZTUFNT t'U2 Labs and Offices
t Security Architecture Design t PKI & Key Management t)B[BSEPVT"SFB%FTJHO t5FTUJOHPG4ZTUFNT
t Hardware Integration Support t AWS IoT Implementation
Contact us today! 281-342-7431 email@martincomp.com
t Secure Firmware t CryptoAuthentication™
Development Discover the difference of working with a reliable, long-running
ATECC508/ATECC608 electrical engineering company.
t Security Consultation

Martin Company
Lynx Corporation 5330 Reading Road
www.lynxcorp.com Rosenberg, TX 77471
contact@lynxcorp.com Tel: (281) 342-7431
Tel: (719)488-8696 Fax: (281) 342-5925
http://www.martincomp.com

30 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Product Showcases

Shenzhen A&D Technology Co., Ltd. TechToys Company


We are a product design company, providing designs of electronic ArduoHDMI Shield
circuit, PCB layout, system firmware and software applications.

Seamless work with OEMs/ Brands in audio and mobile accessory t HDMI shield compatible with Arduino® Uno form factor.
products for nearly 2 decades. t Bridge a low-end microcontroller to high definition TV
(HDTV) of 1080p@60Hz via HDMI interface.
t Arduino library in C++ available.
t Port to Graphics Library of Microchip’s MPLAB® Harmony.
Apple MFi Developer Licensee

Product designs
t HomeKit/IoT accessory
t Wireless charging
t Charging case for TWS earbuds
t MFi accessory
t Bluetooth speaker
t DAB Radio
t Soundbar
t CD Microsystem/ Boombox

Shenzhen A&D Technology Co., Ltd.


Shenzhen, Guangdong China TechToys Company
david.sue@and-tec.com john@techtoys.com.hk
Tel: +86-755-26037280 www.TechToys.com.hk

2 018
2018
201
20 r & /(*
/ /&&
/( &&34
34
4 (66 *%&
*% 50
0..** $30
$3
$ 30 $
30 $)
$)*
)*
)*115
15
5 &
&$
&$)
r&/(*/&&34(6*%&50.*$30$)*15&$)/0-0(: $)/
$) /0-
/0
0
0--0(
0(
(: 31
3 1
Product Showcases

Thinxtream Technologies, Inc.

Connected Products to CONNECTED BUSINESS

Microchip Technology offers easy integration with AWS®


to implement Cloud Connected Embedded Systems. But why stop at that?

Create exponential value to your customers and your business by rapidly building advanced IoT solutions

t Auto-replenishment t Remote monitoring t Subscription & shared service


t Predictive maintenance t Track & trace t User experience & engagement

Write to us at info@thinxtream.com to know how we can help you with our products, solutions and software
engineering services to deliver on the full potential of IoT promise.

Thinxtream Technologies, Inc.


10260 SW Greenburg Road
Suite 400
Portland, OR 97223, USA
Tel: 1(503)293-3598
info@thinxtream.com

TLC Engineering Solutions


t Custom products and
Download the Digital Edition
solutions for end users and
OEM
of the Engineers’ Guide to
t Specialists in industrial
measurement, remote
Microchip Technology at
monitoring and control www.microchip.com/engineersguide2018
t Hardware and software
development from concept
design to turnkey solutions Official Sponsor

t Application software
development and integration Engineers’ Guide to
with embedded designs Microchip Technology
22018
018 Edition
t Over 25 years’ experience
with Rail, Mining, Electrical
Utilities and Manufacturing
t Rapid development and prototyping
t Microchip Design Partner, Microsoft Certified Partner,
National Instruments Alliance Partner
t ISO9001:2015 registered
Everything you need to
build your next design is
available at Microchip
TLC Engineering Solutions
St Andrews Office Park,
Epsom Downs
Gauteng, 2021, South Africa
Tel: +27 11 463 3860
sales@tlc.co.za
www.tlc.co.za

32 &/(*/&&34(6*%&50.*$30$)*15&$)/0-0(:r 2018
Low-Cost AVR® and SAM
Device Programming
Add Your Custom Code to an
AVR or SAM Device!

-VY[OLÄYZ[[PTLL]LY`V\JHUHKK`V\YJ\Z[VTJVKL[VTVYL[OHU
AVR®HUK:(4KL]PJLMHTPSPLZHSVUN^P[OULHYS`HSS70*®4*<ZHUK
TLTVY`KL]PJLZKPYLJ[S`MYVT[OLTHU\MHJ[\YLY]PHTPJYVJOPW+09,*;
RECEIVE 3
-YVT]LY`ZTHSSY\UZ[V]LYPM`[OH[[OLJVKLPZ^VYRPUNHSS[OL^H`\W FREE
[OYV\NOM\SSZJHSLWYVK\J[PVUY\UZ[OPZJVZ[LќLJ[P]LWYVNYHTTPUNZLY]PJL PRE-PROGRAMMED
SAMPLES WITH
VќLYZ`V\[OLÅL_PIPSP[`[VHKK`V\YJVKL[VHU`VYKLYZPaL(KKP[PVUHSS` YOUR ORDER

LHJOÄYZ[]LYPÄJH[PVUVYKLYPZJVTWSPTLU[HY`HUKPUJS\KLZ[OYLLMYLL
ZHTWSLZWYVNYHTTLK[V`V\YL_HJ[ZWLJPÄJH[PVUZ

.L[[PUNZ[HY[LKPZLHZ`JOVVZL[OLWHY[VUTPJYVJOPW+09,*;[OLU
HKK`V\YJVKLHUKV[OLYJVUÄN\YH[PVUZL[[PUNZZOV^UVU[OLPU[\P[P]L
VUSPULMVYTKPYLJ[S`PU[V[OLLUJY`W[LK^LIZP[L;OL4*<Z^PSS[OLUIL
WYVNYHTTLKKPYLJ[S`I`4PJYVJOPW^P[OUVULLK[VPU]VS]LH[OPYKWHY[`
WYVNYHTTPUNVYTHU\MHJ[\YPUNMHJPSP[`

www.microchipdirect.com/programming
The Microchip name and logo, the Microchip logo, AVR and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks are the property of their
registered owners. © 2017 Microchip Technology Inc. All rights reserved. 12/17
DS00002463B

Anda mungkin juga menyukai