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

STMHAL STM32L152RETx - If you use TIM2 as the timebase source, it will assert in HAL_NVIC_SetPriority() due to uwTickPrio not being set in the TIM2 version of HAL_InitTick()

I set TIM2 as the timebase and then enabled full hal assertion via STM32cube. It asserted in ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:197Stack trace:Thread #1 (Suspended : Signal : SIGINT:Interrupt) assert_failed() at main.c:455 0...

Resolved! RCC is Partly disabled conflict with USART2

Sorry for my silly questions ,but i am having a hard time understanding the exclamation marks in cubeMX .if somebody could please guide me here .it will be much appreciated.Example:the RCC is shown as partically disabled.i have use LSE (crystal/ cera...

0693W00000NpgxKQAR.png 0693W00000Nph1uQAB.png
Douma.1 by Associate II
  • 5201 Views
  • 4 replies
  • 0 kudos

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
  • 2524 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
  • 1034 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
  • 984 Views
  • 2 replies
  • 0 kudos