Component guide · Advanced · 5 min read
CH347 and FT2232H USB to UART, SPI, I2C and JTAG Bridges

Pinout and Use
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
CH347 and FT2232H boards turn a USB 2.0 high-speed port into serial, SPI, I2C and JTAG lines, so a PC can read and write SPI flash chips, talk to I2C sensors and debug FPGAs and microcontrollers. The FT2232H has two channels that can each do UART or MPSSE (JTAG, SPI, I2C). The CH347 adds UART, SPI, I2C, JTAG and GPIO in one low-cost chip.
Key specs at a glance
- USB
- USB 2.0 high speed (480 Mbit/s) on both
- FT2232H
- Two channels (A and B); each UART up to 12 Mbaud, or MPSSE for JTAG, SPI and I2C
- CH347T
- One mode chosen at power-up: dual UART, UART + SPI + I2C, or UART + JTAG
- CH347F
- UART, SPI, I2C, JTAG and GPIO at the same time
- CH347 speeds
- UART up to 9 Mbaud, SPI clock up to 60 MHz
- Logic level
- 3.3 V on these boards; level-shift for 5 V targets
- Software
- flashrom, OpenOCD, pyftdi (FT2232H), WCH drivers and tools (CH347)
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
What the CH347 and FT2232H USB bridge is
A plain USB-TTL adapter only does serial. These bridges also speak SPI, I2C and JTAG, so one board can back up a router's or 3D printer's SPI flash, program an FPGA configuration flash, debug a microcontroller with OpenOCD, or test an I2C sensor from Python on a PC.
The FT2232H from FTDI has two independent channels, A and B. Each can be a UART or use FTDI's MPSSE engine for JTAG, SPI or I2C. It is very well supported in flashrom, OpenOCD and the pyftdi Python library. The board sold here comes unsoldered, so fit the headers first and check its VCCIO and power jumpers or links.
The CH347 from WCH is a newer, lower-cost chip. The CH347T variant works in one of several modes chosen when it powers up (the Muse Lab board has a switch or jumpers for this). The CH347F variant has all interfaces at once. It is supported by recent flashrom (ch347_spi) and recent OpenOCD releases, plus WCH's own drivers and tools.
CH347 and FT2232H USB bridge pinout
The pins on the CH347 and FT2232H USB bridge and what each one does.
| Pin | Function |
|---|---|
| FT2232H AD0 / AD1 / AD2 / AD3 | Channel A: TCK/SCK, TDI/MOSI, TDO/MISO, TMS/CS (MPSSE) |
| FT2232H BD0 to BD3 | Channel B, same functions |
| FT2232H TXD / RXD | AD0 / AD1 (or BD0 / BD1) in UART mode |
| CH347 TXD / RXD | UART |
| CH347 SCK, MOSI, MISO, CS0, CS1 | SPI with two chip selects |
| CH347 SCL, SDA | I2C |
| CH347 TCK, TMS, TDI, TDO, TRST | JTAG |
| 3V3, 5V, GND | Power out to the target (check current limits) |
- FT2232H AD0 / AD1 / AD2 / AD3
- Channel A: TCK/SCK, TDI/MOSI, TDO/MISO, TMS/CS (MPSSE)
- FT2232H BD0 to BD3
- Channel B, same functions
- FT2232H TXD / RXD
- AD0 / AD1 (or BD0 / BD1) in UART mode
- CH347 TXD / RXD
- UART
- CH347 SCK, MOSI, MISO, CS0, CS1
- SPI with two chip selects
- CH347 SCL, SDA
- I2C
- CH347 TCK, TMS, TDI, TDO, TRST
- JTAG
- 3V3, 5V, GND
- Power out to the target (check current limits)
Wiring the CH347 and FT2232H USB bridge
Pin numbers are for an 8-pin SOIC or DIP 25-series flash (W25Q, MX25L, GD25Q). Most are 3.3 V; check yours, because some are 1.8 V and need an adapter. Reading a chip still soldered on a board can power the whole board, so read it with the board unplugged and use a clip.
| CH347 and FT2232H USB bridge pin | 25-series SPI flash pin | Bridge pin |
|---|---|---|
| CS | SPI flash pin 1 (CS) | AD3 on FT2232H, CS0 on CH347 |
| MISO / DO | Flash pin 2 (DO) | AD2 or MISO |
| GND | Flash pin 4 | Common ground |
| MOSI / DI | Flash pin 5 (DI) | AD1 or MOSI |
| SCK | Flash pin 6 (CLK) | AD0 or SCK |
| 3V3 | Flash pin 8 (VCC), and pins 3 and 7 (WP, HOLD) to 3V3 | Only for 3.3 V flash chips |
- CS
- 25-series SPI flash pin:
- SPI flash pin 1 (CS)
- Bridge pin:
- AD3 on FT2232H, CS0 on CH347
- MISO / DO
- 25-series SPI flash pin:
- Flash pin 2 (DO)
- Bridge pin:
- AD2 or MISO
- GND
- 25-series SPI flash pin:
- Flash pin 4
- Bridge pin:
- Common ground
- MOSI / DI
- 25-series SPI flash pin:
- Flash pin 5 (DI)
- Bridge pin:
- AD1 or MOSI
- SCK
- 25-series SPI flash pin:
- Flash pin 6 (CLK)
- Bridge pin:
- AD0 or SCK
- 3V3
- 25-series SPI flash pin:
- Flash pin 8 (VCC), and pins 3 and 7 (WP, HOLD) to 3V3
- Bridge pin:
- Only for 3.3 V flash chips
Example code
Read the chip twice and compare before writing. On Linux run flashrom with sudo or add a udev rule. On Windows, the CH347 needs WCH's driver and the FT2232H may need its channel switched to the WinUSB driver (for example with Zadig) for flashrom and OpenOCD.
# CH347 board
flashrom -p ch347_spi -r backup1.bin
flashrom -p ch347_spi -r backup2.bin
# FT2232H board, channel A
flashrom -p ft2232_spi:type=2232H,port=A -r backup1.bin
flashrom -p ft2232_spi:type=2232H,port=A -r backup2.bin
# both reads must match before you write anything
sha256sum backup1.bin backup2.bin
# write a new image (it is verified after writing)
flashrom -p ft2232_spi:type=2232H,port=A -w new_firmware.binSetup and tuning
fit the headers on the FT2232H board and check its power and VCCIO links before plugging in.
set the mode switch or jumpers for the interfaces you need, then reconnect USB, because the mode is read at power-up.
both boards use 3.3 V logic here. Use a level shifter for 5 V targets and a 1.8 V adapter for 1.8 V flash chips.
keep SPI and JTAG wires under about 15 cm, or lower the clock speed (flashrom spispeed=, OpenOCD adapter speed).
if a chip is not detected, look at CS, SCK and MISO with a logic analyzer.
What you need
Shop this list6 of 6 found in our store · ₹3,402
Muse Lab CH347 USB high-speed bridge board: the CH347 board this guide coversMuse Lab CH347 Development Board Module USB2.0 High Speed USB to UART / I2C / SPI / JTAG / GPIO Open Source USB-HS-Bridge CH347T/CH347F₹519Closest match, check the specs
FT2232H mini board (unsoldered): the dual-channel FTDI boardUnsoldered FT2232HL Development Board FT2232H MINI Learning Board USB to SPI Dual Serial Port₹2,119Closest match, check the specs
8-channel USB logic analyzer: to see the bus signals when something does not work8-Channel USB Logic Analyzer₹518
4-channel logic level converter (BSS138): to connect 5 V and 3.3 V signals safely4-Channel Logic Level Converter (BSS138)₹20
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- USB to TTL adapters: serial only, enough for flashing ESP32 and talking to modules.
- Debug probes and programmers: CH341A, FT232H, ST-Link and J-Link for specific chips.
- Logic analyzers: to see what the bus is doing.
- SPI and I2C: how the buses work.
Common mistakes to avoid
- Writing a flash chip without first reading it twice and comparing the backups.
- Connecting 3.3 V bridge pins to a 5 V target without a level shifter.
- Changing the CH347 mode switch while plugged in and expecting the new mode without reconnecting.
- Using long jumper wires at full SPI speed, which causes failed reads.
Frequently asked questions
What is the difference between CH347 and FT2232H?
The FT2232H has two independent channels with very wide software support. The CH347 is newer and cheaper and offers UART, SPI, I2C and JTAG from one chip, with growing support in flashrom and OpenOCD.
Can I read a BIOS or router SPI flash chip?
Yes, for 3.3 V 25-series chips. Use flashrom with ch347_spi or ft2232_spi, read twice, compare and keep the backup safe before writing.
Does the FT2232H work with OpenOCD for JTAG?
Yes. OpenOCD supports FT2232H boards through its ftdi interface driver; you choose the layout and pins in the config file.
Do these boards work with 5 V devices?
Not directly. The logic is 3.3 V, so use a level shifter for 5 V targets and an adapter for 1.8 V flash chips.
Why is my CH347 not detected as SPI or JTAG?
The CH347T mode is chosen at power-up. Set the mode switch for the interface you need, then unplug and reconnect USB.
Can I use the FT2232H from Python code?
Yes. The pyftdi library gives UART, SPI, I2C and GPIO access to FT2232H channels from Python on Linux, Windows and macOS.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
