MCP3909
5.7 Using the MCP3909 with
Microcontroller (MCU) SPI Ports
With microcontroller SPI ports, it is required to send
groups of eight bits. It is also required that the micro-
controller SPI port be configured to clock out data on
the falling edge of clock and latch data in on the rising
edge, or vice versa depending on the mode.
5.7.1 SPI MODE DEFINITIONS
The following table represents the standard SPI mode
terminology, the respective PIC bit settings, and a
description of compatibility for the MCP3909 device.
The MCP3909 works in SPI mode 0,1 mode, that is the
data is clocked out of the part on the rising edge and
clocked in on the falling edge of SCK.
TABLE 5-4: SPI MODE COMPATIBILITY
Standard SPI
Mode
Terminology
0,0
PIC Control Bits
State
CKP
0
CKE
1
MCP3909
Compatibility
—
0,1
0
0
√
1,0
1
1
—
1,1
1
0
—
Description
Idle state for clock is low level, transmit (from PIC)
occurs from active to idle clock state
Idle state for clock is low level, transmit (from PIC)
occurs from idle to active clock state
Idle state for clock is high level, transmit (from PIC)
occurs from active to idle clock state
Idle state for clock is high level, transmit (from PIC)
occurs from idle to active clock state
© 2006 Microchip Technology Inc.
DS22025A-page 27