May 2012 Microsolutions

15
IN THIS ISSUE... www.microchip.com Microcontrollers Digital Signal Controllers Analog Memory Wireless May 2 0 1 2 Learn more about the MCP3911, visit: http://www.microchip.com/MCP3911 Microchip’s Next-Generation Energy-Measurement Analog Front End AFE Features Accuracy of 94.5 dB SINAD and 106.5 dB THD for Better Energy-Metering and Power-Monitoring Performance Microchip announced its next-generation energy-measurement analog front end (AFE), the MCP3911, which features two 24-bit, delta-sigma ADCs that operate at 3V with industry-leading accuracy of 94.5 dB SINAD and 106.5 dB THD. This provides better energy-meter and power-monitoring performance by accurately measuring from start-up to maximum current, and enables faster calibration during production. Four different power modes offers the flexibility of enabling either extremely low-power designs, to 0.8 mA per channel, or designs for higher-speed signals and harmonic content. The extended temperature range allows operation from -40°C to +125°C. The MCP3911 also features 2.7 to 3.6V analog and digital operation, which simplifies the interface by running off of the same power rail as the microcontroller. An internal, low-temperature-coefficient voltage reference, along with PGAs on each channel, further enables metering and monitoring designs. As the global energy-metering infrastructure is being upgraded and the power-monitoring market is growing, designers of energy-measurement and other signal-acquisition applications are looking for ways to increase performance while lowering costs. Microchip is meeting these needs with the industry’s most accurate AFEs, which reduce power consumption with their low-power modes and reduce costs by decreasing the number of required power rails and external components. With this expansion of our industry-leading line of energy-measurement analog front ends, Microchip is enabling the rapidly growing global adoption of high-performance smart meters. The combination of the world’s best accuracy with our extensive PIC® microcontroller portfolio provides designers with the tools they need to create the best performing energy meters and power monitors at the lowest cost. Microchip also announced a tool that enables development with these new AFEs. The MCP3911 Evaluation Board for 16-bit MCUs (part # ADM00398). 1. MICROCHIPS NEXT-GEN ENERGY- MEASUREMENT ANALOG FRONT END 2. REGISTRATION OPENS FOR THE 16TH ANNUAL MASTERS CONFERENCE 3. BROWSE MICROCHIP AND FIND PRODUCTS ON THE GO! 4. MICROCHIPS REMOTE CONTROL DEMO BOARD INTEGRATES GRAPHICS, TOUCH SENSING, USB AND WIRELESS CONNECTIVITY 5. MICROCHIP COMBINES WI -FI® MODULE AND 32- BIT PIC32 MICROCONTROLLER IN COST-EFFECTIVE NEW DEMO BOARD FOR DESIGNS REQUIRING LOW POWER USB AND PERIPHERAL FLEXIBILITY... 6. MICROCHIP BRINGS COST-EFFECTIVE ADVANCED ANALOG AND DIGITAL INTEGRATION TO 8- BIT PIC® MICROCONTROLLERS 7. MICROCHIP SIMPLIFIES C COMPILER LINE, PROVIDES BEST EXECUTION SPEED AND CODE SIZE FOR ALL PIC® MCUS AND DSPIC® DSCS 8. MICROCHIP UNVEILS SERIAL FLASH MEMORY DEVICE DEVELOPMENT KIT 9. PIC32 FOR HIGH-QUALITY AUDIO 10. MAINTAINING ACCURATE TIME USING A REAL TIME CLOCK 11. SAVE MORE WITH MICROCHIP 12. PROGRAMMING MADE EASY 13. LOOKING TO ENHANCE YOUR EMBEDDED CONTROL DESIGNS? 14. WHAT'S NEW IN MICROCHIP LITERATURE 15. WHAT'S NEW AT MICROCHIPDIRECT?

Transcript of May 2012 Microsolutions

Page 1: May 2012 Microsolutions

In ThIs Issue

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless

M a y 20

12

Learn more about the MCP3911 visithttpwwwmicrochipcomMCP3911

Microchiprsquos Next-Generation Energy-Measurement Analog Front EndAFE Features Accuracy of 945 dB SINAD and 1065 dB THD for Better Energy-Metering and Power-Monitoring Performance

Microchip announced its next-generation energy-measurement analog front end (AFE) the MCP3911 which features two 24-bit delta-sigma ADCs that operate at 3V with industry-leading accuracy of 945 dB SINAD and 1065 dB THD This provides better energy-meter and power-monitoring performance by accurately measuring from start-up to maximum current and enables faster calibration during production Four different power modes offers the flexibility of enabling either extremely low-power designs to 08 mA per channel or designs for higher-speed signals and harmonic content The extended temperature range allows operation from -40degC to +125degC

The MCP3911 also features 27 to 36V analog and digital operation which simplifies the interface by running off of the same power rail as the microcontroller An internal low-temperature-coefficient voltage reference along with PGAs on each channel further enables metering and monitoring designs

As the global energy-metering infrastructure is being upgraded and the power-monitoring market is growing designers of energy-measurement and other signal-acquisition applications are looking for ways to increase performance while lowering costs Microchip is meeting these needs with the industryrsquos most accurate AFEs which reduce power consumption with their low-power modes and reduce costs by decreasing the number of required power rails and external components

With this expansion of our industry-leading line of energy-measurement analog front ends Microchip is enabling the rapidly growing global adoption of high-performance smart meters The combination of the worldrsquos best accuracy with our extensive PICreg microcontroller portfolio provides designers with the tools they need to create the best performing energy meters and power monitors at the lowest cost

Microchip also announced a tool that enables development with these new AFEs The MCP3911 Evaluation Board for 16-bit MCUs (part ADM00398)

1 Microchiprsquos Next-GeN eNerGy-MeasureMeNt aNaloG FroNt eNd

2 reGistratioN opeNs For the 16th aNNual Masters coNFereNce

3 Browse Microchip aNd FiNd products oN the Go

4 Microchiprsquos reMote coNtrol deMo Board iNteGrates Graphics touch seNsiNG usB aNd wireless coNNectivity

5 Microchip coMBiNes wi-Fireg Module aNd 32-Bit pic32 MicrocoNtroller iN cost-eFFective New deMo Board

For desiGNs requiriNG low power usB aNd peripheral FlexiBility

6 Microchip BriNGs cost-eFFective advaNced aNaloG aNd diGital iNteGratioN to 8-Bit picreg MicrocoNtrollers

7 Microchip siMpliFies c coMpiler liNe provides Best executioN speed aNd code size For all picreg Mcus aNd dspicreg dscs

8 Microchip uNveils serial Flash MeMory device developMeNt Kit

9 pic32 For hiGh-quality audio

10 MaiNtaiNiNG accurate tiMe usiNG a real tiMe clocK

11 save More with Microchip

12 proGraMMiNG Made easy

13 looKiNG to eNhaNce your eMBedded coNtrol desiGNs

14 whats New iN Microchip literature

15 whats New at Microchipdirect

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 2

RETURN TO FRONT PAGE

Registration Opens for the 16th Annual Worldwide MASTERs Conference The Premiere Technical Training Event for Embedded-Control EngineersConference Held August 6ndash11 2012 at Phoenix Resort Classes Available for All Experience Levels Beginner to ExpertMicrochip has announced it is accepting registrations for its 16th annual Worldwide MASTERs Conference at the JW Marriott Desert Ridge Resort in Phoenix Arizona with the Main Conference taking place from August 8 ndash 11 and a Pre-Conference on August 6 and 7 2012

The MASTERs Conference is a valuable resource for designing with Microchip products that provides design engineers with an annual forum for sharing and exchanging technical information on the Companyrsquos 8- 16- and 32-bit PICreg microcontrollers high-performance analog and interface solutions 16-bit dsPICreg digital signal controllers wireless and mTouchtrade sensing solutions memory products and MPLABreg development systems ndash including the industryrsquos only singular IDE to support an entire 8- 16- and 32-bit microcontroller portfolio

MASTERs is an in-depth bi-directional exchange of technical information between Microchip subject-matter experts and the Companyrsquos technical partners including customers third parties distributor FAEs and design partners

There is a broad range of class offerings for 2012 to meet the growing needs of software and hardware design engineers and engineering managers with 98 total classesmdash28 of which are new In addition to lecture-based classes there are 52 lsquohands-onrsquo workshops that enable attendees to learn more about specific applications by using development tools and writing code Classes are available for engineers with advanced experience through to little knowledge in the concepts and basics of the technology being discussed

Based on its overwhelming success at previous MASTERs Microchip is again offering a two-day Pre-Conference for those who wish to attend as many classes as possible during the week These classes are also designed for beginner through to advanced attendees For example ldquoIntroduction to Embedded Programming Using Crdquo is a two-day 16-hour step-by-step crash course in C with practical hands-on exercises

MASTERs classes cover the gamut of electronic-engineering topics including connectivity sessions on TCPIP USB CAN and wireless graphics and capacitive-touch interface development intelligent power supplies firmware development motor control selecting op-amps for sensor applications using an RTOS creating a bootloader and streaming audio for embedded designs

Additional activities include networking sessions between third-party partners and attendees to discuss relevant design topics meeting with third-party development tool experts and a simulated wafer fab plant tour Extracurricular events include the Hover Mice parentchild hovercraft building contest a Texas Hold-em card tournament a FIRSTreg Robotics exhibition match and sports-bar and video games that are suitable for the whole family

Registration amp Pricing Information

Entry to the MASTERs Conference courses a USB Flash Drive with all class materials round-trip airport transportation and accommodations for three nights with meals evening entertainment and more are included in the Conference cost of $1595 USD All payments are due within 30 days of registration All potential attendees must register by July 16 2012 Complete information regarding the MASTERs Conference can be found online

To learn more about MASTERs visit httptechtrainmicrochipcomusmastersHomeaspxredirects=usmasters

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 3

RETURN TO FRONT PAGE

Browse Microchip and Find Products On the Go

Microchip announced its new Mobile Product Selector application for iPhonereg iPadreg and Androidtrade smart phones and tablets as well as a version of its Web site for mobile browsers all of which are available today at the following linkshellip

