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

Resolved! How to activate I/O compensation cell.

I was working with the test code of QSPI. I generated the code using the latest STM CUBMX ver 1.10.1. But after generation also it didn’t worked. Then I compared the code with the sample test code. There I found the below mentioned code patch in the ...

Resolved! STM32 ADC 16bits resolution

STM32 MCU has 12 bits ADC resolution, but some MCU claim "up to 16-bit with hardware oversampling". When I setup ADC in STMCubeMX, no option for "hardware oversampling", how to achieve 16-bit ADC resolution?

New.Fish by Associate III
  • 7540 Views
  • 9 replies
  • 0 kudos

stm32l0xx _ll_ spi.h not generating in my project

Hi all,I have just started working with stm32 and i am trying to port some example code from stm32f0 to stm32l0 board.When i configured my project on L073rz board with same configs in F0 series i am getting errors for some api's available in stm32l0x...

BChav.1 by Associate III
  • 1220 Views
  • 2 replies
  • 1 kudos

Sd card checkbox under FatFs is grayed out in STM32Cube IDE

I'm trying to set up FatFs to interface with an SD card over SPI. I know SDIO is faster, but my breakout board for the SD card only breaks out the pins nessesary for SPI. In the microcontroller configuration section of the STM32Cube IDE (what you get...

mcook.1 by Associate
  • 1547 Views
  • 3 replies
  • 1 kudos

Resolved! STM32F413VG TIM1 PWM generation trouble

I am having trouble getting the TIM1 timer on the STM32F413VG chip to output PWM to pin PE9. My configuration and code in STM32CubeIDE can be seen in the attached images. Have I done something wrong? Every example I have found out there skips TIM1 an...

0693W00000HrJccQAF.png 0693W00000HrJcXQAV.png 0693W00000HrJcNQAV.png
eidetech by Associate II
  • 1336 Views
  • 7 replies
  • 0 kudos

Changing duty cycle via DMA

Hi,I want to send via DMA different duty cycle to my TIM12 (I am trying to turn on a rgb led strip by using the method TIM+DMA ), but with CubeMx TIM12 don't have access to any DMA, any idea how I can reproduce?I am using STM32H7B3 and can't change t...

aabba.1 by Associate III
  • 477 Views
  • 1 replies
  • 0 kudos

How to set 80MHZ frequency of SPI4 of STM32h745Kii

Hello I am working on stm32h745 controller, I am configuring the DAC SPI . For the DAC minimum frequency is 80 MHz. I want to set that frequency for SPI4 , but uanble to set how I can set the 80 Mhz frequency to SPI4. How can I set that if I set th...

0693W00000WI0IJQA1.png
MDeva.1 by Associate II
  • 723 Views
  • 2 replies
  • 0 kudos

MDK-ARM V5 generator uses the wrong line endings(CRLF and not LF)

I've beenm struggling against some issues related to line-ending (CRLF vs LF) and git repos shared between different developers.And I discovered that MDK-ARM V5 generator in STM32CubeMX 6.6.1 under Windows generates the uvprojx file with the wrong li...

vix by Associate II
  • 1191 Views
  • 1 replies
  • 0 kudos