DLPU057A March 2018 – April 2022
This example shows that the slave response changes to 0x02 if there is a checksum mismatch.
Checksum = (0x00 + 0x02 + 0xAB + 0xCD) MOD 0x100 = 0x7A.
In this example, the checksum received by slave is 0xEF; hence it returns Checksum Mismatch as its response.
44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | |
Host (Master) | A5 | 00 | 02 | AB | CD | EF | 00 | 00 |
Piccolo (Slave) | FF | FF | FF | FF | FF | FF | FF | 02 |