STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Set up UART Interrupt using register

My UART example works very well.  But, I want to do with the UART interrupt.  Currently it does not work because it always jumps to an infinite loop in the start up assembly code.Infinite_Loop:  // startup_stm32f411retx.s b Infinite_LoopHere is my so...

MLi.6 by Associate II
  • 5415 Views
  • 7 replies
  • 0 kudos

How can i send integer or float values using UART in DMA mode, Model:STM32H745XI-DISCO Board, i dont know why but this is not working...

/* USER CODE BEGIN Header *//** ****************************************************************************** * @file      : main.c * @brief     : Main program body ****************************************************************************** * @at...

UART RX Interrupt timeout

Hi there!I start to use a UART (RS485) with stm32g031f6 , and i use HAL_UART_Transmit_ITHAL_UART_Receive_ITand both works. So now i want implemet an timeout on RX line. I saw the app note 3109 and i have a couple of question:if i use timer input capt...

SGian.1 by Senior
  • 3746 Views
  • 8 replies
  • 0 kudos

can't find CanMsgTypedef in the stm32l4xx_hal_can.h

I am trying to init the can tx and rx, what i see from the tutorial there should be a CanMsgTypedef in the stm32 driver for the specific mcu. now I am using the stm32l4xx_hal_can.h since I am using the stm32l4a6zg mcu that comes with the nucluos 144 ...

YElsh.1 by Associate
  • 515 Views
  • 2 replies
  • 0 kudos

Resolved! I am using an STM32H743 user board with STMCubeIDE. I want to use the internal RTC calendar with the internal clock (LSI). Q: first power on clock start 17:20:00 then time is going. For example, when time is 17:20:50 suddenly I power off the

MX_RTC_Init(); if (HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DRX) != 0X2233) { printf(" Set Date and Time \r\n"); SetDateTime(); }void SetDateTime(void) { RTC_TimeTypeDef sTime = { 0 }; RTC_DateTypeDef sDate = { 0 }; /* USER CODE BEGIN Check_RTC_BKUP */ /*...

i am using stm32f373, i want to use USART2 to communicate through modscan kindly help me in With the configration of usart2.

void SA_USART_config(void){USART_InitTypeDef USART_InitStructure; // USART_DeInit(USART2); /*************RCC_configuration*******************/ RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART2, ENABLE); RCC->CFGR3 |= RCC_CFGR3_USART2SW_0;   USART_InitStru...

HAL_Delay not affecting frequency of a Blinking Light

I am new to STM32, and I am using a STM32L152c discovery board to run a sample blinking light program. I am using HAL_Delay to control the frequency of the blinking light. However, the frequency does not change when I change the argument to HAL_Delay...

Splatt by Associate II
  • 1954 Views
  • 11 replies
  • 0 kudos

Generating HDMl signals from an stm32f0 is possible?

7 years ago I made a personal project, which generates video via vga, now I would like to do it via HDMl, I have only found with fpga, but the code is not clear to me, I suppose it is vhl, or vhdl, but I would like to do it with stm32f0,will anyone h...