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

STM32L476 SPI slave mode with DMA repeated first character

I have a STM32L476 operating in spi slave mode and an embedded linux master. It is meant to offload the contents of a file stored on an SD card. I do this in 2052 byte bursts (2048 data + 4 byte checksum). The very first transfer I send duplicates th...

LM.2 by Associate II
  • 1308 Views
  • 3 replies
  • 0 kudos

FLASH is Zeroed Automatically!

helloI am using a STM32f030c8t6. it takes 2 ADC and shows them on a seven segment. I set some parameters in FLASH and save them. my problem is that it suddenly stopped saving values and just returns 0. I noticed this happened just as I detached ADC i...

Ala by Senior
  • 1360 Views
  • 10 replies
  • 0 kudos

Resolved! GPIO control while reading SPI

Hello,I use STM32F767II, CubeIDE, HAL driver.​I want to use GPIO control while reading SPI.I use SPI Master.SPI Master reading operate MISO after MOSI operation.​​​​GPIO ON when MOSI state.GPIO OFF when MISO state.​How can i control GPIO when use SPI...

0693W00000LvveVQAR.png
hjuns by Associate III
  • 1983 Views
  • 2 replies
  • 0 kudos

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
  • 6105 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
  • 4317 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
  • 620 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 */ /*...