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

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
  • 818 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
  • 2074 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
  • 4484 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
  • 806 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
  • 903 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
  • 9164 Views
  • 9 replies
  • 0 kudos

STM32F030F4P6 - how to make UART1 TX work on PA2

I have configured PA2 as USART1 TX in STM32CubeMX, the code it generates looks correct:void MX_USART1_UART_Init(void) {   /* USER CODE BEGIN USART1_Init 0 */   /* USER CODE END USART1_Init 0 */   LL_USART_InitTypeDef USART_InitStruct = {0};   ...

CSkil.1 by Associate II
  • 1185 Views
  • 4 replies
  • 0 kudos