y Applereg Application Available at App Store

y Android Application Available at Google Play

y Mobile Web Site Available Online

Microchiprsquos Mobile Product Selector application provides a simple fast and portable catalog of every Microchip product including 816 and 32-bit PICreg Microcontrollers Analog amp Interface Devices Memory ICs Wireless Solutions and all of the Microchip and Third Party Development Tools sold by Microchip Additionally customers can conduct keyword searches to view thousands of application notes and products and they can quickly find contacts for microchipDIRECT sales support local sales offices distribution partners and representatives worldwide The apprsquos touch-screen interface enables users to easily browse Microchiprsquos catalog by product line application function or market along with full datasheets and other product documentation Samples of many products may be ordered through the application and online purchasing is available via the microchipDIRECT Web site

Visit the Microchip mobile site at httpwwwmicrochipcommobile

Battery Selection Alkaline AAAA or Lithium CoinChoosing the right battery can be crucial to maximizing runtime in a device This monthrsquos tip will compare two small battery types you may be considering

Lithium CoinGood for Ultra Low Power Designs

Lithium coin batteries such as the CR2032 are rated at 30V have an 8-10 year shelf life and provide relatively good performance for applications less than 10mW In applications with higher pulse currents however the high internal resistance will diminish runtime

Alkaline AAAAWhen You Need A Little More Alkaline AAAA batteries are rated at 15V have a 5 year shelf life and provide more energy than a CR2032 across a wide range of applications If you need a little more than a lithium coin battery can deliver try the alkaline AAAA to maximize runtime

For more info visit the Energizer Technical Information Website or contact Energizer Application Support directly

ApplicationSupportEnergizercom dataenergizercom

copy2012 Energizer Holdings Inc Energizer label graphics and other marks are trademarks of Energizer

Application Support

Tip of the Month

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 4

RETURN TO FRONT PAGE

Microchiprsquos Remote Control Demo Board Integrates Graphics Touch Sensing USB and Wireless ConnectivityDemo Provides Complete Solution Including Hardware and Software Enables Faster Design of Applications With Graphical DisplaysMicrochip announced the availability of its Remote Control Demo Board which integrates graphics touch sensing USB and wireless communications (ZigBeereg RF4CE) The board demonstrates a remote control populated with a PIC24FJ256DA210 MCU 35rdquo graphical TFT LCD display with resistive touch screen capacitive touch keys with plastic overlay MRF24J40 24 GHz transceiver and ZENAtrade wireless adapter

Many consumer products now feature colorful graphical displays and touch capability And RF-based remote controls are becoming more prevalent as they provide bi-directional communication and work through walls (no line-of-sight communication is required) Microchiprsquos remote-control demo is in the form factor of a wireless remote control but it can also be used as a reference design to build any type of application that requires a graphical display touch sensing USB andor wireless capability The demo is supported by free source code that customers can use to customize for various graphical screens or touch-button scenarios The MRF24J40 transceiver can be used with the 24 GHz RF4CE ZigBeereg or MiWitrade protocols depending upon the wireless needs of the end application The demo showcases how a vivid color display application can use a low cost PIC24 MCU with integrated graphics driver utilizing only the on-chip RAM to eliminate the cost of external memory

The Remote Control Demo Board was developed to help customers get to market quickly with Microchiprsquos graphics mTouchtrade sensing USB and wireless solutionsThe demo comes populated with our low-cost graphics microcontroller and wireless transceiver to enable a cost-effective system solution

The Remote Control Demo Board with ZENA wireless adapter (part DM240315-2) can be purchased today

To learn more about the Remote Control Demo Board visit httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557517

Watch the Remote Control Demo Board video

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 5

RETURN TO FRONT PAGE

Microchip Combines Wi-Fireg Module and 32-bit PIC32 Microcontroller in Cost-Effective New Demo BoardMicrochiprsquos Compact Demo Board Makes it Easy to Evaluate the Combination of 32-bit MCU Performance and Low-Power Wi-Fi Includes Free and Full-Featured TCPIP StackMicrochip announced the Wi-Fireg Comm Demo Board which combines Microchiprsquos best-in-class 32-bit PIC32 microcontroller family with its low-power MRF24WB0MA agency-certified IEEE 80211 embedded Wi-Fi radio transceiver module Additionally Microchip provides a free and full-featured TCPIP stack which is available today for download This compact and cost-effective demo board is easy to integrate with existing embedded designs to evaluate Wi-Fi connectivity and 32-bit performance with minimal effort

Microchiprsquos free commercial-grade TCPIP stack delivers all the key stack layers for a complete Wi-Fi based design This includes HTML DHCP DNS IPv4v6 SSL etc In combination with the low-power Wi-Fi module and a PIC32 MCU this stack delivers a highly optimized embedded Wi-Fi solution

The pervasive Wi-Fi infrastructure continues to enable the rapid growth of the embedded ldquoInternet of Thingsrdquo in an expanding number of applications such as thermostats appliances meters pumps security systems and sensors This expansion includes the owners of existing systems who want to retrofit and add connectivity without installing wires Microchiprsquos Wi-Fi module and TCPIP stack enable this connectivity for control and communication over the Internet while its 32-bit PIC32 microcontroller family provides the performance and features to simultaneously process both Wi-Fi communications and a large number of other functions These functions include audio graphic displays and touch sensing and general system command-and-control operations

This demo board makes it easy to evaluate and integrate the combination of Microchiprsquos Wi-Fi solutions and 32-bit MCUs in one compact and cost-effective package The free full-featured TCPIP software stack and the fact that the Wi-Fi module is certified by multiple international communications agencies further speeds development

Microchiprsquos Wi-Fi Comm Demo Board (part DV102411) is available today Microchiprsquos free TCPIP stack can be downloaded now

To learn more about the Wi-Fireg Comm Demo Board httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557487To learn more about the PIC18F26J50 EVK Flowcode developemnt kit httpwwwelement14comcommunitydocsDOC-40330

For Designs Requiring low Power USB And Peripheral FlexibilityThe PIC18F26J50 EVK Flowcode development kit provides easy graphical programming languages for designersDeveloped with the assistance of Microchip in Europe the low cost PIC18 Flowcode Developers Kit from Element14 is based upon the PIC18F26J50 and ships with pre-programmed boot loader code that allows users to develop code within MPLAB or Matrix Multimediarsquos Flowcode environment and then download their completed code onto the board via a USB cable The board contains a temperature sensor capacitive touch pad potentiometer LEDs is tracked to accept an I2C eeprom and can interface to Matrixrsquos own hardware via an optional D type connector The Developers Kit ships with a Lite version of Flowcode and users with minimal programming experience really can develop working systems very quickly

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 6

RETURN TO FRONT PAGE

Microchip Brings Cost-Effective Advanced Analog and Digital Integration to 8-bit PICreg Microcontrollers New MCUs Feature On-Chip 12-bit ADC 8-bit DAC Op Amps High-Speed Comparators eXtreme Low Power Technology 16-bit PWM Offers Industryrsquos Highest Level of Advanced Control

Microchip announced from DESIGN West in San Jose the expansion of its 8-bit PIC16F(LF)178X enhanced Mid-range core microcontroller (MCU) family to include advanced analog and integrated communication peripherals such as on-chip 12-bit Analog-to-Digital Converters (ADCs) 8-bit Digital-to-Analog Converters (DACs) operational amplifiers and high-speed comparators along with EUSART (including LIN) I2Ctrade and SPI interface peripherals The MCUs also feature the industryrsquos best level of advanced PWM control and accuracy via the new Programmable Switch-Mode Controllers (PSMCs) This combination of features enables higher efficiency and performance along with cost and space reductions in applications such as closed-loop control in power supplies and lighting The ldquoLFrdquo versions of the MCUs feature eXtreme Low Power Technology for active and sleep currents of just 32 microAMHz and 50 nA respectively helping to extend battery life and reduce standby current consumption Low power consumption and advanced analog and digital integration make the general-purpose PIC16F(LF)178X MCUs ideal for LED lighting battery management digital power supply motor control and other applications

Environmental concerns and ldquogreenrdquo initiatives have led to the rise of new energy-consumption legislation around the world with regard energy consumption The PIC16F(LF)178X MCUs enable designers to create better products that consume less power Microchiprsquos enhanced Mid-range

8-bit core brings more performance with 32 MHz operation automatic context save for faster interrupt handling more efficiency in the instruction set with better code density plus faster and more direct-port control capabilities Available in 28- and 40-pin packages the MCUsrsquo advanced analog integration includes an on-chip 12-bit ADC for very small voltage measurements as well as enabling mTouchtrade capacitive sensing and an 8-bit DAC for high-resolution voltage references Also included on-chip are fast analog comparators with 50 nS response time Capture Compare Peripherals and I2Ctrade SPI and EUSART interfaces for communications Additionally the MCUs feature a 32 MHz internal oscillator 2 - 8K Words (35 - 14K Bytes) of Flash 128 ndash 512 Bytes of RAM and 256 Bytes of data EEPROM The PSMC peripherals are 16-bit Pulse-Width Modulators (PWMs) with 64 MHz operation and advanced control capabilities

The PIC16F(LF)178X family integrates considerable analog peripherals along with a versatile 8-bit PIC MCU This high analog integration enables designers to bring a new level of intelligence

To learn more about the PIC16F(LF)178X visit httpwwwmicrochipcompagehandleren-usfamily8bit

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 2: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 2

RETURN TO FRONT PAGE

Registration Opens for the 16th Annual Worldwide MASTERs Conference The Premiere Technical Training Event for Embedded-Control EngineersConference Held August 6ndash11 2012 at Phoenix Resort Classes Available for All Experience Levels Beginner to ExpertMicrochip has announced it is accepting registrations for its 16th annual Worldwide MASTERs Conference at the JW Marriott Desert Ridge Resort in Phoenix Arizona with the Main Conference taking place from August 8 ndash 11 and a Pre-Conference on August 6 and 7 2012

