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 #958 background imageLoading...
Page #958 background image
R01UH0823EJ0100 Rev.1.00 Page 958 of 1823
Jul 31, 2019
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
Figure 32.21 Process Flow for Operating as Portable Device
Secondary
Detection
Primary
Detection
Set VDPSRCE0 bit to 1
Set IDMSINKE0 bit to 1
Read CHGDETSTS0 bit
Wait for min 40 ms?
CHGDETSTS0 = 1?
Set VDPSRCE0 bit to 0
Set IDMSINKE0 bit to 0
Set VDMSRCE0 bit to 1
Set IDPSINKE0 bit to 1
Read PDDETSTS0 bit
Wait for min. 40 ms?
PDDETSTS0 = 1?
Target is SDP
Target is DCP or CDP
Target is CDP
Target is DCP
No
Yes
No
Yes
No
Yes
No
Yes
Data Contact Detection
(software waiting method)
Wait for min. 300 ms?
No
Yes
Data Contact
Detection
(hardware
detection
method)
Set RPDME0 bit to 1
Set IDPSRCE0 bit to 1
Is D+ low?
No
Use LNST[1:0] for
check
Yes
Detect VBUS
Set BATCHGE0 bit to 1
Set CNEN bit to 1
Set RPDME0 bit to 0
Set IDPSRCE0 bit to 0

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