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

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
  • 1016 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
  • 928 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
  • 1450 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
  • 763 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
  • 1540 Views
  • 5 replies
  • 0 kudos