https://github.com/socxin/ch559
L2 R2: WCH 8051 USB MCU (CH558/CH559)
https://github.com/socxin/ch559
8051 ldo mcu usb usb-device usb-host wch
Last synced: about 1 year ago
JSON representation
L2 R2: WCH 8051 USB MCU (CH558/CH559)
- Host: GitHub
- URL: https://github.com/socxin/ch559
- Owner: SoCXin
- Created: 2019-04-10T12:59:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T05:46:36.000Z (over 3 years ago)
- Last Synced: 2025-03-20T17:05:27.449Z (about 1 year ago)
- Topics: 8051, ldo, mcu, usb, usb-device, usb-host, wch
- Language: C
- Homepage:
- Size: 12.4 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# [CH559](https://github.com/SoCXin/CH559)
[](http://www.SoC.Xin)
[](https://github.com/SoCXin/CH559/actions/workflows/src.yml)
* [WCH](http://www.wch.cn/):[8051](https://github.com/SoCXin/8051)
* [L2R2](https://github.com/SoCXin/Level):56 MHz
* [Xin文档](https://docs.soc.xin/CH559)
## [简介](https://github.com/SoCXin/CH559/wiki)
[CH559](https://github.com/SoCXin/CH559)兼容MCS51的增强型E8051内核,79%指令是单字节单周期指令,3K BootLoader + 60K CodeFlash,6K xRAM + 256B iRAM,1K DataFlash。
内嵌USB控制器和双USB收发器,支持 USB-Host 主机模式和 USB-Device 设备模式,支持 USB 2.0 全速 12Mbps,USB 主机模式下可以通过双端口Root-HUB 同时管理两个USB设备。内置FIFO支持最大64字节数据包,支持 DMA。
接口包括内置类485数据收发器、LED控制卡接口和快速电平捕捉功能,其他包括2组SPI、2路串口、8位并口等,UART1兼容16C550;内置4组定时器;提供1路16位PWM和2路8位PWM;支持8通道10/11位ADC。内置时钟和PLL,支持外部晶振。
[](http://www.wch.cn/products/CH559.html)
### 关键特性
* 内嵌USB控制器和双USB收发器,支持USB2.0全速和低速主机或设备
* USB主机模式下可以通过内嵌的双端口Root-HUB同时管理两个USB设备。
* 2个全双工异步串口,串口1内置8字节FIFO,支持类485模式数据收发
* SPI0内置FIFO,支持主/从模式,SPI1支持主模式
* 8通道 1MSPS 10/11bit ADC
### [资源收录](https://github.com/SoCXin)
* [参考资源](src/)
* [参考文档](docs/)
* [参考工程](project/)
### [选型建议](https://github.com/SoCXin)
[CH559](https://github.com/SoCXin/CH559)
* CH559L:LQFP48 (7*7mm)
* CH559T:SSOP20 (5.3mm)
#### 相关开发板
[](https://item.taobao.com/item.htm?spm=a230r.1.14.21.2a2f27eex4iIfZ&id=578043172571&ns=1&abbucket=18#detail)
### [探索芯世界 www.SoC.xin](http://www.SoC.Xin)