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

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
  • 1724 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
  • 4664 Views
  • 2 replies
  • 0 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
  • 840 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
  • 2044 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
  • 1153 Views
  • 3 replies
  • 0 kudos