Difference between revisions of "STM32CubeMX introduction"

[unchecked revision] [quality revision]
 
STM32CubeMX official.png


1 STM32CubeMX overview[edit]

STM32CubeMX is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation, through a step-by-step process, of the corresponding C initialization code for the Arm® Cortex®-M cores or a partial Linux® Device Tree for Arm® Cortex®-A core.

The first step consists in selecting the STMicroelectronics STM32 microcontroller or microprocessor that matches the required set of peripherals. For microprocessors, the second step configures the GPIOs, performs the clock setup for the whole system, and interactively assigns the peripherals either to the Arm® Cortex®-M or to the Cortex®-A world. Specific utilities, such as DDR configuration and tuning, make it easy to get started with STM32 microprocessors. For the Cortex®-M core, the configuration includes additional steps that are identical to those described for microcontrollers. For microcontrollers and microprocessor based on the Arm® Cortex®-M core, the second step consists in configuring each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and a utility that configures the peripherals (such as GPIO or USART) and the middleware stacks (such as USB or TCP/IP). Eventually the user launches the generation that matches the selected configuration choices. This step generates the C initialization code for the Arm® Cortex®-M core, ready to be used within several development environments, or a partial Linux® device tree for the Arm® Cortex®-A. STM32CubeMX is delivered within STM32Cube Packages.

2 Getting started with STM32CubeMX[edit]

STM32CubeMX tool

3 Videos related to STM32CubeMX[edit]

pc videol.png
Getting started with STM32CubeMX
pc videol.png
How to build a “Blink LED” project from STM32CubeMX for ST/Atollic TrueSTUDIO® for STM32™
pc videol.png
STM32G0: Create a USB Power Delivery sink application


4 STMicroelectronics Resources[edit]

STM32CubeMX for STM32 configuration and initialization C code generation UM1718
Release note RN0094


