EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 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 #912 background imageLoading...
Page #912 background image
R01UH0823EJ0100 Rev.1.00 Page 912 of 1823
Jul 31, 2019
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.3 Operation
32.3.1 System Control
This section describes the register settings that are necessary for initialization of this module and power consumption
control.
32.3.1.1 Setting Data to the USB Related Register
Setting the SYSCFG.USBE bit to 1 after starting the clock supply to the USB (SYSCFG.SCKE bit = 1) enables and starts
USB operation.
32.3.1.2 Controller Function Selection
For the USB, the host or function controller can be selected using the SYSCFG.DCFM bit. Note that the DCFM bit
should be modified in the initial settings immediately after a reset is released or when pulling up of the D+ line and
pulling down of the D+ and D– lines are disabled (the SYSCFG.DPRPU bit = 0 and DRPD bit = 0).
32.3.1.3 Controlling USB Data Bus Resistors
The USB has pull-up and pull-down resistors for the D+ and D– lines. Pull up or pull down these lines by setting the
SYSCFG.DPRPU and DRPD bits.
When the function controller is selected, confirm that connection to the USB host is made, then set the SYSCFG.DPRPU
bit to 1 and pull up the D+ line (during full-speed) and D– line (during low-speed).
When the SYSCFG.DPRPU bit is set to 1 during communication with the PC, the USB module disables the pull-up
resistor of the USB data line, thus notifying the USB host of disconnection.
When the host controller is selected, set the SYSCFG.DRPD bit and pull down the D+ and D– lines.
Table 32.11 Controlling USB Data Bus Resistors
Settings Controlling USB Data Bus Resistors
DRPD DPRPU DMRPU D– D+ Remarks
000OpenOpenWhen not used
010OpenPull-upWhen operating as the function controller (full-speed)
001Pull-upOpenWhen operating as the function controller (low-speed)
100Pull-downPull-downWhen operating as the host controller
Other than above — — Setting prohibited

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals