0% found this document useful (0 votes)
10 views13 pages

Feb05 Microsolutions

Uploaded by

Tonis Kuik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views13 pages

Feb05 Microsolutions

Uploaded by

Tonis Kuik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

IN THIS ISSUE

PAGE 1
Introducing the First 40 MHz PIC® Introducing the First 40 MHz PIC® Microcontrollers with 128 Kbytes of Self-Reprogrammable
Microcontrollers with 128 Kbytes
of Self-Reprogrammable Flash Flash Memory for High-End Designs
Memory for High-End Designs
PAGE 2 Microchip introduced four new high • Consumer - wireless internet-enabled appliances, swing-gate controllers,
PIC® Microcontroller Integrates with pin-count, high density members of hands-free cell phone adapters, coffee machines, two-way pagers

Analog Building Blocks for Intelligent
Power Conversion Designs the PIC18F family; the PIC18F6627, Automotive - car alarms
PAGE 3
PIC18F6722, PIC18F8627 and the • Medical - biological flow meters
Microchip Delivers Two 16-bit PIC18F8722. These microcontrollers
dsPIC® Digital Signal Controllers offer: cost-effective 96 Kbytes or Additional Product Features

with CAN for High-Performance 128 Kbytes of self-reprogrammable,
Motor Control and Power Two Enhanced Universal Synchronous/Asynchronous Receiver/Transmitters
Conversion Applications high-endurance Flash memory with for RS232, RS485 and LIN serial interfaces
up to 10 MIPS performance over a
PAGE 4
wide operating voltage range of 2.0V
• Two Master Synchronous Serial Port modules, each supporting Master
Microchip Debuts Input/Output I2C or SPI interfaces
to 5.5V. These features, combined with

Expanders that Support 1.7 MHz
I2C™ and 10 MHz SPI™ Interfaces nanoWatt Technology power management and a rich set of analog and digital 16-channel, 10-bit Analog-to-Digital Converter with auto-acquisition timing
PAGE 5 peripherals, allow this microcontroller series to compete with 16-bit devices • Two Analog Comparators
Microchip Offers Acoustic Echo in high-end embedded applications, while retaining ease-of-use and helping • Enhanced Capture/Compare/PWM modules with support for MOSFET
Cancellation and Noise Suppression (H-bridge) motor drives
Libraries for dsPIC® DSC-Based designers to preserve their 8-bit development tool and software investments.
Speaker and Microphone Applications • Extended Watchdog Timer with prescalar options
Engineers have a growing need for microcontrollers with increased
PAGE 6 computational power and larger program memory sizes, due to the transition
• Programmable Brown-out Reset and Low-voltage Detect circuits
Microchip Technology Announces
of code development methodologies from assembly to C language, and • Software-selectable PLL options
dsPIC30F Symmetric and
Asymmetric Key Encryption they would rather not discard their 8-bit code and development tools. The • 8-bit/16-bit mode External Memory Access
Libraries for Secure Embedded PIC18F8722 8-bit microcontroller series addresses these performance and • Enhanced Instruction Set for improved C Compiler efficiency
Transaction Communications
memory needs by providing linear access (no pages) to a memory space
Development Tools
PAGE 7 as large as 2 Mbytes, while offering complete code and tool compatibility
dsPIC® Digital Signal Controller with smaller Microchip microcontrollers. In addition, the new PIC18F The PIC18F8722 microcontrollers are supported by Microchip’s high-
Design Contest Winners Announced
microcontrollers include nanoWatt Technology for reduced energy budgets performance development tools, including:
PAGE 8 and prolonged battery life, along with two synchronous serial ports (capable
MCP62X5 Op Amp Family Receives
of SPI™ or I2C™) and two asynchronous serial ports (LIN-capable USARTs) • MPLAB® Integrated Development Environment (IDE)
analogZone’s “2004 Product of the
Year” Award for expanded connectivity. • MPLAB C18 C Compiler
The World’s Smallest • MPLAB SIM 30 Software Simulator
“Microchip’s commitment to offering the greatest breadth of Flash
Microcontrollers Rack up Big
microcontrollers is exemplified by the PIC18F8722 series, providing the
• MPLAB ICD 2 In-Circuit Debugger
Industry Awards for Microchip
largest memory sizes and richest integrated features for embedded control
• MPLAB PM3 Universal Device Programmer
PAGE 9
Tips n’ Tricks: PICmicro® applications,” said Ganesh Moorthy, Vice President of Microchip’s Advanced Availability
Microcontrollers CCP and ECCP Microcontroller and Memory Division.
The PIC18F8722 series microcontrollers are available now in the following
PAGE 10 Applications that are ideal for the PIC18F8722 series’ huge linear-memory package options:
Archived WebSeminars
access space include the following:
PAGE 11-12 PIC18F6627 - 64-pin TQFP PIC18F8627 - 80-pin TQFP
What’s New in Microchip Literature? • Industrial - TCP/IP interface, home alarms, security system keypads, PIC18F6722 - 64-pin TQFP PIC18F8722 - 80-pin TQFP
PAGE 13
server power-supply and temperature controllers, warm-water controls,
Web Highlights central AC communication controllers For more product information visit: www.microchip.com/PIC18FXXXX

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

PIC® Microcontroller Integrates with Analog Building Blocks for Intelligent Power Conversion Designs
The PIC16F785 combines unrivaled integration of Additional Product Features
mixed-signal capabilities with the flexibility and
re-programmability of a Flash microcontroller • High-speed, two-phase PWM with asynchronous feedback
• 3584 bytes Flash program memory, 256 bytes EEPROM and 128 bytes RAM
• 8 MHz precision internal oscillator
• nanoWatt Technology power-management features
• 12 Channels of 10-bit A/D converter
• Standard Capture/Compare/PWM (CCP) module
• Software-controlled Brown-out Reset and an extended Watchdog Timer

