STM32CubeMX (MCUs)

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

STM32CubeIDE v1.8 generation error

/** * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { GPIO_InitTypeDef GPIO_InitStruct = {0};   /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOB_CLK_ENABLE(); __HAL_RCC_GPIOC_CLK_ENABL...

ivainc by Associate III
  • 958 Views
  • 3 replies
  • 0 kudos

Incorrect code generation for PLL of F767

I want to use HSI, not external component to generate frequency. I generate code by CubeIDE only (pack 1.16.1), there is no my code. I only add define USE_FULL_ASSERT and implement void assert_failed. But CubeIDE's code fails on assert_param(IS_RCC_P...

0693W000008xivuQAA.png 0693W000008xiw4QAA.png

CubeIDE strange build behaviour

I know, it's not easy to get this answer this way. I have a working F446RE code with CubeMX generated base in CubeIDE. I use the LL drivers and just simple int and string variables, not any dynamic memory handling. In some cases if I insert a new cod...

Peterb by Associate
  • 885 Views
  • 5 replies
  • 0 kudos

Resolved! SAI slot number bug in CubeMX 6.4.0

Datasheet claims that with FSDEF=0 (FS signal is start frame, not channel identificaion) i can set up number of slots (NSBLOT) to any value. In my case 1. CubeMX claims that it must be equal two (which is not true). When i try to set value to 1, then...

stm32h7b0vb ADC+dma always Overrun Error

ADC Trigger from Timer,DMA transmit ,and then Always Overrun Error, buffer address @0x30000000.Data can not be transferred to buffer correctly,ADC1 register DR is 0x801 while buffer is 0x01.

0693W00000HpnN9QAJ.png
wjun.1 by Associate
  • 813 Views
  • 3 replies
  • 0 kudos

Resolved! Simple ADC configuration - STM32G0 specific problem

Porting a working solution from STM32L031 to STM32G0B1 I try to configure ADC in CubeMX . It is a very simple, typical setup. 3 channels converted in "one shot" mode with DMA, triggered by slow 1Hz timer.All I am getting is HAL_ADC_ErrorCallback(), s...

0693W00000Hq3SUQAZ.png 0693W00000Hq3SZQAZ.png 0693W00000Hq3WMQAZ.png 0693W00000Hq3WHQAZ.png
TDJ by Lead
  • 1655 Views
  • 3 replies
  • 0 kudos

Is there a way to provide relative paths to the script file to be deployed during command line build of an STM32CubeMX project?

I am trying to configure the project settings via a script file for a command line build of my STM32CubeMX project and I intend to provide the relative path to the parameter- "project path", "generate code" etc. However, it does not accept the relati...

Jansunil by Associate II
  • 681 Views
  • 1 replies
  • 0 kudos