MCP6S21/2/6/8
5.2 Registers
The analog functions are programmed through the SPI
interface using 16-bit words (see Figure 5-1 and
Figure 5-2). This data is sent to two of three 8-bit regis-
ters: Instruction Register (Register 5-1), Gain Register
(Register 5-2) and Channel Register (Register 5-3).
The power-up defaults for these three registers are:
? Instruction Register: 000x xxx0
? Gain Register: xxxx x000
? Channel Register: xxxx x000
Thus, these devices are initially programmed with the
Instruction Register set for NOP (no operation), a gain
of +1 V/V and CH0 as the input channel.
5.2.1 INSTRUCTION REGISTER
The Instruction Register has 3 command bits and 1
indirect address bit; see Register 5-1. The command
bits include a NOP ( 000 ) to support daisy chaining (see
Section 5.3, “Registers”); the other NOP commands
shown should not be used (they are reserved for future
use). The device is brought out of Shutdown mode
when a valid command, other than NOP or Shutdown, is
sent and CS is raised.
REGISTER 5-1:
INSTRUCTION REGISTER
W-0
M2
W-0
M1
W-0
M0
U-x
U-x
U-x
U-x
W-0
A0
bit 7
bit 0
bit 7-5
M2-M0: Command Bits
000 =
NOP (Default) (Note 1)
001 = PGA enters Shutdown Mode as soon as a full 16-bit word is sent and CS is raised.
(Notes 1 and 2)
010 = Write to register.
011 =
1XX =
NOP (reserved for future use) (Note 1)
NOP (reserved for future use) (Note 1)
bit 4-1
bit 0
Unimplemented: Read as ‘0’ (reserved for future use)
A0: Indirect Address Bit
1 = Addresses the Channel Register
0 = Addresses the Gain Register (Default)
Note 1: All other bits in the 16-bit word (including A0) are “don’t cares”.
2: The device exits Shutdown mode when a valid command (other than NOP or Shut-
down) is sent and CS is raised; that valid command will be executed. Shutdown
does not toggle.
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
? 2003 Microchip Technology Inc.
’1’ = Bit is set
’0’ = Bit is cleared
x = Bit is unknown
DS21117A-page 19
相关PDF资料
30700-5080 汽车连接器 HDAC64 DR RA HDR 8 C HDR 8 CKT GRAY POL 1
TMS-CCUV-SLEEVE-10-X-32MM HEAT SHRINK SLEEVE
TMW-.255X1.70-YELLOW-BOX HEAT SHRINK TMW .255 YL 1.70 IN
TMW.330-1.85" HEAT SHRINK TMW .330 PK 1.85 IN
DB0805A2650AWTR\500 信号调节 Directional Coupler 2650 MHz +/- 50
TN2-L2-H-5V RELAY GENERAL PURPOSE DPDT 1A 5V
TQ2SS-48V RELAY TELECOM DPDT 2A 48V
TQ4H-L2-4.5V RELAY TELECOM 4PDT 1A 4.5V
相关代理商/技术参数
TMPT2369ALT 制造商:ALL 功能描述:ALLEGRO NXC7D
TMPT2SU1 制造商:Red Lion Controls 功能描述:THERMOCOUPLE TEMP PROBE, TYPE T, 400?F 制造商:Red Lion Controls 功能描述:TYPE T 400DEG F
TMPT3906LT 制造商:ALL 功能描述:ALLEGRO S9K3A
TMPT5089LT 制造商:Allegro MicroSystems LLC 功能描述:Bipolar Junction Transistor, NPN Type, TO-236
TMPTQD01 制造商:Red Lion Controls 功能描述:TC PROBE, QUICK DISCON TYPE T SST .062 制造商:Red Lion Controls 功能描述:QUICK DISCONNECT MINI TYPE T
TMPTQD02 制造商:Red Lion Controls 功能描述:TC PROBE, QCK DISCON TYPE T INCONEL .062 制造商:Red Lion Controls 功能描述:QUICK DISCONNECT MINI TYPE T
TMPTQD03 制造商:Red Lion Controls 功能描述:TC PROBE, QCK DISCON STD TYPE T SST .125 制造商:Red Lion Controls 功能描述:QUICK DISCONNECT STANDARD TYPE T
TMPTQD04 制造商:Red Lion Controls 功能描述:TC PROBE, QCK DISC STD T INCONEL .125 制造商:Red Lion Controls 功能描述:QUICK DISCONNECT STANDARD TYPE T