RM0440
Bits 31:10 Reserved
Bits 9:0 RXPAYSZ[9:0]: Rx payload size in bytes. This value is not derived from the header but will
increment during reception phase as each byte is made available in UCPD_RXDR. To be read
only after RXMSGEND interrupt (reads during reception may see an erroneous value due to
internal resynchronization). As will be seen in the examples, the header is considered in this
definition to be part of the payload, but CRC is not counted.
Contains the number of payload bytes received.
This register can only be updated when UCPDEN=1.
0x2: 2 byte payload (corresponds to a Control Message from the Protocol Layer)
0x6: 6 byte payload (shortest possible Data Message allowed from the Protocol Layer)
0x1E: 30 byte payload (longest possible Data Message allowed from the Protocol Layer,
excluding extended messages)
0x106: 262 byte payload (longest possible payload corresponding to extended messages)
0x3FF: Maximum supported payload (for future expansion)
45.7.12
UCPD Receive Data Register (UCPD_RXDR)
Address offset: 0x030
Reset value: 0x0000 0000
This register is used for Rx data.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:8 Reserved
Bits 7:0 RXDATA[7:0]: 8-bit receive data
Data byte received from the USB PD interface
45.7.13
UCPD Rx Ordered Set Extension Register #1
(UCPD_RX_ORDEXT1)
Address offset: 0x034
Reset value: 0x0000 0000
This register is used for Rx ordered set extension #1.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
USB Type-C™ / USB Power Delivery interface (UCPD)
24
23
22
Res.
Res.
Res.
8
7
6
Res.
24
23
22
Res.
Res.
Res.
8
7
6
RXSOPX1[15:0]
rw
RM0440 Rev 1
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
RXDATA[7:0]
r
21
20
19
18
Res.
Res.
RXSOPX1[19:16]
5
4
3
2
17
16
Res.
Res.
1
0
17
16
rw
1
0
2037/2083
2040
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?