How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 967 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
Figure 32.21 Process Flow for Operating as Charging Downstream Port (Steps (1) to (4))
D-Line Drive
Control
Portable Device
Detection
Processing
Drive VBUS
PD detection interrupt?
(PDDETINT)
Connection detected?
(D+ pull-up detected?)
Target is normal peripheral
device
Set VDMSRCE0 bit to 1
PDDETSTS0 bit = 1?
PD detection interrupt?
(PDDETINT)
PDDETSTS0 bit = 0?
Target is normal portable device
Connection detected?
(D+ pull-up detected?)
Set VDMSRCE0 bit to 0
PD detection interrupt enabled
(PDDETINTE0 = 1)
Repeat reading several times
to perform debouncing.
Repeat reading
several times to
perform debouncing.
PD detection circuit enabled
(IDPSINKE0 = 1)
No
Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
If SUSP = 0, use BCHG interrupt and
LNST[1:0] for verification.
If SUSP = 1, use ATTCH interrupt for
verification.
If SUSP = 0, use BCHG interrupt and
LNST[1:0] for verification.
If SUSP = 1, use ATTCH interrupt for
verification.