AN201
Rev 1.5 | 21/91
www.cmostek.com
Table 13. Relationship between Encoding Length Selection and Bit Enabling
BIT_LOGIC_L/ BIT_LOGIC_H
BIT_FORMAT
7
6
5
4
3
2
1
0
0
√
1
√
√
2
√
√
√
3
√
√
√
√
4
√
√
√
√
√
5
√
√
√
√
√
√
6
√
√
√
√
√
√
√
7
√
√
√
√
√
√
√
√
In the table, tick indicates a register to be filled. For example, if BIT_FORMAT is set to 3, it represents 1 logic bit containing 4
symbols. If logic 0= 0b
’1000’, then users will fill the value into BIT_LOGIC_L<7:4>. If Logic 1= 0b’1110’, then users will fill the
value into BIT_LOGIC_H<7:4>. MSB corresponds to the 17
th
bit and LSB corresponds to the 14
th
bit.
Associating the above example, if ADDR_LENGTH is set to 20, ADDR_ID<31:12> is 0x56789, BIT_FORMAT is set to 4,
BIT_LOGIC_L<7:4> is 0b '1000' and BIT_LOGIC_H<7:4> is 0b '1110'. Expand ADDR_ID as symbol, then the Tx data is as
follows.
1000_1110_1000_1110_1000_1110_1110_1000_1000_1110_1110_1110_1110_1000_1000_1000_1110_1000_1000_1110
5
6
7
8
9
波形
数据流
二进制
“0” “1” “0” “1”
“0” “1” “1” “0”
“0” “1” “1” “1”
“1” “0” “0” “0”
“1” “0” “0” “1”
Hex
Figure 2-6. ADDR ID Example Diagram
That is, ID/ADDR = 0h '8E8E_8EE8_8EEE_E888_E88E', a total of 80 symbols, transmitted starting from the higher bit.
2.7.6 Key Value
Table 14. Key Value Configuration Register
Register Name
Bits
R/W
Bit Name
Function Description
CUS_PKT1 (0x08)
4
RW
KEY_EN
Key enabling bit.
0: disable
1: enable
CUS_PKT4 (0x0B)
7:5
RW
KEY_LENGTH<2:0>
The key value length can be configured to 0~7. 0
represents sending a key of 1 logic bit, and so on. 7
represents sending a Key of 8 logic bits.The logic bit
length is random.
CUS_PKT17 (0x18)
7:0
RW
KEY<7:0>
Key Value