Development Tools
The PIC16F785 is supported by Microchip’s high-performance development tools,
including:
The new PIC16F785 microcontroller provides a complete set of integrated peripherals for cost- • PICkit™ 1 Flash Starter Kit
effective digital control in power-conversion designs. This 8-bit Flash microcontroller has a large • MPLAB® Integrated Development Environment (IDE)
complement of on-board analog peripherals, including Analog-to-Digital Converters (ADCs),
comparators, a voltage reference and two operational amplifiers (op amps), which appeal to a • MPLAB ICD 2 (In-Circuit Debugger)
broad range of sensing and closed-loop control applications. • PRO MATE® II and MPLAB PM3 universal device programmers
The PIC16F785 offers engineers the flexibility to cost effectively address a wide variety of power- • PICSTART® Plus cost-effective development system
conversion topologies and parameters in applications such as Switch Mode Power Supplies
(SMPS) and battery chargers. Digital control in power-conversion applications is emerging as Availability
a viable means to manage the increasingly complex power requirements in today’s electronic The PIC16F785 is available in the following package options. General sampling is
systems. Today’s electronic systems require intelligent and deterministic control of multiple available now and volume production is expected in February.
power rails, startup conditions, fault detection, exception handling, and complex battery-
charging algorithms. The PIC16F785 makes it easier for power-supply designers to utilize the PIC16F785 - 20-pin PDIP, SOIC, SSOP and 4x4 QFN
programmability of digital control in power-conversion applications by providing the familiar analog
building blocks within a programmable microcontroller.
“The PIC16F785 is an excellent fit for power-conversion applications, but our customer base
is very creative and will find many applications in all the markets Microchip serves, including
appliance, automotive, consumer and industrial,” said Steve Drehobl, Vice President of
Microchip’s Security, Microcontroller and Technology Division.
By providing two general-purpose op amps with a 3 MHz Gain Bandwidth Product (GBWP) and
5 millivolt input offset voltage, the PIC16F785 allows designers the flexibility to implement filters,
input gains stages and other functions. These two op amps, combined with an integrated 1.2V
bandgap voltage-reference output and two high-speed (40 nanosecond) comparators, places the
PIC16F785 in a class of its own when it comes to integrated analog peripherals for input sensing.
In addition, the PIC16F785’s rich, standard features make it an excellent general-purpose
microcontroller for closed-loop control applications.

For more product information visit: www.microchip.com/PIC16F785

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 2


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

Microchip Delivers Two 16-bit dsPIC® Digital Signal Controllers with


CAN for High-Performance Motor Control and Power Conversion Applications
The dsPIC30F4011 and dsPIC30F4012 Microchip’s enhanced, Flash self-programming capability features a remote upgrade to
Digital Signal Controllers feature the Flash program memory, allowing code revisions in end-users’ applications. These
Internal Oscillator-to-PLL Connection features provide flexibility, reduced development time, increased manufacturing efficiency
for 30 MIPS Performance with No and faster time-to-market.
Crystal
Additional Product Features
• 48 Kbytes of Flash Program Memory, which can withstand over 100,000 erase/write
cycles and has 40-plus years of data retention over a wide operating voltage and
temperature range
• 2 Kbytes of SRAM and 1 Kbyte of high-endurance EEPROM data memory
• Six Output Motor Control, Pulse Width Modulators (PWMs)
Microchip has begun volume production of two 16-bit dsPIC® Digital Signal Controllers (DSCs) • 10-bit Analog-to-Digital Converter (ADC) with up to nine signal channels and 500k
that offer designers performance speeds of 20 and 30 Million Instructions Per Second (MIPS), self- samples-per-second
programming capabilities via Flash memory and industrial and extended temperature ranges. • Five 16-bit Timers

The dsPIC30F4011 and dsPIC30F4012 motor control and power conversion family add 48 Kbytes • SPI™, I2C™ and up to two UARTs
of Flash program memory and CAN capability. These devices are ideal for power-conversion • One CAN Interface
applications and for motor-control applications that require higher precision and higher speed • Operates at 5 volts, which is valuable for noise immunity and minimizing voltage
operation or sensorless control. translation logic

The use of sensorless motor control is growing because it eliminates the cost and reliability Development Tools
implications of mechanical sensors. However, sensorless motor control requires increased
computing horsepower at cost-effective price points. In addition, engineers are moving toward All dsPIC30F DSCs are supported by Microchip’s high-performance development tools,
the combination of motors and control in a single unit, placing extreme size constraints including:
on electronic control components. The dsPIC30F4011 and dsPIC30F4012 provide the cost-
effective performance needed for sensorless motor control, with form factors as small as
• MPLAB® Integrated Development Environment (IDE)
8x8 mm in QFN packages. Also, these DSCs have a motor-control, Pulse-Width Modulation • MPLAB C30 C Compiler
(PWM) and a quadrature encoder interface that is ideal for electronic control of brushed permanent • MPLAB SIM 30 Software Simulator
magnet, switched reluctance, brushless DC (BLDC) and AC induction motors (ACIM). • MPLAB ICD 2 In-Circuit Debugger
• MPLAB ICE 4000 In-Circuit Emulator
The dsPIC30F4011 and dsPIC30F4012 combine the high-performance of a 16-bit Flash • MPLAB Visual Device Initializer
microcontroller with the computation and throughput capabilities of a digital signal processor
(DSP). These devices have the “heart” of a 16-bit microcontroller with robust peripherals and Availability
fast interrupt handling capability. Additionally, they have the “mind” of a DSP that manages high-
computation activities, creating the optimum single-chip solution for embedded system designs. The dsPIC30F4011 and dsPIC30F4012 are available today for general sampling and
This enables designers to integrate functions and save board space. volume production in the following package options.
dsPIC30F4011- 40-pin PDIP, 44-pin QFN or TQFP
“These two new dsPIC30F devices mark a total of 14 dsPIC DSCs that have been released dsPIC30F4012- 28-pin SDIP or SOIC
to volume production,” said Sumit Mitra, Vice President of Microchip’s Digital Signal Controller
Division. “Engineers worldwide are designing in the 16-bit dsPIC DSC because it seamlessly
integrates DSP capabilities and microcontroller functionality in a single core, providing the best of
both worlds.”
For more product information visit: www.microchip.com/dsPIC30F40XX

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 3


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

