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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 831 Views
  • 5 replies
  • 7 kudos

Resolved! STM32F730 CAN LOOPBACK - not receiving

i'm using STM32F730 and trying to use CAN in LOOPBACK mode.i'm using HAL_CAN for programming and STM32MXcube for configuration purpose.The transmission is successful (TXOK0=1 and RQCP0=1) but i'm unable to observe any activity in receiver FIFO. i hav...

NSing.5 by Senior
  • 1317 Views
  • 2 replies
  • 1 kudos

Why doesn't CubeMX set register HRTIM_TIMxDIER = 0x0008 when I have configured HRTIM Timer A to interrupt on CMP4? It is left at value = 0.

Nucleo F334R8. I setup HRTIM Timer A to generate 2 pulses per HRTIM cycle with Compare 1,2, 3 and 4 registers and this generates the expected outputs. However HRTIM_TIMxDIER is left at 0 by the cube MX code.Under NVIC settings for HRTIM1 I have ticke...

ORidl.1 by Associate
  • 797 Views
  • 1 replies
  • 0 kudos

Incorrect code generation for UART5 of F767

I generate code for stm32f767. I use software package 1.16.0 I want to use UART5 in auto baud mode via 0x55 symbol. And USART3 the same. Why code is different?static void MX_UART5_Init(void){ /* USER CODE BEGIN UART5_Init 0 */ /* USER CODE END UART...

Resolved! STM32CubeIDE generates reproducible erroneous code for the STM32L412 Nucleo-64 using ADC1 or ADC2 after a recent update to 1.7.0

STM32CubeIDEVersion: 1.7.0Build: 10852_20210715_0634 (UTC)In AL_ADC_MspInit an erroneos line is generated after a recent update of STM32CubeIDE and has to be commented out:PeriphClkInit.AdcClockSelection = ADCCLockSelection;The following error messag...

MWest.2 by Associate
  • 1792 Views
  • 5 replies
  • 0 kudos