STM32 Black Pill

The STM32 Black Pill is a high-performance, ARM®Cortex®-M3 32-bit RISC core operating at a 72 MHz frequency. Black Pill is small, complete, and breadboard-friendly board based on the STM32F103C8T6. The STM32 Black Pill is ideal for a wide range of DIY projects like consumer, metering, home automation, IOT, inverter, converter, Motor controller etc.

STM32F103C8T6 have high-speed embedded memories (Flash memory  64Kbytes and SRAM up to 20 Kbytes), and an extensive range of enhanced I/Os and peripherals connected to two APB buses. This board offer two 12-bit ADCs, three general purpose 16-bit timers plus one PWM timer, as well as standard and advanced communication interfaces:  two I2Cs and SPIs, three USARTs, an USB and a CAN.

Black pill stm32 cevelopment board is a high performance, low cost, alternative to an Arduino.  The  Black pill stm32 is the breadboard friendly development board featuring a smaller, 36-pin STM32.

STM32 Black Pill Specification

Microcontroller STM32F103C8T6
Package LQFP48
Architecture ARM Cortex-M3 32-bit RISC core
Operating Voltage

[ 2.0 to 3.6 V ]
 +3.3V pin (+3.3V)
USB connector (+5V)
Flash Memory 64KB
SRAM 20KB
Clock Speed 72MHz
Analog IN Pins 14
Digital I/O Pins 30(12 of which are PWM)
PWM Output 12
PCB Size 57mm x 25mm
Colour Black

Black Pill Schematic

stm32 black pill schematic
black pill schematic

STM32 Black Pill Devlopment Board Features

Clock, reset and power management

  • Power supply 2.0 ~ 3.6 V and I/O contacts
  • Power reset / power down (POR / PDR), programmable voltage monitor (PVD)
  • Quartz oscillator 4 ~ 16 MHz
  • Built-in factory tunable 8 MHz RC oscillator
  • Built-in calibrated 40 kHz RC oscillator
  • Pll that generates a CPU clock
  • RTC oscillator 32 kHz with calibration function

STM32 Communication Interface

  • Two Serial peripheral interface (SPI)
  • Three Universal synchronous/asynchronous receiver transmitter (USARTs ISO 7816 interface, LIN, IrDA capability, modem control)
  • Two I²C bus (SMBus/PMBus)
  • One Controller area network (CAN) (2.0B Active)
  • One Universal serial bus (USB 2.0 full-speed interface)

STM32 Black Pill Pinout

Following figure shows the pinout STM32 Pinout Diagram for STM32F103C8T6 devlopment board. The STM32 pins, is divided into Digital pins, Analog pins and Power pins. Some pins of STM32F103C8T6 are secondary functions like PWM pins and Communications pins are clealy shown in STM32 pinout diagram.

Also notice that the STM32 pins for each Arduino pin are also provided in the pinout diagram above.

STM32-black-pill-pinout-pin-diagtam-pins

Unlike Arduino NANO, the STM32 development board has to be manually set to programming mode using the  jumper. In STM32 Pinout Diagram , setting of Jumpers is specified clearly.

  • Normal Main Flash  – in normal mode the STM32F103C8T6 uses its own flash memory bootloader
  • Serial Programming – To program the STM32F103C8T6 black Pill devlopment board using USART
  • SRAM – Embeeded SRAM is Selected as a boot space

STM32 Black Pill Arduino

How to Program STM32F103C8T6 STM32 Black Pill Board using Arduino IDE?

From Factory STM32 Black pill devlopment board comes with a default USART bootloader. Even though there is a micro USB port avilable on the board, we cant  program it directally through Arduino IDE because it does not have the Arduino bootloader.

This board is a improved version of the Blue Pill board. The name of this board is also derived from the Blue Pill.

Details Post will be updated ASAP.

STM32 Black Pill Projects

Your Content Goes Here