The MASTERs Conference is a valuable resource for designing with Microchip products that provides design engineers with an annual forum for sharing and exchanging technical information on the Companyrsquos 8- 16- and 32-bit PICreg microcontrollers high-performance analog and interface solutions 16-bit dsPICreg digital signal controllers wireless and mTouchtrade sensing solutions memory products and MPLABreg development systems ndash including the industryrsquos only singular IDE to support an entire 8- 16- and 32-bit microcontroller portfolio

MASTERs is an in-depth bi-directional exchange of technical information between Microchip subject-matter experts and the Companyrsquos technical partners including customers third parties distributor FAEs and design partners

There is a broad range of class offerings for 2012 to meet the growing needs of software and hardware design engineers and engineering managers with 98 total classesmdash28 of which are new In addition to lecture-based classes there are 52 lsquohands-onrsquo workshops that enable attendees to learn more about specific applications by using development tools and writing code Classes are available for engineers with advanced experience through to little knowledge in the concepts and basics of the technology being discussed

Based on its overwhelming success at previous MASTERs Microchip is again offering a two-day Pre-Conference for those who wish to attend as many classes as possible during the week These classes are also designed for beginner through to advanced attendees For example ldquoIntroduction to Embedded Programming Using Crdquo is a two-day 16-hour step-by-step crash course in C with practical hands-on exercises

MASTERs classes cover the gamut of electronic-engineering topics including connectivity sessions on TCPIP USB CAN and wireless graphics and capacitive-touch interface development intelligent power supplies firmware development motor control selecting op-amps for sensor applications using an RTOS creating a bootloader and streaming audio for embedded designs

Additional activities include networking sessions between third-party partners and attendees to discuss relevant design topics meeting with third-party development tool experts and a simulated wafer fab plant tour Extracurricular events include the Hover Mice parentchild hovercraft building contest a Texas Hold-em card tournament a FIRSTreg Robotics exhibition match and sports-bar and video games that are suitable for the whole family

Registration amp Pricing Information

Entry to the MASTERs Conference courses a USB Flash Drive with all class materials round-trip airport transportation and accommodations for three nights with meals evening entertainment and more are included in the Conference cost of $1595 USD All payments are due within 30 days of registration All potential attendees must register by July 16 2012 Complete information regarding the MASTERs Conference can be found online

To learn more about MASTERs visit httptechtrainmicrochipcomusmastersHomeaspxredirects=usmasters

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 3

RETURN TO FRONT PAGE

Browse Microchip and Find Products On the Go

Microchip announced its new Mobile Product Selector application for iPhonereg iPadreg and Androidtrade smart phones and tablets as well as a version of its Web site for mobile browsers all of which are available today at the following linkshellip

y Applereg Application Available at App Store

y Android Application Available at Google Play

y Mobile Web Site Available Online

Microchiprsquos Mobile Product Selector application provides a simple fast and portable catalog of every Microchip product including 816 and 32-bit PICreg Microcontrollers Analog amp Interface Devices Memory ICs Wireless Solutions and all of the Microchip and Third Party Development Tools sold by Microchip Additionally customers can conduct keyword searches to view thousands of application notes and products and they can quickly find contacts for microchipDIRECT sales support local sales offices distribution partners and representatives worldwide The apprsquos touch-screen interface enables users to easily browse Microchiprsquos catalog by product line application function or market along with full datasheets and other product documentation Samples of many products may be ordered through the application and online purchasing is available via the microchipDIRECT Web site

Visit the Microchip mobile site at httpwwwmicrochipcommobile

Battery Selection Alkaline AAAA or Lithium CoinChoosing the right battery can be crucial to maximizing runtime in a device This monthrsquos tip will compare two small battery types you may be considering

Lithium CoinGood for Ultra Low Power Designs

Lithium coin batteries such as the CR2032 are rated at 30V have an 8-10 year shelf life and provide relatively good performance for applications less than 10mW In applications with higher pulse currents however the high internal resistance will diminish runtime

Alkaline AAAAWhen You Need A Little More Alkaline AAAA batteries are rated at 15V have a 5 year shelf life and provide more energy than a CR2032 across a wide range of applications If you need a little more than a lithium coin battery can deliver try the alkaline AAAA to maximize runtime

For more info visit the Energizer Technical Information Website or contact Energizer Application Support directly

ApplicationSupportEnergizercom dataenergizercom

copy2012 Energizer Holdings Inc Energizer label graphics and other marks are trademarks of Energizer

Application Support

Tip of the Month

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 4

RETURN TO FRONT PAGE

Microchiprsquos Remote Control Demo Board Integrates Graphics Touch Sensing USB and Wireless ConnectivityDemo Provides Complete Solution Including Hardware and Software Enables Faster Design of Applications With Graphical DisplaysMicrochip announced the availability of its Remote Control Demo Board which integrates graphics touch sensing USB and wireless communications (ZigBeereg RF4CE) The board demonstrates a remote control populated with a PIC24FJ256DA210 MCU 35rdquo graphical TFT LCD display with resistive touch screen capacitive touch keys with plastic overlay MRF24J40 24 GHz transceiver and ZENAtrade wireless adapter

Many consumer products now feature colorful graphical displays and touch capability And RF-based remote controls are becoming more prevalent as they provide bi-directional communication and work through walls (no line-of-sight communication is required) Microchiprsquos remote-control demo is in the form factor of a wireless remote control but it can also be used as a reference design to build any type of application that requires a graphical display touch sensing USB andor wireless capability The demo is supported by free source code that customers can use to customize for various graphical screens or touch-button scenarios The MRF24J40 transceiver can be used with the 24 GHz RF4CE ZigBeereg or MiWitrade protocols depending upon the wireless needs of the end application The demo showcases how a vivid color display application can use a low cost PIC24 MCU with integrated graphics driver utilizing only the on-chip RAM to eliminate the cost of external memory

The Remote Control Demo Board was developed to help customers get to market quickly with Microchiprsquos graphics mTouchtrade sensing USB and wireless solutionsThe demo comes populated with our low-cost graphics microcontroller and wireless transceiver to enable a cost-effective system solution

The Remote Control Demo Board with ZENA wireless adapter (part DM240315-2) can be purchased today

To learn more about the Remote Control Demo Board visit httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557517

Watch the Remote Control Demo Board video

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 5

RETURN TO FRONT PAGE

Microchip Combines Wi-Fireg Module and 32-bit PIC32 Microcontroller in Cost-Effective New Demo BoardMicrochiprsquos Compact Demo Board Makes it Easy to Evaluate the Combination of 32-bit MCU Performance and Low-Power Wi-Fi Includes Free and Full-Featured TCPIP StackMicrochip announced the Wi-Fireg Comm Demo Board which combines Microchiprsquos best-in-class 32-bit PIC32 microcontroller family with its low-power MRF24WB0MA agency-certified IEEE 80211 embedded Wi-Fi radio transceiver module Additionally Microchip provides a free and full-featured TCPIP stack which is available today for download This compact and cost-effective demo board is easy to integrate with existing embedded designs to evaluate Wi-Fi connectivity and 32-bit performance with minimal effort

Microchiprsquos free commercial-grade TCPIP stack delivers all the key stack layers for a complete Wi-Fi based design This includes HTML DHCP DNS IPv4v6 SSL etc In combination with the low-power Wi-Fi module and a PIC32 MCU this stack delivers a highly optimized embedded Wi-Fi solution

The pervasive Wi-Fi infrastructure continues to enable the rapid growth of the embedded ldquoInternet of Thingsrdquo in an expanding number of applications such as thermostats appliances meters pumps security systems and sensors This expansion includes the owners of existing systems who want to retrofit and add connectivity without installing wires Microchiprsquos Wi-Fi module and TCPIP stack enable this connectivity for control and communication over the Internet while its 32-bit PIC32 microcontroller family provides the performance and features to simultaneously process both Wi-Fi communications and a large number of other functions These functions include audio graphic displays and touch sensing and general system command-and-control operations

This demo board makes it easy to evaluate and integrate the combination of Microchiprsquos Wi-Fi solutions and 32-bit MCUs in one compact and cost-effective package The free full-featured TCPIP software stack and the fact that the Wi-Fi module is certified by multiple international communications agencies further speeds development

Microchiprsquos Wi-Fi Comm Demo Board (part DV102411) is available today Microchiprsquos free TCPIP stack can be downloaded now

To learn more about the Wi-Fireg Comm Demo Board httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557487To learn more about the PIC18F26J50 EVK Flowcode developemnt kit httpwwwelement14comcommunitydocsDOC-40330

For Designs Requiring low Power USB And Peripheral FlexibilityThe PIC18F26J50 EVK Flowcode development kit provides easy graphical programming languages for designersDeveloped with the assistance of Microchip in Europe the low cost PIC18 Flowcode Developers Kit from Element14 is based upon the PIC18F26J50 and ships with pre-programmed boot loader code that allows users to develop code within MPLAB or Matrix Multimediarsquos Flowcode environment and then download their completed code onto the board via a USB cable The board contains a temperature sensor capacitive touch pad potentiometer LEDs is tracked to accept an I2C eeprom and can interface to Matrixrsquos own hardware via an optional D type connector The Developers Kit ships with a Lite version of Flowcode and users with minimal programming experience really can develop working systems very quickly

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 6

RETURN TO FRONT PAGE

Microchip Brings Cost-Effective Advanced Analog and Digital Integration to 8-bit PICreg Microcontrollers New MCUs Feature On-Chip 12-bit ADC 8-bit DAC Op Amps High-Speed Comparators eXtreme Low Power Technology 16-bit PWM Offers Industryrsquos Highest Level of Advanced Control

