{"id":18257522,"url":"https://github.com/socxin/ch559","last_synced_at":"2025-04-04T18:31:14.096Z","repository":{"id":42632734,"uuid":"180582570","full_name":"SoCXin/CH559","owner":"SoCXin","description":"L2 R2: WCH 8051 USB MCU (CH558/CH559)","archived":false,"fork":false,"pushed_at":"2023-03-06T05:46:36.000Z","size":13039,"stargazers_count":8,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T17:05:27.449Z","etag":null,"topics":["8051","ldo","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-04-10T12:59:31.000Z","updated_at":"2024-03-17T12:46:51.000Z","dependencies_parsed_at":"2024-11-05T10:56:05.274Z","dependency_job_id":null,"html_url":"https://github.com/SoCXin/CH559","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%2FCH559","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH559/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH559/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FCH559/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoCXin","download_url":"https://codeload.github.com/SoCXin/CH559/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229267,"owners_count":20905017,"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","ldo","mcu","usb","usb-device","usb-host","wch"],"created_at":"2024-11-05T10:26:24.157Z","updated_at":"2025-04-04T18:31:09.087Z","avatar_url":"https://github.com/SoCXin.png","language":"C","funding_links":["https://ko-fi.com/qitas"],"categories":[],"sub_categories":[],"readme":"﻿# [CH559](https://github.com/SoCXin/CH559)\n\n[![sites](http://182.61.61.133/link/resources/SoC.png)](http://www.SoC.Xin)\n\n[![Build Status](https://github.com/SoCXin/CH559/workflows/src/badge.svg)](https://github.com/SoCXin/CH559/actions/workflows/src.yml)\n\n* [WCH](http://www.wch.cn/)：[8051](https://github.com/SoCXin/8051)\n* [L2R2](https://github.com/SoCXin/Level)：56 MHz\n* [Xin文档](https://docs.soc.xin/CH559)\n\n## [简介](https://github.com/SoCXin/CH559/wiki)\n\n[CH559](https://github.com/SoCXin/CH559)兼容MCS51的增强型E8051内核，79%指令是单字节单周期指令，3K BootLoader + 60K CodeFlash，6K xRAM + 256B iRAM，1K DataFlash。\n\n内嵌USB控制器和双USB收发器，支持 USB-Host 主机模式和 USB-Device 设备模式，支持 USB 2.0 全速 12Mbps，USB 主机模式下可以通过双端口Root-HUB 同时管理两个USB设备。内置FIFO支持最大64字节数据包,支持 DMA。\n\n接口包括内置类485数据收发器、LED控制卡接口和快速电平捕捉功能，其他包括2组SPI、2路串口、8位并口等，UART1兼容16C550；内置4组定时器；提供1路16位PWM和2路8位PWM；支持8通道10/11位ADC。内置时钟和PLL，支持外部晶振。\n\n\n[![sites](docs/CH559.png)](http://www.wch.cn/products/CH559.html)\n\n### 关键特性\n\n* 内嵌USB控制器和双USB收发器，支持USB2.0全速和低速主机或设备\n* USB主机模式下可以通过内嵌的双端口Root-HUB同时管理两个USB设备。\n* 2个全双工异步串口，串口1内置8字节FIFO，支持类485模式数据收发\n* SPI0内置FIFO，支持主/从模式，SPI1支持主模式\n* 8通道 1MSPS 10/11bit ADC\n\n### [资源收录](https://github.com/SoCXin)\n\n* [参考资源](src/)\n* [参考文档](docs/)\n* [参考工程](project/)\n\n### [选型建议](https://github.com/SoCXin)\n\n[CH559](https://github.com/SoCXin/CH559)\n\n* CH559L:LQFP48 (7*7mm)\n* CH559T:SSOP20 (5.3mm)\n\n#### 相关开发板\n\n[![sites](docs/B.jpg)](https://item.taobao.com/item.htm?spm=a230r.1.14.21.2a2f27eex4iIfZ\u0026id=578043172571\u0026ns=1\u0026abbucket=18#detail)\n\n### [探索芯世界 www.SoC.xin](http://www.SoC.Xin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocxin%2Fch559","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocxin%2Fch559","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocxin%2Fch559/lists"}