UM1718

STM32CubeMX user interface

 

 

Selecting a board and accepting to initialize all peripherals to their default mode automatically sets both the pinout and the default modes for the peripherals available on the board. This means that STM32CubeMX generates the C initialization code for all the peripherals available on the board and not only for those relevant to the user application (see Figure 41).

Figure 41. STM32CubeMX Main window upon board selection (peripherals initialized with default configuration)

4.4Pinout & Configuration view

The Pinout & Configuration view comes with the following main panels, function and menu:

A Component list that can be visualized in alphabetical order and per categories. By default, it consists of the list of peripheral and middleware that the selected MCU supports. Selecting a component from that list opens two additional panels (Mode and Configuration) that allow the user to set its functional mode and configure the initialization parameters that will be included in the generated code.

A Pinout view that shows a graphic representation of the pinout for the selected package (e.g. BGA, QFP) where each pin is represented with its name (e.g. PC4) and its current alternate function assignment, if any.

A System view that gives an overview of all the software configurable components: GPIOs, peripherals, middleware and additional software components. Clickable

UM1718 Rev 41

71/453

Соседние файлы в папке STM