Microchip announced from DESIGN West in San Jose the expansion of its 8-bit PIC16F(LF)178X enhanced Mid-range core microcontroller (MCU) family to include advanced analog and integrated communication peripherals such as on-chip 12-bit Analog-to-Digital Converters (ADCs) 8-bit Digital-to-Analog Converters (DACs) operational amplifiers and high-speed comparators along with EUSART (including LIN) I2Ctrade and SPI interface peripherals The MCUs also feature the industryrsquos best level of advanced PWM control and accuracy via the new Programmable Switch-Mode Controllers (PSMCs) This combination of features enables higher efficiency and performance along with cost and space reductions in applications such as closed-loop control in power supplies and lighting The ldquoLFrdquo versions of the MCUs feature eXtreme Low Power Technology for active and sleep currents of just 32 microAMHz and 50 nA respectively helping to extend battery life and reduce standby current consumption Low power consumption and advanced analog and digital integration make the general-purpose PIC16F(LF)178X MCUs ideal for LED lighting battery management digital power supply motor control and other applications

Environmental concerns and ldquogreenrdquo initiatives have led to the rise of new energy-consumption legislation around the world with regard energy consumption The PIC16F(LF)178X MCUs enable designers to create better products that consume less power Microchiprsquos enhanced Mid-range

8-bit core brings more performance with 32 MHz operation automatic context save for faster interrupt handling more efficiency in the instruction set with better code density plus faster and more direct-port control capabilities Available in 28- and 40-pin packages the MCUsrsquo advanced analog integration includes an on-chip 12-bit ADC for very small voltage measurements as well as enabling mTouchtrade capacitive sensing and an 8-bit DAC for high-resolution voltage references Also included on-chip are fast analog comparators with 50 nS response time Capture Compare Peripherals and I2Ctrade SPI and EUSART interfaces for communications Additionally the MCUs feature a 32 MHz internal oscillator 2 - 8K Words (35 - 14K Bytes) of Flash 128 ndash 512 Bytes of RAM and 256 Bytes of data EEPROM The PSMC peripherals are 16-bit Pulse-Width Modulators (PWMs) with 64 MHz operation and advanced control capabilities

The PIC16F(LF)178X family integrates considerable analog peripherals along with a versatile 8-bit PIC MCU This high analog integration enables designers to bring a new level of intelligence

To learn more about the PIC16F(LF)178X visit httpwwwmicrochipcompagehandleren-usfamily8bit

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 3: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 3

RETURN TO FRONT PAGE

Browse Microchip and Find Products On the Go

Microchip announced its new Mobile Product Selector application for iPhonereg iPadreg and Androidtrade smart phones and tablets as well as a version of its Web site for mobile browsers all of which are available today at the following linkshellip

y Applereg Application Available at App Store

y Android Application Available at Google Play

y Mobile Web Site Available Online

Microchiprsquos Mobile Product Selector application provides a simple fast and portable catalog of every Microchip product including 816 and 32-bit PICreg Microcontrollers Analog amp Interface Devices Memory ICs Wireless Solutions and all of the Microchip and Third Party Development Tools sold by Microchip Additionally customers can conduct keyword searches to view thousands of application notes and products and they can quickly find contacts for microchipDIRECT sales support local sales offices distribution partners and representatives worldwide The apprsquos touch-screen interface enables users to easily browse Microchiprsquos catalog by product line application function or market along with full datasheets and other product documentation Samples of many products may be ordered through the application and online purchasing is available via the microchipDIRECT Web site

Visit the Microchip mobile site at httpwwwmicrochipcommobile

Battery Selection Alkaline AAAA or Lithium CoinChoosing the right battery can be crucial to maximizing runtime in a device This monthrsquos tip will compare two small battery types you may be considering

Lithium CoinGood for Ultra Low Power Designs

Lithium coin batteries such as the CR2032 are rated at 30V have an 8-10 year shelf life and provide relatively good performance for applications less than 10mW In applications with higher pulse currents however the high internal resistance will diminish runtime

Alkaline AAAAWhen You Need A Little More Alkaline AAAA batteries are rated at 15V have a 5 year shelf life and provide more energy than a CR2032 across a wide range of applications If you need a little more than a lithium coin battery can deliver try the alkaline AAAA to maximize runtime

For more info visit the Energizer Technical Information Website or contact Energizer Application Support directly

ApplicationSupportEnergizercom dataenergizercom

copy2012 Energizer Holdings Inc Energizer label graphics and other marks are trademarks of Energizer

Application Support

Tip of the Month

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 4

RETURN TO FRONT PAGE

Microchiprsquos Remote Control Demo Board Integrates Graphics Touch Sensing USB and Wireless ConnectivityDemo Provides Complete Solution Including Hardware and Software Enables Faster Design of Applications With Graphical DisplaysMicrochip announced the availability of its Remote Control Demo Board which integrates graphics touch sensing USB and wireless communications (ZigBeereg RF4CE) The board demonstrates a remote control populated with a PIC24FJ256DA210 MCU 35rdquo graphical TFT LCD display with resistive touch screen capacitive touch keys with plastic overlay MRF24J40 24 GHz transceiver and ZENAtrade wireless adapter

Many consumer products now feature colorful graphical displays and touch capability And RF-based remote controls are becoming more prevalent as they provide bi-directional communication and work through walls (no line-of-sight communication is required) Microchiprsquos remote-control demo is in the form factor of a wireless remote control but it can also be used as a reference design to build any type of application that requires a graphical display touch sensing USB andor wireless capability The demo is supported by free source code that customers can use to customize for various graphical screens or touch-button scenarios The MRF24J40 transceiver can be used with the 24 GHz RF4CE ZigBeereg or MiWitrade protocols depending upon the wireless needs of the end application The demo showcases how a vivid color display application can use a low cost PIC24 MCU with integrated graphics driver utilizing only the on-chip RAM to eliminate the cost of external memory

The Remote Control Demo Board was developed to help customers get to market quickly with Microchiprsquos graphics mTouchtrade sensing USB and wireless solutionsThe demo comes populated with our low-cost graphics microcontroller and wireless transceiver to enable a cost-effective system solution

The Remote Control Demo Board with ZENA wireless adapter (part DM240315-2) can be purchased today

To learn more about the Remote Control Demo Board visit httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557517

Watch the Remote Control Demo Board video

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 5

RETURN TO FRONT PAGE

Microchip Combines Wi-Fireg Module and 32-bit PIC32 Microcontroller in Cost-Effective New Demo BoardMicrochiprsquos Compact Demo Board Makes it Easy to Evaluate the Combination of 32-bit MCU Performance and Low-Power Wi-Fi Includes Free and Full-Featured TCPIP StackMicrochip announced the Wi-Fireg Comm Demo Board which combines Microchiprsquos best-in-class 32-bit PIC32 microcontroller family with its low-power MRF24WB0MA agency-certified IEEE 80211 embedded Wi-Fi radio transceiver module Additionally Microchip provides a free and full-featured TCPIP stack which is available today for download This compact and cost-effective demo board is easy to integrate with existing embedded designs to evaluate Wi-Fi connectivity and 32-bit performance with minimal effort

Microchiprsquos free commercial-grade TCPIP stack delivers all the key stack layers for a complete Wi-Fi based design This includes HTML DHCP DNS IPv4v6 SSL etc In combination with the low-power Wi-Fi module and a PIC32 MCU this stack delivers a highly optimized embedded Wi-Fi solution

The pervasive Wi-Fi infrastructure continues to enable the rapid growth of the embedded ldquoInternet of Thingsrdquo in an expanding number of applications such as thermostats appliances meters pumps security systems and sensors This expansion includes the owners of existing systems who want to retrofit and add connectivity without installing wires Microchiprsquos Wi-Fi module and TCPIP stack enable this connectivity for control and communication over the Internet while its 32-bit PIC32 microcontroller family provides the performance and features to simultaneously process both Wi-Fi communications and a large number of other functions These functions include audio graphic displays and touch sensing and general system command-and-control operations

This demo board makes it easy to evaluate and integrate the combination of Microchiprsquos Wi-Fi solutions and 32-bit MCUs in one compact and cost-effective package The free full-featured TCPIP software stack and the fact that the Wi-Fi module is certified by multiple international communications agencies further speeds development

Microchiprsquos Wi-Fi Comm Demo Board (part DV102411) is available today Microchiprsquos free TCPIP stack can be downloaded now

To learn more about the Wi-Fireg Comm Demo Board httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557487To learn more about the PIC18F26J50 EVK Flowcode developemnt kit httpwwwelement14comcommunitydocsDOC-40330

For Designs Requiring low Power USB And Peripheral FlexibilityThe PIC18F26J50 EVK Flowcode development kit provides easy graphical programming languages for designersDeveloped with the assistance of Microchip in Europe the low cost PIC18 Flowcode Developers Kit from Element14 is based upon the PIC18F26J50 and ships with pre-programmed boot loader code that allows users to develop code within MPLAB or Matrix Multimediarsquos Flowcode environment and then download their completed code onto the board via a USB cable The board contains a temperature sensor capacitive touch pad potentiometer LEDs is tracked to accept an I2C eeprom and can interface to Matrixrsquos own hardware via an optional D type connector The Developers Kit ships with a Lite version of Flowcode and users with minimal programming experience really can develop working systems very quickly

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 6

RETURN TO FRONT PAGE

Microchip Brings Cost-Effective Advanced Analog and Digital Integration to 8-bit PICreg Microcontrollers New MCUs Feature On-Chip 12-bit ADC 8-bit DAC Op Amps High-Speed Comparators eXtreme Low Power Technology 16-bit PWM Offers Industryrsquos Highest Level of Advanced Control

Microchip announced from DESIGN West in San Jose the expansion of its 8-bit PIC16F(LF)178X enhanced Mid-range core microcontroller (MCU) family to include advanced analog and integrated communication peripherals such as on-chip 12-bit Analog-to-Digital Converters (ADCs) 8-bit Digital-to-Analog Converters (DACs) operational amplifiers and high-speed comparators along with EUSART (including LIN) I2Ctrade and SPI interface peripherals The MCUs also feature the industryrsquos best level of advanced PWM control and accuracy via the new Programmable Switch-Mode Controllers (PSMCs) This combination of features enables higher efficiency and performance along with cost and space reductions in applications such as closed-loop control in power supplies and lighting The ldquoLFrdquo versions of the MCUs feature eXtreme Low Power Technology for active and sleep currents of just 32 microAMHz and 50 nA respectively helping to extend battery life and reduce standby current consumption Low power consumption and advanced analog and digital integration make the general-purpose PIC16F(LF)178X MCUs ideal for LED lighting battery management digital power supply motor control and other applications

