stm32f1xx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
stm32f1xx [2016/12/16 10:11] – [core board] kingkevin | stm32f1xx [2019/09/19 10:02] – [blue pill] RTC issue kingkevin | ||
---|---|---|---|
Line 72: | Line 72: | ||
* proper USB disconnect circuit (useful for using the DFU bootloader it comes with) | * proper USB disconnect circuit (useful for using the DFU bootloader it comes with) | ||
* small | * small | ||
- | * good analogue | + | * good analog |
* more flash (128 vs 64 kB) | * more flash (128 vs 64 kB) | ||
* small, fits breadboard (600 mil wide) | * small, fits breadboard (600 mil wide) | ||
Line 79: | Line 79: | ||
* no additional connections (SWD, power, GND) | * no additional connections (SWD, power, GND) | ||
* the pin silkscreen are not the chip pins (you always need the schematic at hand) | * the pin silkscreen are not the chip pins (you always need the schematic at hand) | ||
- | * the clones don't provide a second voltage regulator for the analague | + | * the clones don't provide a second voltage regulator for the analog |
===== blue pill ===== | ===== blue pill ===== | ||
Line 102: | Line 102: | ||
* boot select | * boot select | ||
* power LED | * power LED | ||
- | * user LED, on PC13 | + | * user LED, on PC13 (warning: switching this LED heavily affects the RTC) |
* reset button (NRST) | * reset button (NRST) | ||
* 32.768 kHz real time clock (RTC) | * 32.768 kHz real time clock (RTC) | ||
Line 114: | Line 114: | ||
* no user button | * no user button | ||
* board extends over headers | * board extends over headers | ||
+ | * the RTC is not stable when the on-board LED is toggled | ||
Here a rough {{: | Here a rough {{: | ||
Mine for example has a 10 kΩ pull-up (to 3.3 V) resistor on USB D+/PA12 instead if a 4.7kΩ (to 5 V), although USB devices use a 1.5 kΩ resistor to pull up (to 3.3 V) usually. | Mine for example has a 10 kΩ pull-up (to 3.3 V) resistor on USB D+/PA12 instead if a 4.7kΩ (to 5 V), although USB devices use a 1.5 kΩ resistor to pull up (to 3.3 V) usually. | ||
- | ===== code board ===== | + | ===== core board ===== |
{{ : | {{ : | ||
Line 168: | Line 169: | ||
drawbacks: | drawbacks: | ||
* very few power pins | * very few power pins | ||
+ | |||
+ | **warning**: | ||
====== flashing ====== | ====== flashing ====== | ||
Line 362: | Line 365: | ||
==== USB DFU ==== | ==== USB DFU ==== | ||
- | There are several USB DFU bootloader. | + | There are several USB DFU bootloaders available (one from [[http:// |
- | I am using [[https:// | + | |
- | It works well on most generic | + | Here I will explain how to use USB DFU with the [[https:// |
If you want to make use of USB in your actual application after the bootloader started it, don't forget to force re-enumerating USB so the host computer sees the new interface: | If you want to make use of USB in your actual application after the bootloader started it, don't forget to force re-enumerating USB so the host computer sees the new interface: |
stm32f1xx.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1