Datasheet

2012-2013 Microchip Technology Inc. DS20002286B-page 21
MCP3911
3.11 Oscillator and Master Clock Input
Pins (OSC1/CLKI, OSC2)
OSC1/CLKI and OSC2 provide the master clock
(MCLK) for the device. When CLKEXT = 0, a resonant
crystal or clock source with a similar sinusoidal
waveform must be placed across these pins to ensure
proper operation. The typical clock frequency specified
is 4 MHz. For proper operation and optimizing ADC
accuracy, AMCLK should be limited to the maximum
frequency defined in Table 5-3 as a function of the
BOOST and PGA settings chosen. MCLK can take
larger values as long as the prescaler settings
(PRE<1:0>) limit AMCLK = MCLK/PRESCALE in the
defined range in Ta bl e 5- 3. For proper operation,
appropriate load capacitance should be connected to
these pins.
3.12 Chip Select (CS)
This pin is the SPI chip select that enables the serial
communication. When this pin is high, no
communication can take place. A chip select falling
edge initiates the serial communication and a chip
select rising edge terminates the communication. No
communication can take place when CS
is low or when
R
ESET is low.
This input is Schmitt-triggered.
3.13 Serial Data Clock (SCK)
This is the serial clock pin for SPI communication.
Data is clocked into the device on the RISING edge,
and out of the device on the FALLING edge of SCK.
The MCP3911 interface is compatible with both SPI 0,0
and 1,1 modes. SPI modes can be changed during a
CS
high time.
The maximum clock speed specified is 20 MHz.
This input is Schmitt-triggered.
3.14 Serial Data Output (SDO)
This is the SPI data output pin. Data is clocked out of
the device on the FALLING edge of SCK.
This pin stays high-impedance during the first
command byte. It also stays high-impedance during the
whole communication for write commands and when
CS
pin is high, or when RESET pin is low. This pin is
active only when a read command is processed. Each
read is processed by packet of 8 bits.
3.15 Serial Data Input (SDI)
This is the SPI data input pin. Data is clocked into the
device on the RISING edge of SCK.
When CS
is low, this pin is used to communicate with a
series of 8-bit commands.
The interface is half-duplex (inputs and outputs do not
happen at the same time).
Each communication starts with a chip select falling
edge followed by an 8-bit command word entered
through the SDI pin. Each command is either a Read or
a Write command. Toggling SDI during a Read
command has no effect.
This input is Schmitt-triggered.