STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

CubeMX/LL/FreeRTOS

We use CubeMX to generate code for LL and FreeRTOS. After configuring the SYS timer to TIM14 in CubeMX, HAL_Init() and HAL_InitTick() in the generated stm32f4xx_hal_timebase_tim.c file use TIM14 as expected. LL_mDelay, however, is not generated and s...

clausf by Associate
  • 688 Views
  • 1 replies
  • 0 kudos

ADC Injected Conversion

I am trying to use the Pin ADC1_EXT11(PC11) and ADC1_EXT15(PA15) as ADC input sampling pins. But in the setting given in Cube IDE, if i enable injected conversion, additionally 2 pins are automatically getting configured for some reason. I don't know...

Screenshot 2024-10-15 110058.png Screenshot 2024-10-15 122703.png

Resolved! There is no Advanced Parameters tab on the Ethernet

Hello. I'm trying to use Ethernet MAC with external PHY (LAN8720) but when I try to configure the Ethernet on the IOC there is no Advanced Parameters tab (STM32F407VGT6). HAL Lib. version is 1.27.1. I tried a few things but I had no luck. I think I'm...

0693W00000bhMLPQA2.png
MrEmou by Associate II
  • 3071 Views
  • 6 replies
  • 0 kudos

Resolved! ADC dual mode

Hi i'm using MCU : STM32H743ZGT. At several ADC documents, it says that when ADC1 and ADC2 end sampling, the two results are stored in ADC_CDR together. The top 16 bits are the result of ADC2, or slave ADC, and the bottom 16 bits are the result of AD...

giwonKIM by Associate III
  • 1180 Views
  • 3 replies
  • 1 kudos

Resolved! To Generate 2 pwm with phase shift with same timers

 logic analyser picture has timer 1 channel 1 and another one is channel 2 it's duty 30% and frequency 100khz it's total ton+toff is 10 microseconds here I need to start the timer 1 channel 2 after 5 microseconds  I need the output like this I I'm dr...

1000012502.jpg 1000012503.jpg

How to update STM32CubeMX version in CubeIDE?

Hi,i want to import BLE_p2pServer example in CubeIDE 1.16.0 i got the message "This file has been generated with STM32CubeMX version '6.12.1'.Your current STM32CubeMX version is '6.12.0'." When i check for Updates, then I only have the option of upda...

2024-10-10_13h35_10.png 2024-10-10_13h36_10.png
ledi001 by Senior
  • 3638 Views
  • 7 replies
  • 1 kudos

FreeRTOS Middleware can not enable MPU function?

我正在使用STM32L431RCT6,我的 HAL 版本是最后一个。我想使用 FreeRTOS 的最后一个 API 让我的项目更稳定: BaseType_t xTaskGenericNotify( TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t *pulPreviousNotificationValue ) PRIVILEGED_FUNCTION; #define xTaskNotify(...

Wshuo1_0-1728564635757.png Wshuo1_1-1728564960228.png Wshuo1_2-1728564976868.png Wshuo1_3-1728564986038.png
Wshuo.1 by Associate II
  • 671 Views
  • 2 replies
  • 1 kudos