Mar ch 2 0 16

Guiding Embedded Designers on Systems and Technologies

Engineers’ Guide to

8-Bit, 16-Bit & 32-Bit Technologies Designing a Glucose Meter with an 8-bit MCU IoT End-Point SoC Platform: 3 Months to the Finish Line

www.eecatalog.com/8bit Market Leader

Sponsors

A New Cloud-Based Development Environment

If you’re looking for a simple, fast and easy introduction into the Microchip ecosystem; look no further than the MPLAB® Xpress cloud-based IDE. With MPLAB Xpress, you can easily edit, compile and program your favorite PIC® MCU from any web browser. There is absolutely nothing to download or install, and ZPNUPUN\WPZLHZ`;OPZKL]LSVWTLU[LU]PYVUTLU[VќLYZ[OLPUK\Z[Y`»ZTVZ[ JVTWYLOLUZP]LMLH[\YLZL["PUJS\KPUN473()*VKL*VUÄN\YH[VYMVYWLYPWOLYHS setup and code generation, Microchip-validated code examples and 10 GB of secure online storage with any myMicrochip account. Plus, all MPLAB Xpress projects are fully compatible with the full-featured, downloadable MPLAB X IDE. ‹

Get started with PIC MCUs in seconds

‹

No software installation required

‹

ͬWD^DDŽƚŽƌƐ ͻKƵƚĚŽŽƌŝƌŽŶĚŝƟŽŶĞƌƐ ͻtĂƐŚŝŶŐDĂĐŚŝŶĞƐ ͻZĞĨƌŝŐĞƌĂƚŽƌƐ Design With Freedom

1 1 2 2 2 2

DK^ ;ϰͬϴDŚnjyƚĂůͿ

sͬ>s ;ϭ͘ϴsͿ

W>>

ϭϮďŝƚdžϮ ;ϭ͘ϱDƐƉƐͿ ϯͲWŚĂƐĞWtD džϭ

,DdZ/y

&>^, 64KB

^ZD 8KB

KKdZKD

W GPIO

^z^KE

hZddžϮ

td

^W/džϭ

d/DZyϲ

ϭϮdžϭ

For more information about the ZNEO32! Series, Evaluation Kits, or to download product collateral and software, please visit www.zilog.com.

Introducing Zilog’s Z8 Encore! XP F6482 Series of Flash Microcontrollers! Based on Zilog’s advanced 8-bit eZ8 CPU core, these MCUs support 1.8 V to 3.6 V low-voltage operation with extremely low Active, Halt, and Stop Mode currents The F6482 Series Development Kit is a complete development solution containing the following tools: t'4FSJFT%FWFMPQNFOU#PBSE t64#4NBSU$BCMF GPSDPOOFDUJOHUIF1$ UPUIF'4FSJFT%FWFMPQNFOU#PBSE

t64#"UP.JOJ#DBCMF t34JOUFSGBDFNPEVMF

1BSU

FEATURES:

APPLICATIONS:

t.)[F;$16DPSF t,# ,# ,#PS,#'MBTINFNPSZ t,#PS,#JOUFSOBM3". t5XP&OIBODFE4FSJBM1FSJQIFSBM*OUFSGBDF 41* DPOUSPMMFST t*2$DPOUSPMMFSXIJDITVQQPSUT.BTUFS4MBWFNPEFT t8BUDIEPH5JNFS 8%5

t   BOEQJOQBDLBHFT to¡$UP ¡$ FYUFOEFE PQFSBUJOHUFNQFSBUVSF range t"OENBOZNPSF

t#BUUFSZ1PXFSFE4FOTPST t8JSFE8JSFMFTT,FZQBET t1*3.PUJPO%FUFDUJPO t-JHIUJOH$POUSPM t4BGFUZBOE4FDVSJUZ t6UJMJUZ.FUFSJOH t%JHJUBM1PXFS4VQFSWJTPSZ t)BOE)FME&MFDUSPOJDT t8JSFMFTT$POUSPMMFS t-$%,FZQBET

Flash

3FHJTUFS # 2 3". NVDS -$% 64# * $ &41*

6"35 *0 "%$

1BDLBHF

1BSU/VNCFS

Z8F6482 ,# ,#









2

2





1JO-2'1 ;'"59,

,#









2





8

1JO-2'1 ;'"39,

;' ,# ,#









2

2





1JO-2'1 ;'"39,

,#











2





1JO-2'1 ;'"/9,

,#













26

9

1JO2'/ ;'2,9,

Visit the Zilog website for additional parts included in this Series.

Z8F64820100ZCOG

For more information about the F6482 Series, or to download product collateral and software, please visit www.zilog.com.

Design With Freedom

High-Performance ICs Simplify Your Sophisticated Digital Power Designs

The dsPIC33EP “GS” family delivers the performance needed to implement more sophisticated non-linear, predictive and adaptive control algorithms at higher switching frequencies. These advanced algorithms enable power supply designs [OH[HYLTVYLLULYN`LѝJPLU[HUKOH]LIL[[LYWV^LYZ\WWS`ZWLJPÄJH[PVUZ ‹

Higher performance enables more sophisticated algorithms

‹

More integration

‹

Live update capability

‹

Smaller footprint with 4 × 4 mm package saves board space

‹

Easier digital power design

MPLAB® Starter Kit for Digital Power (DM320017-2)

www.microchip.com/dsPIC33EP-GS The Microchip name and logo, the Microchip logo and MPLAB 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. © 2015 Microchip Technology Inc. All rights reserved. 6/15 DS40001801A

ADVERTORIAL

8051 MCU IP Cores: the Smart Choice for Low-Power, High-Performance, and Easy Development 8- and 16-bit MCS®51-compatible IP Cores can be the best MCU solution for applications requiring very low energy consumption; rapid development, low risk, and inexpensive deployment; and good processing performance with small silicon area. By Dr. Nikos Zervas, CEO, CAST Inc.

They’re not your father’s 8051s. Unlike the original chips introduced in 1980, today’s 8051 intellectual property (IP) cores use the latest processor design techniques to run tremendously faster, up to nearly 70x. They also incorporate hardware debug aids, come pre-integrated with most of the peripherals you’re likely to need, and benefit from state-of-the-art IP reusability in their coding and packaging. Yet these modern 8051 IP cores retain full MCS®251 & MCS®51 code compatibility. Development tools, reference designs, evaluation boards, and more are readily available in the rich and proven 8051 ecosystem. Many hardware designers can program 8051s in their sleep, and tutorials, tips, code snippets, full IP subsystems, and more abound for those who need to learn. For applications with relatively modest computing requirements— such as many Internet of Things (IoT) devices—today’s 8051s thus offer several distinct technical advantages over many alternatives, especially popular 32-bit processors. Cost can be another significant advantage, as their licensing is likely to be both simpler (e.g., royaltyfree) and have a lower purchase or reuse fee. One robust and attractive example of such a line of 8051 IP cores is that available from CAST, Inc.

THE 8051 IP LINE FROM CAST An 8051 IP pioneer going back to 1997, CAST today works with technology partner Silesia Devices to provide our best ever family of 8- and 16-bit MCS®51-compatible IP cores and related hardware and software solutions. These MCU IP cores for ASICs or FPGAs are some of the best you’ll find anywhere, and their royalty-free licensing and competitive pricing make them cost-effective solutions for a wide range of projects. The CAST 8051 product family includes the following.

10

SUPER-FAST, LOW-POWER S8051XC3 A sophisticated architecture makes this the fastest 8-bit 8051 available anywhere. It uses a single clock per machine cycle, and executes instructions 9.41 to 26.85 times faster than the original 8051 at the same fre-quency, without requiring an external arithmetic acceleration unit such as an MDU. Representative 65nm LP ASIC results have reached 500 MHz, for an effective speed-up of 1,000 times over 80C51 chips. Interrupt latency is a remarkably low two cycles. It is also very small—with a CPU size under 6,500 gates—and energy efficient, with CPU dynamic power down to 2.3μW/MHz (40nm). ULTRA-SMALL T8051XC3 One of the smallest such MCUs available, this Tiny 8051 needs just 6.6K gates for its CPU and a useful set of peripherals (180nm process). It still runs at 0.1236 DMIPS/MHz, delivering 13.15x more performance per MHz than the original 8051. HIGH-PERFORMANCE, CONFIGURABLE, MATURE R8051XC2 Built on 4th generation IP code and shipping in millions of customer devices, this mature 8051 core is ex-tremely configurable and easy to integrate. It executes 12.1 times faster than the original, and ASIC imple-mentations reach 430 MHz (90nm).

&/(*/&&34(6*%&50#*5 #*5#*55&$)/0-0(*&4rMarch 2016

ADVERTORIAL

LEGACY-CONFIGURABLE DISCRETE PART REPLACEMENT L8051XC1 This MCU features flexible architectural timing and other features specially designed for the easiest-possible conformance to existing, sometimes very old, legacy systems. See the sidebar for details. FAST16-BIT, 8051/80251 COMPATIBLE S80251XC3 This high-performance 16-bit microcontroller executes the MCS®251 & MCS®51 instruction sets and includes a configurable range of features and integrated peripherals. The fastest 8051-compatible available anywhere (as this is written), it runs at 0.655 DMIPs/MHz for a 69.7x speed-up over the original 8051 at the same clock frequency, or more than 1,500 times faster than the original 8051 when clocked at maximum frequency.

8051 OBSOLETE PART REPLACEMENT The L8051XC1 core implements an MCS®51-compatible microcontroller that is specially designed to match the timing and peripherals of legacy 8051 MCU based systems. It can be configured to execute an instruction every 12, 6, or 4 clock cycles. Architectural extensions are user-selectable, including multiple data-pointers, a multiply-division unit, and a power management unit. Furthermore, the 8051 CPU can be coupled with a wide range of pe-ripherals matching the behavior and timing of peripherals found in lega-cy architectures from Intel, Phil-lips/NXP, Siemens/Infineon, Max-im/Dallas, Texas instruments and others. Several pre-configured ver-sions are offered; custom variations are also available. The L8051XC1 runs legacy code, but new software development is

TINY 16-BIT, 8051/80251 COMPATIBLE T80251XC3 facilitated through CAST’s on-chip debugging option, and debug pods This MCU executes the MCS®251 & MCS®51 instruction sets and that cooperate with IAR Embedded Workbench & Keil uVision™ IDEs. offers one of the smallest silicon foot-prints capable of handling 16and 32-bit data. The CPU is below 13k gates on 180nm, and it has an extremely small memory footprint due to denser code for 8- and 16-bit data processing. This plus ISA addressing modes that mini- TRUST THE 8051 IP LEADER mize load/store operations significantly reduces power consumption Twenty-year-old IP provider CAST has delivered 8051 IP since 1997. compared with RISC CPUs. We have over 200 customers, with 8051s shipping in hundreds of millions of devices around the world. Further compare these 8051-compatbles in the following table. Our development, support, and sales teams are among the most experienced in the world, and we are ready to help you choose and use the ideal 8051 MCU for your next project. Learn more by visiting www.cast-inc. com, email [email protected], or call any time at +1 201.391.8300.

Table 1 — CAST 8051 IP Cores Family

Develop software for your CAST 8051 with the powerful, familiar Integrated Design Environments available from IAR Systems, Keil, and other providers. Seamlessly integrate with these through our on-chip hardware debug block and either four-wire JTAG or our unique single-wire SWAT connection to our CAST Debug Pods. These efficient pods are designed for fast operation, speeding program uploading and practically eliminating time lag in the interactive debug loop. Insert and monitor hardware or software breakpoints, trace elements, and more.

11

CONTACT INFORMATION

&/(*/&&34(6*%&50#*5 #*5#*55&$)/0-0(*&4rMarch 2016

CAST, Inc. 50 Tice Blvd., Suite 340 Woodcliff Lake, NJ 07677 USA 201.381.8300 201.391.8694 fax [email protected] www.cast-inc.com

;.05*0/*OUSVTJPO%FUFDUJPO#MPDL%JBHSBN

;.05*0/0DDVQBODZ%FUFDUJPO#MPDL%JBHSBN

1PXFS4VQQMZ

Fresnel -FOT

8 KB

1ZSP &MFDUSJD Sensor

® ;.05*0/.$6 Z8FS021

ZMOTION Intrusion Detection Components Jumper Configuration t1FU*NNVOJUZ t"VUP-&% t1VMTF.PEF

"MBSN0VUQVU t'PSN" t'PSN$

Reserved for 1*3&OHJOF

;.05*0/¥.$6 ;'4#4#&(

"QQMJDBUJPO 1SPHSBNNJOH Interface

8IJUF-JHIU Detection

6TFS"QQMJDBUJPO Code Space Interrupt Vectors and Option Bits 0 KB

Status -&%

*OUSVTJPO"QQMJDBUJPOT ;'4 t8JEFBSFBJOUSVTJPOEFUFDUPS t$PSSJEPS DVSUBJOWFSUJDBM

4 KB

0DDVQBODZ"QQMJDBUJPOT ;'4 t-JHIUJOHDPOUSPM t"DDFTTDPOUSPM

CBSSJFSNPUJPOEFUFDUPST t%VBMNPEFMJHIUJOHJOUSVTJPO EFUFDUPS

t$VTUPNFSTFOTJOH t)7"$DPOUSPM t0DDVQBODZTFOTJOH

t4FDVSFBDDFTTDPOUSPM t4UBOEBMPOFBMBSNTZTUFNT

t7FOEJOHBQQMJDBUJPOT t"VUPNBUJDEJTQMBZT t1SPYJNJUZ t1PXFSNBOBHFNFOU ;.05*0/%FWFMPQNFOU,JUT ZMOTIONL100ZCOG ZMOTION Detection and Control Development Kit ZMOTIONL200ZCOG ZMOTION 20-pin Detection and Control Development Kit ZMOTIONS200ZCOG ZMOTION Intrusion Detection Development Kit

;JMPHPòFSTBXJEFTFMFDUJPOPGMFOTBOEQZSPFMFDUSJD TFOTPSCVOEMFEPQUJPOTUPöUZPVSBQQMJDBUJPOOFFET

For more information or documentation about Zilog’s ZMOTION products, please visit XXX[JMPHDPN;.05*0/ Design With Freedom

Intelligent Design Starts with Intelligent Analog PIC® MCUs

(UHSVNKLZPNUPZKPMÄJ\S[HUKJVUZ\TLZWYLJPV\ZKL]LSVWTLU[[PTL4PJYVJOPW»Z PU[LSSPNLU[70*®4*P[OV\[:HJYPÄJPUN Power Consumption

Security breaches occur in our world at an astounding rate. Your design ZWLJPÄJH[PVUZULLK[VTLL[[OLNYV^PUNKLTHUKZVMJ\Z[VTLYZZLLRPUN[OLTVZ[ secure designs to protect their precious data. Microchip’s PIC24FJ256GB410 MHTPS`^P[OPU[LNYH[LKJY`W[VLUNPULWYV]PKLZOHYK^HYLLUJY`W[PVUKLJY`W[PVU HUKH\[OLU[PJH[PVUNP]PUN`V\ZLJ\YLKH[H[YHUZMLYHUKZ[VYHNL;OL9HUKVT 5\TILY.LULYH[VYVU[OPZKL]PJLWYV]PKLZHUL]LUOPNOLYSL]LSVMKH[HZLJ\YP[`

PIC24FJ256GB410 Plug-In Module (MA240038)

YLK\JPUN[OLSPRLSPOVVKVMHKH[HIYLHJO(KKP[PVUHSS`^P[O[OLOHYK^HYL LUJY`W[PVU`V\YLK\JLZVM[^HYLV]LYOLHKHUKSV^LYWV^LYKLTHUKZ