Microchip Debuts Input/Output Expanders that Support 1.7 MHz I2C™ and 10 MHz SPI™ Interfaces
Expanders Simplify Microcontroller-Based System MCP23008/23S08 Block Diagram
Upgrades and Reduce Design Cycle Time

MCP23S08
SCK
SI
SO
MCP23008
SCL Serial Serializer/ GP0
SDA Interface Deserializer 8 GP1
MCP23S08 GP2
3 GPIO GP3
A1:A0 A2:A0 Decode
GP4
Control GP5
RESET
GP6
Microchip has introduced two 8-bit input/output (I/O) expanders, the MCP23008 and the INT Interrupt GP7
Logic
MCP23S08.
8

The MCP23008 is the only I/O expander that supports standard (100 kHz), fast (400 kHz) and VDD POR
Configuration/
high-speed (up to 1.7 MHz) I2C™ communications. The MCP23S08 is the only I/O expander Control
VSS Registers
that features SPI™ clock speeds of up to 10 MHz.

These unique product features make it easy and cost-effective for designers to upgrade or
enhance their current microcontroller-based systems with additional I/O requirements. The
MCP23008 and MCP23S08 provide system I/O expansion via existing microcontroller serial
ports, saving development time and cost by eliminating the need to redesign the complete
system with a higher I/O microcontroller. These devices can support a broad range of applications with low- and high-bandwidth
requirements. Hardware-address pins allow cascading of multiple devices in one system.
Additional Product Features Up to 64 bits of I/O can be added to existing systems, providing lots of design flexibility.

• 8-Bit remote bidirectional I/O port: Availability


– I/O pins default to input
Samples and volume production are available in the following (Pb)-free packages.
• Hardware address pins:
– Three for the MCP23008 to allow up to eight devices on the bus MCP23008 - 18-pin PDIP, 18-pin SOIC and 20-pin SSOP
– Two for the MCP23S08 to allow up to four devices using the same chip select MCP23S08 - 18-pin PDIP, 18-pin SOIC and 20-pin SSOP
• Configurable interrupt output pin:
– Configurable as active-high, active-low or open-drain
• Configurable interrupt source:
– Interrupt-on-change from configured defaults or pin change
• Polarity inversion register to configure the polarity of the input port data
• External reset input
• Low standby current: 1 μA (max.)
• Operating voltage range:
– 1.8V to 5.5V @ -40°C to +85°C (I-Temp)
– 2.7V to 5.5V @ -40°C to +85°C (I-Temp)
For more product information visit: www.microchip.com/MCP23X08
– 4.5V to 5.5V @ -40°C to +125°C (E-Temp)

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 4


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

Microchip Offers Acoustic Echo Cancellation and Noise Suppression Libraries for dsPIC® DSC-Based
Speaker and Microphone Applications
Software Libraries Provide a Cost-Effective, Easy “Most people use complex analog filters to achieve noise suppression. However,
Way to Improve Sound Quality and Intelligibility detecting and suppressing a wide range of rapidly-changing noise profiles requires
something more,” said Sumit Mitra. “With an evaluation license fee of $5 USD, Microchip
Microchip has introduced two new software libraries for makes it easy for engineers to test-drive our Noise Suppression Library or Echo
its 16-bit dsPIC® Digital Signal Controllers (DSCs). The Cancellation Library to determine whether the dsPIC DSC is right for their design.”
G.167-standard compliant dsPIC30F Acoustic Echo With the dsPIC30F Acoustic Echo Cancellation Library, the received far-end speech
Cancellation Library offers improved performance for samples are filtered using an adaptive Finite Impulse Response (FIR) filter. The
speaker and microphone-based products that either coefficients of this filter are adapted using the Normalized Least Means Square (NLMS)
have no cancellation today, or can benefit from the algorithm, such that the filter closely models the acoustic path between the near-end
reduced cost offered by Microchip’s unique licensing speaker and the near-end microphone. A Non-Linear Processor (NLP) algorithm is used
structure. The dsPIC30F Noise Suppression Library to eliminate residual echo. Voice activity detection and double-talk detection algorithms
enables design engineers to gain a competitive are used to avoid updating filter coefficients when there is no far-end speech and when
edge for their microphone-based products with a there is simultaneous speech from both ends of the communication link (double-talk).
methodology that goes well beyond standard filtering techniques for impressive intelligibility gains This library is configurable for 16-, 32- or 64-millisecond maximum echo delays (echo
in environments subject to variable noise. These libraries can be used together to provide an ideal tail-lengths). The library is also compliant with the G.167 standard and has been tested
solution for applications with high levels of ambient noise and echo in compact environments. for compliance with G.167 specifications for in-car applications.
The dsPIC30F’s DSP instructions are used extensively in both libraries. Yet, despite the In the dsPIC30F Noise Suppression Library, the noise suppression is primarily
complexity of these libraries, the user-interface is simple – just one library file and one header file. a frequency domain algorithm. The signal is sampled at 8 kHz and a Fast Fourier
Product Applications Transform (FFT) is performed on each 10-millisecond block of data to analyze the
frequency components of the signal. Thereafter, a voice-activity-detection algorithm is
Applications that can benefit from these advanced libraries include: used to determine whether the signal segment is speech or noise. The noise suppression
• Hands-free cell phone kits
algorithm maintains a profile, which is updated each time a noise-only block is detected.
• Speaker phones, intercoms
Every frequency band of the input signal is scaled down in proportion to the noise in
that frequency band, thereby causing a significant degree of noise suppression in the
• Emergency vehicles
resultant signal. The algorithm adapts to changes in the nature and level of noise and
• Teleconferencing systems, headsets
does not require a separate noise-reference input.
• Front end of speech-recognition systems
Availability and Pricing
“These advanced libraries are an excellent way to quickly exploit the power of DSP without the
development effort,” said Sumit Mitra, Vice President of Microchip’s Digital Signal Controller All licensing options for both libraries are immediately available. Among these options
Division. “When superior product performance and time-to-market are both critical, these is a one-year evaluation license, which is unaltered from the libraries that are used for
advanced libraries can really come to the rescue.” production and can be purchased online at http://buy.microchip.com.
The dsPIC30F Acoustic Echo Cancellation Library supports full-duplex communications The dsPIC30F Noise Suppression Evaluation Library license (SW300040-EVAL)
through two functions that are easily accessible via a well-documented Application Programmer’s is $5 USD.
Interface (API). One function is used for initialization and the second function removes the echo
component from a 10-millisecond block of sampled 16-bit speech data. These functions ensure The dsPIC30F Acoustic Echo Cancellation Evaluation Library license
that speaker-to-microphone induced echo is suppressed. (SW300060-EVAL) is $5 USD.

