STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Calculate number of RTC ticks MCU spends in STOP2 mode

I want to calculate the actual time the CPU spends in STOP2 mode.I wake up the MCU either by RTC Alert or LPUART.The issue is more relevant to LPUART wake use case, because it could happen before the RTC alert expires.I'm using RTC with LSI which con...

deckhard by Associate III
  • 2065 Views
  • 13 replies
  • 0 kudos

Which is the flash configuration of STM32 H7 42 xG ?

Data sheet says: (ch 3.3.1 on page 26)• A user Flash memory block of 512 Kbytes (STM32H7xxxG) or 1-Mbyte (STM32H7xxxI) containing eight user sectors of 128 Kbytes (4 K Flash memory words)which is missing a clear statement for the xxxG variant.Is it f...

HAL_RCC_OscConfig does not return HAL_OK after initializing LSE

Hello,The HAL_RCC_OscConfig does not return HAL_OK after initializing LSE. I tried removing the LSE from Oscillatortype and worked just fine. Also have USART output and clearly it gets stuck at at OSC initialozation.Here is the USART output:[2020-11-...

Kaveh by Associate III
  • 2298 Views
  • 10 replies
  • 0 kudos

Trying to change modes on GPIO pin from input w/EXTI to timer capture. It appears to change modes, but will not capture timer. Any advice?

HAL_GPIO_DeInit(GPIOA, GPIO_PIN_7); //PA7 is no longer GPIO interrupt sourceHere is my code to go into timer mode:/*ReConfigure GPIO pin : PtPin */  GPIO_InitStruct.Pin = Vib_In_Pin;  GPIO_InitStruct.Mode = GPIO_MODE_INPUT;  GPIO_InitStruct.Pull ...

CAnde.1 by Associate
  • 662 Views
  • 1 replies
  • 0 kudos

I have tried a lot of ADC DMA examples, but I don't know where I am failing. I am using a MIKROE card STM32F407VGT6, the result of the DMA register in DataADC comes in only two states (1048 - 0V and 4095 - 3V3)

Here is the code of what i am doing, certainly I am still confused where do I have to change the register. #include "main.h"     /* Private variables ---------------------------------------------------------*/ ADC_HandleTypeDef hadc1; DMA_HandleTypeD...

CSequ.1 by Associate
  • 309 Views
  • 0 replies
  • 0 kudos

Resolved! Why each project in the I-CUBE-LRWAN expansion Package are not provided with .ioc file for an easy customisation to a different board !!! ST complicate life and impossible to find the solution to well do the job. please help!!!

In the UM2285 Developpment Guideline for STM32 expansion Packagethey say that each expansion Package must contain the .ioc file but in the i-cube-lrwan not the case!!!!! why?Thanks for help

SHATE.1 by Associate III
  • 1199 Views
  • 6 replies
  • 0 kudos