Talk:SW2-303
µPD78F11BB
1 wire uart comms
c5 command response
01 - soh = start of heading(command sending to chip) 02 - stx = start of text/start transmission(marker for start of reply from chip) 03 - etx = end of text/end transmission(marker for end of reply from chip/end of command data sent to chip)
format of messaging <stx/soh><length><command/error><checksum><etx>
checksum
Command frame: LEN + COM + all of command information Data frame: LEN + all of data
01 01 c5 3a 03 = get version c5 02 01 06 f9 03 = ack response 02 06 00 00 00 01 00 00 f9 03 = 00 00 00 01 00 00
device version:0.00 firmware version: 1.00
DV1: Integer of device version (fixed to 00H) DV2: First decimal place of device version (fixed to 00H) DV3: Second decimal place of device version (fixed to 00H) FV1: Integer of firmware version FV2: First decimal place of firmware version FV3: Second decimal place of firmware version