English
Language : 

MAX1162 Datasheet, PDF (13/17 Pages) Maxim Integrated Products – 16-Bit, +5V, 200ksps ADC with 10μA Shutdown
16-Bit, +5V, 200ksps ADC with 10µA Shutdown
CS
SCK
MISO
QSPI
VDD
SS
Figure 11a. QSPI Connections
CS
SCLK
DOUT
MAX1162
SCLK
1
CS
DOUT*
*WHEN CS IS HIGH, DOUT = HIGH-Z
4
6
END OF
ACQUISITION
8
12
16
20
24
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2
MSB
D1 D0
LSB
HIGH-Z
Figure 11b. QSPI Interface Timing Sequence (CPOL = CPHA = 0)
VDD
SCLK
DOUT
CS
MAX1162
VDD
SCK
SDI
I/O
PIC16/17
GND
Figure 12a. SPI Interface Connection for a PIC16/PIC17
PIC16 with SSP Module and
PIC17 Interface
The MAX1162 is compatible with a PIC16/PIC17 micro-
controller (µC) using the synchronous serial-port (SSP)
module.
To establish SPI communication, connect the controller
as shown in Figure 12a. Configure the PIC16/PIC17 as
system master, by initializing its synchronous serial-port
control register (SSPCON) and synchronous serial-port
status register (SSPSTAT) to the bit patterns shown in
Tables 1 and 2.
In SPI mode, the PIC16/PIC17 µC allows 8 bits of data
to be synchronously transmitted and received simulta-
Table 1. Detailed SSPCON Register Contents
CONTROL BIT
WCOL
SSPOV
BIT7
BIT6
SSPEN
BIT5
CKP
BIT4
SSPM3
BIT3
SSPM2
BIT2
SSPM1
BIT1
SSPM0
BIT0
X = Don’t care.
MAX1162
SETTINGS
X
X
1
0
0
0
0
1
SYNCHRONOUS SERIAL-PORT CONTROL REGISTER (SSPCON)
Write Collision Detection Bit
Receive Overflow Detect Bit
Synchronous Serial-Port Enable Bit:
0: Disables serial port and configures these pins as I/O port pins.
1: Enables serial port and configures SCK, SDO, and SCI pins as serial port pins.
Clock Polarity Select Bit. CKP = 0 for SPI master mode selection.
Synchronous Serial-Port Mode Select Bit. Sets SPI master mode and selects
fCLK = fOSC / 16.
______________________________________________________________________________________ 13