Environmental concerns and ldquogreenrdquo initiatives have led to the rise of new energy-consumption legislation around the world with regard energy consumption The PIC16F(LF)178X MCUs enable designers to create better products that consume less power Microchiprsquos enhanced Mid-range

8-bit core brings more performance with 32 MHz operation automatic context save for faster interrupt handling more efficiency in the instruction set with better code density plus faster and more direct-port control capabilities Available in 28- and 40-pin packages the MCUsrsquo advanced analog integration includes an on-chip 12-bit ADC for very small voltage measurements as well as enabling mTouchtrade capacitive sensing and an 8-bit DAC for high-resolution voltage references Also included on-chip are fast analog comparators with 50 nS response time Capture Compare Peripherals and I2Ctrade SPI and EUSART interfaces for communications Additionally the MCUs feature a 32 MHz internal oscillator 2 - 8K Words (35 - 14K Bytes) of Flash 128 ndash 512 Bytes of RAM and 256 Bytes of data EEPROM The PSMC peripherals are 16-bit Pulse-Width Modulators (PWMs) with 64 MHz operation and advanced control capabilities

The PIC16F(LF)178X family integrates considerable analog peripherals along with a versatile 8-bit PIC MCU This high analog integration enables designers to bring a new level of intelligence

To learn more about the PIC16F(LF)178X visit httpwwwmicrochipcompagehandleren-usfamily8bit

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 4: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 4

RETURN TO FRONT PAGE

Microchiprsquos Remote Control Demo Board Integrates Graphics Touch Sensing USB and Wireless ConnectivityDemo Provides Complete Solution Including Hardware and Software Enables Faster Design of Applications With Graphical DisplaysMicrochip announced the availability of its Remote Control Demo Board which integrates graphics touch sensing USB and wireless communications (ZigBeereg RF4CE) The board demonstrates a remote control populated with a PIC24FJ256DA210 MCU 35rdquo graphical TFT LCD display with resistive touch screen capacitive touch keys with plastic overlay MRF24J40 24 GHz transceiver and ZENAtrade wireless adapter

Many consumer products now feature colorful graphical displays and touch capability And RF-based remote controls are becoming more prevalent as they provide bi-directional communication and work through walls (no line-of-sight communication is required) Microchiprsquos remote-control demo is in the form factor of a wireless remote control but it can also be used as a reference design to build any type of application that requires a graphical display touch sensing USB andor wireless capability The demo is supported by free source code that customers can use to customize for various graphical screens or touch-button scenarios The MRF24J40 transceiver can be used with the 24 GHz RF4CE ZigBeereg or MiWitrade protocols depending upon the wireless needs of the end application The demo showcases how a vivid color display application can use a low cost PIC24 MCU with integrated graphics driver utilizing only the on-chip RAM to eliminate the cost of external memory

The Remote Control Demo Board was developed to help customers get to market quickly with Microchiprsquos graphics mTouchtrade sensing USB and wireless solutionsThe demo comes populated with our low-cost graphics microcontroller and wireless transceiver to enable a cost-effective system solution

The Remote Control Demo Board with ZENA wireless adapter (part DM240315-2) can be purchased today

To learn more about the Remote Control Demo Board visit httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557517

Watch the Remote Control Demo Board video

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 5

RETURN TO FRONT PAGE

Microchip Combines Wi-Fireg Module and 32-bit PIC32 Microcontroller in Cost-Effective New Demo BoardMicrochiprsquos Compact Demo Board Makes it Easy to Evaluate the Combination of 32-bit MCU Performance and Low-Power Wi-Fi Includes Free and Full-Featured TCPIP StackMicrochip announced the Wi-Fireg Comm Demo Board which combines Microchiprsquos best-in-class 32-bit PIC32 microcontroller family with its low-power MRF24WB0MA agency-certified IEEE 80211 embedded Wi-Fi radio transceiver module Additionally Microchip provides a free and full-featured TCPIP stack which is available today for download This compact and cost-effective demo board is easy to integrate with existing embedded designs to evaluate Wi-Fi connectivity and 32-bit performance with minimal effort

Microchiprsquos free commercial-grade TCPIP stack delivers all the key stack layers for a complete Wi-Fi based design This includes HTML DHCP DNS IPv4v6 SSL etc In combination with the low-power Wi-Fi module and a PIC32 MCU this stack delivers a highly optimized embedded Wi-Fi solution

The pervasive Wi-Fi infrastructure continues to enable the rapid growth of the embedded ldquoInternet of Thingsrdquo in an expanding number of applications such as thermostats appliances meters pumps security systems and sensors This expansion includes the owners of existing systems who want to retrofit and add connectivity without installing wires Microchiprsquos Wi-Fi module and TCPIP stack enable this connectivity for control and communication over the Internet while its 32-bit PIC32 microcontroller family provides the performance and features to simultaneously process both Wi-Fi communications and a large number of other functions These functions include audio graphic displays and touch sensing and general system command-and-control operations

This demo board makes it easy to evaluate and integrate the combination of Microchiprsquos Wi-Fi solutions and 32-bit MCUs in one compact and cost-effective package The free full-featured TCPIP software stack and the fact that the Wi-Fi module is certified by multiple international communications agencies further speeds development

Microchiprsquos Wi-Fi Comm Demo Board (part DV102411) is available today Microchiprsquos free TCPIP stack can be downloaded now

To learn more about the Wi-Fireg Comm Demo Board httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557487To learn more about the PIC18F26J50 EVK Flowcode developemnt kit httpwwwelement14comcommunitydocsDOC-40330

For Designs Requiring low Power USB And Peripheral FlexibilityThe PIC18F26J50 EVK Flowcode development kit provides easy graphical programming languages for designersDeveloped with the assistance of Microchip in Europe the low cost PIC18 Flowcode Developers Kit from Element14 is based upon the PIC18F26J50 and ships with pre-programmed boot loader code that allows users to develop code within MPLAB or Matrix Multimediarsquos Flowcode environment and then download their completed code onto the board via a USB cable The board contains a temperature sensor capacitive touch pad potentiometer LEDs is tracked to accept an I2C eeprom and can interface to Matrixrsquos own hardware via an optional D type connector The Developers Kit ships with a Lite version of Flowcode and users with minimal programming experience really can develop working systems very quickly

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 6

RETURN TO FRONT PAGE

Microchip Brings Cost-Effective Advanced Analog and Digital Integration to 8-bit PICreg Microcontrollers New MCUs Feature On-Chip 12-bit ADC 8-bit DAC Op Amps High-Speed Comparators eXtreme Low Power Technology 16-bit PWM Offers Industryrsquos Highest Level of Advanced Control

Microchip announced from DESIGN West in San Jose the expansion of its 8-bit PIC16F(LF)178X enhanced Mid-range core microcontroller (MCU) family to include advanced analog and integrated communication peripherals such as on-chip 12-bit Analog-to-Digital Converters (ADCs) 8-bit Digital-to-Analog Converters (DACs) operational amplifiers and high-speed comparators along with EUSART (including LIN) I2Ctrade and SPI interface peripherals The MCUs also feature the industryrsquos best level of advanced PWM control and accuracy via the new Programmable Switch-Mode Controllers (PSMCs) This combination of features enables higher efficiency and performance along with cost and space reductions in applications such as closed-loop control in power supplies and lighting The ldquoLFrdquo versions of the MCUs feature eXtreme Low Power Technology for active and sleep currents of just 32 microAMHz and 50 nA respectively helping to extend battery life and reduce standby current consumption Low power consumption and advanced analog and digital integration make the general-purpose PIC16F(LF)178X MCUs ideal for LED lighting battery management digital power supply motor control and other applications

Environmental concerns and ldquogreenrdquo initiatives have led to the rise of new energy-consumption legislation around the world with regard energy consumption The PIC16F(LF)178X MCUs enable designers to create better products that consume less power Microchiprsquos enhanced Mid-range

8-bit core brings more performance with 32 MHz operation automatic context save for faster interrupt handling more efficiency in the instruction set with better code density plus faster and more direct-port control capabilities Available in 28- and 40-pin packages the MCUsrsquo advanced analog integration includes an on-chip 12-bit ADC for very small voltage measurements as well as enabling mTouchtrade capacitive sensing and an 8-bit DAC for high-resolution voltage references Also included on-chip are fast analog comparators with 50 nS response time Capture Compare Peripherals and I2Ctrade SPI and EUSART interfaces for communications Additionally the MCUs feature a 32 MHz internal oscillator 2 - 8K Words (35 - 14K Bytes) of Flash 128 ndash 512 Bytes of RAM and 256 Bytes of data EEPROM The PSMC peripherals are 16-bit Pulse-Width Modulators (PWMs) with 64 MHz operation and advanced control capabilities

The PIC16F(LF)178X family integrates considerable analog peripherals along with a versatile 8-bit PIC MCU This high analog integration enables designers to bring a new level of intelligence

To learn more about the PIC16F(LF)178X visit httpwwwmicrochipcompagehandleren-usfamily8bit

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 5: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 5

RETURN TO FRONT PAGE

Microchip Combines Wi-Fireg Module and 32-bit PIC32 Microcontroller in Cost-Effective New Demo BoardMicrochiprsquos Compact Demo Board Makes it Easy to Evaluate the Combination of 32-bit MCU Performance and Low-Power Wi-Fi Includes Free and Full-Featured TCPIP StackMicrochip announced the Wi-Fireg Comm Demo Board which combines Microchiprsquos best-in-class 32-bit PIC32 microcontroller family with its low-power MRF24WB0MA agency-certified IEEE 80211 embedded Wi-Fi radio transceiver module Additionally Microchip provides a free and full-featured TCPIP stack which is available today for download This compact and cost-effective demo board is easy to integrate with existing embedded designs to evaluate Wi-Fi connectivity and 32-bit performance with minimal effort

