Communication protocol – IEI Integration AUPS UART Protocal SPC User Manual
Page 4
Advertising

AUPS
IEI Technology Corp.
- 4 -
Communication Protocol
Commands to MCU and data returned from MCU are conveyed in the following
communication format :
Communication Protocol
STX
Length
Command /
Data
Checksum
CR
Write :
Name
Description
Size
STX
Start of text → 0x02
1
Length
Length of data
Ex
: 1 byte is 0x01
2 bytes is 0x02
1
Command
Command
1
Data
data
0 ~ 16
Checksum
Checksum = (STX+Length+Command+
Data) MOD 0x100
1
CR
Carriage return → 0x0D
1
Read:
Name
Description
Size
STX
Start of text → 0x02
1
Length
Length of data
Ex
: 1 byte is 0x01
2 bytes is 0x02
1
Command
Command
1
Data
returned data
0 ~ 16
Checksum
Checksum = (STX+Length+Command+
Data) MOD 0x100
1
CR
Carriage return → 0x0D
1
Advertising