[[File:STM32CubeMX official.png|center|x400px|link=https://www.st.com/stm32cubemx]]
{{ArticleBasedOnModel | Example tools article}}
==STM32CubeMX overview==
'''STM32CubeMX''' is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation, through a step-by-step process, of the corresponding C initialization code for the Arm<sup>®</sup> Cortex<sup>®</sup>-M cores or a partial Linux<sup>®</sup> Device Tree for Arm<sup>®</sup> Cortex<sup>®</sup>-A core.<br><br>

The first step consists in selecting the STMicroelectronics STM32 microcontroller or microprocessor that matches the required set of peripherals.
For microprocessors, the second step configures the GPIOs, performs the clock setup for the whole system, and interactively assigns the peripherals either to the Arm<sup>®</sup> Cortex<sup>®</sup>-M or to the Cortex<sup>®</sup>-A world. Specific utilities, such as DDR configuration and tuning, make it easy to get started with STM32 microprocessors. For the Cortex<sup>®</sup>-M core, the configuration includes additional steps that are identical to those described for microcontrollers.
For microcontrollers and microprocessor based on the Arm<sup>®</sup> Cortex<sup>®</sup>-M core, the second step consists in configuring each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and a utility that configures the peripherals (such as GPIO or USART) and the middleware stacks (such as USB or TCP/IP).
Eventually the user launches the generation that matches the selected configuration choices. This step generates the C initialization code for the Arm<sup>®</sup> Cortex<sup>®</sup>-M core, ready to be used within several development environments, or a partial Linux<sup>®</sup> device tree for the Arm<sup>®</sup> Cortex<sup>®</sup>-A.
STM32CubeMX is delivered within STM32Cube Packages.<br>


==Getting started with STM32CubeMX ==
[https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html STM32CubeMX tool] <br>


==Videos related to  STM32CubeMX==
[[File:pc_videol.png|left|20px|link=https://youtu.be/szMGedsp9jc]] [https://youtu.be/szMGedsp9jc Getting started with STM32CubeMX]<br>

[[File:pc_videol.png|left|20px|link=https://youtu.be/6RqUkFIeN6w]] [https://youtu.be/6RqUkFIeN6w How to build a “Blink LED” project from STM32CubeMX for ST/Atollic TrueSTUDIO® for STM32™]<br>

[[File:pc_videol.png|left|20px|link=https://youtu.be/Z_Sn6CBbz-k]] [https://youtu.be/Z_Sn6CBbz-k STM32G0: Create a USB Power Delivery sink application]<br>


==STMicroelectronics Resources==
'''STM32CubeMX for STM32 configuration and initialization C code generation'''  
[https://www.st.com/content/ccc/resource/technical/document/user_manual/10/c5/1a/43/3a/70/43/7d/DM00104712.pdf/files/DM00104712.pdf/jcr:content/translations/en.DM00104712.pdf  UM1718]<br>

'''Release note'''  
[https://www.st.com/content/ccc/resource/technical/document/release_note/b2/02/4b/e3/81/32/49/c4/DM00107607.pdf/files/DM00107607.pdf/jcr:content/translations/en.DM00107607.pdf RN0094]<br>

<noinclude>

[[Category:STM32CubeMX]]
{{ArticleBasedOnModel | Example tools article}}
{{{{PublicationRequestId | 14849| 2020-02-06 | AnneJ}}
<noinclude>

[[Category:STM32CubeMX]]</noinclude>
Line 1: Line 1:
 
[[File:STM32CubeMX official.png|center|x400px|link=https://www.st.com/stm32cubemx]]
 
[[File:STM32CubeMX official.png|center|x400px|link=https://www.st.com/stm32cubemx]]
{{ArticleBasedOnModel | Example tools article}}
 
   
 
==STM32CubeMX overview==
 
==STM32CubeMX overview==
 
'''STM32CubeMX''' is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation, through a step-by-step process, of the corresponding C initialization code for the Arm<sup>®</sup> Cortex<sup>®</sup>-M cores or a partial Linux<sup>®</sup> Device Tree for Arm<sup>®</sup> Cortex<sup>®</sup>-A core.<br><br>
 
'''STM32CubeMX''' is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation, through a step-by-step process, of the corresponding C initialization code for the Arm<sup>®</sup> Cortex<sup>®</sup>-M cores or a partial Linux<sup>®</sup> Device Tree for Arm<sup>®</sup> Cortex<sup>®</sup>-A core.<br><br>
 
The first step consists in selecting the STMicroelectronics STM32 microcontroller or microprocessor that matches the required set of peripherals.
 
The first step consists in selecting the STMicroelectronics STM32 microcontroller or microprocessor that matches the required set of peripherals.
  +
 
For microprocessors, the second step configures the GPIOs, performs the clock setup for the whole system, and interactively assigns the peripherals either to the Arm<sup>®</sup> Cortex<sup>®</sup>-M or to the Cortex<sup>®</sup>-A world. Specific utilities, such as DDR configuration and tuning, make it easy to get started with STM32 microprocessors. For the Cortex<sup>®</sup>-M core, the configuration includes additional steps that are identical to those described for microcontrollers.
 
For microprocessors, the second step configures the GPIOs, performs the clock setup for the whole system, and interactively assigns the peripherals either to the Arm<sup>®</sup> Cortex<sup>®</sup>-M or to the Cortex<sup>®</sup>-A world. Specific utilities, such as DDR configuration and tuning, make it easy to get started with STM32 microprocessors. For the Cortex<sup>®</sup>-M core, the configuration includes additional steps that are identical to those described for microcontrollers.
  +
 
For microcontrollers and microprocessor based on the Arm<sup>®</sup> Cortex<sup>®</sup>-M core, the second step consists in configuring each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and a utility that configures the peripherals (such as GPIO or USART) and the middleware stacks (such as USB or TCP/IP).
 
For microcontrollers and microprocessor based on the Arm<sup>®</sup> Cortex<sup>®</sup>-M core, the second step consists in configuring each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and a utility that configures the peripherals (such as GPIO or USART) and the middleware stacks (such as USB or TCP/IP).
  +
 
Eventually the user launches the generation that matches the selected configuration choices. This step generates the C initialization code for the Arm<sup>®</sup> Cortex<sup>®</sup>-M core, ready to be used within several development environments, or a partial Linux<sup>®</sup> device tree for the Arm<sup>®</sup> Cortex<sup>®</sup>-A.
 
Eventually the user launches the generation that matches the selected configuration choices. This step generates the C initialization code for the Arm<sup>®</sup> Cortex<sup>®</sup>-M core, ready to be used within several development environments, or a partial Linux<sup>®</sup> device tree for the Arm<sup>®</sup> Cortex<sup>®</sup>-A.
  +
 
STM32CubeMX is delivered within STM32Cube Packages.<br>
 
STM32CubeMX is delivered within STM32Cube Packages.<br>
   
Line 24: Line 27:
 
'''Release note'''   
 
'''Release note'''   
 
[https://www.st.com/content/ccc/resource/technical/document/release_note/b2/02/4b/e3/81/32/49/c4/DM00107607.pdf/files/DM00107607.pdf/jcr:content/translations/en.DM00107607.pdf RN0094]<br>
 
[https://www.st.com/content/ccc/resource/technical/document/release_note/b2/02/4b/e3/81/32/49/c4/DM00107607.pdf/files/DM00107607.pdf/jcr:content/translations/en.DM00107607.pdf RN0094]<br>
 
{{PublicationRequestId | 14849| 2020-02-06 | AnneJ}}
 
   
 
<noinclude>
 
<noinclude>
 
[[Category:STM32CubeMX]]
 
[[Category:STM32CubeMX]]
  +
{{ArticleBasedOnModel | Example tools article}}
  +
{{PublicationRequestId | 14849| 2020-02-06 | AnneJ}}
 
</noinclude>
 
</noinclude>