Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
/ BLUE_PILL_F103C8 Public archive

MicroPython board definition for the Blue Pill STM32F103C8T6 board

License

Notifications You must be signed in to change notification settings

mcauser/BLUE_PILL_F103C8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blue Pill STM32F103C8T6

⚠️ Work in progress. Depends on STM32F1 support in MicroPython.

MicroPython board definition files for the generic blue pill STM32F103C8T6 dev board.

Brand: vcc-gnd/Generic

Markings: http://vcc-gnd.taobao.com/

board

You can buy one for around $2 USD on AliExpress

Build and deploy the firmware:

⚠️ Most likely does not work yet.

  • Clone the board definitions to your MicroPython ports/stm32/boards folder.
cd micropython/ports/stm32/boards
git clone https://github.com/mcauser/BLUE_PILL_F103C8.git
  • Disconnect the board from USB
  • Set BOOT0 jumper to ON (BT0->3V3)
  • Connect the board via USB
cd micropython/ports/stm32
make BOARD=BLUE_PILL_F103C8
make BOARD=BLUE_PILL_F103C8 deploy
  • Disconnect the board from USB
  • Set BOOT0 jumper to OFF (BT0->GND)
  • Connect the board via USB
screen /dev/tty.usbmodem1422

Specifications:

  • STM32F103C8T6 ARM Cortex M3
  • 72MHz, 90 DMIPS / 1.25 DMIPS / MHz
  • 2.0V - 3.6V operating voltage
  • 8MHz system crystal
  • 32.768KHz RTC crystal
  • 2.54mm pitch pins
  • JTAG/SWD header
  • 64 KByte Flash, 20 KByte SRAM
  • 2x SPI, 3x USART, 2x I2C, 1x CAN
  • 38 I/Os almost all 5V-tolerant
  • 1x USB 2.0 FS
  • 2x ADC (12-bit / 16-channel)
  • 3x general timers, 1x advanced timer
  • RT9193 3.3V LDO voltage regulator, max current 300mA
  • Micro USB for power and data
  • Blue user LED (PC13)
  • 2x jumpers for bootloader selection
  • Reset button
  • 2x20 side pins + 1x4 SWD pins
  • Dimensions: 53.0mm x 22.5mm

Experimental:

Some C8 microcontrollers have been discovered to have 128 KB flash instead of 64 KB. To fit MicroPython on this board, we'll try to use 128KB flash and pretend it's a F103CB board instead of F103C8. CB=128K, C8=64K.

Some C8 boards ship with incorrect USB pull up resistors. More on that later.

Links:

License

Licensed under the MIT License.

About

MicroPython board definition for the Blue Pill STM32F103C8T6 board

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published