SLASEJ4C April 2017 – February 2023 PGA460
PRODUCTION DATA
A checksum field is transmitted as the last field of every UART frame. The checksum contains the value of the inverted byte sum with carry operation over all data fields and the command field (command field for controller only). On a controller-to-PGA460 transmission, the checksum field is calculated by the controller and checked by the PGA460 device. On a PGA460-to-controller transmission, the PGA460 device generates the checksum and the controller validates the integrity. The format of the checksum is identical to the data field and the procedure for calculating the checksum is explained in the Time-Command Interface section. Because the UART interface is a byte-based interface, no zero padding occurs in the process of calculating the checksum.
When the controller calculates the checksum field, the calculation occurs on the UART command field followed by all UART data fields that are transmitted as a part of the current communication frame. When the PGA460 device is calculating the checksum field, the calculation includes the diagnostic data field (see the Diagnostic Field section) followed by all UART data fields in the current frame. The sync field (0x55) is not included as part of the checksum calculation.