The dsPIC30F Noise Suppression Library also has two API-callable functions, initialization Industry-unique, one-time-fee licensing options are also available for production, which
and the removal of noise from a 10-millisecond block of sampled 16-bit speech. This functionality runs counter to the per-unit royalty business model that is common for this class of
provides microphone-based applications with the ability to ensure that only voice content is library. Starting at $2,500 USD for 5,000-unit products, the license fee that Microchip
transmitted. charges is attractive to many customers since it is a fraction of the cost they would incur
developing it themselves.

For more product information visit: www.microchip.com

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 5


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

Microchip Technology Announces dsPIC30F Symmetric and Asymmetric Key Encryption Libraries
for Secure Embedded Transaction Communications
Software Libraries Developed by NTRU Cryptosystems Cost-Effectively Reduces Risk of In addition to standard encryption, decryption and authentication functions, the
Unwanted Data Manipulation or Interpretation with Single dsPIC® Digital Signal Controller dsPIC30F Asymmetric Key Encryption Library has several useful auxiliary
functions. These auxiliary functions include:
Microchip has announced two encryption software libraries for its 16-bit dsPIC® Digital Signal
Controllers (DSCs). The dsPIC30F Symmetric Key Encryption Library enables embedded
• Modular Arithmetic functions
designers to take advantage of the high data throughput intrinsic to the popular Advanced • Random Number Generator (RNG), SHA-1 Hash algorithm
Encryption Standard (AES) and Triple Data Encryption Standard (DES) “Secret Key” algorithms.
• Message Digest algorithm MD5
The dsPIC30F Asymmetric Key Encryption Library supports the Digital Signature Algorithm
(DSA) and Rivest-Shamir-Adelman (RSA) algorithms, which each utilize two separate keys to “After considering many vendors, we selected NTRU Cryptosystems, Inc. to develop
protect data – enabling design engineers to reduce code-breaking risks by sharing only one of the the dsPIC DSC encryption libraries. Our decision was based on the high-quality
keys. Whether doing symmetric or asymmetric encryption separately or in tandem, the dsPIC DSC products they are known to deliver and their deep expertise in the security arena,”
reduces customer costs and occupied board space by providing both, embedded control and secure said Jerry Michnal, Manager of the Digital Signal Controller Division applications
data communication. department at Microchip. “We found them to be a reliable and professional
organization to work with.”
The two dsPIC30F Encryption Libraries, which were developed by NTRU Cryptosystems, Inc., of
Burlington, MA, consist of C-callable functions. Both libraries are optimized for speed, code size and “The dsPIC digital signal controller is well-suited for security applications and the
RAM usage. RAM usage with the Symmetric Library is below 60 bytes, and is below 100 bytes with porting effort was made extremely efficient by the architecture and tools provided
the Asymmetric Library. by Microchip and the expertise of our engineers,” said Ed King, CEO of NTRU. “By
providing these encryption libraries, we believe that Microchip has taken strong steps
“Though communications have long been a part of embedded applications, encryption is a valuable to address the emerging market for secure embedded communications.”
addition for many,” said Sumit Mitra, Vice President of Microchip’s Digital Signal Controller division.
“From an embedded processor viewpoint, encryption is the next stage of evolution after basic Availability and Pricing
code protection. However, it takes a processor with the dsPIC DSC’s performance to handle the All licensing options for both libraries are immediately available. Among these options
application alongside the demands of real-time secure communication.” is a one-year evaluation license, which is unaltered from the libraries that are used
Any embedded application where data or code is uploaded or downloaded can benefit from these for production and can be purchased online at http://buy.microchip.com.
advanced encryption libraries. Applications that can benefit from these libraries include: The dsPIC30F Symmetric Key Encryption Evaluation Library license
(SW300050-EVAL) is $5 USD.
• Mobile and wireless devices (PDAs, smart-card terminals, secure banking and Internet
applications) The dsPIC30F Asymmetric Key Encryption Evaluation Library license
• ZigBee™ protocol and other monitoring and control applications (SW300055-EVAL) is $5 USD.
• Secure devices and peripherals interoperating with personal computers running Trusted
Computing Group (TCG) or Microsoft’s Next-Generation Secure Computing Base (NGSCB) Industry-unique, one-time-fee licensing options are also available for production,
which runs counter to the per-unit royalty business model that is common for this
• Speaker phones, intercoms class of library. Starting at $2,500 USD for 5,000-unit products, the license fee that
The dsPIC30F Symmetric Key Encryption/Decryption Library functions support multiple modes Microchip charges is attractive to many customers since it is a fraction of the cost
of operation, including: they would incur developing it themselves.

