USB Type-C™ / USB Power Delivery interface (UCPD) RM0440
2076/2126 RM0440 Rev 4
46.7.12 UCPD receive data register (UCPD_RXDR)
Address offset: 0x030
Reset value: 0x0000 0000
46.7.13 UCPD Rx ordered set extension register 1
(UCPD_RX_ORDEXTR1)
Address offset: 0x034
Reset value: 0x0000 0000
Writing to this register is only effective when the peripheral is disabled (UCPDEN = 0).
Bits 31:10 Reserved, must be kept at reset value.
Bits 9:0 RXPAYSZ[9:0]: Rx payload size received
This bitfield contains the number of bytes of a payload (including header but excluding CRC)
received: each time a new data byte is received in the UCPD_RXDR register, the bitfield
value increments and the RXMSGEND flag is set (and an interrupt generated if enabled).
0x2: 2 bytes - the size of Control message from the protocol layer
0x6: 6 bytes - the shortest Data message allowed from the protocol layer)
0x1E: 30 bytes - the longest non-extended Data message allowed from the protocol layer
0x106: 262 bytes - the longest possible extended message
0x3FF: 1024 bytes - the longest possible payload (for future expansion)
The bitfield may return a spurious value when a byte reception is ongoing (the RXMSGEND
flag is low).
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res.
1514131211109876543210
Res. Res. Res. Res. Res. Res. Res. Res. RXDATA[7:0]
rrrrrrrr
Bits 31:8 Reserved
Bits 7:0 RXDATA[7:0]: Data byte received
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. RXSOPX1[19:16]
rw
1514131211109876543210
RXSOPX1[15:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 31:20 Reserved, must be kept at reset value
Bits 19:0 RXSOPX1[19:0]: Ordered set 1 received
The bitfield contains a full 20-bit sequence received, consisting of four K-codes, each of five
bits. The bit 0 (bit 0 of K-code1) is receive first, the bit 19 (bit 4 of K-code4) last.