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

How to set STM32F417 Programmable voltage detector

I try to capture power off timestamp by using PVD_IRQHandler(), but it doesn't work. The PVD is configured at power up at below:void Config_PWR_PDV(void){ PWR_PVDTypeDef PVDSetting; HAL_PWR_DisablePVD(); PVDSetting.Mode = PWR_PVD_MODE_IT_FALLING; //F...

New.Fish by Associate III
  • 2127 Views
  • 4 replies
  • 1 kudos

Resolved! Default HSI Calibration Value wrong in STM32CubeIde

Hello,I am using the STM32L412, when I activate the HSI clock in the .ioc, HSI Calibration Value is set to 16 (0x10).Looking at stm32l4xx_hal_rcc.h:#if defined(RCC_ICSCR_HSITRIM_6)   #define RCC_HSICALIBRATION_DEFAULT 0x40U /*!< Default HSI ca...

iduque by Associate
  • 1413 Views
  • 3 replies
  • 0 kudos

About build error in STM32G4 using STM32-MAT

I am trying to STM32G4 with STM32-MAT.After setting the setting I want to use to STM32CubeMX, when I set HRTimer Config on Simulink and created the code, it stopped with the error "Undefined identifier hrtim_adc_trigger3_value_init".I don't know whic...

The STM32Cube IDE appears to generate misleading code (EXTI12) for what should be EXTI2 (pin is named PMOD-IRQ_EXTI2 according to the Users Manual) on the B-L4S5I-IOT01A board (probably a typo?)

EXTI12 implies that the ARM external interrupt that is triggered is EXTI15_10_IRQn, when actually this pin triggers the EXTI2 interrupt. I think the issue is with the STM32Cube IDE code generator for this particular family of boards. (I tried to us...

MNeed.1 by Associate
  • 600 Views
  • 2 replies
  • 1 kudos

Resolved! STM32H SAI setting for 8-PDM microphones

I would like to know how we can configure STM32H7's SAI(s) for 8-PDM microphone inputs (LR * 4 pairs). (16kHz sampling rate).It seems MX allows us 6 mic with SAI1 and 2 mics with SAI4 but I'm not sure how we can set SAI1/4 exactliy for 8 mics (synchr...

YKiku.2 by Associate
  • 1468 Views
  • 1 replies
  • 0 kudos