Spark Logic

CH340G USB-to-UART bridge connection guide

CH340G USB-to-UART bridge (SOP-16) connection guide. Wire USB power and the 12 MHz crystal. Test the UART in loopback.

SOP-16

16 contacts Current package

WCH· 3.9 mm body width · 1.27 mm lead pitch

Wire USB power and the 12 MHz crystal

Required

This setup uses USB VBUS to supply VCC and a separate V3 bypass capacitor. Leave unused handshake pins open. Choose a 12 MHz crystal for the board and match its load capacitors to the crystal specification. WCH shows 33 pF per side in its example.

  • USB supply
    • USB VBUS
  • Ground
    • USB ground
  • USB D+
    • USB connector D+
    • ↔
  • USB D−
    • USB connector D−
    • ↔
  • Internal regulator
  • Crystal input
    • →
  • Crystal output
    • →
100 nF between USB supply and GroundUSB supply100 nFGround
100 nF between Internal regulator and GroundInternal regulator100 nFGround
12 MHz between Crystal input and Crystal outputCrystal input12 MHzCrystal output
33 pF in WCH example between Crystal input and GroundCrystal input33 pF in WCH exampleGround
33 pF in WCH example between Crystal output and GroundCrystal output33 pF in WCH exampleGround

Bench checks

  • With power disconnected, verify V3 is isolated from VCC in this mode.
  • Verify that the host enumerates a USB serial device. If it does not, check VCC, V3, USB data polarity and crystal layout.

WCH CH340DS1, version 3B, §§5.1 and 7.2.

Connection scenarios

SOP-16 wiring map

External wiring example · Wire USB power and the 12 MHz crystal

Highlighted contacts are used in this circuit. Select a contact to highlight its wiring nets.

SOP-16 · Face the package marking. Match pin 1 to the package mark. The numbers advance counterclockwise.
Selected pin details

1 · GND

Return · Ground

Connect to the circuit ground plane.

WCH CH340DS1, version 3B, §§3–5

Connected nets

Electrical limits · Pin in the reference

Models and documents

The interactive map covers the CH340G SOP-16. See CH340DS1 §3 for CH340C, CH340B and the smaller CH340 packages. Some variants use an internal clock and assign pins 7 and 8 differently.

CH340G
3.9 mm body width · 1.27 mm lead pitch