In embedded controller applications, it is often desir-
able 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 this feature to
a microcontroller with a minimal number of connec-
tions.
This Application Note will demonstrate how easy it is to
connect the MPC3201 to an 8051-compatible micro-
processor.
The MCP3201 is a fast 100kHz 12-bit A/D Converter
featuring low power consumption and power saving
standby modes. The features of the device include an
onboard sample-hold and a single pseudo differential
input. Output data from the MCP3201 is provided by a
high speed serial interface that is compatible with the
SPI
®
protocol. The MCP3201 operates over a broad
voltage range (2.7V – 5.5V). The device is offered in
8-pin PDIP and 150mil SOIC packages. AN702
Interfacing Microchip MCP3201 A/D Converter to 8051-Based
Microcontroller
Author: Lee Studley I/O PORT METHOD
Microchip Technology Inc. The serial data format supported by the MCP3201 is
illustrated in Figure 1. The A/D Converter will come out
INTRODUCTION of its sleep mode on the falling edge of CS. The conver-
sion is then initiated with the first rising edge of CLK.
In embedded controller applications, it is often des……