CH347 WebUSB library for I2C, SPI, JTAG, etc.
| s1 | s2 | mode | description |
|---|---|---|---|
| 0 | 0 | UART | UART0 + UART1 |
| 1 | 0 | I2C | UART1 + I2C + SPI (VCP) |
| 0 | 1 | SPI | UART1 + I2C + SPI (HID) |
| 1 | 1 | JTAG | UART1 + JTAG |
npm install
npm run buildOpen app/index.html in browser.
https://www.wch-ic.com/downloads/CH347DS1_PDF.html
https://github.com/wuxx/USB-HS-Bridge/
https://github.com/nic3-14159/CH347-Research/blob/base/cmd_format.md
https://github.com/WCHSoftGroup/ch347/blob/main/OpenOCD_SourceCode_CH347/src/jtag/drivers/ch347.c
https://github.com/i2cy/CH347-HIDAPI/blob/master/ch347api/__spi.py
