From 54a373aa9827986eb10d1bc051668e628339ae40 Mon Sep 17 00:00:00 2001 From: qitas Date: Fri, 18 Dec 2020 11:23:48 +0800 Subject: [PATCH] fix --- .gitignore | 1 + README.md | 3 +-- index.json | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 index.json diff --git a/.gitignore b/.gitignore index 9824552..770469d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.pyc +*.hex .pio/ .vscode/ diff --git a/README.md b/README.md index e5e407d..10c1ca0 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,5 @@ 同系列中升级[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模块 -### [SoC芯平台](http://www.SoC.Xin) - +### [www.SoC.xin(芯)](http://www.SoC.Xin) diff --git a/index.json b/index.json new file mode 100644 index 0000000..592c3ea --- /dev/null +++ b/index.json @@ -0,0 +1,62 @@ +{ + "name":"CH552", + "series":["CH552P","CH551P"], + "type":"MCU", + "Core":"8051", + "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, + "UART": { + "num": 3, + "FIFO": 16, + "ISO7816": 1, + "more":["BUAD","LIN","IrDA"] + }, + "ADC": { + "num": 1, + "PGA": 4, + "channel": 16, + "resolution": 12, + "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, + "rate": 1024 + }, + "USB": { + "num": 1, + "more":["FS","device"] + }, + "RTC": { + "CLK": 32768, + "PPM": 1.5, + "Ivdd": 0.5 + }, + "PWR": { + "VDD": [1850,5500], + "Ivdd": 3.5, + "rate": 1024 + }, + "upload": { + "ISP": true, + "IAP": true, + "SWD": true, + "speed": 115200 + }, + "vendor":"WCH", + "url":"http://www.SoC.xin/CH552", + "repo":"https://github.com/SoCXin/CH552", + "homepage": "http://www.wch.cn/products/CH552.html", + "version":"1.0.0" +}