Difference between revisions of "STM32"

From Land Boards Wiki
Jump to navigation Jump to search
 
(73 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Features ==
 
== Features ==
  
* STM32F103
+
* [[STM32 Blue Pill]] Board
** 72 MHz
+
* [[STM32 Black Pill]] Board
** 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 =
+
== Blue Pill vs Black Pill Pinout ==
  
=== Uploading Code ===
+
* '''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.'''
 +
* Upper right pin is GND on Blue pill card, but is 5V on Black pill card
 +
* Reset is on a different pin
 +
* Some IO pins are om different spots
  
* FTDI connection to Blue Pill Hub FTDI connector
+
[[File:Blue-vs-Black-Pill-Pin-Layout.png]]
* 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]
 
 
 
[[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
 
 
 
== Annotated ==
 
 
 
[[File:STM32-Annotated.jpg]]
 
 
 
== Mechanicals ==
 
 
 
[[File:STM32-Mechanicals-2.jpg]]
 
 
 
== Schematics ==
 
 
 
[[File:STM32-Schematic.jpg]]
 
 
 
== Boot Jumpers ==
 
 
 
[[File:BootJumpers.PNG]]
 

Latest revision as of 12:04, 6 February 2021

BluePill-P642-cropped-720px.jpg

Features

Blue Pill vs Black Pill Pinout

  • 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.
  • Upper right pin is GND on Blue pill card, but is 5V on Black pill card
  • Reset is on a different pin
  • Some IO pins are om different spots

Blue-vs-Black-Pill-Pin-Layout.png