EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1320 background imageLoading...
Page #1320 background image
USB Type-C™ / USB Power Delivery interface (UCPD) RM0444
1320/1390 RM0444 Rev 5
Transmitter behavior in the case of errors
The under-run condition (TXUND interrupt) may happen by accident and in this case, the
UCPD is starved of (the correct) Tx payload and is not able to complete the Tx message
correctly. This is a serious error (for this to happen the software fails to respond in time). As
a result the hardware ensures the CRC is incorrect at the end of the message, thus
guaranteeing the message to be discarded at the receiver.
38.4.5 UCPD BMC receiver
The UCPD BMC receiver performs:
Clock recovery
Preamble detection / timing derivation
BMC decoding
4b5b decoding
K-code ordered set recognition
CRC checking
SOP detection
EOP detection
The receiver is activated as soon as the UCPD peripheral is enabled (via UCPDEN), but it
waits for an idle CC line state before attempting to receive a message.
The following figure shows the UCPD BMC receiver high-level architecture.
Figure 413. UCPD BMC receiver architecture
CRC checker
The received bits are fed into a CRC checker which evolves a 32-bit state during the
received the payload bitstream. At the end the 32 bits of the CRC also fed into the logic
MSv45545V2
CRC check
USB PD
receiver
state machine
Clock
recovery /
BMC
decode
UCPD_RX_ORDSET
ucpd_pclk
clock domain
From
analog PHY
ucpd_rx_clk
clock domain
ucpd_clk
clock domain
Ordered
set type
Registers
UCPD_CR
UCPD_IMR
UCPD_ICR
UCPD_SR
UCPD_RX_PAYSZ
UCPD_RXDR
UCPD_RX_ORDSET1
UCPD_RX_ORDSET2
Ordered
set /
EOP
detect
EOP found
4b5b decode
20-bit FIFO
20
5 latest
Manage
status flags
Message
type
Ordered set
detect/type
For future
extensions
ucpd_clk
1
ucpd_rx_clk
Interrupt clear
Interrupt mask
Rx control
Rx status flags
Rx payload size
Rx payload data

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G0 1 Series and is the answer not in the manual?

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals