How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 916 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.2.33 Device Address n Configuration Register (DEVADDn) (n = 0 to 5)
The DEVADDn register specifies the transfer speed of the peripheral device which is the communication target for pipes
0 to 9.
When the host controller is selected, the bits in the DEVADDn register should be set before starting communication
using each pipe.
The bits in the DEVADDn register should be modified while no valid pipes are using the settings of the bits. Valid pipes
refer to the pipes satisfying both of the following conditions:
The DEVADDn register is selected by the DEVSEL[3:0] bits.
The PID[1:0] bits are set to 01b (BUF) for the selected pipe or the selected pipe is the DCP with the
DCPCTR.SUREQ bit set to 1.
USBSPD[1:0] Bits (Transfer Speed of Communication Target Device)
The USBSPD[1:0] bits specify the USB transfer speed of the communication target peripheral device.
Set these bits to 01b when a low-speed device is connected, whereas set them to 10b when a full-speed device is
connected.
When the host controller is selected, the USB refers to the setting of the USBSPD[1:0] bits to generate packets.
When the function controller is selected, set these bits to 00b.
Address(es): USB0.DEVADD0 000A 00D0h, USB0.DEVADD1 000A 00D2h, USB0.DEVADD2 000A 00D4h, USB0.DEVADD3 000A 00D6h,
USB0.DEVADD4 000A 00D8h, USB0.DEVADD5 000A 00DAh
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
————————USBSPD[1:0]——————
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b5 to b0 Reserved These bits are read as 0. The write value should be 0. R/W
b7, b6 USBSPD[1:0] Transfer Speed of Communication
Target Device
b7 b6
0 0: DEVADDn is not used
0 1: Low-speed
1 0: Full-speed
1 1: Setting prohibited
R/W
b15 to b8 Reserved These bits are read as 0. The write value should be 0. R/W