2022-07-29 18:08:02 +02:00
|
|
|
|
# [CH552](https://doc.soc.xin/CH552)
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2022-07-29 18:08:02 +02:00
|
|
|
|
[![Build Status](https://github.com/SoCXin/CH552/workflows/demo/badge.svg)](https://github.com/SoCXin/CH552/actions/workflows/demo.yml)
|
2021-05-17 05:42:00 +02:00
|
|
|
|
[![Build Status](https://github.com/SoCXin/CH552/workflows/src/badge.svg)](https://github.com/SoCXin/CH552/actions/workflows/src.yml)
|
|
|
|
|
|
2022-06-03 13:04:37 +02:00
|
|
|
|
* [WCH](http://www.wch.cn/):[E8051](https://github.com/SoCXin/8051)
|
|
|
|
|
* [L1R1](https://github.com/SoCXin/Level):24 MHz
|
|
|
|
|
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2022-07-29 18:08:02 +02:00
|
|
|
|
## [简介](https://doc.soc.xin/CH552)
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2021-05-17 05:07:47 +02:00
|
|
|
|
[CH552](https://github.com/SoCXin/CH552) 兼容MCS51的增强型E8051内核,79%指令是单字节单周期指令,2KB BootLoader + 14KB Flash,1K xRAM(支持DMA) +256B iRAM,128B DataFlash。
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2020-12-05 11:02:59 +01:00
|
|
|
|
内置24MHz时钟源和PLL,内置了ADC模数转换、触摸按键电容检测、3组定时器和信号捕捉及PWM、双异步串口、SPI、USB设备控制器和全速收发器、USB type-C等功能模块。
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2022-07-29 18:08:02 +02:00
|
|
|
|
|
2020-12-05 11:02:59 +01:00
|
|
|
|
#### 关键特性
|
|
|
|
|
|
|
|
|
|
* 5V->3.3V LDO
|
2021-05-17 05:07:47 +02:00
|
|
|
|
* 2KB BootLoader,支持USB和串口ISP
|
2020-12-18 06:35:25 +01:00
|
|
|
|
* Type-C 主从检测
|
2021-05-17 05:07:47 +02:00
|
|
|
|
* USB device fs
|
2020-12-18 06:35:25 +01:00
|
|
|
|
* UART x 2 + SPI x 1
|
2021-05-17 05:07:47 +02:00
|
|
|
|
* 小封装 (TSSOP20/SOP16/MSOP10/QFN16)
|
2020-04-17 10:54:06 +02:00
|
|
|
|
|
2020-09-21 08:39:00 +02:00
|
|
|
|
### [资源收录](https://github.com/SoCXin/CH552)
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
|
|
|
|
* [参考资源](src/)
|
2022-06-03 13:04:37 +02:00
|
|
|
|
* [参考文档](docs/)
|
2020-09-21 08:39:00 +02:00
|
|
|
|
* [参考工程](project/)
|
2022-06-03 13:04:37 +02:00
|
|
|
|
|
2020-04-17 10:54:06 +02:00
|
|
|
|
|
2020-09-21 08:39:00 +02:00
|
|
|
|
### [选型建议](https://github.com/SoCXin)
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2021-05-17 05:07:47 +02:00
|
|
|
|
[CH552](https://github.com/SoCXin/CH552) 在8051领域拥有较高的声望,低阶高性价比USB单片机。
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2021-05-17 05:07:47 +02:00
|
|
|
|
所属同系列中[CH554](https://github.com/SoCXin/CH554) 增加支持USB HOST主机模式。[CH551](http://www.wch.cn/products/CH551.html)的ROM降为10K,片内xRAM为512字节,异步串口仅提供UART0,仅SOP16封装,并且去掉了ADC模数转换模块和USB type-C模块。
|
2020-04-16 08:11:44 +02:00
|
|
|
|
|
2021-05-17 05:07:47 +02:00
|
|
|
|
相较[STM8S003](https://github.com/SoCXin/STM8S003) 及 [N76E003](https://github.com/SoCXin/N76E003) 系列产品,[CH552](https://github.com/SoCXin/CH552)缺少IIC硬件,ADC较弱,没有专门的 eeprom存储器。TSSOP20封装不兼容前两者,无法直接替换。
|