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

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
  • 2876 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
  • 1679 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
  • 3248 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
  • 773 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
  • 897 Views
  • 0 replies
  • 0 kudos