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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

CubeMx cube-cellular expansion IPV6 support?

I am working on a project which use cubeMX cellular expansion package, it works fine for IPv4.Now I am enabling IPV6.I found even LwIP supports the IPv6, the expansion package has very limit support for that.For example, the IP interface of STM32_Ce...

jiangpen by Associate II
  • 608 Views
  • 0 replies
  • 0 kudos

CubeMX generates a wrong case init in void SystemClock_Config(void) (main.c). I changed this line manually, is there workaround or an automation for this ?

/** Initializes the CPU, AHB and APB buses clocks */ //RCC_ClkInitStruct.ClockType = ClockTypeHCLK|ClockTypeSysClk // |ClockTypePCLK1|ClockTypePCLK2;   //Has to be: RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSC...

Brieuc by Associate III
  • 656 Views
  • 2 replies
  • 0 kudos

Resolved! How to read clock frequencies from code? Even a #define for the hardcoded startup values would be useful.

CubeMX allows one to enter clock frequencies and have all the registers to be set back calculated. Great! This saves much fiddling. However... is there anyway for the code to determine, for example, what the frequency if a clock going to the ADC is w...

FColl.1 by Associate III
  • 747 Views
  • 3 replies
  • 0 kudos

Resolved! HAL & STM32CubeMx

I will be working with some STM32F4 processors soon and so I am doing some reading ahead. What I am not clear on is if I use HAL to setup I/O or peripherals do I need to use STMCubeMX to set up the pins?Can STMCubeMX (pin editor?) be opened from IDE?...

MKent.1 by Associate
  • 530 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX/CubeMXIDE F469I-Disco board generates incomplete SDIO code in main.c Latest versions, code sets hds1.init variables then ends section. MX_SDMMC1_SD_Init never calls anything. What's going on?

Have tried with earlier versions of CubeMX, different computer. Does the same thing. Do not see any use of the init structure (which is local). SD card is not initialized properly. Complete code generated is:tatic void MX_SDMMC1_SD_Init(void) {  ...

ADC sampling rate is different from the set value

I want to run the ADC using DMA and Dual mode.The sampling rate was set to 80kS / s using TIM3. The board I am using is Nucleo 64 STM32 F446.In order to confirm whether the ADC is really running at 80kS / s, I described "HAL_GPIO_TogglePin" in "DMA2_...

0693W00000GVzYFQA1.png 0693W00000GVzY5QAL.png 0693W00000GVzY0QAL.png 0693W00000GVzXlQAL.png
TNish.2 by Associate II
  • 1460 Views
  • 6 replies
  • 0 kudos