===== STM32duino - Blue Pill F103C8 ===== The STM32duino board is based on the [[https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M3|ARM Cortex M3]] core like the Arduino Duo. The version I use is the [[http://wiki.stm32duino.com/index.php?title=Blue_Pill|Blus Pill]].\\ \\ On Hackaday is a good article about STM32 clones: [[https://hackaday.com/2020/10/22/stm32-clones-the-good-the-bad-and-the-ugly/|STM32-Clones - the good the bad and the ugly]].\\ ---- ==== USB Fix ==== Unfortunately the board comes with a 10k pullup resistor from D+ to 3.3V (in the schematic it's a 4.7k). That can cause problems on some PCs. Just take the R10 out and replace it with an 1.5k resistor.\\ One might let the 10k resister untouched and just put a 1.8k in parallel. Between 3.3V and pin A1 (PA12).\\ And here are some useful infos about the pullup resistors on USB:\\ [[https://www.beyondlogic.org/usbnutshell/usb2.shtml]]\\ [[https://amitesh-singh.github.io/stm32/2017/05/27/Overcoming-wrong-pullup-in-blue-pill.html]]\\ ---- ==== Schematic ==== Here is the {{ :stm32duino:vcc-gnd.com-stm32f103c8-schematic.pdf |schematic}} (Attribution: [[http://wiki.stm32duino.com]].)\\ \\ Pinout:\\ Stm32f103 pinout diagram \\ //Attribution: Rasmus Friis Kjeldsen, [[https://creativecommons.org/licenses/by-sa/4.0|CC BY-SA 4.0 ]], via Wikimedia Commons//\\ ---- ==== Specification ==== Model: STM32F103C8T6 Core: ARM 32 Cortex-M3 CPU Debug mode: SWD 72MHz work frequency 64K flash memory 20K SRAM 2.0-3.6V power, I/O Reset(POR/PDR) 8MHz crystal LED on pin PC13 ---- ==== Software ===== Here is an installation guide here:\\ [[http://wiki.stm32duino.com/index.php?title=Installation]]\\ and here:\\ [[https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Installation]]\\ Uploading a sketch:\\ [[http://wiki.stm32duino.com/index.php?title=Uploading_a_sketch]]\\ Debugging with GDB by Hackaday:\\ [[https://youtu.be/D-MbC9N5U7o]]\\ ---- ==== Links ==== [[https://www.stm32duino.com/]]\\ [[https://www.arduinolibraries.info/architectures/stm32]]\\ ---- ==== License ==== Except where otherwise noted, content on this wiki is made by **Wolfgang Spahn** 2018-20.\\ It is licensed under a [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]]. Creative Commons License ----