How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 921 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.3.1.4 Example of USB External Connection Circuit
Figure 32.2 shows an example of OTG connection of the USB connector in the self-powered state.
The USB controls the signals for enabling pull-up resistors for the D+ and D– signals and pull-down resistors for the D+
and D– signals. These signals can be pulled up or down using the SYSCFG.DPRPU, DMRPU, and DRPD bits.
When the function controller is selected and the DPRPU or DMRPU bit is set to 0 during communication with the host
controller, the pull-up resistor of the USB data line is disabled, making it possible to notify the USB host of the device
disconnection.