Difference between revisions of "STM32"

From Land Boards Wiki
Jump to navigation Jump to search
Line 25: Line 25:
  
 
* [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 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 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]
 
* [https://www.instructables.com/id/Programming-STM32-Blue-Pill-Via-USB/ Arduino Alternative - STM32 Blue Pill Programming Via USB]
  

Revision as of 21:24, 5 January 2020

BluePill-P642-cropped-720px.jpg

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

Uploading Code

  • FTDI connection to Blue Pill Hub FTDI connector
  • Set Boot0 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]

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

Annotated

STM32-Annotated.jpg

Mechanicals

STM32-Mechanicals-2.jpg

Schematics

STM32-Schematic.jpg

Boot Jumpers

BootJumpers.PNG