DLPU115B january 2022 – march 2023 DLPC3421
Table 3-106 describes the return parameters.
Parameter Bytes | Description |
---|---|
Byte 1 - 4 | Reserved |
Byte 5 | Communication status |
Byte 6 | Aborted op-code |
All communication status error bits are cleared when the Read Communication Status is read.
MSB | Byte 5 – Communication Status | LSB | |||||
---|---|---|---|---|---|---|---|
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
b(7) | Reserved |
b(6) | Bus timeout by display error:
|
b(5) | Invalid number of command parameters:
|
b(4) | Read command error:
|
b(3) | Flash batch file error:
|
b(2) | Command processing error:
|
b(1) | Invalid command parameter value:
|
b(0) | Invalid command error:
|
The system sets the invalid command error bit when it does not recognize the command op-code. The invalid command op-code is reported in the I2C CMD error op-code byte of this status.
The system sets the invalid command parameter error bit when it detects that the value of a command parameter is not valid (for example, out of the allowed range).
The system sets the command processing error bit when a fault is detected when processing a command. In this case, the command aborts and the system moves on to the next command. The op-code for the aborted command is reported in the I2C CMD error op-code byte of this status.
The system sets the flash batch file error bit when an error occurs during the processing of a flash batch file. When this bit is set, typically another bit is set to indicate what kind of error was detected (for example, an invalid command error).
The system sets the read command error bit when the host terminates the read operation before all of the requested data has been provided, or if the host continues to request read data after all of the requested data has been provided.
The system sets the invalid number of command parameters error bit when too many or too few command parameters are received. In this case, the command aborts and the system moves on to the next command. The op-code for the aborted command is reported in the I2C CMD error op-code byte of this status.
The system sets the bus timeout by display error bit when the display releases control of the bus after the bus timeout value is exceeded.
MSB | Byte 6 – CMD Error Op-Code | LSB | |||||
---|---|---|---|---|---|---|---|
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
b(7:0) | I2C CMD error op-code |
The CMD error op-code is associated with various I2C communication status bits, and reports the op-code for an I2C command as noted.