Update README.md

This commit is contained in:
Martin Loren
2021-12-06 10:51:26 +08:00
parent efca944363
commit 42bc45769c

View File

@@ -1,7 +1,7 @@
# Artery-AT32-PlatformIO # Artery-AT32-PlatformIO
PlatformIO platform and framework for Artery AT32 MCU PlatformIO platform and framework for Artery AT32 MCU.
Released specifically for latest AT32F403A MCU with Visual Studio Code & PlatformIO. Released specifically for the latest [AT32F403A MCU](https://www.arterychip.com/en/product/AT32F403A.jsp) with Visual Studio Code & PlatformIO.
## Why ST32F403A ## Why ST32F403A
![MCU Comparison](Docs/MCU_Comparison.jpg "MCU Comparison") ![MCU Comparison](Docs/MCU_Comparison.jpg "MCU Comparison")
@@ -12,17 +12,22 @@ Released specifically for latest AT32F403A MCU with Visual Studio Code & Platfor
3) Open one of the example folder and try to compile / upload 3) Open one of the example folder and try to compile / upload
# Upload on MCU # Upload on MCU
Available upload methods: serial bootloader, dfu Available upload methods: serial bootloader (PA9, PA10), dfu
1) Set it in the file platformio.ini in the project folder, complete configuration options in Example project cmsis-blink 1) Set it in the file platformio.ini in the project folder, complete configuration options as in example project *cmsis-blink*
2) Run the Upload 2) Run the Upload
Notes: serial bootloader speed seems to work up to 115200 (at higher speed often it doesn't work) Notes:
1) Serial bootloader speed seems to work up to 115200 (at higher speed it often doesn't work)
2) Serial bootloader works only when USB port is disconnected (otherwise the MCU starts in DFU mode). So, in case you put this MCU on a Bluepill PCB, you need to power the MCU from 5V or 3V3 pin and not with USB cable.
# Supported # Supported
- Hardware Floating point unit (FPU) - Hardware Floating point unit (FPU)
- C/C++ compilation
# TO-DO List # TO-DO List
- Add more examples (USB)
- Provide Bluepill board example?
# AT32F403A on Bluepill PCB # AT32F403A on Bluepill PCB
You can replace the MCU on the Bluepilll board with the AT32F403A. It is pin fully compatible. You can replace the MCU on the Bluepill board with the AT32F403A. It is pin fully compatible.
Just need to replace BOOT0 resistor from the present value of 100K with the value of 10K. This will allow the MCU to enter in Bootloader mode and flash it via UART1. Just need to replace BOOT0 resistor from the present value of 100K with the value of 10K. This will allow the MCU to enter in Bootloader mode and flash it via UART1.