STM32 MCUs
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

How to install X-CUBE-AI through STM32CubeMX

This installation guide shows how to install the X-CUBE-AI expansion package through STM32CubeMX.  X-CUBE-AI is an STM32Cube expansion package that expands the capabilities of STM32CubeMX and is a part of the STM32Cube.AI ecosystem. It offers automat...

AMEMCUSupportCenterAD_0-1693955140456.png AMEMCUSupportCenterAD_1-1693951057612.png AMEMCUSupportCenterAD_4-1693960172543.png AMEMCUSupportCenterAD_5-1693960208871.png

How is my SPI's baudrate calculated using STM32CubeMX?

STM32CubeMX is a graphical tool that allows users to configure STM32 MCUs (microcontrollers) and MPUs (microprocessors) quickly and simply. In addition, the tool also assists in generating the corresponding initialization C code for the Arm Cortex-M...

StefanieLAU_1-1693987620071.png StefanieLAU_2-1693987620069.png StefanieLAU_3-1693987620073.png StefanieLAU_4-1693987620075.png

How can I output a clock signal to the STM32’s MCO pin?

STM32CubeMX is a graphical tool that allows users to configure STM32 MCUs (microcontrollers) and MPUs (microprocessors) quickly and simply. In addition, the tool also assists in generating the corresponding initialization C code for the Arm Cortex-M...

StefanieLAU_0-1693989229209.png StefanieLAU_1-1693989229188.png StefanieLAU_2-1693989229191.png StefanieLAU_3-1693989229204.png

How to configure the MPU of an STM32 using STM32CubeMX

How to configure the MPU of an STM32 using STM32CubeMX1. Introduction The MPU (Memory Protection Unit) is included in the Cortex-M4 and M7 based STM32 Microcontrollers (refer to specific product datasheets to confirm availability). The MPU can be use...

1760.png 1761.png 1762.png 1763.png

How to use STM32U5 with FreeRTOS™ in tickless mode

Introduction In this article, we cover the needed steps to use the FreeRTOS™ in tickless mode, specifically entering in STOP2 low-power mode with the STM32U5. In this example, we use the X-CUBE-FREERTOS™ pack with the LPUART and EXTI as the wake up s...

minor changes.jfif used by freeRTOS.png debounce filter.png baud rate.png

How to reach 480MHz for STM32H7xx MCUs

How to reach 480MHz on system clock for STM32H7xx MCUs using STM32CubeMX? You can reach 480MHz only for the following STM32H7 part numbers :  STM32H747/757 STM32H745/755 STM32H743/753STM32H742STM32H750 Note: For some parts, you need to check the maxi...

1672.png 1673.png 1674.png 1675.png
Foued_KH by ST Employee
  • 2646 Views
  • 0 comments
  • 4 kudos

How to implement USB Communication Device Class (CDC)

How to implement USB Communication Device Class (CDC)1. Communication of USB CDC in device mode For handling communication of USB CDC in device mode using legacy STM32 USB libraries are important 3 functions located in file usbd_cdc_if.c: CDC_Receiv...