Files
libopencm3-examples/examples/stm32/f0/stm32f0-discovery/systick_blink/README.md
Karl Palsson b50cdb56de stm32f0: systick_blink: Robustness and correctness fixes
Update documentation and comments in code to reflect reality.
Ensure that GPIO pin output speed is actually set, to ensure that 48Mhz sysclk
output is functional.
Actually set AF, instead of relying on reset values.
Replace the systick code, the core of this example, with some code that has
less traps and surprises.  Instead of trying to get a direct interrupt x times
per second, and reguarly running into problems with the 24 bit counter limit,
use a method that triggers an interrupt every x ms instead.  Tested MCO and
blink rates with a logic analyser, properly verified working now :)
2016-04-07 22:04:03 +00:00

14 lines
454 B
Markdown

# README
This example is the same as fancy\_blink except that it uses the systick timer
to generate time accurate delays. The blue LED flashes four times per second.
There is internal reference clock available on MCO output pin. This can be used
to debug the PLL clock setup by scope.
## Board connections
| Port | Function | Description |
| ----- | -------- | ------------------------ |
| `PA8` | `(MCO)` | Internal reference clock |