Difference between revisions of "STM32"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 32: | Line 32: | ||
* FTDI connection to Blue Pill Hub FTDI connector | * FTDI connection to Blue Pill Hub FTDI connector | ||
− | * Set | + | ** 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 download | ||
+ | |||
+ | [[File:BluePill_Jumper.png]] | ||
+ | |||
* In Arduino IDE, | * In Arduino IDE, | ||
** Tools | ** Tools |
Revision as of 12:21, 20 September 2020
Contents
Features
- STM32F103
- 72 MHz
- 64KB Flash
- 20 KB SRAM
- 3.3V
- 16 MHz
- 2x12-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
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
- 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 download
- 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