USB Type-C™ / USB Power Delivery interface (UCPD) RM0440
2074/2126 RM0440 Rev 4
46.7.8 UCPD Tx payload size register (UCPD_TX_PAYSZR)
Address offset: 0x020
Reset value: 0x0000 0000
Writing to this register is only effective when the peripheral is enabled (UCPDEN = 1).
46.7.9 UCPD Tx data register (UCPD_TXDR)
Address offset: 0x024
Reset value: 0x0000 0000
Writing to this register is only effective when the peripheral is enabled (UCPDEN = 1).
46.7.10 UCPD Rx ordered set register (UCPD_RX_ORDSETR)
Address offset: 0x028
Reset value: 0x0000 0000
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. TXPAYSZ[9:0]
rw rw rw rw rw rw rw rw rw rw
Bits 31:10 Reserved, must be kept at reset value.
Bits 9:0 TXPAYSZ[9:0]: Payload size yet to transmit
The bitfield is modified by software and by hardware. It contains the number of bytes of a
payload (including header but excluding CRC) yet to transmit: each time a data byte is written
into the UCPD_TXDR register, the bitfield value decrements and the TXIS bit is set, except
when the bitfield value reaches zero. The enumerated values are standard payload sizes
before the start of transmission.
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)
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. TXDATA[7:0]
rw rw rw rw rw rw rw rw
Bits 31:8 Reserved, must be kept at reset value
Bits 7:0 TXDATA[7:0]: Data byte to transmit