Texas Instruments PCM5122 Evaluation Module PCM5122EVM-U PCM5122EVM-U Datenbogen

Produktcode
PCM5122EVM-U
Seite von 110
BYTE 5
BYTE 0
MS
MC
MOSI
MISO
HI-Z
ADDR
W
BYTE 4
BYTE 3
BYTE 7
BYTE 6
BYTE 1
BYTE 2
A6
A5
A4
A3
A2
A1
A0
W
D6
D5
D4
D3
D2
D1
D0
D7
MS
MC
MOSI
MISO
HI-Z
 
IDX6  IDX5  IDX4  IDX3  IDX2  IDX1  IDX0 
D7 
D6 
D5 
D4 
D3 
D2 
D1 
D0 
Register Index (or Address) 
Register Data 
MSB 
LSB 
R/W 
SLAS759A – AUGUST 2012 – REVISED SEPTEMBER 2012
Register Read/Write Operation
All read/write operations for the serial control port use 16-bit data words.
shows the control data word
format. The most significant bit is the read/write bit. For write operations, the bit must be set to 0. For read
operations, the bit must be set to 1. There are seven bits, labeled IDX[6:0], that hold the register index (or
address) for the read and write operations. The least significant eight bits, D[7:0], contain the data to be written
to, or the data that was read from, the register specified by IDX[6:0].
and
show the functional timing diagram to write or read through the serial control port. MS is
held at a logic-1 state until a register access. To start the register write or read cycle, set MS to logic 0. Sixteen
clocks are then provided on MC, corresponding to the 16 bits of the control data word on MOSI and read-back
data on MISO. After the eighth clock cycle has completed, the data from the indexed-mode control register
appears on MISO during the read operation. After the sixteenth clock cycle has completed, the data is latched
into the indexed-mode control register during the write operation. To write or read subsequent data, MS is set to
logic 1 once (See t
MHH
in
Figure 81. Control Data Word Format; MDI
NOTE
B8 is used for selection of “Write” or “Read”. Setting = 0 indicates a “Write”, while = 1
indicates a ”Read”. Bits 15–9 are used for register address. Bits 7–0 are used for register
data. Multiple-byte write or read (up to 8 bytes) is supported while MS is kept low. The
address field becomes the initial address, automatically incrementing for each byte.
Figure 82. Serial Control Format; Write, Single Byte
Figure 83. Serial Control Format; Write, Multiple Byte
Copyright © 2012, Texas Instruments Incorporated
69
Product Folder Links: