Professional Documents
Culture Documents
Final Dec03microsol
Final Dec03microsol
Final Dec03microsol
PAGE 1
New PIC® MCUs Offer
New Low Pin-count PIC® MCUs Microchip’s existing 8- and 14-
pin FLASH devices already offer
Superior System-level
Performance
Offer Engineers Superior System- nanoWatt technology features
such as nanoAmp standby current
Level Performance consumption, a fast-startup internal
PAGE 2 oscillator operating at 8 MHz (±1%)
Microchip Continues Its Domination of the Low Pin- and Brown-out Reset (BOR) for
PICmicro® Microcontroller
Family Meets Demand
Count, FLASH Market with its New PIC Microcontrollers reliable operation.
for Total Control of Power
Consumption
The PIC12F683, PIC16F684 and PIC16F688 8-bit FLASH
PAGE 3 microcontrollers provide unprecedented system-level performance
and cost-effectiveness in 8- and 14-pin packages. These PIC MCUs
Flow Rate Sensor Board -New offer designers up to 7,168 bytes of FLASH program memory and
Addition to the PICDEM™ several peripheral options with integrated nanoWatt Technology.
MSC1 Demo Board Family The new PIC MCUs offer the following additional power management features:
These devices are well suited for a range of applications: Software-selectable clock speed Software-controlled BOR
PAGE 4 Extended watchdog timer Ultra-low-power wake-up on-change
Home appliances
Microchip Achieves Battery-operated/handheld products Lower-power real-time clock timer
ISO/TS-16949 Quality Sensors
Certification Interface These features provide customers with unmatched flexibility in managing power
Automotive consumption and performance, without sacrificing system reliability in battery-
PAGE 5-6 Electronic motor control and power supplies (PIC16F684) operated and other low-power applications.
8-Pin FLASH PIC® MCUs With the PIC12F683, PIC16F684 and PIC16F688, customers have The PIC12F683, PIC16F684 and PIC16F688 also provide designers with the most
Tips n’ Tricks an easy, pin-compatible migration path from the “classic” 8- and 14- advanced and reliable FLASH memory technology available – Microchip’s PMOS
pin devices to these “enhanced,” low pin-count products. In addition, Electrically Erasable Cell (PEEC) FLASH technology. PEEC FLASH increases
PAGE 6-7 these devices offer the familiar PIC x14 architecture, along with reliability through in-field reprogrammability that can withstand one million erase/
FAQs: standardized features that include a wide operating voltage of 2.0V write cycles on each memory location at a wide range of operating temperatures.
(Frequently Asked Questions) – 5.5V and on-board EEPROM Data Memory.
Availability and Development Tool Support
PAGE 8 Standard analog peripherals on these PIC® devices include:
8 channels of 10-bit A/D for easy measurement of analog signals The PIC microcontrollers come in small-footprint 8-pin SOIC and 14-pin TSSOP
Upcoming WebSeminars
packages. The PIC16F684 is currently available for sampling and volume
2 comparators as general-purpose building blocks for analog
PAGE 9-10 production. Sampling of the PIC16F688 and PIC12F683 is planned for early 2004.
input and output control
What’s New in Literature? Standard Capture/Compare PWM module (PIC12F683)
All three devices are supported by the full suite of Microchip’s development tools,
Enhanced Capture/Compare module with deadband control including the PICkit™ 1 FLASH Starter Kit, MPLAB® IDE (Integrated Development
(PIC16F684) Environment) and the low-cost MPLAB ICD 2 (In-Circuit Debugger).
4 outputs and emergency shutdown (PIC16F684)
EUSART peripheral that supports standard RS232/485-type For more information, contact any Microchip sales representative, authorized distributor or visit:
communications and LIN protocol – popular in automotive body
electronics and dashboard controls www.microchip.com/solutionspic12f6x/pic16f6x
Four 8-bit FLASH For in-field reprogrammability and increased design flexibility, these MCUs have 4K and 8K
microcontrollers offer words of standard FLASH program memory. The PIC16F7X7 family also delivers:
low-cost, enhanced
power management
Up to 5 MIPS performance at 20 MHz
for utility metering,
motor control, battery 368 bytes of RAM and a Master Synchronous Serial Port module
powered and general On-chip multi-frequency oscillator operating at up to 8 MHz (with fast startup)
purpose applications Flexible clock switching
2-speed startup from reset
Fail-safe clock monitor and a low-current programmable watchdog timer
Serial interfaces: USART module, SPI™ and I2C™
PIC16F7X7 Applications:
Utility Metering – dual-rate power meters, gas meters, mono-phase power meters, IC card
interface to a power meter, AMR wireless metering
Optimized to address the demand for effective control of system power consumption Household Appliances – air conditioning, coffee machines, dishwashers and refrigerators
in battery-powered and line-powered control applications, the new PIC16F7X7 FLASH
microcontroller family delivers fault-redundant clocking and the ability to shut the system Automotive – car alarms, remote keyless entry
down reliably. Thus this meets the need for safety-critical and power-managed motor
Battery/Handheld Devices – MP3 players, handheld medical devices, cell phones
control in the automotive and general purpose markets.
Radio Frequency – RFID readers, RF receivers
There’s a steadily increasing demand for low-cost microcontrollers (MCUs) with integrated
technology that can reduce power consumption to extend the life of batteries across a
Tools and Availability:
broad range of products. The new PIC16F737/747/767/777 devices meet this need with
three enhanced nanoWatt Technology modes that allow total control of system power These new PIC16F7X7 MCUs are supported by a number of Microchip’s development tools,
consumption. including the no-cost MPLAB® IDE (Integrated Development Environment) software. On
the hardware end, there’s the MPLAB ICE (In-Circuit Emulator) – a full-featured emulator
These devices also have three Pulse-Width Modulation (PWM) modules for 3-phase
system and the MPLAB ICD2 (In-Circuit Debugger). Available programmers include the
motor control, which enable efficient motor operation and safe shutdown systems for
PRO MATE® II – a full-featured, modular device programmer and the PICSTART® Plus – a
low-end applications like brushless DC motors in appliances. With 10-bit analog-to-digital
low-cost programmer.
conversion (ADC) and a real time clock, these MCUs can effectively measure and track
energy usage per unit of time – making them ideal for utility metering applications like The PIC16F737/747/767/777 devices are offered in 28- and 44-pin PDIP, SDIP, SOIC, QFN,
multi-rate utility billing (both on- and off-peak). SSOP and TQFP packages. Samples and volume production are available now.
“The PIC16F7X7 family offers a cost-effective solution for motor control and power-critical
applications,” said Ganesh Moorthy, vice president of the Advanced Microcontroller and
Memory Division (AMMD) at Microchip Technology. “By adding a family of standard
FLASH products with nanoWatt Technology features, we offer our customers socket-
For more information, contact any Microchip sales representative, authorized distributor or visit:
compatible flexibility and up to 10x system power reduction using integrated power
management with minimal additional software.”
www.microchip.com/solutionspic16f7x7
The results of the measurement are then displayed graphically on a 10 element LED
display.
The secret to the design of the flow rate sensor is embedding the heated temperature Other Daughter Boards available for the PICDEM MSC1 include:
sensor into a feedback control loop which maintains the heated sensor at a temperature
a few degrees warmer than the ambient air temperature. As air flows over the sensors, • AC163001 PICDEM MSC1 Switch Mode Power Supply Daughter Board
the ambient temperature sensor heats or cools to the temperature of the surrounding air. • AC163002 PICDEM MSC1 High Power IR Driver Daughter Board
The feedback loop then heats the second sensor to a few degrees warmer to maintain the
• AC163003 PICDEM MSC1 Delta Sigma ADC Daughter Board
temperature difference. As air continues to flow over the sensors, the heater tied to the
sensor is cooled by the air flow and the feedback loop must increase the drive to the heater
to maintain the temperature difference. Measuring the additional drive required to maintain
the temperature difference is then directly proportional to the amount of air flowing over the
sensors.
The PICDEM MSC1 Demo Board and the PICDEM MSC1 Flow Rate Sensor Daughter
Boards are both available from Microchip. To order, contact your local distributor and order
part number DM63012 for the PICDEM MSC1 and part number AC163004 for the Flow
Rate Sensor Daughter Board.
For more information, contact any Microchip sales representative, authorized distributor or visit:
www.microchip.com/solutionspicdemfrsdboard
Microchip Achieves ISO/TS-16949 “Attaining ISO/TS-16949 certification demonstrates to all of our customers that Microchip
produces semiconductors and development systems of consistently high quality through
Quality Certification - One of the Earliest a culture of continuous improvement,” said Dan Termer, vice president of Microchip
Technology’s Automotive Products Group. “In particular, this achievement reconfirms that
Semiconductor Companies to Pass Stringent Microchip meets the exacting standards required by the international automotive industry,
Requirements which helps us to continue serving the needs of this market.”
The ISO/TS-16949 certification, coupled with customer-specific mandates, defines the BMW
quality-system and global-registration requirements for the international automotive supply DaimlerChrysler: (require ISO/TS-16949 by July 1, 2004)
chain. In addition, this certification eliminates the need for multiple automotive-supplier Fiat
quality certifications in the U.S. and Europe. Ford Motor Company: (require ISO/TS-16949 by December 14, 2006)
General Motors (including Opel and Vauxhall: (require ISO/TS-16949 by December 14, 2006)
In order to achieve this certification, Microchip demonstrated top-notch quality PSA Peugeot Citroen, Renault SA, Volkswagen and its respective trade associations
systems in the following areas:
AIAG (U.S.), ANFIA (Italy), FIEV (France), SMMT (U.K.) and VDA (Germany)
Customer satisfaction
For information on Microchip’s complete line of semiconductor and development system
Process analysis and improvement
solutions for automotive electronics and embedded systems, please visit:
Product development
Supply chain development www.microchip.com/1010/suppdoc/design/auto/index.htm.
Employee motivation and management/organizational performance
This was measured through an exhaustive, independent audit conducted by Det Norske
Veritas Certification, Inc. (DNV). Effective immediately, Microchip’s facilities in Chandler, AZ,
Tempe, AZ, Mountain View, CA and Bangkok, Thailand are all ISO/TS-16949 certified. For more information, contact any Microchip sales representative, authorized distributor or visit:
www.microchip.com/solutionsiso/ts16949
Sender
PIC12F6XX Receiver
GP0 GP0
GP0
(CONTINUED)
8-pin FLASH PIC® Microcontrollers - Tips n’ Tricks FAQs: Frequently Asked Questions
VDD VBAT
VDD Q. Do you know that when using microcontrollers with A/D, the port with the
VDD A/D channels defaults to analog?
CLKOUT If you want to use a part WITH A/D in place of a part WITHOUT A/D (i.e; using a
VDD PIC16C74 instead of a PIC16C65), then you must change the port with the A/D
PIC12F6XX channels (normally PORTA) to digital. This is often done via the ADCON1
register. Just changing the TRIS bits will not work, the A/D configuration register
settings override the TRIS bits.
TIP 6. Using PIC MCU A/D for Smart Current Limiter
Q. Do you need a bootloader for self-programming devices?
• Detect current through low side sense resistor
The Application Note AN732, Implementing a Bootloader for the PIC16F87X,
• Optional peak filter capacitor illustrates and demonstrates a basic bootloader routine that can download a
• Varying levels of overcurrent response can be realized in software program update via the USART (minor adjustments would allow other methods
of data transmission). Additional code needed to support error recovery is
By adding a resistor (Rsense) in series with a motor, the A/D can be used to measure in-rush
left to the user as it is application specific. Source code and documentation can
current, provide current limiting, over-current recovery or work as a smart circuit breaker. The
be found at:
10K resistor limits the analog channel current and does not violate the source impedance limit
http://www.microchip.com/1010/suppdoc/appnote/all/an732/index.htm
of the A/D.
10K input impedance to the A/D. 10-bit A/D on PIC® microcontrollers can commonly
AN0
tolerate 10k ohms max, while the 12-bit A/D on-board require 2.5K ohms max. A
RSENSE lower impedance will give more noise immunity.
Watch the offset error of any pre-amp as well as any offset currents, particularly
when dealing with larger resistors.
Q. Are you getting the specified accuracy of your on-board A/D? (Cont.) Q. Do you know that when converting from a PIC16CXXX design to the PIC18CXXXX
design, ALL banking and ALL paging can be deleted?
Board layout is critical. With a 10-bit A/D, each bit is equal to 4 mV or less, while a
12-bit A/D is 1 mV or less. You must use separate grounds and minimize any The largest RAM offering in the PIC16XXXX product line offers 368 bytes of RAM.
current differentials that may cause one leg of your analog return to change in When converting to the PIC18XXXX family, you can take advantage of the first
potential. bankless 128 bytes of RAM and how it will be chosen, regardless of the bank select
pointer. Keeping that in mind, set the bank select pointer to any RAM bank other
Make sure that you have chosen your Tad clock properly. Too fast and the A/D will than bank 0 (where the bankless memory resides) and leave it there. When the
not be settled from the previous sample. Too slow and the sample capacitor ladder assembler determines that RAM in the bankless memory is being accessed, it
will droop due to leakage. overrides the bank select pointer for that instruction. Otherwise, the program
The following Application notes offer advice on getting the maximum performance accesses the bank of RAM that the bank select pointer is pointing to.
from your A/D.
This gives 256 + 128 bytes of RAM where bank selection is not needed. Access to
AN688 – Layout Tips for 12-bit A/D Converter Application additional RAM can also be done without banking, using MOVFF instructions and the
AN693 – Understanding A/D Converter Performance Specifications FSR registers.
AN699 – Anti-aliasing Analog Filters for Data Acquisition Systems
Paging goes away since the PIC18CXXXX architecture uses a 21-bit program counter,
Q. Do you need a little more detail on a peripheral? giving a linear program address space that does not require paging instructions.
Take a look at our reference manuals for the Mid-Range and PIC18XXXX families.
Available in book form or online, the reference manuals thoroughly examine all Memory
peripherals offered in these families. The entire reference manual (or sections) can
be downloaded at: http://www.microchip.com/1010/suppdoc/refernce/index.htm or Q. Do you know that EEPROM endurance is a function of the write-cycle timing,
ordered through Literauture Request. temperature and operating voltage?
Typical and maximum endurance specifications are helpful, but what if you wanted to
Microcontrollers: 28- to 40-pins evaluate design criteria closer to your needs and wanted to base the results on real
data? Our FREE Total Endurance™ software attempts to predict the endurance, based
Q. Do you know how to convert a design to the PIC16F87XA parts? on accumulated characteristic data.
Turn off the LVP bit in the CONFIG register – it defaults to ON and is an added Download the Total Endurance software at:
bit that likely wasn’t in your original design. If you forget to turn it off, pin RB3 will then www.microchip.com/1010/pline/tools/memory/demo/total/index.htm
control whether you are in programming mode (RB3 will become an input, regardless
of the TRISB settings). Erroneous operation will ensue if RB3 is floating or controlled
by your application. Make sure you set up the LVP bit for your application. Documentation
General Information Q. Do you know that there are migration documents to help you migrate to the next
die shrink?
Q. Do you know that Microchip has a conversion process to assist in converting These documents indicate where there might be software, hardware or electrical
competitors’ programs to a Microchip design? aspects that have changed to help you qualify the new part in your design.
If you have a moderate to high volume application and wish to convert from Zilog,
Download migration documents at:
Atmel, Motorola or any other manufacturer’s part, Microchip’s Conversion team can
www.microchip.com/1010/010/suppdoc/migrat/index.htm
perform the software conversion for you. Please contact your salesperson for more
information.
Abstract:
As microcontroller designs continue to move into smaller applications with limited power resources, the
availability of small pin-count devices with complex peripherals and power-saving features has become
increasingly desirable. Responding to this need, Microchip is proud to present three new peripheral-rich,
low pin-count microcontrollers with a wealth of features and integrated nanoWatt technology. Hear all
about the latest offerings; an 8-pin microcontroller with a full Capture/Compare/PWM peripheral, a 14-pin
microcontroller with our new enhanced Capture/Compare/PWM peripheral, and a new 14-pin microcontroller
with an Enhanced USART and 4K bytes of program memory. All three devices include nanoWatt power
saving features, new clock control features including a multi-frequency internal RC oscillator, on-chip
EEPROM memory, software controlled brown-out and watchdog timer resets, FLASH program memory and a
host of other new features that will make small foot print designs more powerful and power efficient than ever
before.
Function Pack Fan Control Function Pack Design Guide 21835A web & print
Function Pack Makes a Measurement Function Pack Design Guide 21825A web & print
CONTINUED
For more information visit www.microchip.com 9
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - DECEMBER 2003
User’s Guide TC64X/TC64XB Fan Control Demo Board User’s Guide 21401C web
User’s Guide TC1301/TC1302 Evaluation Board User’s Guide 51427A web
User’s Guide dsPICDEM™ Starter Demo Board User’s Guide 51425A web
The Microchip name and logo, the Microchip logo, PIC, PICmicro, MPLAB, dsPIC, PRO MATE, and PICSTART are registered trademarks of Microchip Technology Inc. in the USA and other countries. PICDEM, PICkit, dsPICDEM, dsPICWorks, Total Endurance and In-Circuit Serial Programming
are trademarks of Microchip Technology in the U.S.A and other countries. SPI is a trademark of Motorola. I2C is a trademark of Philips Corporation. IrDA is a registered trademark of the Infrared Data Association.
All other trademarks mentioned herein are the property of their respective owners. Information subject to change. © 2003 Microchip Technology Incorporated. All rights reserved.