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

STM32H7 SDMMC1 / FatFs / MDMA Not working

Hello,does anyone have experience with using SDMMC1 (1 bit-mode) and FatFs with enabled dma template on a STM32H730VBTx controller?Without dma template I got it working (but it is requiered for FreeRtos)I am using CubeMx in Version 6.1.1Sorry, I am n...

MBrön.1 by Associate
  • 1955 Views
  • 6 replies
  • 1 kudos

F3 Discovery Analog not configuring DMA correctly

I am trying tio use DMA on 3 different channels under DMA. The cube configurator seems to be incorrecta) It does not see that an ADC is configured and make it greenb) The code produced does not clear the DMA Half Complete interrupt c) The IDE configu...

shorai by Associate III
  • 564 Views
  • 0 replies
  • 0 kudos

I cannot find a program example (HAL_TIM_IC_CaptureCallback() for the input capture mode described in 14.3.6 PWM input mode (13902_STM32_ReferenceManual_11.pdf ). The attached user code works as I expect, but it is unclear to me if everything is correct.

volatile uint32_t udwIC1_Val1 = 0;volatile uint32_t udwIC2_Val1 = 0;volatile uint16_t uwDuty_Cycle = 0;void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef* htim){ if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_1) { udwIC1_Val1 = htim->Instance->CCR1; udwI...

0693W00000APLUMQA5.jpg
RGünt.1 by Associate II
  • 827 Views
  • 2 replies
  • 0 kudos

Inverting UART TX Pin in STM32F103

Hello,I'm porting code from STM32F072 to STM32F103. In F0 I had a option in CubeMX to invert UART Tx pin polarity and it worked very well. I do not have this option in F103's. Is there any way to invert polarity in this uC?BR, Daniel

DKarc by Associate II
  • 3945 Views
  • 2 replies
  • 0 kudos

Nucleo-H753ZI BUG in default configuration

TM32Cube ver 1.6.1 MX ver 6.2.1 with STM32Cube_FW_H7_V1.9.0 - select Nucleo-H753ZI with default configuration and generate new project - add some activity like HAL_GPIO_WritePin(GPIOB, LD3_Pin, GPIO_PIN_SET); HAL_Delay(1000); HAL_GPIO_WritePin(GPIOB,...

mbarg.1 by Senior III
  • 1328 Views
  • 6 replies
  • 0 kudos