33793
16
Go to: www.freescale.com
Request Status Response
This response message is sent during the next message
following a valid Request Status command to the addressed
device. The response format is found in
Table 7
. The high byte
is omitted during the short-word response. No response is
generated if the command address field was $0.
Request Value n Command
This command will cause the analog level at one of the four
I/O lines to be measured and returned on the following
command. The command format is found in
Table 8
. The
analog input measured is defined in
Table 9
.
Request Values Response
This response is an 8-bit value representing the value
measured by the ADC. The selection of “n” is a function of the
command. This is shown in
Table 10
.
The read will be completed during the idle period and will
represent the voltage at the end of the command. If an
undervoltage condition exists at any time during the command
or the measurement has not completed properly, a value of
“00000000” will be returned. This is a reserved value to indicate
a problem with the measurement. The minimum valid level
reported will be “00000001”. No response is generated if the
command address field was $0.
Table 7. Request Status Response Format
High Byte
Low Byte
CRC
A3
A2
A1
A0
0
0
0
0
NV
U
LO
BS
IO3
IO2
IO1
IO0
X3
X2
X1
X0
Legend
A[3:0] = Address bits. The slave address.
BS = Bus Switch Position (1 = closed).
LO = Logic out driven level.
IO[3:0] = Values at logic I/Os.
NV = Nonvolatile Memory Write. The value of the NV bit in the slave.
U = Undervoltage indicated true by a “1”.
X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by
the slave.
Table 8. Request Value n Command Format
Data
Address
Command
CRC
–
–
–
–
–
–
–
–
A3
A2
A1
A0
C3
C2
C1
C0
X3
X2
X1
X0
Legend
A[3:0] = Address bits. The address of the selected device.
An address value of "0000" is ignored by all devices.
C[3:0] = Command number.
X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated
by the master.
Table 9. Analog Input Selection
Command
A/D Input
0010
I/O0
0101
I/O1
0110
I/O2
1000
I/O3
Table 10. Request Values Response Format
High Byte
Low Byte
CRC
A3
A2
A1
A0
0
0
0
0
D7
D6
D5
D4
D3
D2
D1
D0
X3
X2
X1
X0
Legend
A[3:0] = Address bits. The address of the selected device.
An address value of "0000" is ignored by all devices.
D[7:0] = Measured value (MSB = D7).
X[3:0] = Cyclic Redundancy Check (CRC).
F
Freescale Semiconductor, Inc.
For More Information On This Product,
n
.