Microprocessors and Microcontrollers Reference Materials
Reference Articles 201 - 300 of 478
-
A CAN Bootloader for PIC18F CAN Microcontrollers (.pdf)
Description: This application note demonstrates a simple bootloader implementation for the PIC18F families of microcontrollers with a CAN module. The goals of this implementation are to stress maximum performance ...
-
An Introduction to Microchip's Low Power Devices (.pdf)
Description: Power consumption has always been an important consideration for the design of any electrical system. This includes the embedded systems at the heart of countless modern devices and the ...
-
Capacitive Sensing Using Period Method (.pdf)
Description: This application note is an addendum to the information in the previous capacitive touch sensing application notes, found on Microchip's web site. It builds specifically on AN1101, "Introduction to ...
-
Capacitive Touch Algorithm Simulation (.pdf)
Description: This application note explains how to use the Microchip Capacitive touch Simulation Tool to customize sensing algorithms to a project's specific needs. It also helps determine the level of algorithm ...
-
Capacitive Touch Using Only an ADC (CVD) (.pdf)
Description: This application note describes a new hardware sensing method called Capacitive Voltage Divider (CVD) which uses no external components. ...
-
Design Practices for Low-Power External Oscillators (.pdf)
Description: Many Microchip microcontrollers have internal circuitry to drive a 32.768 kHz external crystal to provide an asynchronous clock signal to the Timer1 internal counter. Timer1 is a 16-bit counter which ...
-
Digital Power Interleaved Power Factor Correction Reference Design (.pdf)
Description: The reference design in this This application note focuses on the design of an Interleaved Power Factor Correction (IPFC) converter. It explains the digital implementation of the IPFC on a 16-bit ...
-
Dimming Power LEDs Using a SEPIC Converter and MCP1631 PIC Attach PWM Controller (.pdf)
Description: This application note covers the general concept, design and some source code modifications for using the MCP1631HV Digitally Controlled Programmable Current Source Reference Design for an LED ...
-
Integrating Microchip Libraries with a Real-Time Operating System (.pdf)
Description: This application note examines the reasons for migrating to a RTOS-based platform. It then discusses the various changes that may be required to one?s software in order to use an RTOS. When discussing ...
-
Interrupt-on-Change Operation for Mid-Range Microcontrollers (.pdf)
Description: This technical brief will describe in detail how the IOC interrupt may be missed depending on when the change event takes place in relation to the clock cycle. ...
-
KeeLoq with XTEA Encryption Receiver/Decoder (.pdf)
Description: This application note describes a KEELOQ® with XTEA (Tiny Encryption Algorithm Version 2)encryption algorithm code hopping decoder implemented on a Microchip Mid-range Enhanced Flash MCU ...
-
Low Latency Driver to Access External EEPROM Using PIC18 Family Devices (.pdf)
Description: This application note is developed based on low latency design. It provides an algorithm, which is designed to use the SPI/I2C interrupts, to achieve the required communication and enable optimum ...
-
Low-Frequency Magnetic Transmitter Design (.pdf)
Description: Low frequency magnetic communications (LFMC) is a viable ?wireless? communications alternative to traditional radio frequency (RF) or Infrared communications. It is well suited for certain ...
-
Low-Power Capacitive Sensing with the Capacitive Sensing Module (.pdf)
Description: This technical brief describes a small application that demonstrates the low-power capacitive touch potential of the Capacitive Sensing Module (CSM). The main benefit of this new part is the ...
-
Offline UPS Reference Design Using the dsPIC DSC (.pdf)
Description: The reference design in this application note describes the design of an Offline Uninterruptible Power Supply (UPS) using a Switch Mode Power Supply (SMPS) dsPIC® Digital Signal Controller (DSC). ...
-
PIC Microcontroller Horn Driver (.pdf)
Description: This application note discusses how the PIC® MCU can serve as the horn driver by merely using a couple of peripherals. This application note also discusses the implementation of those peripherals ...
-
Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor Using a PLL Estimator and Field Weakening (.pdf)
Description: This application note describes a sensorless FOC algorithm for PMSM motors using a Phase-Locked Loop (PLL) position and speed estimator. ...
-
Water-Resistant Capacitive Sensing (.pdf)
Description: This application note describes a new hardware sensing method which is resilient to water drops appearing on the surface of the touch sensing area. In other touch systems, a drop of water will act in ...
-
Designing with the MCP3551 Delta-Sigma ADC
From: Farnell EuropeDescription: The MCP3551 delta-sigma ADC is a high-resolution converter. This application note discusses various design techniques to follow when using this device. Typical application circuits are discussed ...
-
Calculating Settling Time for Switched Capacitor ADCs
From: Silicon LabsDescription: Many of Silicon Lab's devices feature an on-chip SAR analog-to-digital converter (ADC). These ADC's use a sample capacitor that is charged to the voltage of the input signal that is used by the SAR ...
-
Digital Counting Scale
From: Silicon LabsDescription: Bridge transducers are the most common sensor type in digital counting scales. They convert a force into a voltage that is proportional to the force applied to the bridge. Bridge transducers are used ...
-
Magnetic Stripe Reader
From: Silicon LabsDescription: Magnetic stripe readers (MSRs) are widely used in many different applications such as point-of-sale terminals and key card readers. The C8051F330 is capable of integrating MSR functionality in a very ...
-
SMBus Communication for Small Form Factor Device Families
From: Silicon LabsDescription: C8051F3xx and C8051F41x devices are equipped with an SMBus serial I/O peripheral that is compliant with both the System Management Bus Specification and the I2C-Bus Specification. The SMBus is a ...
-
USB Driver Customization
From: Silicon LabsDescription: The information in this document and the associated software download is intended for use by developers creating USB products based on the CP210x USB to UART Bridge Controller device family or the ...
-
High-Speed Lithium Ion Battery Charger
From: Silicon LabsDescription: Driven by the need for untethered mobility and ease of use, many systems rely on rechargeable batteries as their primary power source. The battery charger is typically implemented using a ...
-
Improving ADC Resolution by Oversampling and Averaging
From: Silicon LabsDescription: Many applications require measurements using an analog-to-digital converter (ADC). Such applications will have resolution requirements based in the signal's dynamic range, the smallest change in a ...
-
USB Mass Storage Device Reference Design Programmer's Guide
From: Silicon LabsDescription: Among the USB device classes natively supported by popular operating systems, the USB Mass Storage Device (MSD) class is one of the most widely supported device classes. A USB device that supports ...
-
Using Microcontrollers in Digital Signal Processing Applications
From: Silicon LabsDescription: Digital signal processing algorithms are powerful tools that provide algorithmic solutions to common problems. For example, digital filters provide several benefits over their analog counterparts. ...
-
Automatic Calibration of the WDT Time-out Period
Description: The WDT timer is a simple RC timer with a typical time-out period of about 18 ms. This time-out period is dependent on Voltage, Temperature and Silicon process variations. Hence the tolerance on the ...
-
Designing a Transponder Coil for the HCS410
Description: This application note explains the design of transponder coils. An Excel spreadsheet is used to automate the update of values, depending on the specified parameters. The spreadsheet file name is ...
-
PICmicro® Midrange MCU Code Hopping Decoder
Description: This application note describes the working of a KEELOQ® code hopping decoder implemented on a Microchip Midrange MCUs (PIC16C6X, PIC16C7X, PIC16C62X) ...
-
Serial Port Routines Without Using the RTCC
Description: The PIC16C5X has one 8-bit timer (Timer0) which can use an 8-bit prescaler. In some instances, the user would like to use this timer for some other purpose and yet, be able to do a transmit and ...
-
Solving Second Sourcing Issues with the 24LC00 Device in a SOT-23 Package
Description: Many potential customers of the 24LC00 have expressed interest in the device, especially with it available in the ultra-small SOT-23 package. The one thing that has kept customers from designing in or ...
-
This technical brief describes how to use the PIC16C72 PICMASTER(R) emulator probe for PIC12C67X emulation.
Description: This technical brief describes how to use the PIC16C72 PICMASTER emulator probe for PIC12C67X emulation. ...
-
An In-depth Look at the MCP2510
Description: he MCP2510 is a low pincount stand-alone CAN controller which interfaces to a microcontroller via a standard Serial Peripheral Interface (SPI?). The feature set of the MCP2510 makes it very versatile. ...
-
Brush-DC Servomotor Implementation using PIC17C756A
Description: This application note demonstrates the use of a PIC17C756A microcontroller (MCU) in a brush-DC servomotor application. The PIC17CXXX family of micro-controllers makes an excellent choice for ...
-
CRC Generating and Checking
Description: This application note describes the Cyclic Redundancy Check (CRC) theory and implementation. The CRC check is used to detect errors in a message. Two implementations are shown: Table driven CRC ...
-
Credit Card Reader Using PIC12C509
Description: Many people carry one or more magnetically encoded cards with them for accessing a range of services. Perhaps the most common example is the credit card or bank ATM card, but increasingly they are ...
-
DC/DC Converter Controller Using a PICmicro Microcontroller
Description: In many applications, a DC/DC Converter is used to produce a regulated voltage or current, derived from an unregulated power supply, or from a battery. Examples of these applications include battery ...
-
Digital Coding Schemes for Mixed Signal Communication
Description: An Analog-to-Digital (A/D) converter translates an analog input signal into a discrete digital code. This digital representation of the real world signal can be manipulated in the digital domain for ...
-
Downloading HEX Files to PIC16F87X PICmicro ® Microcontrollers
Description: The release of the PIC16F87X devices introduces the first mid-range family of devices from Microchip Technology that has the capability to read and write to internal program memory. This family has ...
-
Fast Integer Square Root
Description: One very common and relatively quick method for finding the square root of a number is the Newton-Raphson method. Although this method is quick in terms of mathematics, it also requires extensive use ...
-
Fast Integer Square Root
Description: One very common and relatively quick method for finding the square root of a number is the Newton-Raphson method. Although this method is quick in terms of mathematics, it also requires extensive use ...
-
Floating Point to ASCII Conversion
Description: It is often necessary to output a floating point number to a display. For example, to check calculations, one might want to output floating point numbers using the PICmicro ® microcontrollers ...
-
How to Implement ICSP Using PIC16CXXX OTP MCUs
Description: In-Circuit Serial Programming (ICSP?) is a great way to reduce your inventory overhead and time-to-market for your product. By assembling your product with a blank Microchip microcontroller (MCU), you ...
-
Implementing a Bootloader for the PIC16F87X
Description: The PIC16F87X family of microcontrollers has the ability to write to their own program memory. This feature allows a small bootloader program to receive and write new firmware into memory. This ...
-
Implementing Bootloader Firmware Application Note
Description: The PIC18C601 and PIC18C801 microcontrollers are the first members of Microchips PIC18 family with no on-chip program memory. They offer the PIC18 architecture, with the ability to use different types ...
-
Implementing Bootloader Firmware Application Note
Description: The PIC18C601 and PIC18C801 microcontrollers are the first members of Microchips PIC18 family with no on-chip program memory. They offer the PIC18 architecture, with the ability to use different types ...
-
Implementing the External Memory Interface on PIC18C601/801 Appication Note
Description: The PIC18C601 and PIC18C801 are the very first members of Microchips PIC18 family that are ROMless microcontrollers that is, they have no on-chip program memory. Both offer the enhanced PIC18 ...
-
In-Circuit Serial Programming of Calibration Parameters Using a PICmicro® Microcontroller
Description: Many embedded control applications, where sensor offsets, slopes and configuration information are measured and stored, require a calibration step. Traditionally, potentiometers or Serial EEPROM ...
-
Interfacing Microchip MCP3201 A/D Converter to 8051-Based Microcontroller
Description: In embedded controller applications, it is often desirable to provide a means to digitize analog signals. The MCP3201 12-bit Analog-to-Digital (A/D) Converter gives the designer an easy means to add ...
-
Interfacing Microchip's MCP41XXX and MCP42XXX Digital Potentiometers to Motorola?s 68HC12 Microcontroller
Description: The MCP41XXX and MCP42XXX family of digital potentiometers communicate using a standard 3-wire SPI compatible interface. This application note will cover communication between these devices and the ...
-
Interfacing Microchip's MCP41XXX/42XXX Digital Potentiometers to a PICmicro Microcontroller
Description: The MCP41XXX and MCP42XXX family of digital potentiometers communicate using a standard 3-wire SPI compatible interface. This application note will discuss communications between these devices and a ...
-
Interfacing Microchips MCP3201 ADC to MC68HC11E9-Based Microcontroller
Description: Many of the embedded control systems designed today require some flavor of Analog-to-Digital (A/D) Converter. Embedded system applications such as Data Acquisition, Sensor Monitoring, and ...
-
KeeLoq HCS410 Transponder Decoder Using a PIC16C56
Description: This document describes a secure transponder system. The system is suitable for use in security applications such as cars, motor bikes, and scooters (two-wheelers). Microchip?s secure HCS410 KEELOQ ...
-
LIN Protocol Implementation Using PICmicro® MCUs
Description: LIN Protocol was designed by a consortium of European auto manufacturers as a low cost, short distance, low speed network. Designed to communicate changes in switch settings and respond to switch ...
-
Low-Power Real Time Clock
Description: This application note uses the Timer1 module, from a mid-range PIC16CXXX microcontroller, to control a low-power real-time clock. Timer1 was chosen because it has its own crystal which allows the ...
-
Make a Delta-Sigma Converter Using a Microcontroller's Analog Comparator Module
Description: This application note describes how to implement an Analog-to-Digital (A/D) Converter function using a member of the PIC16C6XX series of microcontrollers. Although these microcontrollers do not have a ...
-
Make a Delta-Sigma Converter Using a Microcontroller's Analog Comparator Module
Description: This application note describes how to implement an Analog-to-Digital (A/D) Converter function using a member of the PIC16C6XX series of microcontrollers. Although these microcontrollers do not have a ...
-
Migrating Designs from PIC16C74A/74B to PIC18C442
Description: The PIC18CXX2 was intended to make conversions from midrange controllers to enhanced controllers as easily as possible. Changes to register and bit names, and bit locations were kept to a minimum. The ...
-
Multi-Tasking on the PIC16F877 with the Salvo RTOS
Description: This application note covers a Real-Time Operating System (RTOS) running on a PIC16F877. The application is written in C using the HI-TECH C compiler. MPLAB ® IDE is used as the Integrated ...
-
PIC17CXXX to PIC18CXXX Migration
Description: The specification of the PIC18CXXX Architecture was done with several goals. One of the most important of these goals was code compatibility with existing PICmicro ® families. This goal eases the ...
-
PIC18CXXX/PIC16CXXX DC Servomotor
Description: The PICmicro ® microcontroller makes an ideal choice for an embedded DC Servomotor application. The PICmicro family has many devices and options for the embedded designer to choose from. ...
-
RS-232 Autobaud for the PIC16C5X Devices
Description: This application note describes an implementation of a RS-232 Autobaud routine on a PIC16C54B microcontroller. Many microcontroller applications require chip-to-chip serial communication. Since the ...
-
Simplifying External Memory Connections of PIC17CXXX PICmicro ® Microcontrollers
Description: The PIC17CXXX family of PICmicro ® microcontrollers has an external program memory interface. Since the PIC17CXXX devices implement a 16-bit instruction word, the external memory must be 16-bits ...
- System Design Considerations for Implementing a ROM Microcontroller
-
The PICmicro MCU as an IEEE 1451.2 Compatible Smart Transducer
Description: This application note discusses the organization of the PICmicro MCU and related firmware for developing IEEE 1451.2 Smart Transducer Interface Modules (STIM). Although a detailed understanding of the ...
-
Understanding A/D Converter Performance Specifications
Description: The purpose of this application note is to describe the specifications used to quantify the performance of A/D converters and give the reader a better understanding of the significance of those ...
-
Using PICmicro® MCUs to Connect to Internet via PPP
Description: This application note will focus on the details of negotiating PPP. ...
-
Using the 8-Bit Parallel Slave Port
Description: PIC16C64/74 microcontrollers from Microchip Technology Inc. can be interfaced with ease into a multi-microprocessor environment using its built-in Parallel Slave Port (PSP). With their very high ...
-
Using the MCP320X 12-Bit Serial A/D Converter with Microchip PICmicro® Devices
Description: The MCP320X devices comprise a family of 12-bit successive approximation Analog to Digital (A/D) Converters. These devices provide from one to eight analog inputs with both single ended and ...
-
Using the PICmicro SSP for Slave I2C Communication
Description: Many devices in the PICmicro family have a Synchronous Serial Port (SSP) or Master Synchronous Serial Port (MSSP). These peripherals can be used to implement the SPI TM or I 2 C communication ...
-
Using Timer 1 in Asynchronous Clock Mode
Description: This application note discusses the use of the PIC16CXXX Timer1 module as an asynchronous clock. The Timer1 module has it own oscillator circuitry, which allows the timer to keep real-time, even when ...
-
Using Timer 1 in Asynchronous Clock Mode
Description: This application note discusses the use of the PIC16CXXX Timer1 module as an asynchronous clock. The Timer1 module has it own oscillator circuitry, which allows the timer to keep real-time, even when ...
-
Watt-Hour Meter using PIC16C923 and CS5460
Description: This application note shows how to use a PIC16C923 microcontroller to control operation of the CS5460 power measurement integrated circuit from Cirrus Logic ® /Crystal Power Measurement, to drive ...
-
Wireless Home Security Implementing KEELOQ® and the PICmicro® Microcontroller
Description: This application note describes a Microchip system solution for a low end/power wireless home security system. This design implements an HCS200 encoder for the intruder sensor signal encryption, one ...
-
15-Kilogram Scale Using the TC520 (TC500/A, TC520)
Description: A 15kg weighing scale was designed using Microchip's TC500A Analog Processor and the TC520 16-bit Controller. The scale is required to resolve down to 1/8 gram and correct to within 61/2 gram. This ...
-
A Simple CAN Node using the MCP2510 and PIC12C67X
Description: This application note describes the design, development and implementation of a smart, low cost, stand alone Controller Area Network (CAN) node. It combines the Microchip 8-pin PIC12C672 ...
-
An SNMP Agent for the Microchip TCP/IP Stack
Description: Simple Network Management Protocol (SNMP) is an Internet protocol that was originally designed to manage different network devices, such as file servers, hubs, routers and so on. It can also be used ...
-
An SNMP Agent for the Microchip TCP/IP Stack
Description: Simple Network Management Protocol (SNMP) is an Internet protocol that was originally designed to manage different network devices, such as file servers, hubs, routers and so on. It can also be used ...
-
AN244, Internal RC Oscillator Calibration
Description: Recently, Microchip has introduced a series of new PIC16 and PIC18 PICmicro® microcontrollers that have an on-board Internal RC Oscillator, capable of eight frequencies from 31 kHz to 8 MHz. ...
-
Asynchronous Communications with the PICmicro® USART
Description: Many PICmicro microcontroller devices have a builtin USART and it is one of the most commonly used serial interface peripherals. It is also known as the Serial Communications Interface, or SCI. The ...
-
Basic PIC16/17 Oscillator Design
Description: The oscillator circuit is one of the most overlooked areas of microprocessor circuit design. Components are usually selected based on the manufacturers tables. If the circuit starts up and works, ...
-
Basic PIC16/17 Oscillator Design
Description: The oscillator circuit is one of the most overlooked areas of microprocessor circuit design. Components are usually selected based on the manufacturers tables. If the circuit starts up and works, ...
-
Basic PICmicro® Oscillator Design
Description: The oscillator circuit for almost any microcontroller is a fairly simple design with very few components. Selecting the values for capasitors and resistors from the manufacturer's data books will get ...
-
Bipolar PICmicro® Power Systems
Description: This technical brief describes how a PICmicro microcontroller can be made to run with bipolar power. The PICmicro microcontroller can even generate its own negative power supply with no software ...
-
Bipolar PICmicro® Power Systems
Description: This technical brief describes how a PICmicro microcontroller can be made to run with bipolar power. The PICmicro microcontroller can even generate its own negative power supply with no software ...
-
Bridge Sensing with the MCP6S2X PGAs
Description: Resistive sensors configured as Wheatstone bridges are primarily used to sense pressure, temperature or loads. An external A/D converter (ADC) and a digitally Programmable Gain Amplifier (PGA) can ...
-
Care and Feeding of the PIC16C74 and Its Peripherals
Description: The PIC16C74 is one of the latest mid-range microcontrollers from Microchip Technology Inc. In this article we will be addressing a few of the new features and peripherals of this new part. The main ...
-
Communicating With The MCP3221 Using PICmicro® Microcontrollers
Description: The MCP3221 12-bit A/D Converter (ADC) communicates using a standard 2-wire I2C compatible interface. This application note will cover communications between this device and a PICmicro ...
-
Communicating With The MCP3221 Using PICmicro® Microcontrollers
Description: The MCP3221 12-bit A/D Converter (ADC) communicates using a standard 2-wire I2C compatible interface. This application note will cover communications between this device and a PICmicro ...
-
Connecting a PICmicro® Microcontroller to a Standard Analog Telephone Line
Description: This application note describes how to connect a PICmicro microcontroller device to a standard analog telephone line in order to send and receive single and multiple frequency signals through ...
-
Converting from Motorola® HC08 to Microchip Assembler: A Quick Reference
Description: When migrating assembly language programs from one family of microcontrollers to another, the first question is almost always: ?What?s the equivalent opcode?? Some operations, like addition and ...
-
Designing Loop Antennas for the rfPIC12F675
Description: This application note describes the design of a singleended loop antenna for rfPIC12F675 transmitters. The PCB design will cover all 3 frequency bands from 290 MHz through 930 MHz with a few component ...
-
Hardware Techniques for PICmicro Microcontrollers
Description: It is the responsibility of engineers to get the most performance and capability out of the resources available. In this application note, we present ideas that have helped previous designs reduce ...
-
How to Modify the PICDEM LIN for the MCP201
Description: This document describes how to modify the PICDEM LIN for use with a MCP201. The PICDEM LIN is equipped with an engineering version of the Microchip LIN bus transceiver. The transceiver can be replaced ...
-
Implementing FIR and IIR Digital Filters Using PIC18 Microcontrollers
Description: The Microchip PICmicro® PIC18 family of microcontrollers are popularly known for their logic and controlling functions. In addition, these microcontrollers have built-in hardware multipliers and ...
-
Integrating Converter Analog Processor (TC500A)
Description: Today, design engineers rely more on microprocessors and microcontrollers to support their applications. Compatible analog-to- digital (A/D) and digital-to-analog (A/D) converters have greatly ...
-
Interfacing Microchip's Fan Speed Controllers to a SPI™
Description: Microchip's TC642, TC643, and TC646 are the world's first integrated circuits dedicated for controlling and monitoring fan speed. The new family of fan speed controllers modulate fan speed to ...
-
Interfacing The MCP23016 I/O Expander With The PIC16F877A
Description: This application note describes how to use a PIC16F877A as an I2C master to communicate with the Microchip MCP23016 I2C I/O Expander slave device. ...