{"id":18656512,"url":"https://github.com/uinika/uinio-usb-serial","last_synced_at":"2026-03-19T05:38:51.433Z","repository":{"id":214154430,"uuid":"735536698","full_name":"uinika/UINIO-USB-Serial","owner":"uinika","description":"A Serial Protocol Converter base on CH347T related I2C \u0026 SPI and so on.","archived":false,"fork":false,"pushed_at":"2024-03-12T17:51:14.000Z","size":18479,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-18T00:39:48.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/uinika/UINIO-USB-Serial","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uinika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-25T09:19:55.000Z","updated_at":"2024-01-08T03:21:44.000Z","dependencies_parsed_at":"2024-12-27T14:43:33.294Z","dependency_job_id":"18d3c944-67bb-40bb-a4a0-1fe603d4990b","html_url":"https://github.com/uinika/UINIO-USB-Serial","commit_stats":null,"previous_names":["uinika/uinio-usb-serial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uinika/UINIO-USB-Serial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uinika%2FUINIO-USB-Serial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uinika%2FUINIO-USB-Serial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uinika%2FUINIO-USB-Serial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uinika%2FUINIO-USB-Serial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uinika","download_url":"https://codeload.github.com/uinika/UINIO-USB-Serial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uinika%2FUINIO-USB-Serial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T01:40:51.112Z","status":"online","status_checked_at":"2026-01-25T02:00:06.841Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:23:49.471Z","updated_at":"2026-01-25T02:32:04.358Z","avatar_url":"https://github.com/uinika.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UINIO-USB-Serial 串行协议转换器\r\n\r\n[**UINIO-USB-Serial**](https://gitee.com/uinika/UINIO-USB-Serial) 是一款基于**沁恒**高速 USB 2.0 转接芯片 [**CH347T**](https://www.wch.cn/products/CH347.html) 的 USB 串行协议转换工具，支持 USB 接口转 `GPIO`、`UART`、`I²C`、`SPI`、`JTAG`, 可以用于调试 3.3V 电平的微控制器与外设的通信，也可以配合使用 [UINIO-Signal-Translator](https://github.com/uinika/UINIO-Signal-Translator) 完成 `3.3V` 到 `1.8V` 的高速信号转换，从而实现对 FPGA 芯片的调试与下载。\r\n\r\n![](./Images/PCB-3D-1.png)\r\n\r\n![](./Images/PCB-3D-2.png)\r\n\r\n## 设计概要\r\n\r\n1. 主控芯片 **CH347T** 采用了易于购买的 `TSSOP20` 封装；\r\n2. 工作模式采用 `P1` 与 `P2` 排针的**跳线帽**进行配置；\r\n3. 添加有 5 个 `1mm` 直径固定螺丝孔，方便与外壳进行固定组装；\r\n4. 分类引出了 UART1 和 UART2、SPI、I²C、JTAG 五条通信总线的排针，配置好工作模式之后就可以快速接线使用；\r\n5. 配合 [UINIO-Signal-Translator](https://gitee.com/uinika/UINIO-Signal-Translator) 可以将电平信号转换为 FPGA 芯片常用的 `1.8V`；\r\n\r\n## 工作模式简介\r\n\r\n**UINIO-USB-Serial** 可以支持下面的四种工作模式：\r\n\r\n1. **USB ➞ UART**：支持两路 UART 串行接口，每一路的波特率最高可以达到 `9Mbps`。\r\n2. **USB ➞ I²C**：处于 I²C 主设备模式，支持 4 种传输速度。\r\n3. **USB ➞ SPI**：处于 SPI 主设备模式，最高频率可以达到 `36MHz`，并且支持 2 路片选信号线，可以分时操作两个 SPI 从设备。\r\n4. **USB ➞ JTAG**：支持标准四线 JTAG 协议，最高频率可以达到 `18Mbit/s`。\r\n\r\n## 工作模式配置\r\n\r\n这些模式分别由 **CH347T** 的 `DTR1` 和 `RTS1` 引脚的电平状态进行控制：\r\n\r\n| 排针 P1  | 排针 P2  | 工作模式                |\r\n| -------- | -------- | ----------------------- |\r\n| `低电平` | `低电平` | UART1 + JTAG            |\r\n| `高电平` | `高电平` | UART1 + UART0           |\r\n| `高电平` | `低电平` | UART1 + SPI + I2C (HID) |\r\n| `低电平` | `高电平` | UART1 + SPI + I2C (VCP) |\r\n\r\n## 参考技术文档\r\n\r\n[UinIO.com 电子技术实验室](http://uinio.com/) 为 UINIO-USB-Serial 开源项目提供了如下一系列技术参考资料：\r\n\r\n- [《BOM 交互式物料清单与 PCB 布线在线预览》](http://uinio.com/archives/BOM/UINIO-USB-Serial.html)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuinika%2Fuinio-usb-serial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuinika%2Fuinio-usb-serial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuinika%2Fuinio-usb-serial/lists"}