Skip to content

droid42/stm32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Experiments with the STM32 Board

Board

Overview

Pinout

Programming/Examples/Pinout

Programmer

Connections

ATTENTION: DOUBLE-CHECK YOUR ST-LINK ADAPTER's PINOUT!

STM32 Blue Pill ST-LINK V2
3V3 [Red] 3.3V (Pin 8)
IO [Orange] SWDIO (Pin 2)
CLK [Brown] SWDCLK (Pin 6)
GND [Black] GND (Pin 4)

Setup Arduino-IDE

https://www.arduino.cc/en/Guide/Linux

IDEs

CLion

tinyGo

Rust

Board Infos

http://wiki.stm32duino.com/index.php?title=Main_Page http://wiki.stm32duino.com/index.php?title=Main_Page

Connect Board for serial upload

USB2Serial-Converter (FT232RL) --> STM32 (3v3-Mode!)

  • GND --> GND

  • 3V3 --> 3V3 (neighbor of GND) to power the board via converter

  • TX --> A10

  • RX --> A9

  • Power STM32 via microUSB

  • Connect USB2Serial-Converter to PC

Arduino BoardManager

Sketch

void setup() {
  pinMode(PA6, OUTPUT);

}

void loop() {
  digitalWrite(PA6, HIGH);
  delay(1000);
  digitalWrite(PA6, LOW);
  delay(1000);
}

Add LED with resistor to Pin6 (A6) and GND.

Troubleshooting (Linux)

Upload not possible

  • uninstall modemmanager
  • try to use USB2 port on your PC, avoid USB-Hub or USB3-port

About

Experiments with the STM32 Board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published