• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Aug-2024-1311

src/03-Aug-2024-2210

CMakeLists.txtD03-Aug-2024185 85

README.rstD03-Aug-2024775 3020

prj.confD03-Aug-2024100 42

sample.yamlD03-Aug-2024150 76

README.rst

1.. _samples_boards_stm32_mco:
2
3STM32 MCO example
4#################
5
6Overview
7********
8
9This sample is a minimum application to demonstrate how to output one of the internal clocks for
10external use by the application.
11
12Requirements
13************
14
15The SoC should support MCO functionality and use a pin that has the MCO alternate function.
16To support another board, add an overlay in boards folder.
17Make sure that the output clock is enabled in dts overlay file.
18
19
20Building and Running
21********************
22
23.. zephyr-app-commands::
24   :app: samples/boards/stm32/mco
25   :board: nucleo_u5a5zj_q
26   :goals: build flash
27
28After flashing, the LSE clock will be output on the MCO pin enabled in Device Tree.
29The clock can be observed using a probing device, such as a logic analyzer.
30