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! 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
  • 4603 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
  • 836 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
  • 936 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
  • 9399 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
  • 1224 Views
  • 4 replies
  • 0 kudos

SRAM FMC not working

Hello all,I'm trying to communicate with SRAM device on my board.I'm using STM32H747XIH6 MCU.I tried to capture the Write enable, chip select and output enable pins on the board but I saw an unusual response of the output enable.My configuration for ...

0693W00000aH8aoQAC.png
Aarra.1 by Senior
  • 859 Views
  • 1 replies
  • 0 kudos