Difference between revisions of "Black Pill"

From Stm32World Wiki
Jump to navigation Jump to search
Line 37: Line 37:
 
* [https://github.com/WeActTC/MiniSTM32F4x1 WeAct Black Pill Github Repository]
 
* [https://github.com/WeActTC/MiniSTM32F4x1 WeAct Black Pill Github Repository]
 
* [https://stm32-base.org/boards/STM32F411CEU6-WeAct-Black-Pill-V2.0.html Board Info]
 
* [https://stm32-base.org/boards/STM32F411CEU6-WeAct-Black-Pill-V2.0.html Board Info]
* [https://stm32-base.org/assets/pdf/boards/original-schematic-STM32F411CEU6_WeAct_Black_Pill_V2.0.pdf Original Schematics]
+
* [https://stm32-base.org/assets/pdf/boards/original-schematic-STM32F411CEU6_WeAct_Black_Pill_V2.0.pdf Original Schematics ver. 2.0]
 +
* [https://stm32-base.org/assets/pdf/boards/original-schematic-STM32F401CCU6_WeAct_Black_Pill_V1.2.pdf Original Schematics vers. 1.2]
 
* [https://www.st.com/resource/en/datasheet/stm32f411ce.pdf Datasheet]
 
* [https://www.st.com/resource/en/datasheet/stm32f411ce.pdf Datasheet]
 
* [https://github.com/trebisky/stm32f411 Bare metal coding on the STM32F411/Black Pill]
 
* [https://github.com/trebisky/stm32f411 Bare metal coding on the STM32F411/Black Pill]
 +
 +
Notice, most - if not all - clone boards match the 1.2 schematics.

Revision as of 09:36, 25 February 2022

The Black Pill development board is a good choice. Of the commercially available development modules, this is one of the best. It was designed by WeAct Studio, but like the Blue Pill many different versions exist. Unlike the Blue Pill, at least at the time of writing this, they all appear to be using genuine STM32 processors (read: no cheaper clones exist). Here are two different ones, both of which I suspect are clones (and both working just fine):

Two Different Black Pill Boards.jpg

Features

The Black Pills are typically based on a STM32F401 or STM32F411 (both of the above are the F411 version) and offers the following specs:

  • STM32F4 (STM32F401 or STM32F411) processor
  • Same footprint (I/O pins)
  • 25 MHz main crystal
  • 32.768 kHz RTC crystal
  • USB-C connector
  • Programming header

Pinout

Black pill pinout.png

EEPROM Footprint

The Black Pill board usually have an unpopulated footprint on the reverse side of the PCB intended for a generic EEPROM:

EEPROM Footprint.png

On the Board Info page, this is documented as:

EEPROM Footprint Documentation.png

Unfortunately, the clone Black Pill boards are wired up different. The DO (MISO) is not wired up to PB4 as indicated but rather PA6 (which makes more sense anyway). Using STM32CubeMX, the right configuration is:

EEPROM Correct Config.png

Miscellaneous Links

Notice, most - if not all - clone boards match the 1.2 schematics.