51
6.2.4 Normal Response during a read Operation
Figure 6.5 shows the response format for the read command. The power supply controller returns an ACK code,
a function code, a register address and target data, in this order, as a response.
(1) ACK code
(1 byte)
(2) Function code
(1 byte or2 byte)
(3) Register address
(2 byte)
(4) Data
(N byte)
Figure 6.5 Normal Response during a Read Operation
(1) ACK code
This code is fixed at ACK (0x06).
(2) Function code
The same function code as for the read command returns.
(3) Register address
The address of a register subject to a read operation returns.
(4) Data
Read data returns. The size of this data is equal to the value specified in the function code.
6.2.5
Error Response during a read Operation
Figure 6.6 shows the error response format for the read command. The power supply controller returns a NAK
code and an error code in this order as a response at error occurrence.
(1) NAK code
(1 byte)
(2) rror code
(1 byte)
Figure 6.6 Error Response during a Read Operation
(1) NAK code
This code is fixed at NAK (0x15).
(2) Error code
Table 6.1 summarizes the error codes.
Table 6.1 Error Codes
Error No
Error type
0x01
Communications error
0x02
Invalid function code
0x03
Invalid register number
0x04
Register size error
0x05
Data size error
Summary of Contents for SH7760 Solution Engine2
Page 3: ......