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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 363 Views
  • 4 replies
  • 5 kudos

How to change SPI module baud rate at run time

Hello Support Team,Currently, I am working on the STM32H745-Disc board.In that, I have used the SPI2 module and I have also configured the baud rate as a 3Mbit/s using the STM32CubeMX configuration tool and generated code for the same. (SPI Init done...

HPate.10 by Associate III
  • 1885 Views
  • 2 replies
  • 0 kudos

Resolved! Callback function for HAL_TIM_OnePulse_Start_IT?

How do I get a callback function for the HAL_TIM_OnePulse_Start_IT function?I have a STM32G071 Nucleo board.I whish to start a one-shot timer that calls an interrupt callback function when the time has elapsed. For this I have chosen the timer 6 and ...

FwMaker by Associate II
  • 5012 Views
  • 2 replies
  • 1 kudos

Resolved! STM32cubeIDE + Segger embOS package: CodeGeneration with "Generate peripherial initalization as pair of '.c/.h' files"

Hi,not sure if this is an question regarding ST or Segger, but i will start here:Problem:New Project (my example uses the Nucleo-H723ZG board) with SEGGER_I-CUBE-embOS software package included (like from the wiki.segger.com under Using_I-CUBE-embOS_...

MHoh.1 by Associate
  • 942 Views
  • 1 replies
  • 0 kudos

Resolved! legacy interrupt handlers in cubemx 6.6.0

I'm trying to get into UART interrupt. It used to be copying the 'weak' function declaration and declare our own in main such as:main() { .... void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {     // usr code here   } .... }  However, this ap...

ksale.1 by Senior
  • 2204 Views
  • 13 replies
  • 0 kudos

STM32F767 USB OTG. USB device not recognized, error 2B (43).

I'm using Nucleo F767ZI. I'm running the default program composed by CubeMX (all is up to date).No errors in the MCU side (USB init etc.)I also define 3 UARTS (3, 4 and 7), I2C1, SPI3, DAC, ADC3. No conflicts.Heap 0x1000. Stack: 0x600.Clock: HSE Bypa...

ONach.1 by Associate
  • 1242 Views
  • 3 replies
  • 0 kudos