microsolutions mar apr 2015

30
Winter 2012 LEARN CAN FD MPLAB ® HARMONY HD VIDEO MOTION March/April 2015 CAN FD

Upload: arturo53

Post on 08-Nov-2015

11 views

Category:

Documents


2 download

DESCRIPTION

Microchip

TRANSCRIPT

  • Winter 2012

    LEARNCAN FD MPLAB HARMoNy HD ViDEoMoTioN

    March/April 2015

    CAN FD

  • The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, mTouch, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. & KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. 2015, Microchip Technology Incorporated, All Rights Reserved.

    Contentsdesign articles15 Powerful MPLAB Harmony

    Configurator Accelerates Your 32-bit Embedded Software Development

    19 Getting Started with SuperFlash Technology

    21 Going the Distance to Secure Our Future

    23 Avoid Input Damage with 500 Volt Protection

    25 App Specialist Coedrus Introduces the Infinite Possibilities of the Internet of Things

    26 Learn.DigilentInc.com30 Coding For Young Engineers

    features11 Product Spotlight13 The Savings Are In Bloom

    featured Video

    MPLAB Harmony Configurator

    showcase 4 Make a Difference in the World

    Join the Hacker/Maker Movement to Create Innovative Solutions that Better Our Future

    new products 6 Video Streaming Hits the Road

    Introducing the World's First H.264 Video I/O Companions Optimized for MOST High-Speed Automotive Infotainment and ADAS Networks

    8 Motion Monitoring Made EasyMM7150 Motion Module Evaluation Board Speeds Design Cycles for Embedded and Internet of Things Applications

    9 Easing the CAN Migration PathMCP2561/2FD CAN FD Transceiver Family Serves Both CAN and CAN FD Protocols

    2

    March/April 2015

    2

  • Dont Miss the Next issue of MicroSolutions

    Published six times a year, MicroSolutions is a valuable resource for product and technology news about Microchips innovative solutions. Subscribe today to receive email notifications when each new issue of MicroSolutions is ready. Use the link below:

    Find Us on These Social Channels

    Microchip Technology Inc. 2355 W. Chandler Blvd. | Chandler, AZ 85224 | www.microchip.com

    3

    EDITORS NOTE

    find a new amp'titude

    New to Microchips YouTube channel, Amptitudes is a series of videos which will help increase your amplifier aptitude. This repository of brief, straight-forward tutorials covers a variety of amplifier topics such as how to minimize a variety of noise sources, factors that affect amplifier speed, defining input bias and offset currents plus much more. Seven episodes are currently available in our amptitudes playlist:

    episode 1 - Amplifier Bandwidth and Slew Rate: If speed is a concern in your design, this video will explain why it is important to consider the slew rate and not just the band-width when choosing an amplifier.

    episode 2 - Input Bias and Offset Current: Kevin Tretter discusses input bias and input offset current and how they are affected by newer, more complex architectures found in devices like our MCP6V06 zero-drift op amp.

    episode 3 - rail-to-rail input stage: There are three basic input structures for sin-gle-supply voltage-feedback amplifiers. In this video, youll learn what these structures are and how they affect an amplifiers ability to support rail-to-rail operation.

    episode 4 - eMi rejection: Learn how amplifiers are being designed to combat the adverse effects of electromagnetic interference.

    episode 5 - Power Supply Filtering: Why worry about power supply filtering? Learn why proper filtering is critical to eliminate any unwanted noises at higher frequencies that may couple to an amplifiers output.

    episode 6 - rail to rail output stage: Find out how rail-to-rail applies to the output stage of CMOS amplifiers.

    episode 7 - Zero-Drift Terminology: Zero-drift refers to any amplifier that uses a continuously self-correcting architecture, creating a highly precise device. Learn more about zero-drift terminology in this episode.

    Stay tuned for more episodes and let us help you increase your aptitude for amplifiers.

    As always, we would be happy to get your feedback on MicroSolutions. Feel free to email us at [email protected].

  • (continued on page 5)

    SHOWCASE

    4

    The hacker, engineering and designer community is a creative and enthusi-astic force that is capable of coming up with solutions to a variety of serious issues that face us all, either in our local communities or on a global scale. As leading-edge hardware and software resources become more available and affordable, they enable todays inventors to develop concepts that were considered just science fiction in the not-so-distant past into reality. With this in mind, Microchip is pleased to support this movement by sponsoring or participating in some special opportunities to help you join in and make a difference.

    The Hackaday PrizeChallenging you to build something that matters, the 2015 Hackaday Prize is now underway. Submit your idea for a design that solves a problem in some way on the Hackaday.io community site, and then docu-ment it and build a prototype of your design. If your design includes any Microchip products, you can tag it to appear on the Microchip list so we can follow your progress too. Through-out this process, you will find opportunities to engage with others in the community and possi-bly win prizes, including the grand prize of a trip

    Make a Difference in the WorldJoin the Growing Hacker/Maker Movement to Create innovative Solutions that Better our Future

    to space! The deadline for submitting your entry is August 17th, so visit the Hackaday Prize website now to get all the details.

    What kind of innovative solution can you envision? Microchip has a wide range of prod-ucts and development tools to help you get started with your design. Would you like to leverage the resources of the well-established Arduino platform, but add more power, memory

    and peripheral features to your project? Then check out the 32-bit chipKIT embedded platform, which is based on our PIC32 microcontrollers. Or, is your project going to need some sort of wireless capabili-

    ties? If so, visit our Wireless Solutions page to learn how to easily add Bluetooth, Wi-Fi or another embedded wireless technology to your design. And, if you want to build a design for the Internet of Things, our wcM development Kit 1 makes it easy to connect your system to a cloud-based server, such as Amazon Web Ser-vices (AWS). We also offer a variety of products that allow you to add user-friendly touch- and gesture-based interfaces to your project, includ-ing 3D gesture recognition. Visit our Touch and input sensing solutions page to learn more about our award-winning technologies.

    Today's inventors develop concepts

    that were considered science fiction in the not-so-distant past into reality.

    What kind of innovative solution can you envision?

  • To help control your design, Microchip also offers solutions for the entire performance range of 8-bit, 16-bit, and 32-bit microcon-trollers. These PIC MCUs are supported by our comprehensive and easy-to-use develop-ment tools, including the free MPLAB X in-tegrated Development Environment (IDE) and MPLAB XC compilers. Devices in our Analog and Interface category include power management, thermal management, linear, mixed-signal, safety and security solutions, as well as support for interfaces such as CAN, LIN, Ethernet, USB and infrared. And this is just the tip of the iceberg. Visit the Applications area of the Microchip website to get an overview of various technologies and review some reference designs that might help you zero in on an idea for your project.

    You can purchase devices and development toolsincluding a variety of products from our Third-Party Partnersfrom our online store, www.microchipdirect.com. If you are a student or educator, you can register for a microchipDIRECT account using your school email domain (.edu, .k12, .ac, etc.) and you will receive an automatic 25% discount on Microchip development tools. Also, follow Microchip on

    social media to learn about ways you can use some of our products in your project and to take advantage of some special offers well have for you over the upcoming months. Here are some details on some additional upcoming activities and events:

    Hackster Hardware WeekendIf you live in the US and enjoy the hackathon atmosphere, check out the Hack to the Future Hackster Hardware Weekend series of events. They have hit the road on a 10-city tour in an original and hackable DeLorean DMC 12sporting a Microchip logo on its hoodto educate, connect and help the com-munity create designs for a better future. There will be speakers, food, prizes and hardware kits, including some of our chipKIT Fubarino Mini boards. While the tour has already passed through some cities, there are several more stops to go. Future international locations are also being planned. Visit their website for additional details on upcoming events.

    Maker Faire Bay AreaMicrochip will also be returning to Maker Faire Bay Area, being held May 1617 at

    the San Mateo County Event Center in San Mateo, California. This family-friendly festival also encourages makers of all ages, from stu-dents to professionals, to show their creative side. Registration opens soon. Stop by our booth to learn how 8-bit PIC MCUs and the easy-to-use chipKIT embedded platform can bring your design ideas to life.

    While these are challenging times, there are still exciting opportunities for individuals to make a positive impact. Small beginnings can lead to big changes. We look forward to seeing how you use your ingenuity to help make a difference where you live or in a broader area of the world.

    SHOWCASE

    5

  • NEW PRODuCT

    6

    According to global information company IHS Technology, the automotive display market will grow exponentially over the next six years. Driver Information Dis-plays (DIDs) are one of the fastest growing segments, with an expected increase from 30.8 million units in 2014 to 102.8 million in 2020. Driven by safety requirements, the camera market in motor vehicles is also projected to explode. The convergence of consumer electronics, infotainment, driver information displays and camera-based Ad-vanced Driver Assistance Systems (ADAS) is creating the demand for streaming high-quality video in all car classes.

    As a result, Microchip recently announced the worlds first H.264 video I/O companion inte-grated circuits (ICs) optimized for the proven and robust Media Oriented Systems Transport (MOST) high-speed automotive infotainment and ADAS network technology. The os85621 and os85623 expand our existing family of MOST I/O companions to now include cost-effective video codec solutions.

    Featuring a low-latency, high-quality H.264 codec and an on-chip Digital Transmission

    Video Streaming Hits the Road introducing the World's First H.264 Video i/o Companions optimized for MoST High-Speed Automotive infotainment and ADAS Networks

    H.264 Video Encoders and Decoders Simplify Applications Requiring High Quality, Low Latency and Content-Protected Video Transmission

    Content Protection (DTCP) coprocessor, the OS85621 enables you to implement a com-prehensive content-protected video trans-mission solution within days. Video streams with restricted access from devicessuch as

    DIDs, digital media drives and TV tunerscan now be easily transmitted as encrypted H.264 over a MOST network, satisfy-ing todays market demand for high-quality audio and video within the automotive environ-

    ment. The OS85621s on-chip DTCP copro-cessor supports hardware acceleration of the computation-intensive operations required for DTCP authentication and content protection. Up to eight independent data streams can be simultaneously routed through the DTCP coprocessors cipher engine for M6 or AES-128 encryption/decryption.

    The ultra-low-latency mode of the H.264 codec enables single-digit millisecond latency from video input to video output, including encoding, transmission over a MOST network and decod-ing. This real-time, high-speed video process-ing makes the OS85623which has no DTCP coprocessorideal for camera-based ADAS applications that are designed to enhance vehicle safety.

    Our family of MOST I/O companions now includes cost-effective video codec solutions.

    The oS85621 enables you to implement a comprehensive content-protected

    video transmission solution within days.

    (continued on page 7)

  • Development SupportTo ensure compatibility with other DTCP devices and further reduce development efforts, the OS85621 and OS85623 are supported by our free and ready-to-use DTCP-Stack for I/O companions. Additionally, the optional OS85621 Most togo reference design makes the creation of automotive ADAS and infotainment systems easy, enabling you to focus on application software development.

    Contact your local Microchip Sales Office for information on pricing and the availability of samples and production quantities of the OS85621 and OS85623.

    Both devices feature a number of hardware interfaces commonly used for infotainment data exchange. Their video-interface port supports a variety of industry-standard formats and resolutions, including HD for seamless interfacing to video sources. A streaming port supports legacy audio formats and 7.1 multi-channel audio up to 24 bits. Two independent, inter-chip-communication Media Local Bus (MediaLB) ports provide a seamless interface to Microchips Intelligent Network Interface Controllers (INICs) for MOST networks, as well as application pro-cessors. These video I/O companion chips also feature an additional Transport Stream Interface for compressed video streams.

    NEW PRODuCT

    7

  • NEW PRODuCT

    8

    Developing applications with motion/position sensors can be difficult. Cre-ating complex algorithms to filter, compensate and fuse the raw data from the sensors requires specialized knowledge and can also be very resource intensive. Designers of the latest embedded and Internet of Things (IoT) applications are looking for a solution that allows them to easily integrate motion capabilities into their custom boards and get their products to market quickly.

    Recognizing this, we recently announced a new development tool that makes it easy and cost-effective for you to develop motion appli-cations for a myriad of Internet of Things, embedded, industrial and consumer electronics designs, including portable devices, robotics, commercial trucks, industrial automation, patient tracking, smart farming, remote controls, gaming devices, toys and wearable devices.

    The MM7150 PICtail Plus Daughter Board (AC243007) plugs directly into the Explorer 16 Development Board (DM240001) to enable

    Motion Monitoring Made EasyMM7150 Motion Module Evaluation Board Speeds Design Cycles for Embedded and internet of Things Applications

    Combines a Motion Coprocessor with Integrated Sensor Fusion Algorithms, Accelerometer, Magnetometer and Gyroscope Sensors

    quick and easy prototyping utilizing Microchips extensive installed base of 16- and 32-bit PIC MCUs. This board combines the functionality of Microchip's SSC7150 motion coprocessor with 9-axis sensors, including a 3-axis accel-erometer, a 3-axis magnetometer and a 3-axis gyroscope from Bosch. The SSC7150 motion coprocessor is preprogrammed with sophisticat-ed sensor fusion algorithms which intelligently filter, compensate, and combine the raw sensor data to provide highly accurate position and orientation information.

    The potential uses for the MM7150 PICtail Plus Daughter Board are only limited by your imagination. It costs $50.00 and can be pur-chased from microchipDIRECT. It is supported by Microchips

    MPLAB icd 3 (DV164035) In-Circuit Debug-ger and MPLAB X Integrated Development Environment (IDE).

    To learn more about getting started with Microchip's motion products, visit our Motion and position solutions page.

    The MM7150 Motion Module Evaluation Board allows you to easily integrate motion capabilities into your design.

    This board combines the functionality of a motion

    coprocessor with 9-axis sensors.

  • (continued on page 10)

    NEW PRODuCT

    9

    In-vehicle networking growth continues to be driven by the need for electronic monitoring and control. As application features in power train, body and convenience, diagnostics and safety increase, more Electronic Control Units (ECUs) are being added to existing Controller Area Network (CAN) buses, causing automotive OEMs to become bandwidth limited. In addition, the end-of-line programming time for ECUs is on the rise due to more complex application pro-grams and calibration, which raises production line costs. The emerging CAN Flexible Data-Rate (FD) bus protocol solves these issues by increas-ing the maximum data rate while expanding the data field from 8 data bytes up to 64 data bytes. Microchip has been involved since the beginning of CAN FD, planning and developing products to help serve overall system needs. We use a global perspective, which allows our customers to sell their end products across all regions of the world.

    As an interface between a CAN protocol controller and the phys-ical two-wire CAN bus, our new family of CAN FD transceiversthe MCP2561/2FDcan serve both the CAN and CAN FD protocols. This product family not only helps automotive and industrial manufac-turers with todays CAN communication needs, but also provides a path for the newer CAN FD networks that are increasingly in demand. With

    Easing the CAN Migration PathMCP2561/2FD CAN FD Transceiver Family Serves Both CAN and CAN FD Protocols

    Cost-Competitive Transceivers Meet and Exceed Global Automotive Requirements and Offer Increased Maximum Data-Rate Capability

    their robustness and industry-leading features, which include data rates of up to 8 Mbps, the MCP2561/2FD transceivers enable you to implement and realize the benefits of CAN FD.

    These new transceivers have one of the industrys lowest standby current consumption (

  • Featured at CAN FD Plug FestThe MCP2561/2FD transceivers were successfully used to test CAN FD network designs at the Plug Fest organized by the CAN in Automation (CiA) Interest Group, held on March 25th in Detroit, Michigan. Both Kvasera supplier of advanced CAN solutions to engineers designing and deploying systems across a wide range of industriesand Intrepid Control Systems used these transceivers on their respective

    CAN FD boards at this event. Intrepid Control Systems supplies the neoVI, ValueCAN and WaveBPS CAN testing products to all major automotive OEMs.

    The MCP2561FD and MCP2562FD CAN FD transceivers can be ordered for sampling and volume production from microchipDIRECT or from Microchips worldwide distribution network.

    NEW PRODuCT

    10

    Register Now www.microchip.com/biricha

    Boston, Massachusetts June 24, 2015Class: PWR 9101Format: Hands-OnSchedule: 8:30 AM9:00 AM Arrival and registrationDate: Tuesday, June 2, 2015 9:00 AM to

    Thursday, June 4, 2015 5:00 PM

    Location: Westboro Executive Park 112 Turnpike Road, Suite 100 Westborough, MA 01581The last day will nish early to facilitate travel. A light lunch and refreshments will be provided all three days. Refreshments included.

    Are you looking to learn how to implement digital power supplies into your next design? Microchip has teamed up with Biricha Digital Power to o er world-leading expertise and training at the Digital Power Supply Design Workshop, scheduled for June 24, 2015, at our Westborough, Massachusetts, Regional Training Center.

    This highly technical and hands-on design workshop will bene t power supply designers as well as embedded systems programmers. Over the course of three days, the training will cover all of the necessary theory to design and implement digital power supplies using Microchips dsPIC33F family of microcontrollers. Learning will be reinforced through numerous labs and attendees will receive a Digital Power Starter Kit plus all of the software examples and templates which are used during the workshop. (Day 1 is optional and is intended for engineers who have little or no experience with PIC MCU programming.)

  • PRODuCT SPOTLIGHT

    11

    Digital-to-Analog Converters With Non-Volatile Memory and I2C Feature 8-, 10- and 12-bit ResolutionOffered in 8-pin TSSOP packages, the low-power, single and dual-channel MCP47FEBXX families of general-purpose DACs are ideal for applications in the consumer and industrial markets

    such as wireless microphones, mp3 player accessories and blood glucose test devicesand appli-cations such as motor control, instrumentation, sensor calibration, and set point/offset trimming. The integrated EEPROM enables DAC settings to be recalled at power up, for added system flexibility. The choice of 8-, 10- and 12-bit resolution provides flexibility with design requirements and cost. The various shutdown modes significantly reduce the device current consumption for power-critical applications. More Information.

    New Family of 3V Serial Quad I/O Interface SuperFlash Memory Devices Provides the Fastest Erase Times in the IndustryThe sst26Vf family of 3V Serial Quad I/O interface (or SQI interface) SuperFlash memory devices is available with 16-Mbit, 32-Mbit or 64-Mbit of memory, and is manufactured using

    Microchips high-performance CMOS SuperFlash technology, which provides the industrys fastest erase times and superior reliability. Sector and block erase commands are completed in just 18 ms, and a full chip erase operation is completed in 35 ms. Competing devices require 10 to 20 seconds to complete a full chip erase operation, making the SST26VF approximately 400 times faster. De-signed for low power consumption, the SST26VF is ideal for energy-efficient embedded systems. More Information.

    5 GHz Power Amplifier Module Extends the Range, Reduces Production Costs of WLAN Applications Based on IEEE 802.11ac Wi-Fi StandardAchieving the maximum data rate and longest range, while min-imizing current consumption, is essential to designers of Wi-Fi

    MIMO access-point, router and set-top-box systems. The sst11cp22 5 GHz Power Amplifier

    (continued on page 12)

  • Module (PAM) for the IEEE 802.11ac ultra high data rate Wi-Fi standard delivers 19 dBm linear output power at 1.8% dynamic Error Vector Magnitude( EVM) with MCS9 80 MHz bandwidth

    modulation. Additionally, the SST11CP22 delivers 20 dBm linear power at 3% EVM for 802.11a/n applications, is spectrum mask compliant up to 24 dBm for 802.11a communication, and has less than 45 dBm/MHz RF harmonic output at this output power, making it easier for the system board to meet FCC regulations. More Information.

    Microchip Licenses EtherCAT Technology for Its Next-Generation Ethernet ControllersThe EtherCAT standard is a proven and robust industrial com-munication protocol that is expanding its market presence in drive and I/O applications. With EtherCAT technologys on

    the fly processing and use of standard Ethernet cabling, which eliminates expensive switch fabrics, Microchips next-generation slave controllers offer the high level of integration and cost optimization required for current and future industrial applications. This includes the Internet of Things (IoT), since EtherCAT technology is a perfect fit for adding connectivity to industrial IoT designs. More Information.

    MOST150 INICs Enable Cost-Effective Implementations of Smart-Antenna Modules Inside VehiclesBy employing the new MOST150 technology coaxial physical layer specification, the os81118af Intelligent Network Inter-face Controller (INIC) with integrated coax transceiver is able

    to support smart-antenna module connectivity to in-vehicle MOST150 Advanced Driver Assis-tance System (ADAS) and infotainment networks. The MOST150 coaxial physical layer is ideally suited for smart-antenna telematics and other data traffic from AM/FM, DAB, SDARS, DVB-T, 3G/LTE, GPS and Wi-Fi signals that increasingly need to connect with in-vehicle networks for high-bandwidth control, audio, video and Internet Protocol (IP) communication. Using proven and low-cost coaxial cabling to simultaneously deliver communication signals and power to these in-vehicle systems simplifies design and installation efforts while lowering costs and reducing vehicle weight for easier compliance with environmental regulations. More Information.

    PRODuCT SPOTLIGHT

    12

  • DE

    V T

    OO

    L D

    EA

    LS

    13

    The Savings Are in Bloom

    Spring is a time for fresh starts and new projects. Look through our April dev tool deals to find some special items that might help inspire your creativity. To take advantage of these special sale prices, go to www.microchipdirect.com and add the item to your cart. Add the coupon code during checkout. These are limited time offers so act quickly to get yours while the deals are still available and supplies last.

    MTCH101 Touch Sensing Demo Board (DM160220)microchipDIRECT Coupon Code: TP1513

    No experience required! Quickly and easily implement Microchips mTouch technology in any application with the MTCH101 Touch Sensing Demo Board. This kit consists of a Proximity Sensor Board and an MTCH101 MCU Board to provide you with a turnkey proximity

    detection companion application right out of the box. Save 40% and get your kit for just $17.99.

    MPLAB Starter Kit for Digital Power (DM330017)microchipDIRECT Coupon Code: TP1514Explore the capabilities and features of the dsPIC33F GS Digital Power Conversion family with the MPLAB Starter Kit for Digital Power. This digitally controlled power supply board consists of one independent DC/DC synchronous buck converter and one independent DC/DC boost converter. Each power stage includes a MOSFET-controlled 5W resistive load. The Starter Kit also includes an on-board debugger/programmer. Get yours for 30% off the regular price.

    MEB/MEB II UART-to-USB Adapter Board (AC320101)microchipDIRECT Coupon Code: TP1515

    The MEB/MEB II UART-to-USB Adapter Board uses the MCP2200 Breakout Module to convert USB-to-UART signals that can be accessed directly by the PICtail connector on either the Multimedia expansion Board (MEB) or the Multimedia Expansion Board II (MEB II). Its on sale now for $18.99.

    (continued on page 14)

  • 8-bit Wireless Development Kit - 2.4 GHz IEEE 802.15.4 (DM182015-1)microchipDIRECT Coupon Code: TP1516Save almost $140 on this easy-to-use evaluation and development platform for your IEEE 802.15.4 applications. The 8-bit Wireless Development Kit - 2.4 GHz IEEE 802.15.4 is pre-programmed with the MiWi protocol stack and comes with two PIC18 Wireless Development Boards with a PIC18F46J50 XLP microcontroller, two MRF24J40MA transceiver PICtail daughter cards, two LCD serial accessory boards, two RS232 serial accessory boards, two USB A to Mini-B cables and two RS232 serial cables. Order your kit today.

    DEV TOOL DEALS

    14

  • (continued on page 16)

    DE

    SIG

    N A

    RT

    ICLE

    15

    Powerful MPLAB Harmony Configurator Accelerates Your 32-bit Embedded Software Development

    MPLAB Harmony is a flexible, abstracted, fully integrated firmware development platform for all 32-bit PIC32 microcontrollers (MCUs). It takes key elements of modular and object-oriented design, adds in the flexibility to use a RTOS or work without one, and provides a framework of software modules that are easy to use, configurable for specific design requirements and that are purpose-built to work together. It also integrates the licens-ing, resale and support of Microchip and third-party middleware, drivers, libraries and real-time operating systems.

    One of the key aspects of the framework is the MPLAB Harmony Configurator tool (MHC). Its graphical interface allows you to select and configure all Harmony components, including mid-dleware, system services and peripherals. The MPLAB Harmony Configurator environment reduces the amount of time it takes to change the configuration of peripherals any time during development, while practically eliminating the possibility of bugs in the peripheral and middleware configurations.

    MPLAB Harmony Block Diagram

    Application(s)

    RTOS(Third Party)

    Common System Services

    Middleware

    Plug-In Plug-In Driver

    OSALDriverMiddleware

    DriverDriverDriverDriver Driver

    PLIBPLIBPLIBPLIB PLIBSystem

    ConfigurationRTOS

    Configuration

    Hardware

    SoftwareFramework

    MPL

    AB

    H

    arm

    ony

    Con

    figur

    ator

    (MH

    C)

  • DESIGN ARTICLE

    16

    MHC features include a clock configurator that provides a graphical user interface to configure the oscillator module of the PIC32 devices. While simulating the normal operation of the oscillator module, the MHC clock configurator contains interactive controls, dynamic output, and visual warnings to help guide you in es-tablishing the desired system clock configu-ration. The MHC clock configurator supports the configuration of system clock frequency, peripheral bus clock, reference clock, and USB PLL. Additionally, the auto-calculation feature of MHC is designed to determine the divider and multiplier values in the SPLL, based on a user-requested system clock frequency.

    The graphical pin manager is another highlight of MHC. It enables you to configure the pins of Microchip devices quickly and intelligently.

    The tool consists of a graphical representation of the state of the component and a table that allows you to configure the pins of the device.

    Our MPLAB Harmony Configurator video on YouTube provides you with an overview of the features of this powerful plug-in.

    The combination of MPLAB Harmony Software Framework, the MPLAB X Integrated Develop-ment Environment (IDE) and the MPLAB XC32 compiler offers you a one-stop shop for all your PIC32 embedded software needs. If you are looking to get your product to market quickly while facing ever-shorter product design schedules and decreasing budgets, you will definitely benefit from this easy-to-use code development solution.

  • (continued on page 18)

    DE

    SIG

    N A

    RT

    ICLE

    17

    Getting Started with SuperFlash Technology

    In the How Fast Is Your Memory? article in the January/February 2015 issue of MicroSolutions, we introduced you to our NOR Flash products with SuperFlash Technology. These products come in a variety of bus interfaces, speeds, voltages and packages. Below are some things to consider when selecting a Flash solution:

    NOR vs. NAND Flash MemoryNOR and NAND Flash memory differ in the way connections are made between the individual memory cells. In NOR Flash memory, each cell is individually connected to the bit line in parallel. NAND Flash memory cells are connected in series to a bit line. The series connection reduces the number of ground wires and bit lines, result-ing in a higher-density layout. For a given process technology and density, a NAND Flash memory is about 60% smaller than a NOR Flash memory. This provides a lower cost per bit than NOR Flash memory. However, NAND Flash memory does not provide a random-access external address bus. Therefore data can only be read in pages. This makes NAND Flash memory similar to data storage devices like hard disk drives and optical memory. On the other hand, NOR Flash memory is better suited for accessing program code, such as a computers BIOS or firmware. NOR Flash memory is read similarly to random-access memory, which is perfect for execute-in-place applications.

    nand norMain application File Storage Code ExecutionStorage Capacity High LowXip capabilities No YesCost per Bit Better Active Power Better Standby Power BetterWrite Speed Good read speed Good

    Table 1 - NAND and NOR Flash Memory Selection Criteria

    NOR Cells NAND Cells

  • DESIGN ARTICLE

    18

    What Is Execution In Place (XIP)?Execution In Place (XIP) refers to executing

    program code directly from external storage rather than copying it into RAM first. Running program code from external storage allows ad-ditional RAM to be freed up for dynamic data. For XIP to be possible, you must have random access capability, the appropriate memory mapping and sufficient bandwidth. NOR Flash memory is well suited for XIP. Since program code in NAND Flash memory must be copied into RAM before being executed, NAND Flash memory is not able to utilize XIP.

    Which Bus Interface Should You Choose?NOR Flash memory devices are available with either a serial or parallel bus interface. The choice of which bus to use is often dictated by the required data rates of the application as well as the amount of available I/O on the mi-crocontroller and the board space available. With the ongoing demand for smaller and cheaper end products, more designs are now being switched to a serial interface to reduce board space and component price.

    Todays microcontrollers are often bond pad limited. This means that the size of the die is limited by the space needed for bond pads rather than for the microcontroller gates or cir-cuitry. Eliminating bond pads results in a smaller die size, which increases the number of die on a wafer and reduces the cost per die. Additionally, the use of more pins increases the assembly

    Parallel Flash Memory

    Serial SPI Flash Memory

    data Throughput High Medium

    pin count 32+ 8+Package Size Large SmallPower consumption Medium Low

    cost High Low

    Table 2 - Parallel vs. Serial SPI Flash Memory

    and packaging costs of both the microcontroller and the memory device. This is why there has been a major shift from using parallel Flash memory devices to using serial Flash memory devices. However, switching to fewer pins means lower data throughput. To offset this lower data throughput, a quad I/O serial interface is being used in the latest memory devices, creating a line of products called Serial Quad I/O (SQI) Flash memory.

    SQI Flash memory devices read and write through a 4-bit multiplexed synchronous serial communication interface, which enables true low-pin-count, high-bandwidth-code XIP appli-cations. The firmware commands are very similar to those of SPI, but with 4-bit I/O instead of single-bit I/O. Therefore, this interface pro-vides approximately four times the data throughput of SPI. Compared to parallel Flash memory devices, SQI Flash memory devices provide very fast performance without requiring large, expensive and high pin-count packages.

    What Is the Serial Flash Discoverable Parameters (SFDP) Standard?The Serial Flash Discoverable Parameter (SFDP) standard is an open standard approved by JEDEC. The goal of this standard is to allow interchangeability between Flash memory devices from different manufacturers of Flash products. Each manufacturers memory has differences in performance specifications, memory maps and features. SFDP allows the use of a single driver which reads identifying

    Flash Memory Performance Comparison Chart

    (continued on page 19)

  • DESIGN ARTICLE

    19

    information out of a table of values stored on the Flash device. The benefit of using

    this standard is that information about multiple Flash parts no longer needs to be stored in system software. This helps to future-proof the software, allowing you to use lower-cost Flash devices as they become available without needing to update your software.

    Our serial and parallel Flash memory products are an excellent choice for applications requir-ing superior performance, excellent data reten-tion and high reliability. Visit our SuperFlash Technology page or contact your local Microchip Sales Office for more information on selecting the right serial or parallel Flash memory device for your latest application.

  • (continued on page 21)

    DE

    SIG

    N A

    RT

    ICLE

    20

    Going the Distance to Secure our Future

    The rapidly growing analog Closed-Circuit Television (CCTV) market is greater than $23 billion, with more than 60 million camera shipments made worldwide in 2014. This is mostly driven by a huge growth in adoption due to the threat of terrorism, increased vehicle traffic con-gestion, and a greater need for public transportation and public space monitoring. Analog CCTV cameras transmit video over standard 75 coaxial (coax) cable. Since analog CCTV cameras are installed worldwide, there are essentially millions of miles of coaxial cable already installed and being used by the analog CCTV industry. Typical applications for CCTV video include: Public space monitoring - street corners, elevators Public transportation monitoring - subways, bus and train stations Street intersection monitoring - red light cameras Traffic monitoring - freeway congestion and license plate tracking Security surveillance - homes, apartments and businesses Event monitoring - concerts, protests, weather

    When analog CCTV video is consulted to review an incident, it frequently offers very poor quality facial recognition capabilities and indistinct images of objects and events. Given these limitations, security agencies are starting to require solutions that allow this type of surveillance and monitoring to be captured in much higher resolution. As this market starts to transition to digital High-Definition CCTV (HD-CCTV), the ideal solution would be able to use the existing CCTV coax cabling infrastructure for a variety of next-generation HD digital video applications.

    A High-Definition Video Transmission StandardThere are several solutions which can fulfill this need for higher-resolution video over existing cabling. However the Society of Motion Picture and Television Engineers (SMPTE) Serial Digital Interface (SDI) is one of the bestif not the bestsolution for making this transition. Since it is very important to have the full raw data for analytic processing, SDI provides very-high-resolution imagery at the full uncompressed bandwidth. SDI is a standard for digital video transmission, using standard 75 impedance coax cable in most cases. The most common data speeds are 270 megabits per second (Mbps) to 2.97 gigabits per second (Gbps). The most commonly de-ployed speed for SDI is HD-SDI (1.485 Gbps). However, speeds of up to 6 Gbps are theoretically possible. In many cases HD-SDI is used interchangeably with HD-CCTV.

  • 21

    A Single-Cable Solution for Video, Power and ControlThe typical coax cable run for HD-SDI solu-tions is 150-500 meters in distance. Micro-chips EQCO30T5 3G/HD-SDI Video Cable Driver and EQCO30R5 3G/HD-SDI Video Cable Equalizer chipset fully meets this dis-tance requirement. Both devices come in a space-saving 16-pin 4 4 mm QFN. When designed onto an HD-SDI camera board and an HD-SDI digital video recorder (DVR) board, the EQCO30T/R5 chipset can achieve distanc-es up to 220 meters over a 75 coax cable, depending on cable quality. For applications re-quiring cabling over longer distances, HD-SDI transmission can be achieved at lower speeds. For example, a cable length of 720 meters sup-ports SDI cameras. A typical board design is shown in Figure 1.

    High-Resolution HD-SDI CCTV Image

    Typical Analog CCTV Image

    (continued on page 22)

    DESIGN ARTICLE Microchips EQCO30T5 and EQCO30R5 HD-SDI chipset enables simultaneous high-speed video, power over coax, and camera control (RS-485) over a single coax cable. This eliminates the need to run extra line for power and control to the camera at the remote end.

    Extending Your Applications ReachFor applications where a transmission distance greater than 220 meters is required over 75 coax cable, the EQCO30T/R5 chipset has been designed into the EQCO-SDI-30-7502 Repeater. Each HD-SDI repeater unit receives an attenuated HD-CCTV signal and extends it up to 220 meters over the coax cable. Up to five HD-SDI repeaters can be added in series to achieve up to 1 kilometer in distance. Only the repeater nearest the recorder needs to be provided with the system power and the camera control signals. Similarly, the control signals and power (if needed) can be fed to a camera by the repeater nearest to it. Camera control is accomplished via RS485, the most commonly used communications protocol.

    EQCO-SDI-30-7502 Repeater

    Figure 1 - EQCO30T5 on Camera and EQCO30R5 on a DVR Board

    Up to 5 Mbpsuplink

    Up to1000 mA DC

    HighDefinitionCamera

    Electronics

    EQCO30T5

    Up to 3Gbps

    downlink

    Up to 5 Mbpsuplink

    Up to 3 Gbps

    downlink

    Up to 220 meters

    75 Coax

    Up to1000 mA DC

    Frame Store + CameraControl

    Electronics

    EQCO30R5

    EQCO30T5 On Camera EQCO30R5 on DVR Board

    4.8, 16, 32 Channel DVRHD-SDI

  • 22

    DESIGN ARTICLE The repeater contains three critical components to correct and then retransmit

    the signal: Adaptive Equalizer to return the signal to

    its original amplitude and modulation Reclocker to resynchronize the signal,

    bringing it back to its original condition Cable Driver to retransmit the signal with

    its original characteristics restored

    If you have a surveillance or monitoring ap-plication that requires higher resolution at longer distances, please contact your local Microchip Sales Office for more information on our HD-SDI solutions. The EQCO30T5, EQCO30R5 and EQCO-SDI-30-7502 can all be purchased from microchipDIRECT.

    The Microchip name and logo, the Microchip logo 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. 2015 Microchip Technology Inc. All rights reserved. 1/15DS00001744B

    Create Next Generation Medical Devices with MicrochipIndustry-Leading Components Backed by World-Class Design Support

    www.microchip.com/medical

    Add next-generation capabilities such as touch-screen capacitive sensing, wireless connectivity, integrated analog functions, security and authentication and longer battery life while lowering your overall system cost and time to market. Our combination of innovative products, dependable delivery and years of experience in enabling embedded medical solutions for customers around the world makes Microchip Technology your experienced partner of choice for medical designs.

    Features Extend battery life with

    XLP technology Add touch sensing with PIC MCUs Add wired and wireless connectivity

    Add security and authentication Add integrated analog functionality Get world-class support for

    medical designs

  • (continued on page 24)

    DE

    SIG

    N A

    RT

    ICLE

    23

    Avoid input Damage With 500 Volt Protection Circuit

    The simple, reliable and cost-effective 500V protection circuit described in this article is ideal for eliminating the possibility of input damage to very sensitive and expensive low-voltage, high-impedance bench and handheld measuring instruments. The protection is accomplished by limiting the amount of current going into the measuring instrument. The circuit will protect against destructive high voltages inadvertently connected to the probes (VMEAS) of up to 500 VDC of positive and negative polarity.

    Circuit DescriptionThe circuit consists of two transistors, Q1 and Q2, and one resistor, R. Both Q1 and Q2 are Microchip lnd150, 500V N-channel depletion mode MOSFETs with gate-to-source ESD protection in a SOT-89 surface mount package. Q1 and Q2 are configured back-to-back as two constant current sources with a nominal value of 1.0 mA. Resistor R sets the current limiting value. Figure 2 is a typical low-voltage high-impedance measurement instrument. Figure 3, on the next page, is a simplified equivalent circuit showing the protection scheme.

    Under normal operation, the absolute value of VMEAS is less than the supply voltage of the circuit. Q1 and Q2 will be fully on with a maximum guaranteed RDS of 1.0 k. Since the instruments input impedance is typically very high (above 10 M), the additional 2.0 k series resistance from Q1 and Q2 will not affect measurement accuracy.

    Figure 1 - A 500V Protection Circuit for Low-Voltage High-Impedance Measuring Instruments

    Figure 2 - A Typical Low-Voltage High-Impedance Measurement Instrument

  • DESIGN ARTICLE

    24

    Under the fault condition, the absolute value of VMEAS is greater than the supply voltage. Q1 limits the current to 1.0 mA against large positive voltages and Q2 limits the current to 1.0 mA against large negative voltages across VMEAS.

    For example, if VMEAS is connected to 500V, Q1 and Q2 will limit the input current to 1.0 mA, causing the input voltage to the measurement instrument to clamp to 1.3V above its supply voltage (when R = 600) and 0.7V below ground.

    Typically, the measuring instrument has ESD protection diodes connected from both probes to its power supply and ground. The ESD pro-tection diodes can usually handle 1.0 mA con-tinuously. If there are no ESD diodes provided, external diodes D1, D2, D3 and D4 can be added.

    Calculation for Resistor ValueFor a current limiting value of 1.0 mA, R can be approximated by the following equation:

    where, ID = desired constant current value, VGS(OFF) = pinch-off voltage, and IDSS = saturation current at VGS = 0V.

    VGS(OFF) and IDSS are device characteristics and will vary from lot to lot. Actual constant current values are not critical as long as the power dis-sipation of the LND150 is less than 600 mW.

    Figures 4A and 4B are pictures of current due to VMEAS vs. VMEAS voltage of the actual circuit. R1 was chosen to be 1.0 k.

    PDiss = 600 mW = (constant current value)(max. input voltage).

    Figure 3 - A Simplified Equivalent Circuit Showing the Protection Scheme

    Figure 4A Figure 4B

  • DE

    SIG

    N A

    RT

    ICLE

    25

    App Specialist Coderus Introduces the Infinite Possibilities of the internet of Things

    Recognized for their expertise and reputation for producing quality mobile and embedded applications using Microchips solutions, Coderus has recently joined the Microchip Design Partner Program as an App Developer Specialist. They offer their customers a great foundation for developing applications for the much-hyped Internet of Things (IoT) and for facing the associated challenges that lie ahead.

    Now that computing technology has sufficient capacity and performance, combined with the extended reach of Internet access and advances made in low-power wireless communications devices, the IoT has emerged as a viable proposition for many applications. This creates many new opportunities to generate valuable data from a vast array of industry sectors including medical and green energy, for example. For the first time, vast amounts of data can be collected and ma-nipulated in almost real time, proving invaluable in reducing the costs associated with predicting problems. Eventually this may also result in self-healing systems.

    The thing in the Internet of Things, refers to the almost infinite sensing/data gathering device possibilities. Some that we can most easily relate to can be found in a heart monitor, wearable fitness device or a vehicle monitoring systemall of which are able to provide the user with helpful information or alert them to a potential problem. Enhancing the capabilities of devices that support peoples disabilities, such as hearing aids, will also be possible. As long as the sensing devices can connect to a central service through an Internet connection, information can be gathered and processed in an entirely automated fashion.

    Coderus development without barriers ethos, relationship with Apple for creating iOS apps and accessory development solutions, as well as experience producing solutions for Android and Windows mobile platforms have all led to their recent Microchip Design Partner status as an app solution provider for Microchip in Europe. To learn more about how Coderus can help you develop apps to aid in device collaboration, please visit www.coderus.com.

  • (continued on page 27)

    DE

    SIG

    N A

    RT

    ICLE

    26

    Learn.Digilentinc.comA Place to Get Started with Microchip PiC32 MicrocontrollersContributed by Digilent, Inc.

    Learning needs a starting point. With a multitude of options available on the market, users new to embedded systems often struggle to find a place to get started. Traditionally, embedded systems are taught in university laboratories or pushed into a half-day workshop. However, both of these teaching platforms leave a lot to be desired when it comes to information retention. This is why Digilent created the Digilent Learn Site teaching tool. Not only does it address this shortcoming, it also aug-ments traditional learning by giving users a free guided resource that can be studied at their own pace.

    Learn.DigilentInc.comThe Digilent Learn Site is an open, freely accessible community resource for sharing teaching and learning material focused on electrical and computer engineering. The site is built around a growing collection of hands-on projects that offer insight and design experience in key areas like analog circuit design, microprocessor pro-gramming and digital circuit design. All of the projects are hosted under the Creative Commons license, so anyone can use, modify, and repost as desired. Each project is self-contained and designed to expose a fun-damental concept in hardware or software design. This platform allows individuals, universities and training environments to explore and pursue goals at their own pace.

    chipKIT Embedded Platform: Our Preferred Learning Platform for MCUsThe chipKIT embedded platform refers to a community of hardware and software developersfrom hobbyists to professionalsas well as a design approach, centered around Microchips PIC32 mi-crocontroller architecture. There are a few unique characteristics inherent to the chipKIT embedded platform that make it ideal for use as a teaching tool by resources such as the Digilent Learn Site.

    Each project is self-contained and designed to expose a fundamental concept in hardware or software design.

  • DESIGN ARTICLE

    27

    Hardware Capabilities of the chipKIT Embedded Platform

    All chipKIT embedded platform boards are built around the powerful PIC32 microcontroller ar-chitecture. The desire was to provide users with access to technology that would remain current for several years beyond the learning phase. The hardware platforms are developed to be low cost and "plug and play" to equip users with a quick set-up time, which is perfect for new or inexperienced users.

    ide optionsThe following IDEs are available for free to use in conjunction with chipKIT embedded platform products: The Multi-Platform Integrated Development

    Environment (MPIDE) is a modified and extended form of the Arduino IDE. It supports PIC32-based chipKIT embedded platform boards while maintaining compat-ibility with the original Arduino community. It is a free, open-source program that runs on Windows, Mac, and Linux operating systems and features several built-in libraries and examples with a simplified programming language derived from C++.

    The Universal Embedded Computing IDE (UECIDE) is a new, modular IDE that supports many different board families and toolchains. The Plug-In Manager allows you to select and download the modules (boards, cores, and compilers) that you intend to use. It is similar in appearance and operation to MPIDE and uses the same chipKIT libraries and compiler.

    (continued on page 28)

    MPLAB X IDE is a debugging environment as well as an editor that integrates a compiler. It is used by the majority of professional, industry-level PIC MCU users and provides a migration option for MPIDE users into a production-level development tool.

    The CommunityThe chipKIT embedded platform community consists of a large audience that reaches beyond electrical and computer engineers to also include students, hobbyists, hackers and educators. This community lends itself to a pri-marily online cooperative learning experience which is manifested through sharing example projects, contributing code, creating tutorials, giving and receiving feedback and relating experiences.

    Multi-Platform Integrated Development Environment

    MPLAB X Integrated Development Environment

  • DESIGN ARTICLE

    28

    How to Get Started As a starting point, we suggest you visit

    chipKIT.net to familiarize yourself with the community. After that, visit the Digilent Learn site. Based on your comfort level, there are two options for immersing yourself in the content.

    If you are new to hardware or electronics, or are just looking for a place to begin, we suggest the Learn chipKIT Starter bundle. Included in this bundle is a comprehensive parts kit, a USB cable and the chipKIT uC32 board. Concepts covered in the Learn Site projects include simple electronics using a breadboard, digital logic, running displays, multiplexing, I/O expanders, counters, PWM, analog inputs and using simple ICs, just to name a few.

    If you prefer a more traditional approach to learn-ing embedded systems, we suggest the chipKIT Pro Starter bundle. This bundle includes a chipKIT Pro MX7 board along with six Pmods, which are used to teach concepts such as com-munication, I/O control, timing and delays, inter-rupts, and debugging in MPLAB X IDE.

    Uses MPIDE - Ideal for New Users

    Uses MPLAB X IDE - Traditional Approach

    Once you have your own hardware, you can begin utilizing the Digilent Learn Site. You may select several navigation options: single projects, topic pages, design challenges or comprehensive project sets grouped together as modules.

    When you have selected your project, you can expect the following format:

    1. Introduction: an explanation of the concepts that will be covered throughout the project.

    2. Before You Begin: concept requirements that are added to help users gauge their level of readiness and to offer suggestions on where to locate supporting material.

    3. Inventory: the list of materials and software necessary for the completion of the project.

    4. The Project Lesson: the in-depth explana-tion of fundamental concepts.

    5. Related Material: supporting concepts for the material presented in the lesson.

    (continued on page 29)

  • DESIGN ARTICLE

    29

    6. Project Design: a step-by-step guide to applying the topics from the

    lesson to the actual design of the project; most often in the form of building circuits, hardware setup, or software setup.

    7. Project Test: a test that a user can perform to get a feel for how well the knowledge has been retained. This section enables the identification of problem areas which may need some extra attention.

    8. Design Challenge: a challenge for users to apply what they have learned in the project, which enhances the understanding and exemplifies the different ways in which the concepts can be applied to other projects outside of the Learn Site environment.

    Where to Go From Here?Visit the chipKIT Projects page to see the micro-controller projects laid out for chipKIT products. We also encourage you to join the community at chipKIT.net or at Digilent's Educator Forum. Also, if you will be attending Masters 2015, be sure to join us for our "Introduction to chipKIT Embedded Platform" class.

    about digilentFounded in 2000 by two engineering educators, Digilent's mission is to make electrical engineer-ing and design technologies understandable and accessible to all, by enabling educators and students with modern technologies, tools and teaching approaches.

  • DE

    SIG

    N A

    RT

    ICLE

    30

    Coding for young EngineersWearable CodeBug Computer Provides Fun and Engaging introduction to Coding and Physical Electronics

    Many parents and educators are looking for creative ways to encourage children to pursue a rewarding and meaningful career in engineering. However, since engineering offers some pretty tricky barriers to entry for youngsters, anything that simplifies it or makes it fun will be more likely to encourage them to get started with their first projects.

    With this in mind, a team of engineers and academics located near Manchester in the UK have developed a very simple kit that enables young children to easily create code in a graphical web environment and then load it onto a PIC MCU via a USB cable. Interactive tutorials and code development are all hosted on the CodeBug website, so theres no need for additional software to be installed on your PC or tablet.

    Once the code has been downloaded onto the MCU, the CodeBug can be disconnected from the USB cable. It is powered by a standard CR2032 lithium coin cell, which allows it to be used in a variety of creative ways without being tied to a power source. Offering a 5 x 5 matrix of LEDs, push buttons, touch inputs and easy access to various I/O, the CodeBug inspires kids to create a number of fun projects. And, of course, once the youngsters are engaged and more skilled, they will be well prepared to make the step up to using MPLAB X Integrated Development Environment (IDE) for creating more challenging projects.

    Funding for CodeBug is well on its way. Visit the Codebug Kickstarter page to learn more about this new and fun educational resource. Also visit Microchip's Academic Program page to learn about the unique benefits and resources we offer for students, university educators and researchers worldwide.