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.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

How to add core features of FreeRTOS

Hi everyone,Is there a preferred way of adding "core features" of FreeRTOS in a FreeRTOS application created by CubeMX? Do i have to add the respective files manually by copying them into my project?Unfortunately I found no built-in option in CubeMX....

CA_SUS by Associate II
  • 665 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX 6.4.0 STM32H750 Clock Issue

There seems to be a bug in the clock configuration for STM32H750XBHx. D1CPRE clock should be able to go up to 480MHz, but Cube won't take anything higher than 200MHz. HCLK is affected as well, can't set it to anything higher than 100MHzAndy

svcguy by Associate III
  • 1043 Views
  • 2 replies
  • 0 kudos

STM32 General Purpose Timer: Interrupt-Enable

Hello,on a STM32G474 I use "Basic timers" (TIM6, TIM7), as well as a "General Purpose Timer"(TIM4). For the "Basic Timers" I setup I2C devices an then enable the "Basic Timer"-Interrupt by calling HAL_TIM_Base_Start_IT . That works and the HAL_TIM_Pe...

0693W00000HoTzVQAV.png 0693W00000HoTzaQAF.png

Resolved! STM32CUBEMX code generation and pin configuration clarification

I noticed that some of the pins are configured in MX_GPIO_init() while others are not. They seem to have been configured somewhere else, so I'm not sure where to check if my pins were set properly. Also, some of the pin configurations are not updated...

JTurn.2 by Senior
  • 1479 Views
  • 5 replies
  • 0 kudos

I2C communication in ISR

Hello everybody,     I would need to use the HAL_I2C_Master_Transmit function in an ISR, in particular I would like to use it in the HAL_ADC_ConvCpltCallback function.I have seen that the HAL_I2C_Master_Transmit function calls HAL_GetTick() so I set ...

0693W00000Ho96fQAB.png

One shot pulse on different channels - same timer

I am trying to get both PWM CH1 and PWM CH2 to fire independently with TIM15.However, both are enabled at the same time.Using CubeMX to generate initialization function:void MX_TIM15_Init(void) {   /* USER CODE BEGIN TIM15_Init 0 */   /* USER COD...

Resolved! Request for documentation on CubeMX. There's a new item Project settings: Thread-safe settings, but it is not mentioned anywhere except for Release notes

In the release notes of CubeMX 6.3.0 it says:Added thread-safe locking support. It can be enabled or disabled in [Project manager]>[Project] Thread-safe SettingsIn the Project settings tab there's a new item: But it is not mentioned anywhere else. Ca...

0693W00000FDdshQAD.png