{"id":18257510,"url":"https://github.com/socxin/ch545","last_synced_at":"2025-04-11T21:21:35.592Z","repository":{"id":131097431,"uuid":"188349881","full_name":"SoCXin/CH545","owner":"SoCXin","description":"L1 R3: WCH 8051 USB HUB MCU (CH545/CH544)","archived":false,"fork":false,"pushed_at":"2023-02-19T04:58:57.000Z","size":5090,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-25T17:21:12.786Z","etag":null,"topics":["8051","hub","led","lqfp-48","lqfp-64","mcu","usb","usb-device","usb-host","wch"],"latest_commit_sha":null,"homepage":"","language":"C","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/SoCXin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"qitas","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-05-24T04:03:26.000Z","updated_at":"2024-06-08T14:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"83741ce1-4e9b-4d99-8861-1955be28c57b","html_url":"https://github.com/SoCXin/CH545","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH545","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH545/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH545/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH545/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoCXin","download_url":"https://codeload.github.com/SoCXin/CH545/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480420,"owners_count":21110939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["8051","hub","led","lqfp-48","lqfp-64","mcu","usb","usb-device","usb-host","wch"],"created_at":"2024-11-05T10:26:17.085Z","updated_at":"2025-04-11T21:21:35.545Z","avatar_url":"https://github.com/SoCXin.png","language":"C","funding_links":["https://ko-fi.com/qitas"],"categories":[],"sub_categories":[],"readme":"﻿# [CH545](https://www.soc.xin/CH545)\r\n\r\n\r\n* [WCH](http://www.wch.cn/)：[MCS-51](https://github.com/SoCXin/MCS-51)\r\n* [L1R3](https://github.com/SoCXin/Level)：48 MHz\r\n\r\n## [简介](https://www.soc.xin/CH545)\r\n\r\n[CH545](http://www.wch.cn/products/CH545.html) 兼容MCS51的增强型E8051内核，79%指令是单字节单周期指令，3KB BootLoader + 60KB CodeFlash，8K xRAM + 256B iRAM。\r\n\r\nCH545内嵌USB主机控制器和收发器，内置4端口USB root-hub根集线器，支持USB Host主机模式和USB Device 设备模式，支持USB 2.0全速12Mpbs或者低速1.5Mbps；内嵌4通道全速复合USB设备控制器和收发器，每个复合USB设备控制器包括一个device-hub和三个功能子设备。支持最大64字节数据包，内置FIFO，支持DMA。\r\nCH545提供丰富的接口资源，包括2组异步串口、6路PWM、14通道电容触摸按键、1组IIC主机、4组IIC从机、128组RGB三色LED控制器，其他包括2路SPI、14路12位ADC，支持电压比较；内置3组定时器和2路信号捕捉；支持最多58个GPIO。\r\n\r\n[![sites](docs/CH545.png)](http://www.wch.cn/products/CH545.html)\r\n\r\n### 关键参数\r\n\r\n* 48 MHz MCS-51 Core\r\n* 256B IRAM + 8KB xRAM + 60KB FLASH\r\n* 内置4端口root-hub根集线器,支持USB 2.0全速,支持DMA；\r\n* 内嵌4通道全速复合USB设备控制器和收发器，每个复合设备包括1个device-hub和3个功能子设备，支持4组USB主机，或17组USB从机；\r\n* LED驱动器支持384只单色LED,或128组RGB三色LED；\r\n* UART x 2 + SPI x 2；\r\n* IIC主机 x1 + IIC从机 x4；\r\n* 14通道12位ADC；\r\n* 封装(LQFP48/LQFP64)\r\n\r\n## [资源收录](https://github.com/SoCXin)\r\n\r\n* [参考资源](src/)\r\n* [参考文档](docs/)\r\n* [参考工程](project/)\r\n\r\n## [选型建议](https://github.com/SoCXin)\r\n\r\n[CH545](https://github.com/SoCXin/CH545)主要用于USB HUB类产品，可用于支持多USB设备连接。\r\n\r\n简化版[CH544](http://www.wch.cn/products/CH544.html)去掉了RGB三色LED的PWM模块，仅提供2通道复合USB设备控制器和3组IIC。\r\n\r\n* LQFP48\r\n* LQFP64\r\n\r\n[![sites](docs/list.png)](http://www.wch.cn/products/CH545.html)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocxin%2Fch545","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocxin%2Fch545","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocxin%2Fch545/lists"}