Microchiprsquos free commercial-grade TCPIP stack delivers all the key stack layers for a complete Wi-Fi based design This includes HTML DHCP DNS IPv4v6 SSL etc In combination with the low-power Wi-Fi module and a PIC32 MCU this stack delivers a highly optimized embedded Wi-Fi solution

The pervasive Wi-Fi infrastructure continues to enable the rapid growth of the embedded ldquoInternet of Thingsrdquo in an expanding number of applications such as thermostats appliances meters pumps security systems and sensors This expansion includes the owners of existing systems who want to retrofit and add connectivity without installing wires Microchiprsquos Wi-Fi module and TCPIP stack enable this connectivity for control and communication over the Internet while its 32-bit PIC32 microcontroller family provides the performance and features to simultaneously process both Wi-Fi communications and a large number of other functions These functions include audio graphic displays and touch sensing and general system command-and-control operations

This demo board makes it easy to evaluate and integrate the combination of Microchiprsquos Wi-Fi solutions and 32-bit MCUs in one compact and cost-effective package The free full-featured TCPIP software stack and the fact that the Wi-Fi module is certified by multiple international communications agencies further speeds development

Microchiprsquos Wi-Fi Comm Demo Board (part DV102411) is available today Microchiprsquos free TCPIP stack can be downloaded now

To learn more about the Wi-Fireg Comm Demo Board httpwwwmicrochipcomstellentidcplgIdcService=SS_GET_PAGEampnodeId=1406ampdDocName=en557487To learn more about the PIC18F26J50 EVK Flowcode developemnt kit httpwwwelement14comcommunitydocsDOC-40330

For Designs Requiring low Power USB And Peripheral FlexibilityThe PIC18F26J50 EVK Flowcode development kit provides easy graphical programming languages for designersDeveloped with the assistance of Microchip in Europe the low cost PIC18 Flowcode Developers Kit from Element14 is based upon the PIC18F26J50 and ships with pre-programmed boot loader code that allows users to develop code within MPLAB or Matrix Multimediarsquos Flowcode environment and then download their completed code onto the board via a USB cable The board contains a temperature sensor capacitive touch pad potentiometer LEDs is tracked to accept an I2C eeprom and can interface to Matrixrsquos own hardware via an optional D type connector The Developers Kit ships with a Lite version of Flowcode and users with minimal programming experience really can develop working systems very quickly

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 6

RETURN TO FRONT PAGE

Microchip Brings Cost-Effective Advanced Analog and Digital Integration to 8-bit PICreg Microcontrollers New MCUs Feature On-Chip 12-bit ADC 8-bit DAC Op Amps High-Speed Comparators eXtreme Low Power Technology 16-bit PWM Offers Industryrsquos Highest Level of Advanced Control

Microchip announced from DESIGN West in San Jose the expansion of its 8-bit PIC16F(LF)178X enhanced Mid-range core microcontroller (MCU) family to include advanced analog and integrated communication peripherals such as on-chip 12-bit Analog-to-Digital Converters (ADCs) 8-bit Digital-to-Analog Converters (DACs) operational amplifiers and high-speed comparators along with EUSART (including LIN) I2Ctrade and SPI interface peripherals The MCUs also feature the industryrsquos best level of advanced PWM control and accuracy via the new Programmable Switch-Mode Controllers (PSMCs) This combination of features enables higher efficiency and performance along with cost and space reductions in applications such as closed-loop control in power supplies and lighting The ldquoLFrdquo versions of the MCUs feature eXtreme Low Power Technology for active and sleep currents of just 32 microAMHz and 50 nA respectively helping to extend battery life and reduce standby current consumption Low power consumption and advanced analog and digital integration make the general-purpose PIC16F(LF)178X MCUs ideal for LED lighting battery management digital power supply motor control and other applications

Environmental concerns and ldquogreenrdquo initiatives have led to the rise of new energy-consumption legislation around the world with regard energy consumption The PIC16F(LF)178X MCUs enable designers to create better products that consume less power Microchiprsquos enhanced Mid-range

8-bit core brings more performance with 32 MHz operation automatic context save for faster interrupt handling more efficiency in the instruction set with better code density plus faster and more direct-port control capabilities Available in 28- and 40-pin packages the MCUsrsquo advanced analog integration includes an on-chip 12-bit ADC for very small voltage measurements as well as enabling mTouchtrade capacitive sensing and an 8-bit DAC for high-resolution voltage references Also included on-chip are fast analog comparators with 50 nS response time Capture Compare Peripherals and I2Ctrade SPI and EUSART interfaces for communications Additionally the MCUs feature a 32 MHz internal oscillator 2 - 8K Words (35 - 14K Bytes) of Flash 128 ndash 512 Bytes of RAM and 256 Bytes of data EEPROM The PSMC peripherals are 16-bit Pulse-Width Modulators (PWMs) with 64 MHz operation and advanced control capabilities

The PIC16F(LF)178X family integrates considerable analog peripherals along with a versatile 8-bit PIC MCU This high analog integration enables designers to bring a new level of intelligence

To learn more about the PIC16F(LF)178X visit httpwwwmicrochipcompagehandleren-usfamily8bit

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 6: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 6

RETURN TO FRONT PAGE

Microchip Brings Cost-Effective Advanced Analog and Digital Integration to 8-bit PICreg Microcontrollers New MCUs Feature On-Chip 12-bit ADC 8-bit DAC Op Amps High-Speed Comparators eXtreme Low Power Technology 16-bit PWM Offers Industryrsquos Highest Level of Advanced Control

Microchip announced from DESIGN West in San Jose the expansion of its 8-bit PIC16F(LF)178X enhanced Mid-range core microcontroller (MCU) family to include advanced analog and integrated communication peripherals such as on-chip 12-bit Analog-to-Digital Converters (ADCs) 8-bit Digital-to-Analog Converters (DACs) operational amplifiers and high-speed comparators along with EUSART (including LIN) I2Ctrade and SPI interface peripherals The MCUs also feature the industryrsquos best level of advanced PWM control and accuracy via the new Programmable Switch-Mode Controllers (PSMCs) This combination of features enables higher efficiency and performance along with cost and space reductions in applications such as closed-loop control in power supplies and lighting The ldquoLFrdquo versions of the MCUs feature eXtreme Low Power Technology for active and sleep currents of just 32 microAMHz and 50 nA respectively helping to extend battery life and reduce standby current consumption Low power consumption and advanced analog and digital integration make the general-purpose PIC16F(LF)178X MCUs ideal for LED lighting battery management digital power supply motor control and other applications

Environmental concerns and ldquogreenrdquo initiatives have led to the rise of new energy-consumption legislation around the world with regard energy consumption The PIC16F(LF)178X MCUs enable designers to create better products that consume less power Microchiprsquos enhanced Mid-range

8-bit core brings more performance with 32 MHz operation automatic context save for faster interrupt handling more efficiency in the instruction set with better code density plus faster and more direct-port control capabilities Available in 28- and 40-pin packages the MCUsrsquo advanced analog integration includes an on-chip 12-bit ADC for very small voltage measurements as well as enabling mTouchtrade capacitive sensing and an 8-bit DAC for high-resolution voltage references Also included on-chip are fast analog comparators with 50 nS response time Capture Compare Peripherals and I2Ctrade SPI and EUSART interfaces for communications Additionally the MCUs feature a 32 MHz internal oscillator 2 - 8K Words (35 - 14K Bytes) of Flash 128 ndash 512 Bytes of RAM and 256 Bytes of data EEPROM The PSMC peripherals are 16-bit Pulse-Width Modulators (PWMs) with 64 MHz operation and advanced control capabilities

The PIC16F(LF)178X family integrates considerable analog peripherals along with a versatile 8-bit PIC MCU This high analog integration enables designers to bring a new level of intelligence

To learn more about the PIC16F(LF)178X visit httpwwwmicrochipcompagehandleren-usfamily8bit

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 7: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 7

RETURN TO FRONT PAGE

Microchip Simplifies C Compiler Line Provides Best Execution Speed and Code Size for all PICreg MCUs and dsPICreg DSCsMPLABreg XC Offers Three Compiler OptionsmdashOne Each for 8 16 and 32-bit Improves Code Execution Speed by About 30 and Reduces Code Size by About 35

Microchip announced from DESIGN West in San Jose Calif MPLABreg XC ndash its simplified line of C compilers that provide the best execution speed and code size for all ~900 PICreg microcontrollers (MCUs) and dsPICreg Digital Signal Controllers (DSCs) The MPLAB XC8 XC16 and XC32 compilers offer reduced complexity for 8 16 and 32-bit designers with three cost-effective optimization levels ndash Free Standard and Pro the Pro editions can be evaluated for free for 60 days Additionally MPLAB XC provides support for the Linux Mac OSreg and Windowsreg operating systems enabling designers to use their platform of choice for embedded development

Another important consideration for todayrsquos designers is the ability to re-use their code and easily migrate to the level of microcontroller performance and features that best suits the needs of each project These have always been strengths for Microchip and MPLAB XC continues that tradition by making it easy to move code from any of Microchiprsquos existing compilers Additionally MPLAB XC completes Microchiprsquos tool chain of compatible compilers and debuggerprogrammers that operate seamlessly within the universal cross-platform and open-source MPLABreg X integrated development environment reducing both learning curves and tool investments MPLAB XC compilers are also compatible with the legacy MPLAB IDE

Simplicity execution speed code size cost and cross-platform support are all vitally important to embedded designers from academics and hobbyists to seasoned professionals working for global OEMs who are all challenged to do more for less and faster The new MPLAB XC compiler line meets all of these needs while expanding the industry-leading levels of compatibility and easy migration that Microchiprsquos customers have come to expect

Many designers need a free C compiler The 8 16 and 32-bit Free editions of Microchiprsquos MPLAB XC compilers offer many optimizations are fully functional and have no license restrictions for commercial use For those who want to test their code with the Pro optimization levels which are approximately 50 better than the Free editions Microchip also offers evaluation editions with Pro optimization levels that last for 60 days after which they convert to the Free compilers Like the Free editions the evaluation editions are fully functional and have no license restrictions for commercial usage

To further support the diverse requirements of embedded developers Microchip is now offering the ability to purchase both single-user licenses and the full suite of MPLAB XC compilers for all ~900 8 16 and 32-bit PIC MCUs and dsPIC DSCs Additionally organizations with multiple engineers can purchase a floating network license where the compiler is hosted on that companyrsquos Intranet for easy access by all of its designers

The MPLAB XC8 MPLAB XC16 and MPLAB XC32 compilers are available today Prices for this new XC line have been reduced up to 60 and the Pro editions provide industry-leading value at $995 Download the Free editions or evaluate the paid options with increased code and speed optimizations

To learn more about MPLABreg XC visit httpwwwmicrochipcompagehandleren_uspromomplabxc

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 8: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 8

RETURN TO FRONT PAGE

Microchip Unveils Serial Flash Memory Device Development Kit New Kit Includes Three Daughter Boards for Explorer 16 Development Board Enables Designers to Evaluate Microchiprsquos Stand-Alone Serial Flash Memory DevicesMicrochip announced the availability of its Serial SuperFlashreg Kit 1 (part AC243005-1) a new development kit that enables designers to evaluate Microchiprsquos SPI and SQI serial Flash memory devices The Serial SuperFlash Kit 1 includes three serial Flash PICtailtrade Plus Daughter Boards that are populated with the SST25VF016B SST25VF064C and SST26VF032 serial Flash devices respectively The daughter boards interface with Microchiprsquos Explorer 16 Development Board and work with the MPLABreg X Integrated Development Environment (IDE) to enable the quick creation of code and shorten development time Example code and software drivers written with the MPLAB X IDE are available for download

As Microchip expands its serial Flash portfolio first-class development tools such as the Serial SuperFlash Kit 1 and Explorer 16 Development Board enable customers to quickly evaluate Microchiprsquos serial Flash devices and develop firmware for their designs

The SuperFlash Kit 1 (part AC243005-1) is available today

Development Tools Now Ship Overnight

Details about Overnight Service

bull Order an in-stock development tool or software by 11AM Arizona time and receive it the next day

bull Applies for US domestic deliveries

Reduced Freight Rates Now Available for Europe

Go to httpwwwmicrochipdirectcom to learn more or speak with one of our microchipDIRECT team members

Now Standard for In-Stock items to

Domestic US locations

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 9: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 9

RETURN TO FRONT PAGE

PIC32 for High-Quality AudioWhen designing audio docking stations and accessories for portable digital audio devices and other digital audio sources designers are constrained by cost while trying to deliver the highest-quality audio playback In a typical docking station and device accessory a digital audio source that plugs into the unit sends a serial stereo audio data stream over the dockrsquos data transfer interface such as USB The dock captures the data stream while performing other crucial tasks and routes the stream to an audio Codec or Digital to-Analog Converter (DAC) at a specific sample rate as shown

The captured stereo audio stream then flows through a serial interface to the codec or DAC Since there are many possible sources of digitized audio and not all of the sources use the same sampling rate the serial interface typically adapts the sampling frequency to the source or converts the sampled data stream into a common data rate Therefore one of the challenges in the design of the docking system or device accessory is to perform the sample-rate conversion without degrading the audio quality and at the lowest cost possible USB interface is popular among many audio users as it has the ability to deliver high-quality audio However to meet the requirements of professional audio the subtle loss of quality due to USB clock and codec clock mismatch must be addressed

The PIC32 has an SPI module that supports different standard audio communication modes including I2S Format Left-Justified Format Right-Justified Format and DSPPCM Format and offers high bit resolution for high-quality audio applications The flexible reference clock output feature of the PIC32 MCU can be used to provide the master clock to the analog front-end to generate the different sample rates The reference clock output

To learn more visithttpww1microchipcomdownloadsenAppNotes01422Apdf

also eliminates the need for an external crystaloscillator and PLL on a codec It can be tuned to prevent buffer underrun and overrun that arise because of clock mismatches The PIC32 MCU also offers the USB Host and Device module with flexible PLL clocking schemes at low power

USB Clock Mismatch and PIC32 Solution

The real-time streaming audio samples must arrive at precise regular time intervals so that the DAC can convert the digital samples to an analog signal with the expected constant rate at which it is configured If the clock on the DACCODEC is not sourced from the USB interface mismatch in clocks takes place leading to buffer overrun or underrun and the DACCODEC fails to generate an accurate representation of the streamed audio signal causing audible clicks

The USB clock mismatch can be solved with the reference clock output module provided on the PIC32 MCUs The reference clock output module (REFCLKO) can be used to generate the fractional clock that can be used by audio codecDACs to accommodate various sample rates Typical examples of these sample rates and associated master clocks are shown below

The Reference clock can be sourced from USB PLL Clock and can be provided to the DACCODEC as master clock this ensures synchronization as the clock sources for both CODECDAC and USB are the same eliminating clock jitter Also the reference clock output performs as good as or better than the master clock generated using the internal PLL on an expensive codec This would eliminate need for a PLL and as well as external crystal used as time base on the codecDAC This will result in cost savings in the audio design while providing the same or better quality than an expensive codec

For more info please read App Note AN1422

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 10: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 10

RETURN TO FRONT PAGE

Maintaining accurate time using a Real Time ClockMany embedded designs use a quartz crystal to create a reliable stable oscillator Crystals oscillate at a very predictable frequency leading to their common use with Real Time Clock Calendars (RTCC) for timekeeping However a crystalrsquos natural frequency is dependent on temperature This article discusses how designers can use digital trimming to compensate for oscillator frequency differences caused by changes in temperature

Crystals in a well-designed circuit oscillate at their rated frequency at 25degC Manufacturing tolerances can cause minor offsets in frequency as can circuit board layout and load capacitor values However the largest variation in frequency is caused by temperature which can prevent a RTCC from keeping accurate time The affect of temperature on quartz crystal-based time keeping can be seen below where at 25degC the clock loses no time but at 80degC the crystal oscillates ldquooffrdquo frequency and loses ~ 9 seconds per day

As the time lost at each temperature is predictable the RTCC can compensate using digital trimming Digital trimming periodically adds or subtracts oscillations allowing the RTCC to adjust for the time ldquolostrdquo The trimming is usually defined in Parts Per Million which is effectively a very small percentage The required digital trimming for a quartz crystal oscillator at a set temperature is given by equation 1

Required Quartz Crystal calibration Dtrim=0035(T-25)^2 PPM

Where Dtrim=Required Trimming value in PPM T=Temperature in degC

To perform digital trimming the temperature must be measured or estimated There are many digital temperature sensors which can share the RTCCrsquos control bus and many microcontrollers incorporate internal temperature

For further details on implementing digital trimming with Microchiprsquos RTCC see application note AN1413Temperature Compensation of a Tuning Fork Crystal Based on the MCP79410

sensors or can measure a thermistor Alternatively temperature may be estimated from seasonal averages or other assumptions about the operating environment For example a wristwatch can be assumed to operate at approximately body temperature The resulting improvement in accuracy can be seen below

While temperature changes can cause the Real time clock to ldquoloserdquo time crystal manufacturing tolerances and load capacitance may cause it to oscillate at a greater or lower frequency than specified ldquogainingrdquo or ldquolosingrdquo time at room temperature (25degC)

The Microchips MCP795W20 SPI Real Time Clock supports adding or subtracting up to 510 oscillations per minute via digital trimming Real Time Clockrsquos use a 32768 KHz tuning fork crystals in their resonant circuit which makes each oscillation is 132768 of a second This allows compensation of up to 0934 secondshour (See Equation 2) or 22 seconds per day

Equation 2 Compensation range

plusmnOscillations Minute = 2Calibration

Oscillation period = 132768 seconds

plusmnSecondsMinute = Oscillation per Minute Oscillation Period = 2Calibration132768

plusmnSeconds Hour = 60Seconds per Minute = 602Calibration132768

Setting the digital trimming calibration to its maximum value of 255

Time Lost or gained = 602255132768 = 0934 Seconds

The industrial electronics temperature range of -40degC to +85degC requires less than 13 seconds per day of calibration which is well within the capabilities of the MCP795W20 and leaves trimming range still available for load capacitance and manufacturing tolerance calibration

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 11: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 11

RETURN TO FRONT PAGETo learn more about Saving More with Microchip visit

httpwwwmicrochipcom8bit

Save More with MicrochipSave Power Save Space Save Money Save Time

Microchip continues to introduce a wide range of innovative 8-bit products targeted at low power consumption enabling designs with reduced component count reductions in cost and board space and integration of enhanced features

Save More Power With Low Active and Sleep Currents With each new generation of 8-bit products Microchip has reduced quiescent current levels significantly Microchip plans to continue doing so as evidenced by a number of recently released product families These new products are the lowest power lowest pin count devices with industry leading active current as low as 30 microA and sleep current for all products below 100 nA and some as low as 20 nA

Save More Space With Small Package Options The miniaturization of electronic devices has gone mainstream and Microchip intends to stay ahead of the trend For starters Microchip has introduced Ultra Thin QFN (UQFN) packaging across our lineup Not only are these new packages 50 thinner than the existing QFNs they are smaller in every dimension The UQFNs offer a very cost-effective method for reducing board size A number of different packaging options are

available in various pin counts

Save More Money With Integrated Peripherals PICreg microcontrollers (MCUs) are often viewed as the most useful MCUs in the industry This is due in no small part to the high levels of peripheral integration present in every product These peripherals allow our customers to implement much of their systemrsquos functionality into a single MCU saving on board space

Several newly integrated peripherals have been introduced including

y Configurable Logic Cell (CLC) ndash Provides up to 16 different inputs for combinational and sequential logic (Boolean functions Flip-flops Latches) that is configurable under software control A CLC Configuration Tool is available to streamline the setup process of the CLC module by simulating the functionality of the registers in a Graphical User Interface (GUI)

y Numerically Controlled Oscillator (NCO) ndash Dedicated 16-bit PWM that can be used for applications within lighting and power supplies

y Complementary Waveform Generator (CWG) ndash Provides a complementary waveform with rising and falling edge dead band control with auto-shutdown capability that provides improved switching efficiencies for applications such as synchronous power supplies and motor control

