Hitachi SH7760 Solution Engine2 Overview page 54

Table of Contents

Advertisement

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)
(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
This code is fixed at NAK (0x15).
(2) Error code
Table 6.1 summarizes the error codes.
(2) Function code
(1 byte or2 byte)
Figure 6.5 Normal Response during a Read Operation
(1) NAK code
(1 byte)
Figure 6.6 Error Response during a Read Operation
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
(3) Register address
(2 byte)
(2) rror code
(1 byte)
51
(4) Data
(N byte)

Advertisement

Table of Contents
loading

Table of Contents