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
  • 1257 Views
  • 0 replies
  • 2 kudos

STM32F4 HAL SPI NSS won't work with baudrates below 1 MBaud

Posted on February 11, 2017 at 19:50 Hi, I'm trying to set up a SPI connection for an AS5311 sensor on my STM32F I want to use the hardware controlled NSS signal, which is working pretty well - but only for high baudrates. I am using CubeMX...

Nils F by Associate
  • 2201 Views
  • 2 replies
  • 0 kudos

STM32F072B PWM Large rising and falling time

Posted on January 25, 2017 at 09:50 Hi everyone, I try to generate PWM signal usingSTM32F072B. I set the PA0 as TIM2 and set channel 1 to PWM Generation and set the GPIO maximum output speed to high. The other configurations aredefault. In the ma...

kk tan by Associate
  • 1626 Views
  • 2 replies
  • 0 kudos

Resolved! Bug Report: CUBEMX 4.18.0 no trigger selection on ADC

Posted on January 12, 2017 at 01:57Upgrading from 4.17 to 4.18 has silently removed the selection of external triggers from ADC2 on an F303RE. Not only are the selections missing from the generated code, the option in the UI is missing as well.Manua...

CUBEMX and TIM1 channel 1 PWM generation

Posted on February 08, 2017 at 13:09Hi in CUBEMX for a L476XX I would like to set up a PWM channel. In the pinout tab of cube under TIM1 I can choose between 'PWM generation ch1' and  'PWM generation ch1N'. So is it like it just switches the pin for...

[CubeMX] USB CDC library

Posted on June 03, 2015 at 11:37Hi,I've recently try to use code generated by CubeMX to prepare simple USB<->UART converter. Everything goes almost ok but inside function CDC_Control_FS(...) [usbd_cdc_if.c] in case ''CDC_SET_LINE_CODING'' inside buf...

licencje1 by Associate II
  • 2007 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeMX and LL driver support

Posted on February 03, 2017 at 09:15Hello,I am guessing that code generation with LL drivers is not yet supported for product families such as F1 and F0, although it is a bit confusing that in New Library manager F0 drivers claim LL support from ver...

oversc0re by Associate II
  • 1909 Views
  • 3 replies
  • 0 kudos

STM32F334 Programm doen't start withoput manual reset

Posted on December 12, 2016 at 09:49Hi there,I have a set of 3 pcb's that i am testing I have written a programm that used to work on a previous versionof the pcb, and there have been minor changes between the 2 Version.The problem is that when i ru...

eg7963 by Associate III
  • 1628 Views
  • 4 replies
  • 0 kudos

Resolved! CubeMX: FreeRTOS USE_TICKLESS_IDLE

Posted on February 01, 2017 at 16:15In the last CubeMX version (4.19) the USE_TICKLESS_IDLE option is missing. This disables the configUSE_TICKLESS_IDLE flag and the low power configuration.Is it a bug? Is any workaround available?PS: I've checked t...

Resolved! How can I prevent stm32cubemx v1.18 from deleting my files from the project Src directory and the EWARM project? [Solved with 4.19]

Posted on January 11, 2017 at 18:02In an IAR/EWARM environment, when I use STM32CubeMX 4.18.0 Project/Generate Code function the program seems to correctly generate its own files but deletes user (that is, my files) from both the EWARM project and f...