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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1578 Views
  • 0 replies
  • 2 kudos

Resolved! STM32G474RB,128K flash,then datasheet show that 512K。And does RB and dual bank mode?

1�?why datasheet show that STM32G474RB has 512K Flash。But STM32CubeMX show 128K?2�?does the STM32G474RB has dual bank mode?3�?STM32G474RE,when dual bank,bank1——0x0800 0000~0x0803 FFFF,bank2——0x0804 0000~0x0807 FFFF。so if STM32G474RB has dual bank mod...

csinu by Associate II
  • 1444 Views
  • 2 replies
  • 0 kudos

HAL USART DMA buffer reset method?

Hi Community, I find a method to reset a buffer of USART DMA Buffer.because I use USART DMA basically.​my system is consist of android smartphone, bluetooth and microcontroller(STM32F407VET), PC​when I click a button that implemented in a android, so...

BSang by Associate III
  • 7463 Views
  • 12 replies
  • 0 kudos

Cannot use printf with floats on a Cube generated System Workbench project for STM32F429i discovery board.

Used cube to generate a project with default settings for STM32F429I disco board plus CMSIS V2 RTOS and USART 2 half duplex transmit only . Generated the code for System Workbench.I retargeted _write() and provided __io_putchar(). I added -u _printf_...

STM32H750 DMA cannot generate PWM

I am trying to use the DMA of the STM32H750 to generate a specific PWM, but it does not output any waves.HAL_TIM_PWM_Start(&htim2,TIM_CHANNEL_4); __HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_4,50);This is the code that usually generates pwm, it works, I ...

0690X00000AAEG0QAP.png 0690X00000AAEG5QAP.png 0690X00000AAEGAQA5.png 0690X00000AAEGFQA5.png
Ray G by Associate
  • 1939 Views
  • 3 replies
  • 0 kudos

is it possible to configure three ADCs of the STM32F4, ADC1 and ADC2 in dual interleaved and ADC3 independent?

Dear All,Please consider STM32F407. I tried to configured its three ADCs: ADC1 and ADC2 in dual intereleved and ADC3 in independent mode using CubeMX. BUT it is impossibe the job using that. Is it possible to moddify the CubeMX's generated code to wo...

rsharifi9 by Associate III
  • 2255 Views
  • 4 replies
  • 0 kudos

Resolved! USB VCP not working (Code 10) STM32H7 / Cube V 5.3

I have a new project on an STM32H743 and thought it is a good idea to start this one with the latest version of CubeMX (5.3.0.) and the latest HAL library (1.5.).As I already have several systems running with USB VCP (STM32F746 and STM32H743) which w...

GS1 by Senior III
  • 1434 Views
  • 2 replies
  • 0 kudos

BUG: Incorrect HSE clock (STM32G474)

When using an external crystal in the MXcube for the STM32G474 mcu.conditions:Change High Speed Clock (HSE) to Crystal/Ceramic Resonator in the pinout & Configuration tab pageChange the input frequency to 16Mhz in the Clock configuration tab pageAfte...

OGhis by Senior
  • 1313 Views
  • 2 replies
  • 1 kudos

How to change ADC channel with STM32L010

Hello,i am struggling with ADC conversion with STM32L010 because every new conversion overide the other channels. So i got on each channel the same result when i change the resistance on PA6. On PA4 and PA5 there is a 100k NTC connected.I use PA4 (AD...

ledi001 by Senior
  • 2539 Views
  • 1 replies
  • 0 kudos

STM32H7 - Not all initialization code generated

After starting a new project for STM32H745ZI, i have had a lot of issues with code that is generated incompletely:GPIO initialization is missingFreeRTOS initialization is missing (depending on code generation settings)HAL_IncTick() is sometimes not c...

JDesm by Associate
  • 1621 Views
  • 2 replies
  • 0 kudos