STM32CubeMX (MCUs)

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

Right way to Enable/Disable/Re-enable ADC?

Hello:There is a significant amount of time between calls to the ADC peripheral and to save power I would like to shut it down. It does not seem the same as setting it up as it has issues running after.The order it initializes:MX_ADC1_Init();HAL_ADCE...

ADC DMA triggering using timer

I am using stm32f103c8t6 and performing ADC sampling of voltage input 50 Hz from the mains. I have all hardware and PCB prepared. I am achieving 60 samples/cycle using DMA mode in ADC conversion. Now I would like to know the RMS calculation algorithm...

ADCy_AWDx_OUT signal do not work correct for single regular channel, when more channels are sampled in regular sequence. ADC5 AWD1 of STM32G474 .

 Hello ST community,I use ADC5 of STM32G474 for sampling 2 internal channels in regular sequence, VOPAMP4 and 5 and store data over DMA. I use ADC5 AWD1 configured for single regular channel VOPAMP5 (tried change to VOPAMP4).I use ADC5_AWD1_OUT as HR...

MMatj.1 by Associate II
  • 549 Views
  • 1 replies
  • 1 kudos

Resolved! Generating code for SPI using DMA issue

Hi,I'm working on NUCLEO-H743ZI board, using the STM32CubeMX 5.4.0 tool.When i'm generating code for SPI using DMA - It seems that it doesn't work.I tried to generate the same code for another device (STM32F411 Discovery Board) and i sow that there...

AGutm.1 by Associate
  • 694 Views
  • 2 replies
  • 0 kudos

Resolved! Getting errors after including arm_math.h

Hello i want to use dsp in my project in Keil IDE for that i have to include arm_math.h.In that case i am getting 30 errors C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.6.0\CMSIS\DSP\Include\arm_math.h(1183): error: #79: expected a type specifier  __STATIC_FORCE...

RShar.9 by Senior
  • 4010 Views
  • 11 replies
  • 0 kudos

How make USB HID work on BluePill (STM32F103C8T6)

Hi friends,I am trying to make me USB HID work on STM32 blue pill (STM32F103C8T6).I generated project from STM32CubeMX, Device should be connected like mouse device ,but after i connected blue pill to pc, it showed error message. In device manager->s...

0690X00000D85WFQAZ.png 0690X00000D85WyQAJ.png
AChyt.1 by Associate
  • 1443 Views
  • 1 replies
  • 0 kudos

BUG: assert_fail() fails

Micro: STM32F030RCTx.Compiler: GCC 9.2.1Package: FW_F0 V1.11.0When USE_FULL_ASSERT is enabled, STM32CubeMX generates this function in main.c:void assert_failed(char *file, uint32_t line) { ... }however the prototype in stm32f0xx_hal_conf.h has been ...

DOsbo by Senior
  • 912 Views
  • 6 replies
  • 0 kudos