in this issue - microchip technologyww1.microchip.com/downloads/en/market_communication/dec... ·...
TRANSCRIPT
For more information visit www.microchip.com
Fully Integrated Devices Feature
Charge Safety Timer and
Temperature Monitor Options
Microchip continues to expand its battery management IC portfolio with the introduction of two single-cell charge management controllers featuring 0.5% overall system accuracy for the fast-growing Lithium-Ion (Li-Ion) and Lithium-Polymer (Li-Polymer) battery technologies used in consumer applications. The MCP73853 and MCP73855 devices are USB-compatible and have an on-board charge safety timer; the MCP73853 also contains a cell temperature monitor.
These fully integrated solutions simplify the design and increase system reliability, while eliminating the need for a pass transistor, reverse-blocking diode, sensor resistor and thermal design, resulting in significantly lower system cost.
The industry-leading ±0.5% charge voltage regulation accuracy ensures maximum utilization of the cell capacity. On-board thermal regulation eases board design and optimizes charge cycle times while maintaining device reliability. The on-chip thermal limiting allows an optimum charging rate without the thermal limitations imposed by worst-case battery and input voltage situations. The integration of a pass transistor (FET), reverse-blocking protection and current sensing minimizes external component count and board space.
These charge-management controllers complement Microchip’s growing silicon solutions for battery management, including the PowerSmart® product family, a wide range of DC/DC converters in power management applications and a large portfolio of PIC®
microcontrollers with nanoWatt Technology, which provides industry-leading low-power, operation voltage range and flexible power-managed technology from DC up to 40 MHz. For more product information visit: www.microchip.com/MCP7385X
PAGE 1 Microchip Debuts USB-Compliant Lithium-Ion/Lithium Polymer Charge Management Controllers with 0.5% System Accuracy
PAGE 2 World’s Smallest CAN Microcontroller Packed Into a 28-pin, 6x6 mm QFN Package
PAGE 3 Microchip Introduces New Series of PIC® Microcontrollers with On-Chip LCD Driver
PAGE 4 PICDEM™ Z 2.4 GHz Demonstration Kit Supports the ZigBee™ Standard Protocol for Wireless Products
PAGE 5 Upcoming WebSeminar
Archived WebSeminars
PAGE 6-7 Tips n’ Tricks: PICmicro®
Microcontroller Comparators
PAGE 8-10 What’s New in Microchip Literature?
PAGE 11 Development Tools - Holiday Sale!
Web Highlights!
IN THIS ISSUE
Key Product Features Include:
• USB compliance enables battery charging from a USB port or a regular wall adapter
• Automatic power-down and extremely low output reverse leakage (0.24 microamps) extend battery life
• Safety timers and a thermal monitor provide time- and temperature-based charge termination, even in the case of a defective battery or poor cell contact
• Integrate most of the external components (MOSFET, blocking diode, sense resistor)
• Offered in low-profi le, space-saving leadless packages
• 4.1V and 4.2V options to accommodate Li-Ion/Li-Polymer batteries with coke or graphite anodes
• Temperature range is -40°C to +85°C
• Voltage regulation accuracy is ±0.5%
Product Applications:
The MCP73853 and MCP73855 are well suited for the following applications.
• Any Li-Ion/Li-Polymer battery-powered equipment
• Cellular phones
• Personal Data Assistants (PDAs)
• Cordless phones, digital cameras
• USB chargers, MP3 players
• Self-charging battery packs, medical instruments
Availability:
Both devices are available today in samples and volume production in the following lead (Pb)-free packaging:
MCP73853 - 16-pin, 4x4 QFNMCP73855 - 10-pin, 3x3 DFN
For more information, contact your authorized worldwide distributor or visit Microchip’s Web site at www.microchip.com
Microchip Debuts USB-Compliant Lithium-Ion/Lithium-Polymer Charge-Management Controllers with 0.5% System Accuracy
Save 30% OffOn Dev ToolsNow - Dec 31st!
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
For more information visit www.microchip.com 2
Microchip Debuts World’s Smallest CAN Microcontroller Packed Into a 28-pin, 6x6 mm QFN Package
The PIC18F2480, PIC18F2580, PIC18F4480 and PIC18F4580 are Microchip’s latest 8-bit CAN (Controller Area Network) Flash PIC® microcontrollers, including the world’s smallest CAN microcontroller in a 28-pin, 6x6 mm QFN package for minimal occupied board space and a lower total system cost. These devices combine a small form factor with the innovative ECAN™ module and nanoWatt Technology power management. This serves to complete the seamless migration path of Microchip’s PIC18F CAN microcontroller portfolio from 16 to 64 Kbytes of Flash program memory and 28- to 80-
pin package options for automotive and industrial designers.
Growing trends for electronics within the vehicle include power management, in-system programming, diagnostic testing and personalized multi-driver settings. While reliable CAN communication is a mainstay of automotive systems, it’s also growing rapidly within the industrial market where I/O modules, sensors and motor drives can all be connected via a single CAN bus. The PIC18F4580 microcontroller meets these market demands with the industry’s most reliable field-reprogrammable Flash memory and on-board ECAN module, which provides CAN communication and enhanced support for the higher level protocols (such as J1939, CANopen and DeviceNet™) that are being employed in networked automotive and industrial applications. Additonally, the integrated nanoWatt Technology low-power modes and multiple oscillator sources enable strict control of power and speed, which is critical for each of the more than 70 CAN nodes found in the typical vehicle.
Product Applications:
Example applications for the PIC18F4580 microcontroller series include:
• Automotive - body controllers, steering position sensors, cabin environmental control, dashboard and instrument clusters
• Industrial - copy machines, hydraulic pressure regulators, motor control
• Consumer - tanning beds
• Medical - pharmaceutical distribution systems and wheel chairs
• J1939 Networks - trucks, buses, off-road vehicles, passenger/cargo trains, vending machines
• CANopen Networks- elevators, escalators, industrial control
• DeviceNet Networks- factory automation and industrial control
The on-board ECAN module enables multiple applications to be configured on a single node and easier implementation of a software protocol bridge from a CAN network. Code-compatible with existing PIC microcontrollers that feature CAN, these devices allow customers to easily migrate to a more scalable CAN device with larger Flash memory. The ECAN module provides benefits where the system must select, receive and process a large number of messages, and where back-to-back transmissions of large quantities of information are required. ECAN’s FIFO mode is particularly suitable in these scenarios, as it can easily handle bursts of data, which is required by applications like bootloaders. In addition, ECAN requires almost no CPU processing time.
Key Product Features Include:
• 16 and 32 Kbytes of Flash memory, which can withstand over 100,000 erase/write cycles and 40-plus years of data retention over a wide operating voltage and temperature range
• nanoWatt Technology sleep and idle modes, programmable BOR, programmable LVD, and low-power timers
• Internal clock source that is capable of providing a 32 kHz to 32 MHz system clock
• Fail-safe clock monitor for fail-safe operation
• 1.5 Kbytes of RAM and 256 bytes of high-endurance EEPROM data memory
• 10-bit Analog-to-Digital Converter with high accuracy (±1 LSB) and up to 11 channels
• Two analog comparators
• One Capture/Compare Pulse-Width Modulation (PWM) module, one Enhanced Capture/Compare PWM module
• EUSART for RS232, RS485 and LIN serial interfaces
• Operating voltage range: 2.0 – 5.5 volts; extended temperature range -40 to +125°C
• Enhanced In-Circuit Debugging capabilities with up to 3 hardware breakpoints
Development Tools:
The USB PIC microcontrollers are supported by Microchip’s world-class development systems, including:
• MPLAB® Integrated Development Environment (IDE)
• MPLAB C18 C Compiler
• MPLAB ICD 2 In-Circuit Debugger
• MPLAB PM3 Universal Device Programmer
• MPLAB ICE 2000 In-Circuit Emulator
• PICDEM™ CAN LIN 2 Demonstration Board (#DM163011)
Microchip also offers a free J1939 C library, which is available via the Company’s Web site. This library handles most network management aspects of J1939, allowing the user to concentrate on the primary application. The library also provides support for all J1939 address configurations and is easily configurable through Microchip’s Application Maestro™ utility.
Availability:
Available in December for sampling in the following packages. Volume production is planned for January.
PIC18F2580 and PIC18F2480: 28-pin QFN, SDIP or SOICPIC18F4580 and PIC18F4480: 40-pin DIP, 44-pin TQFP or QFN
For more product information visit: www.microchip.com/PIC18FXXXX
For more information visit www.microchip.com 3
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
The Microchip Advantage:
Microchip’s new LCD PIC® microcontroller family, the PIC16F913/914/916/917 and the PIC18F6390/6490/8390/8490 are a Flash-based, power-managed family of LCD-enabled microcontrollers. This LCD PIC microcontroller family meets low-power design requirements, including driving the LCD display in Sleep mode while maintaining desired functional features. With the ability to select from an array of available LCD PIC microcontrollers, a designer can provide additional value by creating scalable designs and products. This gives the designer flexibility to offer different solutions based on the demand of varying market segments, all from a single design.
Supported LCD Types:
Microchip’s LCD PIC microcontrollers have the capability to support both segmented and touchscreen displays, which are ideal for applications requiring human interface.
Segment:
Segmented displays are often 7-segment or 16-segment types used to create numbers and letters in addition to customer characters and icons.
Touchscreen:
The on-chip 10-bit Analog-to-Digital converter provides an interface for resistive touchscreen displays. Touchscreen displays eliminate specialized keyboards and the need for a mouse, bringing simplicity to the user and an opportunity for the designer to further differentiate the end product from the competition.
These new additions to Microchip’s existing LCD microcontroller family complements an already extensive product portfolio by providing the greatest selection of LCD segment drivers, package sizes and integrated features for embedded control applications.
PIC16F91X
INTOSC EEPROM
10-bit ADC
Pro
gra
mm
ab
leF
lash
LC
D M
od
ule
AUSART
CCPs
I2C™/SSPAnalog
Comparators
PIC18FXX90
INTOSC
10-bit ADC
Pro
gra
mm
ab
leF
lash
LC
D M
od
ule
AUSART/ EUSART
CCPs
I2C™/SSPAnalog
Comparators
For more product information visit: www.microchip.com/lcd
Product Applications:
• Appliances - refrigerators, stoves/ovens, microwaves, coffee makers, bread makers
washing machines, clothes dryers
• Medical - temperature readers, fertility computers, drug injectors, nurse call systems,
medical pumps
• Automotive - dashboards, tire pressure sensors, battery vehicle displays,
audio systems
• Medical - pharmaceutical distribution systems and wheel chairs
• Industrial - utility meters, portable instruments, data acquisition, gasoline pumps,
air conditioners, payment systems, gas detection, solar power measurement
• Consumer - thermostats, battery management, sprinkler controllers, security systems, exercise equipment, baby alarms, lawnmowers, clock radios
Please visit the LCD Design Center on Microchip’s web site for an up-to-date listing of Application Notes, Data Sheets and design resources.
Microchip Introduces New Series of PIC® Microcontrollers with On-Chip LCD Driver
Microchip Introduces New Series of PIC®
Microcontrollers with On-Chip LCD Driver
28-Pin QFN Package 80-Pin TQFP Package
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
For more information visit www.microchip.com 4
For more product information visit: www.microchip.com/zigbee
PIC18 microcontrollers provide ZigBee™ protocol
software support and nanoWatt Technology
power management
Microchip’s PICDEM™ Z platform accelerates customer designs by providing hardware and a free ZigBee™ protocol software stack that can be easily integrated into wireless products. Additionally, Microchip offers over 30 PIC18 8-bit microcontrollers that support the ZigBee software stack and incorporate nanoWatt technology power-managed modes and self-programmable Flash program memory. These are key features for ZigBee applications, many of which are battery operated.
The PICDEM Z 2.4 GHz Demonstration Kit is an easy-to-use evaluation and development platform for ZigBee application designers. The kit includes all of the hardware, software source-code and printed circuit board (PCB) layout files needed to rapidly prototype wireless products. In addition, an instructional application note is available on Microchip’s web site at www.microchip.com/zigbee. This development platform is based on Microchip’s PIC18 high-performance microcontroller family, which supports ZigBee applications and offers a wide selection of products with 32 Kbytes to 128 Kbytes of Flash program memory in 28- to 80-pin packages.
“As one of the earliest members of the ZigBee Alliance, Microchip has helped to define
the standard with cost-effective, low-power, reliable wireless control applications in mind,” said Ganesh Moorthy, Vice President of Microchip’s Advanced Microcontroller and Memory
Division. “This development platform was designed to enable engineers to accelerate their
time-to-market for ZigBee applications.”
Product Applications:
The PICDEM Z 2.4 GHz development platform allows designers to rapidly evaluate and begin developing a vast array of wireless, networked ZigBee applications, including:
• Building/home automation - security, lighting, HVAC
• Industrial - monitors, sensors, automation, control, lighting
• Personal healthcare - diagnostic tools, monitors
• Consumer electronics - RF wireless remotes for TV, VCR, DVD and CD players
The PICDEM Z platform utilizes the PIC18LF4620 microcontroller with integrated nanoWatt Technology power-managed modes, 64 Kbytes of Flash program memory and advanced analog, control and communications peripherals. This platform also incorporates Chipcon’s CC2420 2.4 GHz RF transceiver. The CC2420 Transceiver easily interfaces to the PIC18 via the SPI™ port, providing a cost-effective, highly integrated ZigBee node.
“As a leader in the RFIC market, we are proud to partner with the number one supplier of
8-bit microcontrollers to offer a comprehensive ZigBee development platform,” said Geir
Forre, president & CEO of Chipcon. “The combination of our industry-leading transceivers
with Microchip’s world-class development tools and advanced 8-bit microcontrollers,
allows engineers to jump-start their ZigBee designs.”
Additional PICDEM Z Features Include:
• Support for Reduced Function Device (RFD) and Full Function Device (FFD)
• RF transceiver and PCB antenna
• Modular software design with cooperative multi-tasking architecture
• RTOS independent
Development Tools:
Microchip’s PICDEM Z platform and ZigBee software stack is supported by the Company’s MPLAB® development tools, including
• MPLAB® Integrated Development Environment (IDE)
• MPLAB C18 C Compiler
Availability:
The following tools in the PICDEM Z 2.4 GHz development platform are available now and production shipment is expected at the end of December.
PICDEM Z 2.4 GHz Demonstration Kit (part # DM163027-2)
PICDEM Z Motherboard (part # AC163027-1)
PICDEM Z 2.4 GHz RF Card (part # AC163027-2)
The PICDEM Z 2.4 GHz Demonstration Kit includes two motherboards, two RF cards, and a CD containing the ZigBee protocol software and a PCB layout database.
PICDEM™ Z 2.4 GHz Demonstration Kit Supports the ZigBee™ Standard Protocol for Wireless Products
For more information visit www.microchip.com 5
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
For more information visit: www.microchip.com/webseminars
WebSeminar Series on www.microchip.com/webseminars
December 15, 1:00 PM Pacific Time
Developing Intelligent Power Systems Using the MCP1630 High-Speed PWM
Abstract:
New design methods and components bring a high level of intelligence to power-system applications. This web seminar will introduce the MCP1630, Microchip’s high-speed pulse-width-modulator developed for embedded power system applications. Design examples will be used to demonstrate intelligent power system features and capabilities as a result of combining the MCP1630 with a PIC® microcontroller.
Presenter: Terry Cleveland, Analog-Mixed-Signal Product Applications Engineer
Terry Cleveland has more than 20 years of experience in the microelectronics industry. He began his career with IBM, spending 5 years as a System Engineer developing semiconductor test equipment and 5 years as a Product Failure Analysis Engineer analyzing new components and field failures. Terry spent an additional 8 years as a Power Systems Design Engineer with IBM, Celestica and Lockheed Martin Control Systems. Since joining Microchip Technology 3 years ago as a Product Applications Engineer, Terry has taken on the role of defining new power management products
and applications along with assisting customers with their power management designs. His current interests are in developing applications and products for power supplies that employ embedded microcontrollers. Terry received his BSEE from Polytechnic University of Brooklyn and his MSEE from Binghamton University.
Microchip’s WebSeminars allow our customers to learn more about our products without having to leave the office! Check out our list of Archived WebSeminars on this page. These
seminars have been compiled for you to download from our web site at your convenience.
Archived WebSeminars That May Interest You
Title Category Date Duration
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, the PIC18F4620 and PIC18F2620
Products Oct 2004 20 min.
Introduction to the Signal Analysis PICtail™ Daughter Board Dev. Tools Oct 2004 30 min.
Basic dsPIC® Development Tools Dev. Tools Oct 2004 25 min.
Introduction to MPLAB® SIM Software Simulator Dev. Tools Sep 2004 25 min.
Get Started with the 64/80-pin TQFP Demo Board Dev. Tools Sep 2004 20 min.
Tips and Tricks Using MPLAB® v6.61 Dev. Tools Sep 2004 30 min.
Introduction to the PIC18F High Pin-Count and High Density Family of Devices
Dev. Tools Sep 2004 20 min.
Introduction to the MPLAB® Visual Device Initializer (VDI) Dev. Tools Aug 2004 30 min
Selecting the Ideal Temperature Sensor Analog Aug 2004 30 min
PIC10F Development Tools: Small Tools for Small Parts Dev. 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 Dev. 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 Dev. 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 Amplifi er for Your Filtering Circuits Analog Oct 2003 20 min
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
For more information visit www.microchip.com 6
This tip shows the use of the comparator to implement an AND gate and its complement, the NAND gate (see Figure 2-1). Resistors R1 and R2 drive the non-inverting input with 2/3 the supply voltage. Resistors R3 and R4 average the voltage of input A and B at the inverting input. If either A or B is low, the average voltage will be one half VDD and the output of the comparator remains low. The output will go high only if both inputs A and B are high, which raises the input to the inverting input above 2/3 VDD.
The operation of the NAND gate is identical to the AND gate, except that the output is inverted due to the swap of the inverting and non-inverting inputs.
Note: Typical propagation delay for the circuit is 250-350 ns using the typical on-chip
comparator peripheral of a microcontroller. Delay measurements were made with
10k resistance values.
Tips n’ Tricks - PICmicro® Microcontroller Comparators
TIP 1. Logic Inverter
When designing embedded control applications, there is often the need for an external gate. Using the comparator, several simple gates can be implemented. This tip shows the use of the comparator as an inverter.
The non-inverting input is biased to the center of the input voltage range, typically VDD/2. The inverting input is then used for the circuit input. When the input is below VDD/2, the output is high. When the input is above VDD/2, the output is low. Values for R1 and R2 are not critical, though they must be equal to set the threshold at VDD/2.
Some microcontrollers have the option to connect the inverting input to an internal voltage reference. To use the reference in place of R1 and R2, move the input to the non-inverting input and set the output polarity bit in the comparator control register to invert the comparator output.
Note: Typical propagation delay for the circuit is 250-350 ns using the typical on-chip
comparator peripheral of a microcontroller.
R2
VDD
R1
YA
Figure 1-1 Inverter
TIP 2. Logic: AND/NAND Gate
While the circuit is fairly simple, there are a few requirements for correct operation:
1. The inputs A and B must drive from ground to VDD for the circuit to operate properly.
2. The combination of R1 and R2 will draw current constantly, so they must be kept large to minimize current draw.
3. All resistances on the inverting input react with the input capacitance of the comparator. So the speed of the gate will be affected by the source resistance of A and B, as well as, the size of resistors R3 and R4.
4. Resistor R2 must be 2 x R1.
5. Resistor R3 must be equal to R4.
R2
VDD
R3
Y
A
BR4
R1
Figure 2-1 AND GATE
Example:
• VDD = 5V, R3 = R4 = 10k
• R1 = 5.1k, R2 = 10k
R2
VDD
R3
Y
A
BR4
R1
Figure 2-2 NAND GATE
There are several corollaries to Murphy’s law, “$20 transistors will sacrifi ce themselves to protect a 20 cent fuse”,”the program will expand to fi ll all memory + 1”, and my personal favorite, “all combinational logic will need 1 more gate than what is in the package”. Well, did you know that you can implement all of the basic logic gates with a comparator and a couple of passive components? You can, and in this issue of microSolutions, we will show you how its done.
For more information visit www.microchip.com 7
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
Tips n’ Tricks - PICmicro® Microcontroller Comparators
TIP 3. Logic: OR/NOR Gate
This tip shows the use of the comparator to implement an OR gate, and its complement, the NOR gate.
Resistors R1 and R2 drive the non-inverting input of the comparator with 1/3 VDD. Resistors R3 and R4 average the voltages of the inputs A and B at the inverting input. If either A or B is high, the average voltage is 1/2 VDD and the output of the comparator is high. Only if both A and B are low does the average voltage at the non-inverting input drop below 1/3 the supply voltage, causing the comparator output to go low. The operation of the NOR gate is identical to the OR gate, except the output is inverted due to the swap of the inverting and non-inverting inputs.
Note: Typical propagation delay for the circuit is 250-350 ns using the typical on-chip
comparator peripheral of a microcontroller. Delay measurements were made with
10k resistance values.
While the circuit is fairly simple, there are a few requirements for correct operation:
1. The inputs A and B must drive from ground to VDD for the circuit to operate properly.
2. The combination of R1 and R2 will draw current constantly, so they must be kept large to minimize current draw.
3. All resistances on the inverting input react with the input capacitance of the comparator, so the speed of the gate will be affected by the source resistance of A and B, as well as, the size of resistors R3 and R4.
4. Resistor R1 must be 2 x R2.
5. Resistor R3 must be equal to R4.
Figure 3-2. NOR GATE
R2
VDD
R3
Y
A
BR4
R1
R2
VDD
R3
Y
A
BR4
R1
Example:• VDD = 5V, R3 = R4 = 10k
• R1 = 10k, R2 = 5.1k
TIP 4. Logic: XOR/XNOR Gate
This tip shows the use of the comparator to implement an XOR gate and its complement, the XNOR gate. The operation is best described in three sections:
1. Both A and B inputs are low: With both inputs low, the inverting input is held at .7V and the non-inverting is held at ground. This combination results in a low output.
2. Both A and B inputs are high: With both inputs high, the inverting input is pulled up to VDD and the non-inverting input is equal to 2/3 VDD (the average of VDD inputs and GND). This combination also results in a low output.
3. Input A or B is high: With one input high and one low, the inverting input is held at .7V and the non-inverting input is equal to 1/3 VDD (the average of a VDD input and GND). This combination results in a high output.
While the circuit is fairly simple, there are a few requirements for correct operation:
1. The inputs A and B must drive from ground to VDD for the circuit to operate properly.
2. All resistances on both inputs react with the input capacitance of the comparator, so the speed of the gate will be affected by the source resistance of A and B, as well as, the size of resistors R1, R2, R3 and R4.
3. Resistor R1, R2 and R3 must be equal.
4. Resistor R4 must be small enough to produce a 1.0V, or lower, voltage drop across D1 and D2.
R2
VDD
R3
YA
B
R4
R1 Comparator
D2
D1
R2
VDD
R3
YA
B
R4
R1
D2
D1
Comparator
Example:• D1 = D2, = 1N4148
• R4 = 10k, R1 = R2 = R3 = 5.1k
Figure 4-1. XOR GATE Figure 4-2. XNOR GATE
Figure 3-2. OR GATE
For more information visit: www.microchip.com/solutions_tipsntricks
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
For more information visit www.microchip.com 8
What’s New in Microchip Literature?
Click on a Document Title to view the document.
(Continued)
Type of Document Title of Document DS# Print/Web
Application Notes New Component and Design Methods Bring Intelligence to Battery Charger Applications (AN960) 00960A Web
Sensored BLDC Motor Control Using dsPIC30F2010 (AN957) 00957A Web
Implementing Auto-Baud on dsPIC30F Devices (AN962) 00962A Web
PIC16F639 MCU for Smart Wireless Applications (AN959) 00959A Web
Software PID Control of an Inverted Pendulum Using the PIC16F684 (AN964) 00964A Web
Power Management for PIC18 USB MCUs with nanoWatt Technology (AN950) 00950B Web
Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software (AN956) 00956A Web
Data Sheets 800 mA Fixed-Output LDO with Shutdown (TC1265) 21376C Web
USB compatible Li-Ion/Li-Polymer Charge Management controllers (MCP73853/5) 21915A Web
50 mA, 10 mA, 150 mZ CMOS LDO with Shutdown and Reference bypass (TC2014/2015/2185) 21662D Web
150 mA, Tiny CMOS LDO with Shutdown (TC1017) 21813C Web
dsPIC30F5011, dsPIC30F5013 70116E Web
dsPIC30F6011, dsPIC30F6012, dsPIC30F6013, dsPIC30F6014 70117E Web
PIC16F91X 41250B Web
PIC18F2455/2550/4455/4550 39632B Web
PS501 21818C Web
Erratas dsPIC30F6011/6012/6013/6014 Rev. B1 Silicon 80183D Web
dsPIC30F6011/6012/6013/6014 Rev. B2 Silicon 80198B Web
dsPIC30F5011/5013 Rev. A1/A2 Silicon 80210B Web
dsPIC30F2010 Rev. A1 Silicon 80186B Web
dsPIC30F2010 Rev. A0 Silicon 80178E Web
dsPIC30F3010/3011 Rev. A0 Silicon 80216A Web
dsPIC30F4011/4012 Rev. A1 Silicon 80205B Web
dsPIC30F4011/4012 Rev. A2 Silicon 80215B Web
dsPIC30F6010 Rev. B1 Silicon 80182E Web
dsPIC30F6010 Rev. B2 Silicon 80195B Web
For more information visit www.microchip.com 9
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
Click on a Document Title to view the document.
What’s New in Microchip Literature?
Type of Document Title of Document DS# Print/Web
Erratas dsPIC30F2011/2012/3012/3013 Rev. A0 Silicon 80213A Web
PIC16F688 Rev. A Silicon 80181C Web
PIC12F629/675 Rev. A Silicon and Data Sheet 80125D Web
PIC16F627A/628A/648A Rev. A Silicon and Data Sheet 80151K Web
PIC16F630/676 Rev. A Silicon and Data Sheet 80185C Web
PIC16F684 Rev. A Silicon and Data Sheet 80197C Web
PIC12F635 Rev. A Silicon and Data Sheet 80203B Web
PIC18FXX8 Rev. B4 Silicon 80134F Web
PIC18FXX8 Rev. C0 Silicon 80161F Web
PIC16F7X7 Rev. A2 Silicon and Data Sheet 80177E Web
PIC18F2420/2520/4420/4520 Rev. A1 Silicon 80209B Web
PIC18F2455/2550/4455/4550 Rev. A3 Silicon 80220A Web
PIC18F2480/2580/4480/4580 Rev. A1 Silicon 80219A Web
PIC18F2585/2680/4585/4680 Rev. A1 Silicon and Data Sheet 80202B Web
Product Briefs ENC28J60 39623E Web
Programming Specs PIC12F6XX/PIC16FXX Programming 41204D Web
PIC16F91X Programming 41244B Web
HCSXXX Memory Programming 41256A Web
PIC18F87J10 Family Programming Spec 39644B Web
Information Sheets Low-Power Solutions Demonstration Board 51521A Web
dsPIC30F Acoustic Echo Cancellation Library 70123B Web
dsPIC30F Noise Suppression Library 70124B Web
dsPIC30F Flash MCU’s Programming Specifi cation 70102D Web
PICDEM™ Z ZigBee Technology Demonstration Kit 51504B Web
(Continued)
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
For more information visit www.microchip.com 10
The Microchip name and logo, the Microchip logo, PIC, PICmicro, PICSTART, dsPIC, MPLAB, microID and PowerSmart are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
PICkit, PICDEM, PICtail and Application Maestro are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. IrDA is a register mark of Infrared Data Association. SPI is trademark of Motorola. All other trademarks mentioned herein are property of their respective companies.
Type of Document Title of Document DS# Print/Web
Information Sheets dsPIC30F Speech Recognition Library 51465B Web
dsPIC30F Soft Modem Library 70126B Web
dsPIC® DSC Asymmetric Key Embedded Encryption Library 70127B Web
dsPIC® DSC Symmetric Key Embedded Encryption Library 70128B Web
Technical Briefs Detecting Multiple Voltages Using the PIC10F204/206 Comparator 91083A Web
Programming Baseline Flash Devices with PICkit™ 1 91079B Web
User Guides MPLAB® ASM30, MPLAB LINK30 and Utilities User’s Guide 51317D Web
Workshop-in-a-Box 2: Low-Power Solutions Demo Board User’s Guide 51281C Web
MPLAB® C18 C Compiler User’s Guide 51288C Web
dsPIC30F Speech Recognition Word Library Builder User’s Guide 70137B Web
dsPIC30F Speech Recognition Library User’s Guide 70140A Web
13.56 MHz RFID System Design Guide 21299E Web
What’s New in Microchip Literature?
Click on a Document Title to view the document.
For more information visit www.microchip.com 11
MICROCHIP TECHNOLOGY’S MICROSOLUTIONS eNEWSLETTER - December 2004
Happy Holidays From MicrochipSave 30% on many of our popular development tools!
Now through December 31st, 2004Our gift to you – selected Microchip Tools on sale. Save 30% on the tools listed below. Celebrate by treating yourself or someone you know with one (or more) of our popular development tools. Give or get a gift to start the New Year right!
To order – Go to http://buy.microchip.com. Register under “My Profile”. After registering, enter the appropriate tools order number in the “Search” box. Select the desired products and proceed to “Checkout”. Enter promotion code “HOLIDAY” in the space provided during checkout to receive the 30% savings.
Hurry – this great offer absolutely expires on December 31st, 2004.
Wishing you the best this Holiday season!
Tools Order Number
Product Description Regular Price $USD
Special Holiday Price
($USD)
DV164101 PICkit™ 1 8- 14-pin Flash Starter Kit $36 $25.20
AC164120 PICkit™ 1 Signal Analysis Board $25 $17.50
PG164101 Baseline Flash Microcontroller Programmer $25 $17.50
DV164005 MPLAB® In-Circuit Debugger 2 Module(MPLAB ICD 2 Module and USB Cable)
$159 $111.30
AC162049 Universal Programming Module for MPLAB ICD 2 $39 $27.30
DM163012 PICDEM™ MSC1 Mixed Signal Controller Demonstration Board for PIC16C781/782
$99 $69.30
DM163014 PICDEM™ 4 Demo Board $129 $90.30
DM163022 PICDEM™ 2 Plus Demo Board $99 $69.30
DM300016 dsPICDEM™ Starter Demo Board $79 $55.30
DM300017 dsPICDEM™ 28-Pin Starter Demo Board $79 $55.30
DV243002 Serial EEPROM Evaluation Kit for Windows® $99 $69.30
Visit Microchip Technology’s user-friendly e-commerce site:
� Special offers on silicon and development systems
� Powerful parametric search tool
� Live inventory status
� Hassle-free buying
Figure 1. Home Page
buy.Microchip has expanded into 12
new countries in Asia and 10 new
countries in Europe! Also, many
popular tape and reel as well as tray
parts have had their minimum order
quantities reduced to just 1 part.
For more information visit: www.buy.microchip.com