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

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
  • 863 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
  • 5032 Views
  • 12 replies
  • 0 kudos

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
  • 936 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
  • 1045 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
  • 829 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
  • 713 Views
  • 2 replies
  • 1 kudos