diff --git a/ic/usb-serial_ch340.yaml b/ic/usb-serial_ch340.yaml index 58355b7..48a506a 100644 --- a/ic/usb-serial_ch340.yaml +++ b/ic/usb-serial_ch340.yaml @@ -1,9 +1,9 @@ name: CH340 -# not variations are defined here -variations: E +# not all variations are defined here +variations: E, G, K description: transceiver, USB to serial datasheet: http://www.wch-ic.com/downloads/file/79.html -distributors: LCSC C99652 +distributors: LCSC C99652 (E), C14267 (G) pinout@E: USB: @@ -21,16 +21,57 @@ pinout@E: V3: 10 GND: 3 +pinout@G: + USB: + UD+: 5 + UD-: 6 + XTAL: + XI: 7 + XO: 8 + R232: 15 + CTRL: + RTS: 14 + CTS: 9 + DSR: 10 + RI: 11 + DCD: 12 + DTR: 13 + UART: + TXD: 2 + RXD: 3 + POWER: + VCC: 16 + V3: 4 + GND: 1 + +pinout@K: + USB: + UD+: 1 + UD-: 2 + CTRL: + RTS: 6 + CTS: 5 + DTR: 4 + UART: + TXD: 8 + RXD: 9 + POWER: + VCC: 7 + V3: 10 + GND: 3, 11 + properties: bidir: USB - in: RXD, CTS - out: TXD, RTS, TNOW + in: RXD, CTS, XI, DSR, RI, DCD, R232 + out: TXD, RTS, TNOW, XO, DTR power: POWER + passive: XTAL ground: GND + inverted: DTR, CTS, RTS, DCD, RI, DSR -schematic@E: +schematic: symbol: ic - left: USB, TNOW + left: USB, TNOW, XTRAL, R232 right: UART, CTRL top: POWER bottom: GND @@ -46,3 +87,29 @@ housing@E: # MSOP-10, dimensions from diodes MSOP-10 datasheet leadLength: 0.6 # L leadCount: 10 pitch: 0.5 # e + +housing@G: # SOP-16 + suffix: G + pattern: SOP + bodyWidth: 3.9 # body size + bodyLength: 9.9 + height: 1.55 + leadSpan: 6.0 + leadWidth: 0.38 + leadLength: 0.41-1.27 + leadCount: 16 + pitch: 1.27 # lead pitch + +housing@K: # ESSOP-10, dimensions not in datasheet + suffix: K + pattern: SOP + bodyWidth: 3.9 # body size + bodyLength: 4.9 + height: 1.4 + leadSpan: 6.15 + leadWidth: 0.4 + leadLength: 0.6 + leadCount: 10 + pitch: 1.0 # e + tabWidth: 2.4 + tabLength: 2.8