Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
stm32duino:32stm32_main [2018/11/03 17:27]
admin [USB Problem]
stm32duino:32stm32_main [2020/10/26 17:04]
admin [Schematic]
Line 1: Line 1:
-===== STM32duino ===== +===== STM32duino - Blue Pill F103C8 ===== 
-The STM32duino board is based on the [[https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M3|ARM Cortex M3]] like the Arduino Duo. The version I use is the [[http://wiki.stm32duino.com/index.php?title=Blue_Pill|Blus Pill]] I bought on E-Bay.\\+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 Problem ==== +==== USB Fix ==== 
-Unfortunately the board comes with a wrong pullup resistor on D+. If that makes problems just replace R10 with an 1.5K resistor like shown here: [[http://wiki.stm32duino.com/index.php?title=Blue_Pill#Hardware_installation]]\\ +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.\\ 
-<html> +One might let the 10k resister untouched and just put a 1.8k in parallel. Between 3.3V and pin A1 (PA12).\\ 
-<img src="http://wiki.stm32duino.com/images/1/1c/BluePillUsbResistor.jpg"> + 
-</html>+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 ==== ==== Schematic ====
-Here one find the [[http://wiki.stm32duino.com/images/c/c1/Vcc-gnd.com-STM32F103C8-schematic.pdf|schematic]] and the [[http://www.vcc-gnd.com/jikeliangpinstm32f103c8t6xuexibanziliao/|manufacturer data]].\\+Here is the {{ :stm32duino:vcc-gnd.com-stm32f103c8-schematic.pdf |schematic}} Attribution: [[http://wiki.stm32duino.com]].\\ 
 +\\ 
 +Pinout:\\ 
 +<html> 
 +<a title="Rasmus Friis Kjeldsen, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Stm32f103_pinout_diagram.png"><img width="512" alt="Stm32f103 pinout diagram" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Stm32f103_pinout_diagram.png/512px-Stm32f103_pinout_diagram.png"></a> 
 +</html>\\ 
 +//Attribution: Rasmus Friis Kjeldsen, [[https://creativecommons.org/licenses/by-sa/4.0|CC BY-SA 4.0 ]], via Wikimedia Commons//\\
  
 ---- ----
Line 20: Line 30:
    Debug mode: SWD    Debug mode: SWD
    72MHz work frequency    72MHz work frequency
-   64K flash memory20K SRAM+   64K flash memory 
 +   20K SRAM
    2.0-3.6V power, I/O    2.0-3.6V power, I/O
    Reset(POR/PDR)    Reset(POR/PDR)
    8MHz crystal    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 ==== ==== 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]].
 +
 <html> <html>
-<img src="http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif">+<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png/></a
 </html> </html>
-[[https://www.arduinolibraries.info/architectures/stm32]]\\ 
  
 ---- ----
 +