Otg Core Id Register (Otg_Cid) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

RM0351
Bit 3 PS2DET: DM pull-up detection status
This bit is active only during PD and gives the result of comparison between DM voltage
level and VLGC threshold. In normal situation, the DM level should be below this threshold.
If it is above, it means that the DM is externally pulled high. This can be caused by
connection to a PS2 port (which pulls-up both DP and DM lines) or to some proprietary
charger not following the BCD specification.
0: Normal port detected (connected to SDP, CDP or DCP)
1: PS2 port or proprietary charger detected
Bit 2 SDET: Secondary detection (SD) status
This bit gives the result of SD.
0: CDP detected
1: DCP detected
Bit 1 PDET: Primary detection (PD) status
This bit gives the result of PD.
0: no BCD support detected (connected to SDP or proprietary device).
1: BCD support detected (connected to CDP or DCP).
Bit 0 DCDET: Data contact detection (DCD) status
This bit gives the result of DCD.
0: data lines contact not detected
1: data lines contact detected

43.15.13 OTG core ID register (OTG_CID)

Address offset: 0x03C
Reset value:0x0000 2000
This is a read only register containing the Product ID.
31
30
29
rw
rw
rw
15
14
13
rw
rw
rw
Bits 31:0 PRODUCT_ID: Product ID field
Application-programmable ID field.
28
27
26
25
rw
rw
rw
rw
12
11
10
9
rw
rw
rw
rw
DocID024597 Rev 3
USB on-the-go full-speed (OTG_FS)
24
23
22
21
PRODUCT_ID
rw
rw
rw
rw
8
7
6
5
PRODUCT_ID
rw
rw
rw
rw
20
19
18
17
rw
rw
rw
rw
4
3
2
1
rw
rw
rw
rw
1543/1693
16
rw
0
rw
1644

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF