Remote control protocols
STFPC320
15.8.1
RCA in decoded format
In the decoded form, the ADR bits followed by Start bit and Toggle Bit followed by Data bits
are sent in this order for each remote control protocol. The number of bits depends on the
corresponding RC protocol. The remaining empty bits are stuffed with 1’s to complete a
byte-aligned data frame.
For RCA protocol, if the 4-bit ADR is “1101” and 7-bit command bits is “1010100”, the in
decoded format the data on SDA pin will be sent as follows with MSB transmitted first.
Figure 44. RCA data structure in decoded format
MSB ADR LSB
MSB
Byte 1
Byte 2
1 1 0 1ST 1 0
DATA
LSB
1 0 1 0 0XXX
Byte 3
XXXXXXXX
15.8.2
RCA in RAW format
In the raw form, the data is sent in the same way as it is received for each RC protocol
except that the header is not transmitted on SDA. So for the above example for RCA
protocol, the data on SDA pin in raw-format will be as follows:
Figure 45. RCA data structure in raw format
ADR
4-bit
MSB
LSB
Sent first on SDA
Toggle Bit
Command
7-bit
MSB
LSB
64/78