Difference between revisions of "STM32 Blue Pill"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) (Created page with "=== Blue Pill Board Features === * Used on BLUE-PILL-HUB card * STM32F103 ** 72 MHz CPU sclocl ** 64KB Flash (most have 128KB) ** 20 KB SRAM ** 3.3V regulator ** 16 MHz c...") |
Blwikiadmin (talk | contribs) |
||
Line 24: | Line 24: | ||
[[File:STM32F103C8T6-Blue-Pill-Pin-Layout.gif]] | [[File:STM32F103C8T6-Blue-Pill-Pin-Layout.gif]] | ||
+ | |||
+ | == Arduino IDE == | ||
+ | |||
+ | * [https://github.com/rogerclarkmelbourne/Arduino_STM32 Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards] | ||
+ | ** [https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki Arduino STM32 Wiki] | ||
+ | ** [https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Installation Installation] | ||
+ | * [https://www.instructables.com/id/Programming-STM32-Blue-Pill-Via-USB/ Arduino Alternative - STM32 Blue Pill Programming Via USB] | ||
+ | |||
+ | === Uploading Code to Blue Pill === | ||
+ | |||
+ | * FTDI connection to Blue Pill Hub FTDI connector | ||
+ | ** FTDI TX (to Blue Pill RX) (PA10 pin on STM32) | ||
+ | ** FTDI RX (to Blue Pill Tx) (PA9 pin on STM32) | ||
+ | * Set Switch (or jumper) on Blue Pill module set towards center of card to upload card to board | ||
+ | |||
+ | [[File:BluePill_Jumper.png]] | ||
+ | |||
+ | * In Arduino IDE, | ||
+ | ** Tools | ||
+ | *** Board "Generic..." | ||
+ | *** Upload method: "Serial..." | ||
+ | *** Port: [the comm port] | ||
+ | |||
+ | [[File:ArduinoIDE_Tools_Menu.png]] | ||
+ | |||
+ | * Upload code | ||
+ | ** Takes a while | ||
+ | * Set Switch (or jumper) on Blue Pill module set towards edge of card to run | ||
+ | * Press reset button |
Revision as of 11:58, 6 February 2021
Blue Pill Board Features
- Used on BLUE-PILL-HUB card
- STM32F103
- 72 MHz CPU sclocl
- 64KB Flash (most have 128KB)
- 20 KB SRAM
- 3.3V regulator
- 16 MHz crystal
- 1 of x12-bit, A/D converter
- 7-channel DMA controller
- SPI, I2C, UART interfaces
- 7 timers
- MicroUSB
- Reset button
- Download jumper
- Replaced with a slide switch
- Power LED
- PC 13 LED
- SWD connector
- RTC crystal
- Warning: The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time.
Arduino IDE
- Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
- Arduino Alternative - STM32 Blue Pill Programming Via USB
Uploading Code to Blue Pill
- FTDI connection to Blue Pill Hub FTDI connector
- FTDI TX (to Blue Pill RX) (PA10 pin on STM32)
- FTDI RX (to Blue Pill Tx) (PA9 pin on STM32)
- Set Switch (or jumper) on Blue Pill module set towards center of card to upload card to board
- In Arduino IDE,
- Tools
- Board "Generic..."
- Upload method: "Serial..."
- Port: [the comm port]
- Tools
- Upload code
- Takes a while
- Set Switch (or jumper) on Blue Pill module set towards edge of card to run
- Press reset button