diff --git a/.gitignore b/.gitignore index 770469d..e1aeda7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.pyc *.hex +*.log .pio/ .vscode/ diff --git a/README.md b/README.md index 10c1ca0..845c6b1 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,7 @@ ## [CH552简介](https://github.com/SoCXin/CH552/wiki) -[CH552](https://github.com/SoCXin/CH552)兼容MCS51的增强型E8051内核,79%指令是单字节单周期指令,2KB Boot + 14KB Flash,1K xRAM(支持DMA) +256B iRAM,128B DataFlash。 - -内置2KB BootLoader,支持USB和串口ISP,提供ISP下载库。 +[CH552](https://github.com/SoCXin/CH552)兼容MCS51的增强型E8051内核,79%指令是单字节单周期指令,2KB BootLoader + 14KB Flash,1K xRAM(支持DMA) +256B iRAM,128B DataFlash。 内置24MHz时钟源和PLL,内置了ADC模数转换、触摸按键电容检测、3组定时器和信号捕捉及PWM、双异步串口、SPI、USB设备控制器和全速收发器、USB type-C等功能模块。 @@ -18,25 +16,26 @@ #### 关键特性 * 5V->3.3V LDO -* Type-C主从检测 +* 内置2KB BootLoader,支持USB和串口ISP,提供ISP下载库 +* Type-C 主从检测 * USB全速设备模式 -* UART x 2 + SPI -* 性价比小封装(TSSOP20/SOP16/MSOP10/QFN16) +* UART x 2 + SPI x 1 +* 小封装(TSSOP20/SOP16/MSOP10/QFN16) ### [资源收录](https://github.com/SoCXin/CH552) * [参考文档](docs/) * [参考资源](src/) * [参考工程](project/) - -* [烧录工具上位机](http://www.wch.cn/downloads/WCHISPTool_Setup_exe.html) +* [下载工具](http://www.wch.cn/downloads/WCHISPTool_Setup_exe.html) ### [选型建议](https://github.com/SoCXin) -[CH552](https://github.com/SoCXin/CH552) 是市场上高性价比USB单片机,在开源社区中拥有较高声望,[Arduino](https://github.com/OS-Q/A05)适配和各种开发示例。 +[CH552](https://github.com/SoCXin/CH552) 是市场上高性价比USB单片机,在开源社区中拥有较高声望。 同系列中升级[CH554](http://www.wch.cn/products/CH554.html)将增加支持USB HOST主机模式 -降低规格可选[CH551](http://www.wch.cn/products/CH551.html),ROM降为10K,片内xRAM为512字节,异步串口仅提供UART0,仅SOP16封装,并且去掉了ADC模数转换模块和USB type-C模块 +降低规格可选[CH551](http://www.wch.cn/products/CH551.html),ROM降为10K,片内xRAM为512字节,异步串口仅提供UART0,仅SOP16封装,并且去掉了ADC模数转换模块和USB type-C模块。 + ### [www.SoC.xin(芯)](http://www.SoC.Xin) diff --git a/index.json b/index.json index 592c3ea..2f3d58f 100644 --- a/index.json +++ b/index.json @@ -1,53 +1,47 @@ { "name":"CH552", - "series":["CH552P","CH551P"], + "series":["CH552","CH551"], "type":"MCU", - "Core":"8051", + "Core":"MCS51", "Freq":"24MHz", - "description":"WCH 1T 8051 CH552 MCU", - "peripheral": ["ADC","DAC","USB","RTC","UART","SUART","I2C","I2S","SPI","AES","DMA"], - "package":["LQFP48","QFN28","SOP16"], - "SRAM":8, - "Flash":64, + "description":"WCH 1T 8051 MCU", + "peripheral": ["ADC","USB","UART","SPI","LDO","PWM"], + "package":["QFN16","MSOP10","TSSOP20","SOP16"], + "SRAM":1, + "Flash":16, + "DATA":128, "UART": { - "num": 3, + "num": 2, "FIFO": 16, "ISO7816": 1, "more":["BUAD","LIN","IrDA"] }, "ADC": { "num": 1, - "PGA": 4, - "channel": 16, - "resolution": 12, + "channel": 4, + "resolution": 8, "rate": 2400 }, "TIM": { - "resolution":[16,16,16,16,32], - "rate": 1024 - }, - "RCC": { - "HSI": 16384, - "LSI": 32, - "HSE": [1024,20480], - "PLL": [32768,49152], - "accuracy": 0.02, + "resolution":[16,16,16], "rate": 1024 }, "USB": { "num": 1, - "more":["FS","device"] - }, - "RTC": { - "CLK": 32768, - "PPM": 1.5, - "Ivdd": 0.5 + "FIFO": 64, + "more":["FS","type-C","device"] }, "PWR": { - "VDD": [1850,5500], + "VDD": [2800,5000], "Ivdd": 3.5, + "LDO": [5000,3300], "rate": 1024 }, + "PWM": { + "num": 2, + "resolution": 8, + "rate": 256 + }, "upload": { "ISP": true, "IAP": true, diff --git a/package.json b/package.json deleted file mode 100644 index b6f381e..0000000 --- a/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name":"CH552", - "Core":"8051", - "description":"1T 8051 CH552 MCU", - "url":"https://github.com/SoCXin/CH552", - "version":"1.0.0" -}