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

SERIOUS Problem with clock configuration STM32L051K6U6TR

Hi community,I have a serious problem with this microcontroller STM32L051K6U6TR. I have created a code using STM32CubeIDE and based on STM32CubMX wizard creator, however, the clock is set up to match the microcontroller & its peripherals (USART, I2C,...

0693W00000Lz4roQAB.png 0693W00000Lz4tBQAR.png
EBdhaifi by Associate II
  • 2297 Views
  • 9 replies
  • 0 kudos

Mxcube SLIP interface example

Hello,I want to make a simple TCP/IP link from STM32 to Linux PC by using UART interface.I've also tried to configure LWIP + FreeRTOS using SLIP interface, however it still doesn't work.Hi everyone does anyone have experience of bring up LWIP with SL...

MATLAB does not recognize STM32CubeMX

When I try to build and generate code for my model on matlab/simulink I recieve the following error:The call to stm32_make_rtw_hook, during the entry hook generated the following error: getSTM32CubeMxPath:PathNotFound for 'C:\Program Files\STMicro...

Birey by Associate
  • 952 Views
  • 1 replies
  • 2 kudos

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
  • 895 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
  • 1347 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
  • 711 Views
  • 3 replies
  • 0 kudos