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

Not reading SPI WHO_AM_I register correctly

Hi everybody,I hope someone there could help me. I am trying to read the WHO_I_AM register of the LIS3MDL magnetic sensor (reg 0x0F). I have a custom pcb with a STM32L151VET6 . I got largley inspired by the STEVAL-WESU-1. I am using STMCubeMx for the...

JMart.5 by Associate II
  • 5340 Views
  • 12 replies
  • 0 kudos

TIM1 OPM mode waveform generation.

i want to generate above signal with variable Toff and Ton fix.i generate code but i don't get my desired out put signal./** ****************************************************************************** * File Name : TIM.c * Descript...

0693W000000UNcIQAW.jpg 0693W000000UNboQAG.jpg

FOTA using STM32

According to AN2606 (STM32 microcontroller system memory boot mode), Section 4.3, we require a 'HOST' peripheral, to communicate with STM32 MCU, in order to get new firmware from the peripheral (while booting from System Memory).Flowchart from Sectio...

STM32 SPI DMA MODE

Hello, I am generating code using STM32MX CUBE. Please let me know how bust increment for peripheral and memory will affect compunction. Thanks

STM32F407 fails on HAL_RCC_OscConfig

Hello guys,I got a "STM32F407-DISC1" board and if I configure the external oscillator, it goes into "error_handling:RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;   RCC_OscInitStruct.HSEState = RCC_HSE_ON;   RCC_OscInitStruct.PLL.PLLS...

JBlaz.1 by Associate II
  • 9812 Views
  • 11 replies
  • 0 kudos

Resolved! A bug of STM32G4xx LL library

I reporte a bug of STM32G4xx LL library, the Definition of DMAMUX_LL_EC_REQUEST Transfer request in header file "stm32g4xx_ll_dmamux.h" as shown below.#define LL_DMAMUX_REQ_FMAC_WRITE     0x0000006EU /*!< DMAMUX FMAC WRITE request */#define LL_DMAMUX...

PSui.1 by Associate II
  • 1913 Views
  • 9 replies
  • 0 kudos

We are running into an issue with the built in system bootloader of the STM32F413. Have issues with Soft reset

Our system communicates primarily through CAN bus, we issue a command to the micro controller and then it will reset and jump into the bootloader.From there we have implemented the protocol as described in AN3154.This looks like it is working as int...

Resolved! Overflow on timeouts in STM32 HAL driver

Every code in HAL driver has the below structure that doesn´t care about overflow on HAL_GetTick().... tickstart = HAL_GetTick();   while (Something()) { if (Timeout != HAL_MAX_DELAY) { if (((HAL_GetTick() ...