STM32CubeMX STM32 configuration and initialization C code generation Data brief Features Intuitive STM32 microcontroller selection Microcontroller graphical configuration: – Pinout with automatic conflict resolution – Clock tree with dynamic validation of configuration – Peripherals and middleware functional modes and initialization with dynamic validation of parameter constraints – Power sequence with estimate of consumption results C code project generation covering STM32 microcontroller initialization compliant with IAR™, Keil™ and GCC compilers. Available as a standalone software running on Windows®, Linux® and OS X®(a) operating systems, or through Eclipse plug-in Description STM32CubeMX is part of STMicroelectronics STMCube™ original initiative to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio. STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initialization code using graphical wizards. It also embeds a comprehensive software platform, delivered per series (such as STM32CubeF4 for STM32F4 series). This platform includes the STM32Cube HAL (an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio), plus a consistent set of middleware components (RTOS, USB, TCP/IP and graphics). All embedded software utilities come with a full set of examples. STM32CubeMX is a graphical tool that allows configuring STM32 microcontrollers very easily and generating the corresponding initialization C code through a step-by-step process. Step one consists in selecting the STMicroelectronics STM32 microcontroller that matches the required set of peripherals. The user must then configure each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a powerconsumption calculator, and an utility performing MCU peripheral configuration (GPIO, USART, ..) and middleware stacks (USB, TCP/IP, ...). Finally, the user launches the generation of the initialization C code based on the selected configuration. This code is ready to be used within several development environments. The user code is kept at the next code generation. a. OS X® is a trademark of Apple Inc., registered in the U.S. and other countries. April 2016 DocID025727 Rev 5 For further information contact your local STMicroelectronics sales office. 1/4 www.st.com Ordering Information STM32CubeMX Figure 1. STM32Cube overview Ordering Information STM32CubeMX is available for free download from http://www.st.com/stm32cubemx. 2/4 DocID025727 Rev 5 STM32CubeMX Revision history Revision history Table 1. Document revision history Date Revision Changes 14-Feb-2014 1 Initial release. 19-Jun-2014 2 Updated Description and Figure 1: STM32Cube overview. 16-Jan-2015 3 STM32CubeMX extended to all STM32 series. 08-Feb-2016 4 Added Windows® and Linux® operating systems in Features. Removed mention of MicroXplorer tool in Description. Updated Figure 1: STM32Cube overview. 29-Apr-2016 5 Added OS X operating system. DocID025727 Rev 5 3/4 4 STM32CubeMX IMPORTANT NOTICE – PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. © 2016 STMicroelectronics – All rights reserved 4/4 DocID025727 Rev 5