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

How to write doublewords to flash on an STM32F411RE

I could get HAL_FLASH_Program to write WORDS, as soon as I moved to FLASH_TYPEPROGRAM_DOUBLEWORD the last error returned is alwasy PGA | PGS flags in the SR. PGA = alignment, PGS = sequence. I referred to every internet article I could to figure out ...

ELeyl.1 by Associate II
  • 1586 Views
  • 1 replies
  • 0 kudos

Resolved! UART DMA Transmitter and receiver issue

i'm using STM32F730 as uart receiver and STM32f0 as uart transmitter baud rate 9600, 8 bit data representation. i'm using DMA with interrupt for the communication. i'm using HAL for programming on IAR workbench. The transmitter is continuously transm...

NSing.5 by Senior
  • 948 Views
  • 2 replies
  • 1 kudos

Hard fault invalid state

I'm trying to inject a simple wrapper around my timer interrput handler written in C - primarily for debug purposes to simplify debugging the state of registers and stack before the C code gets in and messes up the stack and state pushing all the jun...

ShawnP by Associate III
  • 2382 Views
  • 8 replies
  • 0 kudos

Resolved! Looking for solution to hard fault when using UART to transmit. Particularly, when it calls HAL_GetTick() in Uart function

Hi all,I am using Nucleo-L552 Evaluation board running , CMSIS_RTOSV2 (FreeRTOS), firmware STM32Cube FW_L5 V1.3.0. Debugging via built-in ST-Link. I have a Hard fault on HAL_GetTick() when running UART transmit on one of the threads. It debugs fine w...

TDinh.1 by Associate II
  • 4995 Views
  • 7 replies
  • 0 kudos

Resolved! How to get the PVD state on the STM32L4xx ?

Sir,I am using the STM32L432 for my project.How to get the PVD state ?I want to know the power voltage that is above the level or under the level.Thanks.void HAL_PWR_PVDCallback(void) { if ( __HAL_PWR_PVD_EXTI_GET_FLAG() ) { // TODO: get ...

JLiao by Associate II
  • 1022 Views
  • 2 replies
  • 0 kudos

How to make ınput capture with STM32g030f6t6?

Hi everyone, I'm trying to use Input Capture with 1 Timer by using both edges option as external. I'm new at this microcontroller and I could not understand how to make it correctly with HAL library. Can anyone help me how to do?

MÇETİ.1 by Associate III
  • 1084 Views
  • 7 replies
  • 1 kudos

SPI with DMA interrupt handling for SPI transfer complete

I'm having trouble understanding how the transfer complete interrupt is working.I have setup SPI using DMA to speed up data transfer to an LCD-display.The SPI clock is 18MHz, the System clock is 72MHz.From the book Mastering STM32 my understanding is...

0693W00000aH56WQAS.png 0693W00000aH56lQAC.png
UFB by Associate II
  • 10206 Views
  • 9 replies
  • 0 kudos