USB Type-C™ / USB Power Delivery interface (UCPD)
On the receive side the principle task is to extract the:
–
–
–
It also checks the correct reception of the:
–
–
The receiver is basically a reverse process of the transmitter, thus starting with a BMC
decoder.
Symbol encoding
Apart from the preamble all symbols are encoded with a 4b5b scheme.
Symbols are 4b5b encoded according to the specification shown in
Encoding
Name
Sync-1
Sync-2
RST-1
RST-2
EOP
Reserved
2004/2083
Start of packet (ordered set) information
Payload: header
Payload: data (decoded)
CRC
End of packet
Table:
Table 415. 4b5b Symbol Encoding Table
4b
0
0000
1
0001
2
0010
3
0011
4
0100
5
0101
6
0110
7
0111
8
1000
9
1001
A
1010
B
1011
C
1100
D
1101
E
1110
F
1111
K-code
K-code
K-code
K-code
K-code
Error
5b
11110
01001
10100
10101
01010
01011
01110
01111
10010
10011
10110
10111
11010
11011
11100
11101
11000
10001
00111
11001
01101
00000
RM0440 Rev 1
RM0440
Table 415: 4b5b Symbol
Symbol description
hex data 0
hex data 1
hex data 2
hex data 3
hex data 4
hex data 5
hex data 6
hex data 7
hex data 8
hex data 9
hex data A
hex data B
hex data C
hex data D
hex data E
hex data F
Startsynch #1
Startsynch #2
Hard Reset #1
Hard Reset #2
EOP End Of Packet
Do Not Use
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?
Questions and answers