Product Info

MeiG Smart product technical information
SLM500 Hardware Design Guide Page 47
The USB plug-in detection of the module is realized by the VBUS and DP/DM data lines.
When the USB cable is inserted, the VBUS voltage is detected first, and then the DM/DP pull-
up state is detected to determine whether the USB data line or the charger is inserted.
Therefore, if you need to use the USB function, please be sure to connect VBUS to the 5V
power supply on the data line.
USB is a high-speed mode. It is recommended to connect a common-mode inductor to the
side of the USB connector to effectively suppress EMI interference. At the same time, the
USB interface is an external interface. The DM/DP must add a TVS tube to prevent static
damage caused by plugging and unplugging the data cable. When selecting the TVS, the user
should pay attention to the load capacitance of less than 1pf. VBUS also needs to increase the
TVS tube. If there is anti-surge demand, it is also necessary to increase the anti-surge tube.
The connection diagram is as follows:
Figure 4.26: USB Connection Diagram
4.9.1. USB OTG
The SLM500 module can provide USB OTG function. The pins used in this function are as
follows:
Table 4.10: USB OTG Pin Description
Pin name
Pin
Description
VBUS
141142
5V charging input / OTG output power.
USB_HS_DM
13
USB Date-
USB_HS_DP
14
USB Date+
USB_HS_ID
16
USB ID