• Electronic Code Book (ECB) mode


• Cipher Block Chaining mode (CBC)
• CBC-based Message Authentication (CBC-MAC) mode
• Counter (CTR) mode and combined CBC-MAC and Counter Mode (CCM)
For more product information visit: www.microchip.com

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 6


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

dsPIC® Digital Signal Controller Design Contest Winners Announced — Over $30,000 USD in Prices Awarded
Thousands of engineers worldwide Below is a complete list of winning entries:
purchased Microchip’s power-
packed dsPIC30F Design Contest Dave Wetzel, Virginia: Top prize winner ($15,000 USD)
Kit. Contestants created a product
design, related block and flow Alister Watt, UK: Second-place prize ($7,500 USD)
diagrams, a schematic of the
Josef Stastny, Czech Republic: Third-place prize ($3,000 USD)
circuitry and project source code,
all based on a dsPIC30F digital Paco Tortosa, Spain: Easy Robot (GUI)
signal controller. Judging focused on
innovation and the best use of Scott Bishop, Virginia: Auto Transmission Controller
on-board dsPIC30F features Dennis Newell, California: Sleep Monitor
Microchip named Dave Wetzel of Roanoke, VA., the top prize winner of its dsPIC® Digital Dale Shpak, Canada: Audio Lighting
Signal Controller Design Contest.
Moe Wheatley, Georgia: Entry 1, Cuckoo Clock
The $15,000 USD first-place prize went to Wetzel’s “Stereo Audio System” entry. This top Gerard Samblancat, France: MP3 Player
design is for an audio processing system, which takes advantage of the dsPIC30F’s buffered
on-chip peripherals to minimize interrupt service time and maximize overall performance. Tim Bagwell, California: Communication Analyzer “Eye”
As a result, Wetzel was able to include a dual 12-band graphic equalizer using independent Mikulas Kiss, Slovakia: GSM Recorder
IIR filters with performance left over for dual audio-amplitude compressors that are used to
control dynamic volume range. His design also includes a real-time VU meter display using Jason Clemons, Minnesota: Martial Arts Trainer
some of the dsPIC30F’s unique instructions to facilitate the fast calculation of decibels on the Moe Wheatley, Georgia: Entry 2, dsPIC Digital Signal Controller Performance Evaluation
LCD display.
David L. Roberson, Virginia: SSB Generator
These features are particularly useful for environments where the range of audio volume Jason Young, Ohio: General-Purpose Communications Board
should not vary to levels that are too quiet or too loud, such as an elevator.
Arpana B. Jinaga, India: Communications Jammer
The second-place prize of $7,500 USD was awarded to Alister Watt of Sunbury, Middlesex,
Ing. Raffaele Colella, Italy: I & Q Path Analyzer
UK, for his “Musical Instrument” design. Josef Stastny of Velke Mezirici, Czech Republic,
earned the $3,000 USD third prize for his “Aircraft VOR Recorder” design. Xavier Montagne, France: RTOS for dsPIC Digital Signal Controller

“We were pleased to see so many high-quality entries and to receive so much positive Henry Pfister, Florida: Acoustic “Eye”
feedback from contestants, who were impressed with the dsPIC digital signal controller’s Robert Lacoste, France: Contest Director’s Award; Digital Radio
capabilities, ease of programming, small learning curve and excellent tools. These features
enabled entrants to create major designs in only a few months,” said Sumit Mitra vice Paul Bjork, Minnesota: Honorable Mention; Four Motor Controllers
president of Microchip’s Digital Signal Controller Division. “Microchip offers a unique digital The dsPIC30F Design Contest Kit provided contestants with a full-featured tool suite (including
signal controller that seamlessly integrates the control attributes of a 16-bit microcontroller the board and software). This kit enabled participants to add powerful, new features to their
with the computation and throughput capabilities of a digital signal processor. This contest designs, reduce component count and lower system cost on their high-performance designs.
offered participants an exciting way to experience the best of both worlds.”
The dsPIC30F Design Contest Kit contained a dsPICDEM™ 1.1 General Purpose
The remaining prizes consisted of Microchip support hardware and software, including: Development Board (DM300014) and all of the tools necessary to test-drive the new dsPIC
MPLAB® ICE 4000 In-Circuit Emulators, MPLAB C30 C Compilers, MPLAB ICD 2 In-Circuit 16-bit digital signal controllers.
Debuggers and Digital Filter Design Software.

For more product information visit: www.microchip.com/dsPIC30F

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 7


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

MCP62X5 Op Amp Family Receives analogZone’s About analogZONE


