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

The calls to MX_DMA_Init and MX_USART2_UART_Init are generated in the wrong order. The DMA must be initialized first or the UART initialization silently fails to apply the proper configuration. There is no error but the UART doesn't work.

STM32CubeIDE 7.0Nucleo F401REI configured the board for USART2 DMA operations as in the UART_Hyperterminal_DMA example. The generated code called MX_USART2_UART_Init followed by MX_DMA_Init but this ordering does not work. The calls to set the DMA CR...

MScha.8 by Associate II
  • 1184 Views
  • 2 replies
  • 0 kudos

Resolved! How can I configure PHY 8720A in CubeMX?

Posted on June 11, 2018 at 20:22Hi,In the Advanced Parameters of the ETH configuration, there is only the LAN8742A external PHY configuration. Is it possible to use an other external PHY (like 8720A) using CubeMX?I tried with the user PHY, but I don...

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
  • 1068 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
  • 650 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
  • 1465 Views
  • 5 replies
  • 0 kudos