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 get TIM16 to run from LSI on STM32G030F6P6?

Try as I might in the STM32CubeMX I can't get TIM16 to use the LSI as the input. MX_TIM16_Init(); /* USER CODE BEGIN 2 */ // Start timer HAL_SuspendTick(); HAL_TIMEx_TISelection(&htim16, 1, TIM_CHANNEL_1); HAL_TIM_Base_Start_IT(&htim16);The...

0693W00000NpWRIQA3.png 0693W00000NpWR8QAN.png 0693W00000NpWQjQAN.png
RLour.1 by Associate II
  • 1349 Views
  • 4 replies
  • 0 kudos

using HSI16 on STM32L431KCU generate incorrect baud rate

I am trying to use HSI16 on STM32L431KCU but the usart is not generating the correct baud rate. I can only get the correct baud rate if using MSI. I use CubeMX to generate my code from attached dmc300_l4.ioc. Below is the clock tree for usart1 and us...

0693W00000NpNZIQA3.png 0693W00000NpNaQQAV.png
KChen.10 by Associate
  • 712 Views
  • 3 replies
  • 0 kudos

Resolved! Whack a mole with MxCube interrupt configuration

I am programming on the STM32L4R9I-EVAL dev board, but my project is configuredfor the STM32L4S9AII6. I am clocked at 120MHz.I have been fighting the following bug off and on for about 3 months. I queried for help on this a couple months ago and thou...

0693W00000Np0phQAB.png
MFolk.1 by Senior
  • 1448 Views
  • 5 replies
  • 0 kudos

Resolved! CubeMX V6.5.0: bug in generated ethernetif.h file.

CubeMX version 6.5.0 generates the following line in <project>/LWIP/target/ethernetif.h:static void ethernetif_input(void const * argument);Previous version 6.4.0 generated this:void ethernetif_input(void const * argument);The 'static' storage class ...

Pls help to check my ADC DMA settings for NUCLEO-F767ZI

I would like to configure ADC1 and ADC2 as dual interleaved mode, for continues ADC conversion. And use DMA to transfer the converted data to RAM.The goal is to implement a continues ADC at the fastest sample rate with dual interleaved mode (4.5MSPS)...

0693W00000NpHFgQAN.png
SSong.3 by Associate
  • 427 Views
  • 0 replies
  • 0 kudos

CubeMX side by side install vs.firmware packages

I've installed STM32CubeH7 library 1.10.0 manually from github.I have CubeIDE 1.7 and CubeMX 6.3. Since they both do not understand STM32CubeH7 library version 1.10.0, I've installed CubeMX 6.5 side by side with v. 6.3.​The package manager of CubeMX ...

Pavel A. by Super User
  • 543 Views
  • 0 replies
  • 0 kudos