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

STM32F446 CAN as MASTER MODE Not able to add these codes these in static void MX_CAN1_Init(void) hcan1.pTxMsg=&myTxmessage; hcan1.pRxMsg=&myRxmessage;

Hello I have configured my STM32F446RE MCU as master mode for CAN communication using STM32CUBEMX version 5.1.0 ..I have generated the code in uVision5-Keil .I'm not able to change the function--static void MX_CAN1_Init(void) where i need to include ...

0690X000008BVmgQAG.png
Reshma by Associate II
  • 1324 Views
  • 7 replies
  • 0 kudos

Resolved! Input Cupture values sometime skipped on DMA Circular mode

My environment is Nucleo-F446RE(STM32F446) with TrueSTUDIO / CubeMX on Windows 10.I tried to get a 6MHz frequency signal by Input Capture module. However, modules often skip timer values./* Private user code ------------------------------------------...

0690X000008vvhoQAA.png 0690X000008vvhtQAA.png 0690X000008vvhyQAA.png
Tank2005 by Associate II
  • 820 Views
  • 2 replies
  • 0 kudos

How to generate a white noise with the DAC on STM32L1

Hi everyone,I am currently trying to generate a white noise using my Nucleo STM32L152RE but I do not reach to achieve it.I used CubeMX to create the init functions.You can see attached the settings for the DAC ( using the OUT1 configuration) in cubeM...

MJouv by Associate
  • 2139 Views
  • 2 replies
  • 0 kudos

STM32L431 LPTIM2 mode Stop 2

In the datasheet page 25, it is indicated that in mode stop 2 LPTIM2 is frozen. But in STM32CubeMx Version 5.2.0 we can see that LPTIM2 Clock mux can choose LSE so the timer is not frozen. Is there an error in the datasheet?

Mich1 by Associate III
  • 772 Views
  • 3 replies
  • 0 kudos