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

Resolved! STM32F103 & STM32F334 DAC + DMA Error.

STM32F334 DMA + DAC.After CubeMX: MX_DAC1_Init(); MX_DMA_Init(); MX_DAC2_Init();DAC2 working, DAC1 don't workingAfter editing: MX_DMA_Init(); MX_DAC1_Init(); MX_DAC2_Init();DAC1 and DAC2 working.The same for STM32F103. MX_DAC_Init(); MX_DMA_Init();Er...

SGorb by Associate
  • 1050 Views
  • 2 replies
  • 0 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
  • 1650 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
  • 847 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
  • 1748 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
  • 517 Views
  • 0 replies
  • 0 kudos