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

STM32CubeMX making file references when it's not desired.

Whenever I make a project with CubeMX, I explicitly tell it to copy the files it needs and to NOT make references in CubeIDE. Nothing making sharing projects more painful than eclipse references.That being said, I just started a project with an STM32...

0693W00000WKw9iQAD.png 0693W00000WKw9sQAD.png

Resolved! code generation fail with FreeRTOS in Trustzone at STM32L5

Hello,I want to generation code with FreeRTOS in Trustzone at STM32L562ZET6Q.I want to use FreeRTOS in Non-Secure Zone.So, I enabled FreeRTOS in Middleware division.And, I want to change about Timebase Source in SYS_NS.But, all timers are disabled(in...

0693W00000WKMW2QAP.png 0693W00000WKMVnQAP.png 0693W00000WKMY3QAP.png

STM32U575 ADC DMA Interrupt not working

I have Nucleo U575ZI-Q board and I am trying to unable ADC with DMA and Interrupt but not able to get any reading. I am trying to see the adcBuf value in live expression but it is not working./* USER CODE BEGIN Includes */ #define max_channel 2 uint3...

Bhavik by Associate III
  • 1328 Views
  • 7 replies
  • 0 kudos

STM32F7 ADC with DMA and watchdog

I've been trying to use the ADC of an STM32F7 so that when the level exceeds a certain threshold it start to sample the input continuously. Here is the configuration. Then I have implemented the code as followsvolatile ITStatus adc1OutOfWindow = RESE...

0693W00000WKitNQAT.png 0693W00000WKitSQAT.png 0693W00000WKitXQAT.png
JVALL.1 by Associate III
  • 800 Views
  • 1 replies
  • 0 kudos

USB Tx-state Busy

Hi,I have an application running on STM32F429ZIT6 using USB stack to communicate with PC client.MCU receives one type of message of 686 bytes every second and receives another type of message of 14 bytes afterwards with 0,5 secods of delay between me...

Resolved! New STM32CubeMX has some major bugs ! (6.7.0)

Hello, Updated CubeMX as well as H7 libraries, and now see problems with clock configurator, as well as some LL function calls in system clock init has no definition !STM32H743XI should have 480MHz clock...  And if we generate code, we get problems ...

0693W00000WKgF6QAL.png 0693W00000WKgEwQAL.png
Linas L by Senior II
  • 2113 Views
  • 7 replies
  • 0 kudos

Resolved! Incorrect code generation

Hello,I've created a new project and it seems like code wasn't generated as it should.Modified only clock configuration and added FREERTOS to my project.I think here tasks should be started, instead I have duplicate for header:Is it normal, have I mi...

0693W00000WKa7zQAD.png
KWoźn.1 by Associate
  • 944 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE 1.11.0 and CMSIS V2

In a STM32 project using FREERTOS with CMSIS V2, there is not automatic generation of thread creation calls in main function, likedefaultTaskHandle = osThreadNew(StartDefaultTask, NULL, &defaultTask_attributes);Is it supposed to be the programmer who...

JCama.1 by Associate
  • 1253 Views
  • 2 replies
  • 0 kudos