33 lines
700 B
Markdown
33 lines
700 B
Markdown
system mco
|
|
---
|
|
|
|
This example is used to run system mco function.
|
|
|
|
## Hardware and Software environment
|
|
|
|
+ This example runs on PEC930 devices.
|
|
|
|
## How to use it ?
|
|
|
|
### In order to make the program work, you must do the following:
|
|
|
|
+ Open your preferred toolchain
|
|
+ Rebuild all files and load your image into target memory
|
|
+ Run the example
|
|
+ GPIO Pin pa2 selection mco output mode
|
|
+ GPIO Pin pa14 selection mco output
|
|
|
|
## Log
|
|
Use serial port(pa15) with baudrate 115200, 8bit, no parity check.
|
|
|
|
```
|
|
Sep 30 2025 09:28:41
|
|
This is a demo to output MCO signal (SysCLK= 60000000)
|
|
Press bottun to change output type (PA2)
|
|
No Output
|
|
MCO output HSI
|
|
MCO output LSI
|
|
MCO output HSI-DIV
|
|
No Output
|
|
|
|
``` |