“2004 Product of the Year Award” analogZONE is the premier online source for electronics design engineers working in the
fields of power management, audio/video, acquisition, connectivity, networking, wireless
Microchip’s MCP62X5 family of cascaded Operational applications and green engineering. sub-ZONEs covering these specific areas enable the
Amplifiers (Op Amps) are the recipients of a “2004 Product designer to focus directly on products of interest, with timely and insightful reviews. News
of the Year Award” by analogZONE in its Best Signal headlines and a calendar of events keep readers current, knowledgeable and informed,
Processing Architecture category. The winning products were while companion ZONEs, providing detailed technical notes and guest columns, offer a
selected by analogZONE editor-in-chief Paul McGoldrick and wealth of information in an independent arena, free from the limitations of print publication.
editor Lee Goldberg.
“As we have noted before, this is not a very democratic process,” commented Editor-in- The World’s Smallest Microcontrollers Rack Up Big Industry
Chief Paul McGoldrick. “We don’t ballot our readers; we don’t haggle with vendors, or Awards for Microchip
- even as other publications do, heaven help us - ask the suppliers to submit essays for
their reasons why they think they should win. As always at analogZONE, with every review Revolutionary 6-pin PIC ® Microcontrollers recognized for Innovation and Design
we write, we put our money where our mouth is.” McGoldrick went on to say that he and Functionality have won prestigious awards from two leading design-engineering trade
editorial colleague Lee Goldberg believe the products selected “will make significant bottom publications, Electronic Products magazine and ECN magazine.
line numbers for the companies involved” because of their strong technical merit, design
innovation and marketability. PIC10F20X Microcontrollers Win Electronic
To view analogZone’s complete review visit: www.analogzone.com.
Products Magazine’s “29th Annual Product of the
Year” Award
The innovative MCP6275/85/95 op amps enable a standard, two-stage amplifier signal
chain to be implemented into an 8-pin package with a power-saving chip select. The From the thousands of products introduced in 2004,
internal connection of the two stages enables one op amp to feed into the other, making the editors of Electronic Products have chosen what
a more compact design. The devices are extended, industrial-temperature range they feel are among the most outstanding — based on
(-40°C to 125°C), Rail-to-Rail input/output (I/O), single-ended op amps. Covering the 2 MHz, significant advances in technology or its application, a
5 MHz and 10 MHz Gain Bandwidth Product (GBWP), these devices allow for a current-flow decided innovation in design, or a substantial gain in price-
efficient design by providing low supply-current requirements. With a migration path along performance.
the GBWP spectrum, designers can optimize the GBWP to be selected for the current flow, To view Electronic Products Magazine’s product description please visit:
versus GBWP demand for the application. www.electronicproducts.com/ShowPage.asp?FileName=poy.jan2005.HTML
Product Features
For more product information visit: www.microchip.com/PIC10F20X
• MCP6275 - 2 MHz gain bandwidth; operating voltage range of 2.0V to 5.5V;
supply current of 165 microamps

• MCP6285 - 5 MHz gain bandwidth; operating voltage range of 2.2V to 5.5V; ECN Magazine Awards Microchip’s PIC10F20X
supply current of 450 microamps Family with its 2004 “First Annual Product
• MCP6295 - 10 MHz gain bandwidth, operating voltage range of 2.4V to 5.5V; Technology” Award
supply current of 1.0 milliamps Microchip’s PIC10F20X Microcontrollers won the Integrated
These devices are ideal for sensor, automotive, instrumentation, industrial and battery- Circuits category of ECN Magazine’s 2004 “First Annual
operated applications. Product Technology Awards”. The editors of the magazine
nominated 10 products in each category, which were then
voted on by their 126,000 readers.
To view ECN’s product description please visit:
For more product information visit: www.microchip.com/MCP6275 www.reed-electronics.com/ecnmag/article/CA487535
www.microchip.com/MCP6285 www.microchip.com/MCP6295
For more product information visit: www.microchip.com/PIC10F20X

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 8


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

Tips ‘n Tricks - PICmicro® Microcontroller CCP and ECCP


The Capture, Compare, and PWM (CCP) modules that are found on many of Microchip’s microcontrollers are used primarily for the measurement and control of time-based pulse signals. The
Enhanced CCP (ECCP), available on some of Microchip’s devices, differs from the regular CCP module in that it provides enhanced PWM functionality – namely, full-bridge and halfbridge
support, programmable dead-band delay, and enhanced PWM auto-shutdown. The ECCP and CCP modules are capable of performing a wide variety of tasks. The tips below describe some
of the basic guidelines to follow when using these modules, as well as give suggestions for practical applications. Additional tips and tricks can be found at: www.microchip.com.

TIP 1. Measuring the Period of a Square Wave TIP 3. Measuring Pulse-Width


