Quality RTOS & Embedded Software


Step 6: Inspection and Configuration of the Clock Tree

STM32Cube RTOS configuration
Main window, Clock Configuration tab
Click to enlarge
The clock configuration tab displays a graphic that enables easy visualisation and comprehension of the clock routing and configuration, as well as a graphical editing interface that provides instant feedback and validation of the options selected:

  • Invalid clock values are highlighted in red

  • Tooltips provide the information necessary to correct an invalid configuration

  • Radio buttons allow easy clock selection

  • Drop down lists are used to select between valid divider values

STM32CubeMX automatically generates the system, CPU and AHB/APB bus frequencies from the clock sources and prescalers selected by the user.

Click images to enlarge

Radio buttons used to select clock sources and routing

A highlighted error, with information on how it can be rectified

Using a drop down list to set a clock divider

>> On to step seven
<< Back to the STM32CubeMX practical walk-through index

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.