y Charge Time Measurement Unit (CTMU) ndash Integrated constant current source that can be used with the ADC for capacitive inductive or resistive or precise time measurements and is extremely helpful in advanced sensing applications reducing the need for external components and CPU overhead

y Real-Time Clock Calendar (RTCC) ndash Maintains accurate time date day of week and year information for extended periods of time

Reasons to Use Microchip

PICreg MCUs for Your

Next Design

PIC Microcontrollers offer a

unique blend of money saving

opportunities including

o PIC MCU Exclusive

Peripherals

o Internal Clock Sources

o On-board Temporary Data

Storage

o On-board Analog

(ADC DAC)

o Communications Peripherals

o Digital Control Modules

y 64-pin 9x9x09 mm (QFN)

y 40-pin 5x5x05 mm (UQFN)

y 28-pin 4x4x05 mm (UQFN)

y 14-pin 3x3x09 mm (QFN)

y 6-pin 2x3x09 mm (DFN)

y 6-pin 16x29x12 mm (SOT-23)

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 12: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 12

RETURN TO FRONT PAGE

Programming Made EasyDirect from the Manufacturer

Programming Made Easy Get Started Today

Receive 3 Programmed Samples With

Your Order

bull Fastonline

bull Secure and encrypted

bull No minimum order

bull Over 95 million units of stock available

Go to httpwwwmicrochipdirectcomprogramming to learn more or speak with one of our microchipDIRECT team members

bull Upload your code at wwwmicrochipDIRECTcom under Programming Center

bull After creating your project contact helpbuymicrochipcom with your projectprogram name

bull Order and receive 3 programmed samples

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 13: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 13

RETURN TO FRONT PAGEFor a complete list of classes and locations visit wwwmicrochipcomRTC

In tough economic times companies often look for ways to trim expenses as a means to cope with a downturn in sales One of the areas often targeted for cutbacks is employee training There is not only the direct cost of the training to contend with but also travel expenses and time an employee spends away from the job During this challenging business climate however competitive pressures and technology changes donrsquot stop and it is training that can help a company be better positioned to take advantage of the potential upswing

Microchip with its global network of Regional Training Centers (RTCs) and third-party training partners is here to help companies stay competitive with cost-effective local training To help companies deal with issues of travel expense and time classes are given not only in Microchiprsquos facilities but are also taken on the road Customized

customer premise sessions can be scheduled offering the most convenience Time away can be managed more efficiently with the flexibility of half or full day class sessions

To be effective in teaching instruction must take into account the needs and expertise level of the attendee Microchiprsquos Regional Training Center classes are developed to provide a coordinated flow enabling engineers to implement a solution to their product development needs Instruction is developed and presented in product technology and implementation classes that are grouped into application based curriculum

Each curriculum flow enables the individual to engage with the training at a level that meets his or her current knowledge and needs The intent is to provide

Looking to Enhance Your Embedded Control Designstraining that is relevant to each attendee while eliminating the frustration often associated with attending classes that present too much known information or assume a level of knowledge beyond what the attendee currently possesses

Producttool classes provide knowledge on how Microchiprsquos products and development tools operate This knowledge provides the foundation upon which all application instruction is based Attendance at one of these classes can provide significant value through the reduction in time associated with instruction manuals and data sheet review or trial and error attempts to learn individually Market forces constantly press companies to add functionality and features to their products often outside their areas of core competence As a result engineers must continually broaden their knowledge base Microchiprsquos technology classes are intended to help engineers gain an understanding of a new field

Implementation classes combine elements of product and technology instruction to teach engineers how to design a real world application Classes at this level provide how-to instruction rather than what or why instruction

Microchip is currently offering classes in the following curriculum DSP Ethernet Human Interface Motor Control Power Management Signal Chain System Design and USB Future curriculum is expected to include CANLIN IrDAreg Lighting and RF

With a worldwide network of Regional Training Centers and certified third-party trainers Microchip makes it easy to enhance your technical skills with locations in nearly every metropolitan area across the world

For those organizations who desire to have a number of employees attend a course at the same time Microchip can customize any curriculum to meet your specific needs Our instructors arrive at your location with all presentation materials and equipment making it easy for your whole team to benefit from a specific course topic in one setting In addition to the instruction most Regional Training Center classes offer the opportunity to purchase a set of the development tools used in the class at a discounted price

If the class you are interested in is not scheduled in your area you can sign up to receive an alert when a session is scheduled

For information on scheduling custom in-house training contact your local RTC directly or visit the Microchip RTC web site wwwmicrochipcomRTC

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 14: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 14

RETURN TO FRONT PAGE

Whatrsquos New in Microchip Literature Visit our Technical Documentation page at wwwmicrochipcom to view the documents

The Microchip name and logo the Microchip logo dsPIC KEELOQ KEELOQ logo MPLAB PIC PICmicro PICSTART PIC32 logo rfPIC and UNIO are registered trademarks of Microchip Technology Incorporated in the USA and other countries FilterLab Hampshire HI-TECH C Linear Active Thermistor MXDEV MXLAB SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the USA Analog-for-the-Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEMnet dsPICworks dsSPEAK ECAN ECONOMONITOR FanSense HI-TIDE In-Circuit Serial Programming ICSP Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK mTouch Octopus Omniscient Code Generation PICC PICC-18 PICDEM PICDEMnet PICkit PICtail REAL ICE rfLAB Select Mode Total Endurance TSHARC UniWinDriver WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the USA and other countries SQTP is a service mark of Microchip Technology Incorporated in the USA All other trademarks mentioned herein are property of their respective companies copy 2012 Microchip Technology Incorporated Printed in the USA All Rights Reserved

Doc Type Doc Title DS No

Data Sheet TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet 21465C

TC4420MTC4429M 6A High-Speed MOSFET Drivers Data Sheet 21933B

TC4451TC4452 12A High-Speed MOSFET Drivers Data Sheet 21987B

MCP3909 - Energy Metering IC with SPI Interface and Active Power Pulse Output Data Sheet 22025C

24AA08LC08B Data Sheet 21710K

MCP660123459 60 MHz 6mA Op Amps Data Sheet 22194D

MCP795WXX SPI RTCC Data Sheet 22280B

MCP2021A Data Sheet 22298A

MCP2050 Data Sheet 22299A

MCP47DA1 Data Sheet 25118B

MCP1703A Data Sheet 25122A

MCP6V11 Data Sheet 25124A

MCP6V31 Data Sheet 25127AAR1000 Series Resistive Touch Screen Controller Data Sheet 41393B

PIC16(L)F17821783 Data Sheet 41579C

PIC169L)F151213 Data Sheet 41624A

Misc License Manager for MPLABreg XC C Compilers 52059B

Programming Specification

PIC10(L)F320322 Programming Specification 41572D

PIC12LF1840T48AT39A Programming Specification 41595B

PIC12F529T48AT39A Programming Specification 41619B

dsPIC33EPIC24E Flash Programming Specification for Devices with Volatile Configuration Bits 70663D

Users Guide PIC16LF1947 F1 LV Motor Control Users Guide 41629A

MCP2210 Breakout Module Users Guide 52056A

MCP2210 Evaluation Kit Users Guide 52057A

Remote Control Demonstration Board Users Guide 52068A

Wi-Fi Comm Demo Board Users Guide 70678A

Product Brief PIC16(L)F15121513 Product Brief 41610B

PIC12F529T39A Product Brief 41626A

PIC12LF1840T39A Product Brief 41627A

Doc Type Doc Title DS No

Errata PIC16(L)F1933 Errata 80490KPIC16(L)F1516171819 Errata 80518CdsPIC33EPXXX(GPMCMU)806810814 and PIC24EPXXX(GPGU)810814 Family Silicon Errata and Data Sheet Clarification

80526C

PIC10(L)F320322 Errata 80529BPIC12F752HV752 Errata 80535BPIC16(L)F17821783 Errata 80541APIC795WXXBXX Errata 80542APIC16(L)F15121513 Errata 80543A

FRM Section

dsPIC33FPIC24H Family Reference Manual - Section 20 Data Converter Interface (DCI) 70288C

dsPIC33FPIC24H Family Reference Manual Section 37 Real-Time Clock and Calendar (RTCC) 70301C

dsPIC33EPIC24E Family Reference Manual Section 20 Data Converter Interface (DCI) Module 70356C

dsPIC33EPIC24E Family Reference Manual - Section 7 Oscillator 70580C

Info Sheet

dsPIC33F and PIC24H mTouchtrade Capacitive Touch Evaluation Boards Information Sheet 51927B

PIC32MX250F128D Information Sheet 52008C

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1
Page 15: May 2012 Microsolutions

MICROCHIP TECHNOLOGYrsquoS microSOLUTIONS Monthly E-newsletter - May 2012

wwwmicrochipcom Microcontrollers bull Digital Signal Controllers bull Analog bull Memory bull Wireless 15

RETURN TO FRONT PAGE

Need Some Inspiration

View these newly released development systems from Microchiprsquos trusted 3rd Party Providers All are in-stock and available on microchipDIRECT

Whatrsquos New

Lead Times

Would you like to stay ahead of the competition Receive weekly updates on Microchiprsquos leadtime and stock Heres how

1) Login to microchipDIRECT

2) Select ldquoLead Time Report E-Mailrdquo under Support pull-down menu

3) Choose Product Line and then Device Family from pull-downs

4) Choose ldquoAddrdquo next to desired Part(s) 5) Contact us for any questions

Learn to program 16-bit MCUs with Beginners Guide to Programming the PIC24dsPIC33 by Thomas Kibalo

New Pascal Basic and C compilers from MikroElektronika include an intuitive IDE advanced optimizations lots of hardware and software libraries plus additional tools

Create remote web-enabled devices quickly with the Net-Touch Web Server Combo Kit from Devpeak

Add a Real-Time ClockCalendar with battery backup using the Digilent PmodRTCC Peripheral Module

Implement a compact OLED graphical display using the Digilent PmodOLED Peripheral Module

  • Bookmark 1