1. Configure control bits CCPxM3:CCPxM0 1. Configure control bits CCPxM3:CCPxM0
W
T (CCPxCON<3:0>) to capture every rising
(CCPxCON<3:0>) to capture every rising
edge of the waveform. edge of the waveform.
2. Configure the Timer1 prescaler so Timer1 2. Configure Timer1 prescaler so that Timer1
will run WMAX without overflowing. t1 t2
will run TMAX(1) without overflowing.
t1 t2 Figure 3-1 Pulse-Width
3. Enable the CCP interrupt (CCPxIE bit). 3. Enable the CCP interrupt (CCPxIE bit).
Figure 1-1 Period 4. When CCP interrupt occurs, save the captured timer value (t1) and reconfigure control
4. When a CCP interrupt occurs:
bits to capture every falling edge.
a) Subtract saved captured time (t1) from captured time (t2) and store
(use Timer1 interrupt flag as overflow indicator). 5. When CCP interrupt occurs again, subtract saved value (t1) from current captured value
(t2) – this result is the pulse-width (W).
b) Save captured time (t2).
6. Reconfigure control bits to capture the next rising edge and start the process all over
c) Clear Timer1 flag if set.
again (repeat steps 3 through 6).
The result obtained in 4.a is the period (T).
Note: TMAX is the maximum pulse period that will occur.
TIP 4. Measuring Duty Cycle
The duty cycle of a waveform is the ratio
TIP 2. Measuring the Period of a Square Wave with Averaging T
between the width of a pulse (W) and the
period (T). Acceleration sensors, for example, W
1. Configure control bits CCPxM3:CCPxM0 vary the duty cycle of their outputs based on
(CCPxCON<3:0>) to capture every 16th 16 x T the acceleration acting on a system. The CCP
rising edge of the waveform. module, configured in Capture mode, can be t1 t2 t3
2. Configure the Timer1 prescaler so Timer1 used to measure the duty cycle of these types Figure 4-1 Duty Cycle
will run 16 TMAX(1) without overflowing. t1 T t2 of sensors. Here’s how:
3. Enable the CCP interrupt (CCPxIE bit). 1. Configure control bits CCPxM3:CCPxM0 (CCPxCON<3:0>) to capture every rising edge
Figure 2-1 Period Measurement of the waveform.
4. When a CCP interrupt occurs:
a) Subtract saved captured time (t1) from captured time (t2) and store 2. Configure Timer1 prescaler so that Timer1 will run TMAX(1) without overflowing.
(use Timer1 interrupt flag as overflow indicator). 3. Enable the CCP interrupt (CCPxIE bit).
b) Save captured time (t2). 4. When CCP interrupt occurs, save the captured timer value (t1) and reconfigure control bits
to capture every falling edge.
c) Clear Timer1 flag if set.
Note: TMAX is the maximum pulse period that will occur.
d) Shift value obtained in Step 4.a right four times to divide by 16 – this result is the
period (T). 5. When the CCP interrupt occurs again, subtract saved value (t1) from current captured
value (t2) – this result is the pulse width (W).
Note: TMAX is the maximum pulse period that will occur. 6. Reconfigure control bits to capture the next rising edge.
The following are the advantages of this method as opposed to measuring the periods 7. When the CCP interrupts occurs subtract saved value (t1) from the current captured
individually: value (t3) – this is the period (T) of the waveform.
• Fewer CCP interrupts to disrupt program flow 8. Divide T by W – this result is the Duty Cycle.
• Averaging provides excellent noise immunity 9. Repeat steps 4 through 8.

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 9


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

Archived WebSeminars
Title Category Date Duration
Designing Intelligent Power Supplies Applications Dec 2004 30 min.
Introduction to dsPIC30F Architecture (Part 1) Products Dec 2004 20 min.
Introduction to dsPIC30F Architecture (Part 2) Products Dec 2004 20 min.
The LCD PIC® Microcontrollers, PIC18F8490/6490, with 16 Kbytes of Flash in 64- and 80-pin packages Products Nov 2004 20 min.
Thermistor Application for the New MCP6S9X PGA Applications Nov 2004 20 min
Introduction to the dsPIC® DSC Products Nov 2004 20 min.
64 KByte Flash MCUs in 28- and 40-pin packages: PIC18F4620 and PIC18F2620 Products Oct 2004 20 min.
Introduction to the Signal Analysis PICtail™ Daughter Board Develoment Tools Oct 2004 30 min.
Basic dsPIC® DSC Development Tools Development Tools Oct 2004 25 min.
Introduction to MPLAB® SIM Software Simulator Development Tools Sep 2004 25 min.
Get Started with the 64/80-pin TQFP Demo Board Development Tools Sep 2004 20 min.
Tips and Tricks Using MPLAB® IDE v6.61 Development Tools Sep 2004 30 min.
Introduction to the PIC18F High Pin-Count and High Density Family of Devices Development Tools Sep 2004 20 min.
Introduction to the MPLAB® Visual Device Initializer (VDI) Development Tools Aug 2004 30 min.
Selecting the Ideal Temperature Sensor Analog Aug 2004 30 min.
PIC10F Development Tools: Small Tools for Small Parts Development Tools Aug 2004 30 min.
An Introduction to the Controller Area Network (CAN) Interface Jun 2004 30 min.
Control the World with the World’s Smallest Microcontroller (PIC10F) Products Jun 2004 30 min.
Predict the Repeatability of Your ADC to the Bit Analog May 2004 20 min.
What Does “Rail-to-Rail” Operation Really Mean? Analog Apr 2004 20 min.
Introduction to MPLAB® IDE Development Tools Mar 2004 25 min.
Lithium-Ion Battery Charging: Techniques and Trade-offs Analog Mar 2004 20 min.
Techniques that Reduce System Noise in ADC Circuits Analog Feb 2004 20 min.
Introduction to Microchip’s Development Tools Development Tools Feb 2004 25 min.
Wireless Communication Using the IrDA® Standard Protocol Applications Jan 2004 20 min.
Driving Lumileds LEDs with Microchip Microcontrollers Applications Jan 2004 60 min.
AC Induction Motor (ACIM) Control Using the PIC18FXX31 Motor Control Jan 2004 20 min.
Peripheral-Rich, Low Pin-Count, PIC® Microcontrollers with nanoWatt Technology Products Jan 2004 30 min.
Brushless DC Motor (BLDC) Motor Control Using PIC18FXX31 Motor Control Dec 2003 20 min.
Smaller Packages = Bigger Thermal Challenges Analog Dec 2003 20 min.
Design Considerations When Adding CANbus to Your System Applications Nov 2003 20 min.
Select the Right Operational Amplifier for Your Filtering Circuits Analog Oct 2003 20 min.

