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! 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 have attached my code. i have not configured any filters till now, as i'dont want to use them. is it necessary to configure them for receiver purpose. plz guide me where i'm wrong. is there any problem with my bit timing. i have used 120ohm resisto...

NSing.5 by Senior
  • 1137 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
  • 732 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
  • 1658 Views
  • 5 replies
  • 0 kudos