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

Resolved! Why can't i enable SDIO in CubeMX on NucleoL452RE(P) while it is possible on the corresponding spare MCU

Hi,I bought some NUCLEO-L452REP (wich include STM32L452RET6 MCU with an SMPS support) particulary because of its SDIO interface.But this interface is not available (not displayed) in CubeMX for the nucleo while it is available if I choose the spare M...

0693W00000GY3wtQAD.png 0693W00000GY3wAQAT.png 0693W00000GY3xrQAD.png
FSULE.1 by Associate II
  • 833 Views
  • 2 replies
  • 0 kudos

Can't get RX callback interrupt to be triggered

I've followed this tutorial word by word and I'm not entirely sure why:1) Nothing is being written to that rx_buffer[]2) Why the void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) isn't being called/triggered as shown in the videoI'm also using ...

Conflict between 6.2.1 and 6.2.0 project

Step to reproduce:1) Generate a project in CubeMX v6.2.0 and save it2) Open and modify the 6.2.0 project with CubeMX v6.2.1 (no migration or wathever), save the project3) try to reopen the project with v6.2.0, these window will popup: I need to use t...

0693W00000BbETyQAN.jpg

Resolved! .ioc init sequence. I have cubeIDE v1.7.0, but uart3 is still initialised before DMA and this caused me hours trying to sort out a simple problem.

STM32CubeG4 Firmware Package V1.1.0 / 28-June-2019Question with a best answer.Best AnswerThis was reported in another thread and I wrote a ticket about it at that time. It will be fixed in an upcoming release.  by Markus GIRDLAND (ST Employee)

Read ADC using internal voltage reference in STM32L422KB

I am STM32L422 to measure ADC using internal reference voltage.My code is generated using CubeMX V6.2.I want to measure ADC from ADC1_IN1 using PA7.The data sheet says internal voltage is 1.2 V. Reading VREFINT register gave value 1658 which is 1.214...

0693W00000GXr1aQAD.jpg 0693W00000GXr20QAD.jpg
FLast.5 by Associate II
  • 2158 Views
  • 1 replies
  • 0 kudos

Resolved! DMA registers are not set correctly on STM32L052K8T6 Hello, I want to use the DMA to shift data from 9 ADC Channels into an Array. The problem is that I set up the ADC and the DMA in CubeMX. But the Registers of the DMA are not set correctly.

My CubeMX Setup: DMA:ADC:ADC NVIC:After I had done this, I generated theCode and Started the ADC and the DMA with the HAL_ADC_Start_DMA function. Thefunction Started the ADC as I wanted, but the Registers of the DMA are not setCorrectly.The DMA regis...

0693W00000GXM5cQAH.png 0693W00000GXM5wQAH.png 0693W00000GXM6QQAX.png 0693W00000GXM4aQAH.png
MMüll.5 by Associate II
  • 1890 Views
  • 8 replies
  • 0 kudos