For more information visit: www.microchip.com/webseminars

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 10


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

What’s New in Microchip Literature?


Click on a Document Title to view the document.

Type of Document Title of Document DS# Print/Web


Application Notes Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software (AN956) 00956A Web
Microchip Stack for the Zigbee™ Protocol 00965A Web
Interfacing SPI™ Serial EEPROMS to Microchip PICmicro® Microcontrollers 00966A Web

Data Sheets PIC18F8722 Family - 64/80-pin 1 Mbit, Enhanced Flash MCU with 10-bit A/D and nanoWatt Technology 39646B Web
Stand-alone CAN Controller with SPI™ Interface (MCP2515) 21801C Web
Infrared Encoder/Decoder (MCP2122) 21894B Web
1 MHz Low-Power Op Amp (MCP6001/2/4) 21733E Web
Single 1A 1.4 MHz Synchronous Buck Regulator (MCP1612) 21921A Web
8-bit Expander with Serial Interface (MCP23008/MCP23S08) 21919A Web
170 μA, 2 MHz Bandwidth, Rail-to-Rail Op Amp (MCP6271/2/3/4) 21810D Web
450 μA, 5 MHz Bandwidth, Rail-to-Rail Op Amp (MCP6281/2/3/4) 21811D Web
1.0 mA, 10 MHz Bandwidth, Rail-to-Rail Op Amp (MCP6291/2/3/4) 21812D Web
dsPIC30F2010 28-pin High-Performance Digital Signal Controllers 70118E Web
dsPIC30F6010 High-Performance Digital Signal Controllers 70119D Web
dsPIC30F2011/2012/3012/3013 High-Performance Digital Signal Controllers 70139B Web
dsPIC30F3014/4013 High-Performance Digital Signal Controllers 70138C Web

Erratas PIC18F6620/8620/6720/8720 Rev. A3 Silicon/Data Sheet Errata 80129H Web


PIC18F8720/8620/6720/6620 Rev. A4 Silicon/Data Sheet Errata 80172B Web
PIC18F6627/6722/8627/8722 Rev. A1 Silicon Errata 80221A Web
PIC16F72 Data Sheet Errata 80155B Web
PIC18F2331/2431/4331/4431 Rev. A3 Silicon/Data Sheet Errata 80192B Web
MCP2515 Rev. B Silicon/Data Sheet Errata 80179C Web
dsPIC30F5011/5013 Rev. A1/A2 Silicon Errata 80210C Web
dsPIC30F2010 Rev. A1 Silicon Errata 80186C Web
dsPIC30F2010 Rev. A0 Silicon Errata 80178F Web

Migration Document PIC18F452 to PIC18F4520 Migration 39647A Web

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 11


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

What’s New in Microchip Literature?


Click on a Document Title to view the document.

Type of Document Title of Document DS# Print/Web


Poster Using MPLAB® ICD 2 51265E Printed/Web

Programming Specs HCSXXX Memory Programming Specification 41256B Web

Product Sheet MCP1612, 1 Amp, 1.4 MHz Synchronous Buck Regulator 21924A Web

User Guides Mixed Signal PICtail™ Demonstration Board User’s Guide 51523A Web
PICDEM™ Z Demo Kit User’s Guide 51524A Web
MPLAB® PM3 User’s Guide 51464B Web
PICDEM™ FS USB Demonstration Board User’s Guide 51526A Web
MPLAB® IDE Quick Start Guide 51281D Web
MPLAB® C18 C Compiler User’s Guide 51288E Web
MPLAB® IDE User’s Guide 51519A Web

The Microchip name and logo, the Microchip logo, dsPIC, MPLAB, PIC, PICmicro, PICSTART, and PRO MATE, are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
dsPICDEM, PICDEM, PICkit and PICtail are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. I2C is a trademark of Philips Corporation. SPI is trademark of Motorola.
IrDA is a register mark of Infrared Data Association. All other trademarks mentioned herein are property of their respective companies. © 2005 Microchip Technology Inc.

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 12


MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - February 2005

web site
HIGHLIGHTS
What’s new on buy.Microchip? Βig Savings On MPLAB® ICE 2000 Processor Modules!
• The 2005 Technical Library CD ROM has • Effective immediately, Microchip has reduced the price of the MPLAB ICE 2000 emulator pod
been released. Anyone with a browser from $1,525 to $1,000 - a 35% price cut.
capable of rendering JavaScript can use it! Microchip’s MPLAB® ICE 2000 universal emulator pod and processor modules is a full-featured
emulator system providing full-speed (up to 25 MHz) emulation, low-voltage operation, 32K
by 128-bit trace and up to 65,535 breakpoints. It is small, portable and lightweight.
• The buy.Microchip family has grown again. Customers in Israel, South Africa, Interchangeable processor modules allow the system to be easily configured to emulate
Iceland, Norway and Switzerland can now shop online. different processors.

• Volume pricing discounts are now available on many of the most popular memory • For a limited time, any processor module (PCMXXXX) can be purchased for $299
products. Order 5000 or more units and save. (regular resale price is $445).
For more information please visit http://buy.microchip.com.

Did you know... Did you know...


Finding Application Note source code is easy. When you do a search for the application When you search for a product by name, the first result you’ll see will be a link to the device page?
note, the source code will be displayed under the application note (if it’s available). If
The device page contains links to all the related technical documents and development tools
you navigate to the application note download page, you’ll see the source code listed at
needed for using that device. See image below.
the bottom. See image below.

Click
Here →

www.microchip.com Microcontrollers • Digital Signal Controllers • Analog • Serial EEPROMs 13

You might also like