← Commit history

Initial commit: component/ch348q

Ray ·5efd568c3b ·
2 files changed +466
README.mdadded+85
@@ -0,0 +1,85 @@+# CH348Q++**WCH Jiangsu Qin Heng** · USB Converters · LQFP-48(7x7)++CH348Q from WCH Jiangsu Qin Heng, in a LQFP-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | NC | unconnected | No connection, must be left floating. |+| 2 | CFG | input | TNOW and DTR function configuration pin; high/floating during power-up configures all DTRx/TNOWx as TNOW function; low configures as DTR function with optional independent configuration via pull-down resistors. |+| 3 | NC | unconnected | No connection, must be left floating. |+| 4 | NC | unconnected | No connection, must be left floating. |+| 5 | XI | input | Crystal oscillator input for 8MHz clock generation. |+| 6 | XO | output | Crystal oscillator reverse phase output for 8MHz clock generation. |+| 7 | RESET | input | External reset input, active low, internal pull-up resistor. |+| 8 | GND | power_in | Common ground connection to USB bus ground. |+| 9 | VCC | power_in | Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor. |+| 10 | CTS1/GPIO2 | input | UART1 Clear To Send MODEM input signal, active low; general purpose GPIO2 for input or output. |+| 11 | RTS1/GPIO3 | output | UART1 Request To Send MODEM output signal, active low; general purpose GPIO3 for input or output. |+| 12 | TXD1 | output | UART1 serial data output, idle state high level. |+| 13 | RXD1 | input | UART1 serial data input, internal pull-up resistor. |+| 14 | ACT | output | USB configuration complete status output, active low. |+| 15 | DTR1/TNOW1/GPIO9 | bidirectional | UART1 Data Terminal Ready MODEM output signal active low; UART1 RS485 transmit/receive control pin; general purpose GPIO9 for input or output. |+| 16 | TXD6 | output | UART6 serial data output, idle state high level. |+| 17 | RXD6 | input | UART6 serial data input, internal pull-up resistor. |+| 18 | TXD3 | output | UART3 serial data output, idle state high level. |+| 19 | RXD3 | input | UART3 serial data input, internal pull-up resistor. |+| 20 | GND | power_in | Common ground connection to USB bus ground. |+| 21 | TXD2 | output | UART2 serial data output, idle state high level. |+| 22 | RXD2 | input | UART2 serial data input, internal pull-up resistor, 5V tolerant. |+| 23 | GND | power_in | Common ground connection to USB bus ground. |+| 24 | VCC | power_in | Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor. |+| 25 | CTS3/GPIO6 | input | UART3 Clear To Send MODEM input signal active low, 5V tolerant; general purpose GPIO6 for input or output. |+| 26 | CTS2/GPIO4 | input | UART2 Clear To Send MODEM input signal active low, 5V tolerant; general purpose GPIO4 for input or output. |+| 27 | RTS2/GPIO5 | output | UART2 Request To Send MODEM output signal, active low; general purpose GPIO5 for input or output. |+| 28 | RTS3/GPIO7 | output | UART3 Request To Send MODEM output signal, active low; general purpose GPIO7 for input or output. |+| 29 | DTR2/TNOW2/GPIO10 | bidirectional | UART2 Data Terminal Ready MODEM output signal active low; UART2 RS485 transmit/receive control pin; 5V tolerant; general purpose GPIO10 for input or output. |+| 30 | TXD0 | output | UART0 serial data output, idle state high level. |+| 31 | RXD0 | input | UART0 serial data input, internal pull-up resistor, 5V tolerant. |+| 32 | CTS0/GPIO0 | input | UART0 Clear To Send MODEM input signal active low, 5V tolerant; general purpose GPIO0 for input or output. |+| 33 | RTS0/GPIO1 | output | UART0 Request To Send MODEM output signal, active low; external pull-down on this pin during power-up disables internal EEPROM configuration and enables default parameters; general purpose GPIO1 for input or output. |+| 34 | DTR0/TNOW0/GPIO8 | bidirectional | UART0 Data Terminal Ready MODEM output signal active low; UART0 RS485 transmit/receive control pin; 5V tolerant; general purpose GPIO8 for input or output. |+| 35 | GND | power_in | Common ground connection to USB bus ground. |+| 36 | VCC | power_in | Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor. |+| 37 | TXD7 | output | UART7 serial data output, idle state high level. |+| 38 | RXD7 | input | UART7 serial data input, internal pull-up resistor, 5V tolerant. |+| 39 | DTR3/TNOW3/GPIO11 | bidirectional | UART3 Data Terminal Ready MODEM output signal active low; UART3 RS485 transmit/receive control pin; 5V tolerant; general purpose GPIO11 for input or output. |+| 40 | TXD4 | output | UART4 serial data output, idle state high level. |+| 41 | RXD4 | input | UART4 serial data input, internal pull-up resistor, 5V tolerant. |+| 42 | UD- | passive | USB bus D- differential data signal, direct connection to USB connector without series resistor. |+| 43 | UD+ | passive | USB bus D+ differential data signal, direct connection to USB connector without series resistor. |+| 44 | TEST | input | Internal test pin, recommend connecting 4.7kΩ pull-down resistor to ground or direct ground connection. |+| 45 | TXD5 | output | UART5 serial data output, idle state high level. |+| 46 | RXD5 | input | UART5 serial data input, internal pull-up resistor. |+| 47 | GND | power_in | Common ground connection to USB bus ground. |+| 48 | VCC | power_in | Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | WCH Jiangsu Qin Heng |+| Package | LQFP-48(7x7) |+| Category | Interface |+| Pins | 48 |++## CAD (KiCad official)++- Symbol: `CH348Q`+- Footprint: `Package_QFP:LQFP-48_7x7mm_P0.5mm`+- 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `ch348q-etched.step` / `ch348q-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `ch348q.step` / `ch348q.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [WCH Jiangsu Qin Heng datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589040309539901440) (9 pp, sha256 `df5440c74e6a0dfe`, retrieved 2026-09-17, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/ch348q-datasheet.pdf)
page.jsonadded+381
@@ -0,0 +1,381 @@+{+  "slug": "ch348q",+  "version": "0.1.0",+  "type": "component",+  "description": "WCH Jiangsu Qin Heng USB Converters, LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "interface",+    "ch348q",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "ch348q.kicad_sym",+    "ch348q.kicad_mod",+    "ch348q.glb",+    "ch348q.step",+    "ch348q.lbr",+    "docs/hero.png",+    "docs/ch348q-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "CH348Q",+    "manufacturer": "WCH Jiangsu Qin Heng",+    "package": "LQFP-48(7x7)",+    "pin_count": 48,+    "category": "Interface",+    "subcategory": "USB Converters",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589040309539901440",+    "parts": {+      "symbol": "ch348q.kicad_sym",+      "footprint": "ch348q.kicad_mod",+      "model_3d": "ch348q-etched.glb",+      "model_3d_plain": "ch348q.glb",+      "model_3d_step": "ch348q-etched.step",+      "model_3d_step_plain": "ch348q.step",+      "lbr": "ch348q.lbr"+    },+    "distributor_links": {+      "lcsc": "C2979161"+    },+    "pins": [+      {+        "number": "1",+        "name": "NC",+        "type": "unconnected",+        "description": "No connection, must be left floating."+      },+      {+        "number": "2",+        "name": "CFG",+        "type": "input",+        "description": "TNOW and DTR function configuration pin; high/floating during power-up configures all DTRx/TNOWx as TNOW function; low configures as DTR function with optional independent configuration via pull-down resistors."+      },+      {+        "number": "3",+        "name": "NC",+        "type": "unconnected",+        "description": "No connection, must be left floating."+      },+      {+        "number": "4",+        "name": "NC",+        "type": "unconnected",+        "description": "No connection, must be left floating."+      },+      {+        "number": "5",+        "name": "XI",+        "type": "input",+        "description": "Crystal oscillator input for 8MHz clock generation."+      },+      {+        "number": "6",+        "name": "XO",+        "type": "output",+        "description": "Crystal oscillator reverse phase output for 8MHz clock generation."+      },+      {+        "number": "7",+        "name": "RESET",+        "type": "input",+        "description": "External reset input, active low, internal pull-up resistor."+      },+      {+        "number": "8",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground connection to USB bus ground."+      },+      {+        "number": "9",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor."+      },+      {+        "number": "10",+        "name": "CTS1/GPIO2",+        "type": "input",+        "description": "UART1 Clear To Send MODEM input signal, active low; general purpose GPIO2 for input or output."+      },+      {+        "number": "11",+        "name": "RTS1/GPIO3",+        "type": "output",+        "description": "UART1 Request To Send MODEM output signal, active low; general purpose GPIO3 for input or output."+      },+      {+        "number": "12",+        "name": "TXD1",+        "type": "output",+        "description": "UART1 serial data output, idle state high level."+      },+      {+        "number": "13",+        "name": "RXD1",+        "type": "input",+        "description": "UART1 serial data input, internal pull-up resistor."+      },+      {+        "number": "14",+        "name": "ACT",+        "type": "output",+        "description": "USB configuration complete status output, active low."+      },+      {+        "number": "15",+        "name": "DTR1/TNOW1/GPIO9",+        "type": "bidirectional",+        "description": "UART1 Data Terminal Ready MODEM output signal active low; UART1 RS485 transmit/receive control pin; general purpose GPIO9 for input or output."+      },+      {+        "number": "16",+        "name": "TXD6",+        "type": "output",+        "description": "UART6 serial data output, idle state high level."+      },+      {+        "number": "17",+        "name": "RXD6",+        "type": "input",+        "description": "UART6 serial data input, internal pull-up resistor."+      },+      {+        "number": "18",+        "name": "TXD3",+        "type": "output",+        "description": "UART3 serial data output, idle state high level."+      },+      {+        "number": "19",+        "name": "RXD3",+        "type": "input",+        "description": "UART3 serial data input, internal pull-up resistor."+      },+      {+        "number": "20",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground connection to USB bus ground."+      },+      {+        "number": "21",+        "name": "TXD2",+        "type": "output",+        "description": "UART2 serial data output, idle state high level."+      },+      {+        "number": "22",+        "name": "RXD2",+        "type": "input",+        "description": "UART2 serial data input, internal pull-up resistor, 5V tolerant."+      },+      {+        "number": "23",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground connection to USB bus ground."+      },+      {+        "number": "24",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor."+      },+      {+        "number": "25",+        "name": "CTS3/GPIO6",+        "type": "input",+        "description": "UART3 Clear To Send MODEM input signal active low, 5V tolerant; general purpose GPIO6 for input or output."+      },+      {+        "number": "26",+        "name": "CTS2/GPIO4",+        "type": "input",+        "description": "UART2 Clear To Send MODEM input signal active low, 5V tolerant; general purpose GPIO4 for input or output."+      },+      {+        "number": "27",+        "name": "RTS2/GPIO5",+        "type": "output",+        "description": "UART2 Request To Send MODEM output signal, active low; general purpose GPIO5 for input or output."+      },+      {+        "number": "28",+        "name": "RTS3/GPIO7",+        "type": "output",+        "description": "UART3 Request To Send MODEM output signal, active low; general purpose GPIO7 for input or output."+      },+      {+        "number": "29",+        "name": "DTR2/TNOW2/GPIO10",+        "type": "bidirectional",+        "description": "UART2 Data Terminal Ready MODEM output signal active low; UART2 RS485 transmit/receive control pin; 5V tolerant; general purpose GPIO10 for input or output."+      },+      {+        "number": "30",+        "name": "TXD0",+        "type": "output",+        "description": "UART0 serial data output, idle state high level."+      },+      {+        "number": "31",+        "name": "RXD0",+        "type": "input",+        "description": "UART0 serial data input, internal pull-up resistor, 5V tolerant."+      },+      {+        "number": "32",+        "name": "CTS0/GPIO0",+        "type": "input",+        "description": "UART0 Clear To Send MODEM input signal active low, 5V tolerant; general purpose GPIO0 for input or output."+      },+      {+        "number": "33",+        "name": "RTS0/GPIO1",+        "type": "output",+        "description": "UART0 Request To Send MODEM output signal, active low; external pull-down on this pin during power-up disables internal EEPROM configuration and enables default parameters; general purpose GPIO1 for input or output."+      },+      {+        "number": "34",+        "name": "DTR0/TNOW0/GPIO8",+        "type": "bidirectional",+        "description": "UART0 Data Terminal Ready MODEM output signal active low; UART0 RS485 transmit/receive control pin; 5V tolerant; general purpose GPIO8 for input or output."+      },+      {+        "number": "35",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground connection to USB bus ground."+      },+      {+        "number": "36",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor."+      },+      {+        "number": "37",+        "name": "TXD7",+        "type": "output",+        "description": "UART7 serial data output, idle state high level."+      },+      {+        "number": "38",+        "name": "RXD7",+        "type": "input",+        "description": "UART7 serial data input, internal pull-up resistor, 5V tolerant."+      },+      {+        "number": "39",+        "name": "DTR3/TNOW3/GPIO11",+        "type": "bidirectional",+        "description": "UART3 Data Terminal Ready MODEM output signal active low; UART3 RS485 transmit/receive control pin; 5V tolerant; general purpose GPIO11 for input or output."+      },+      {+        "number": "40",+        "name": "TXD4",+        "type": "output",+        "description": "UART4 serial data output, idle state high level."+      },+      {+        "number": "41",+        "name": "RXD4",+        "type": "input",+        "description": "UART4 serial data input, internal pull-up resistor, 5V tolerant."+      },+      {+        "number": "42",+        "name": "UD-",+        "type": "passive",+        "description": "USB bus D- differential data signal, direct connection to USB connector without series resistor."+      },+      {+        "number": "43",+        "name": "UD+",+        "type": "passive",+        "description": "USB bus D+ differential data signal, direct connection to USB connector without series resistor."+      },+      {+        "number": "44",+        "name": "TEST",+        "type": "input",+        "description": "Internal test pin, recommend connecting 4.7kΩ pull-down resistor to ground or direct ground connection."+      },+      {+        "number": "45",+        "name": "TXD5",+        "type": "output",+        "description": "UART5 serial data output, idle state high level."+      },+      {+        "number": "46",+        "name": "RXD5",+        "type": "input",+        "description": "UART5 serial data input, internal pull-up resistor."+      },+      {+        "number": "47",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground connection to USB bus ground."+      },+      {+        "number": "48",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive power supply input 3.3V, requires external 0.1µF decoupling capacitor."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-4-6",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 9,+        "cost_usd": 0.5808,+        "at": "2026-09-17T21:54:34"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589040309539901440",+        "pages": 9,+        "sha256": "df5440c74e6a0dfe",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 48,+        "described": 48,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file