STM32F103C8 (Blue Pill)

From Embedded Workshop
Revision as of 21:42, 20 December 2018 by JMerkle (talk | contribs)
Jump to navigation Jump to search
  • ARM®32-bit Cortex®-M3 CPU
  • Flash 64KB
  • RAM 20KB
  • 72 MHz max CPU frequency
  • GPIO (32) with external interrupt capability
  • 12-bit ADC (2) with 10 channels
  • RTC
  • Timers (4)
  • I2C (2)
  • USART (3)
  • SPI (2)
  • USB 2.0 full-speed
  • CAN

Using Arduino Plugin

When used with the Arduino IDE as a plugin, the STM32 header files can be found here:
C:\Users\Jim\Documents\Arduino\hardware\Arduino_STM32-master
The STM32F1 header files:
C:\Users\Jim\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\system\libmaple\stm32f1\include\series
The Arduino Plugin package doesn't include header files/libraries for the CAN Bus module


References:

Technical Reference Manual: https://www.st.com/content/ccc/resource/technical/document/reference_manual/59/b9/ba/7f/11/af/43/d5/CD00171190.pdf/files/CD00171190.pdf/jcr:content/translations/en.CD00171190.pdf
https://wiki.stm32duino.com/index.php?title=Blue_Pill
https://os.mbed.com/users/hudakz/code/STM32F103C8T6_Hello/
https://os.mbed.com/users/hudakz/code/CAN_Hello/

Using Atollic Studio and STM32CubeMX

Installation

Projects

  • Blinky - Blink an LED
  • Serial Output to terminal using FTDI module/cable
  • Using I2C interface - APIs
  • PWM - LED fading
  • PWM - Servo control
  • Serial Output to terminal using on-board USB interface
  • Using SPI interface - APIs