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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1756 Views
  • 0 replies
  • 2 kudos

Self-assignment warning bug

This warning is occurring in the STM32U5xx HAL driver's low-level ADC header file (stm32u5xx_ll_adc.h). The warning indicates there's a self-assignment of a variable analog_wd_monit_channels where a variable is being assigned to itself. STM32CubeMX/T...

Jiajin by Associate II
  • 761 Views
  • 3 replies
  • 0 kudos

STM32H7RS XSPI Req2AckTime assert failure

Using STM32H7R3L8HxH with external Flash and PSRAM. STM32CubeIDE version is 1.19.0 MxCube version is 6.15.0.MX XSPI1 and XSPI2 initialization functions do not set sXspiManagerCfg.Req2AckTime value. Here is XSPI1 code:static void MX_XSPI1_Init(void) {...

mkrk_0-1755072749414.png mkrk_1-1755072764856.png
mkrk by Associate III
  • 654 Views
  • 1 replies
  • 0 kudos

use AZRTOS or USB VCP, you can only use one

hello, I usually design borad with stm32g474vet6, i use USB VCP as serial debug port, juse insert to usb port of PC, then can use printf to print debug information. this time, i want to use threadX OS, that is, AZRTOS, when i config AZRTOS with stm32...

dqsh06_0-1754986529261.png
dqsh06 by Senior
  • 599 Views
  • 2 replies
  • 1 kudos

Resolved! Clarifications on the Tim1 settings in Cube Mx

I have the following settings in Cube Mx for TIM1The TIM1 is used for PWM generation, but the slave mode, trigger source, clock source are disabled then how Tim1 receives the clock for pwm generation.For TIM4 it is clearly statedSo i assume it will b...

STuser2_0-1754838526230.png STuser2_1-1754838739218.png STuser2_2-1754838838981.png
STuser2 by Senior III
  • 1028 Views
  • 5 replies
  • 1 kudos

[Solution] STM32 HAL SPI Slave HardFault if using Abort

Hi all,Recently I faced pretty bug in the HAL implementation. I am using STM32F103 with CubeMx 6.12.1 HAL, (but inside the SPI C-code I saw 2016th year).SPI configured as Full-Duplex slave (using HW NSS, but it's doesn't matter).Sometimes I had to ab...

remixoff by Associate II
  • 1046 Views
  • 5 replies
  • 1 kudos

Missing USER_VECT_TAB_ADDRESS leads to debug issue

I see it's been a while but I ran into this today. Apparently system_stm32g4xx.c that is automatically generated by STM32MX no longer sets SCB->VTOR unless you define USER_VECT_TAB_ADDRESS in that file. When programming that doesn't cause an issue bu...

BobbyBeta by Associate III
  • 711 Views
  • 2 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.