![](http://datasheet.mmic.net.cn/Freescale-Semiconductor/MCZ33781EKR2_datasheet_98982/MCZ33781EKR2_27.png)
Analog Integrated Circuit Device Data
Freescale Semiconductor
27
33781
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
message look like the CRC bits of an 8-bit response and
almost certainly would not be correct. Because the response
is incomplete and the CRC check is probably not valid, this
response is not useful.
The long word to short word message size transition
normally only occurs after setting up the DBUS peripherals.
During address setup, a message with address 0000 is sent
to attempt to set the address of the next peripheral on the
daisy-chained bus. Before any peripherals have been
assigned an address, their bus switches are opened so the
addressing message only goes to the first peripheral in line.
As each peripheral gets an address, it closes its bus switch
so the next address assignment command can reach the next
peripheral in line on the bus. Each peripheral responds to an
address assignment only once (during the next message
after the command that set its address). After the last
peripheral has been assigned an address, any subsequent
address assignments will receive no response. When the
master MCU fails to receive a response, it knows it has
passed the last peripheral. At this point, short word messages
may be sent. The first such message will have no meaningful
response associated with it.
The first message after reset is also a special case,
because there was no previous message, therefore there will
be no meaningful response during the first message transfer.
Figure 23. Logic Block Diagram
LOGIC BLOCK DIAGRAM DESCRIPTION
Figure 23, Logic Block Diagram, shows a block diagram of
the major logic blocks in the IC.
SPI0
The SPI0 is a standard slave serial peripheral interface.
This interface provides two-way communications between
the IC and an MCU. The MCU can write to registers that
control the operation of the IC, and read back the conditions
in the IC using the SPI. It can also write data to be sent out
on the DBUS, and read data that was returned on the DBUS.
The register pointer and bit pointer are used to control which
registers and bits are being written to, and read from using
the SPI. Its operation is described in detail in the section
The register set consists of transmit, receive, control, and
status registers. They are written and read using the SPI0
interface, and are affected by events in the IC. Detailed
descriptions of their operation and use can be found in
SPI1
The SPI1 is a slave serial peripheral interface. It operates
asynchronously to the SPI0. It uses 16-bit transfers and is
read only. The MOSI function is not implemented. SPI1 only
reads the SPI1 8 16-bit circular buffer registers.
data
VSUP voltage
compare
addr
10
push
DSIFn
HZN
DSISn
SCLK0
Tx not empty
16
4
stat
data
idle mode
over currentN
receiver sumN
receiver highN
data 16
stat
5
16
CRC
check
CRC
check
Filter
16
PORB
1/3RD BIT CLOCK
RSTB
MOSI0
CSB0
data
enN
abort
SPI0
reg pointer
bit pointer
Addressed Rx Buffer
data
stat
data
stat
data
stat
data
stat
Addressed Tx Buffer
data
CRC
generate
CRC
check
DBUS XFER
STATE MACHINE
pop
receiver lowN
MISO0
FREQUENCY
SPREADING and
CLOCK DIVIDERS
CLK 64
MHz
control regs
enable regs
poly regs
seed regs
length regs
spread dev
spread fsel
mask ID
check pattern
test mode regs
Sample
signal mode
over currentN
Filter
over tempN
Filter
slave
addr
x pop
ptr
SPI1 Registers
data
addr
data
addr
data
addr
data
addr
SCLK1
CSB1
MISO1
4
Filter
Misc. Functions
Bus switch
over temp
Filter
Loop
Mode
Mux
Loop Sel
SPI1
BUS Driver/Receiver Logic
Filter