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

Currently im working on STM32F103R8 and im trying to create delay using TIM3 ,the following is my code but i didnt get perfect output.Please someone kindly help me to overcome from this.

#include "stm32f10x.h"void init();void Timer_delay();void main(){ init(); Timer_delay(); while(1) {  while(TIM3->SR & 0x0001)/*Check the TIM3 update interrupt occurs or not*/  TIM3->SR = 0x0000;/*Remove TIMx update interrupt flag */   GPIOA->BSRR^=0X...

Sm.16 by Associate II
  • 957 Views
  • 7 replies
  • 0 kudos

Receiving data from USART

I am trying to use asynchronous USART on stm32L4R5ZI nucleo board for sending and receiving data. Following is related part of code.while (1) { HAL_GPIO_TogglePin(LD2_GPIO_Port,LD2_Pin); //Toggle LED HAL_Delay(1000); //Delay 1 Seconds for(...

PToma.14 by Associate II
  • 951 Views
  • 5 replies
  • 0 kudos

USART_SendBreak not available on STM32F373

Hi,I have to configure a STM32F373 as a LIN Master. The problem is that the function USART_SendBreak is not available.The reference manual says that I have to set the SBKRQ bit to send the break frame, but this bit is only available for a break reque...

mllona by Associate II
  • 361 Views
  • 0 replies
  • 0 kudos

OSPI readonly in memory mapped mode

I use the STM32L4R9I-EVAL Board and try to configure the ospi on nor-flash for readonly in memory mapped mode. there is an example projekt in Hal-Lib L4 V1.14.0. If i skip the erase and write steps, it read out wrong values (with out hal error)!Do an...

Leo_Panda by Associate III
  • 1060 Views
  • 1 replies
  • 0 kudos

SPI interface between STM32L151QD and External Flash

Hi AllCan anyone suggest the example code for Spi interfacing between STM32L151QD and External flash memory.,Through my STM32L151QD I want to read and write from External flash memory , The both STM32 and Flash memory is connected with SPI interface

kTaba by Associate
  • 390 Views
  • 0 replies
  • 0 kudos

DMA can`t work in stm32h7

I saw the web https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices,and I change the ram address.uart can transmit with DMA but can`t receive.and the spi can`t transmit with dma.

gcaif by Associate II
  • 482 Views
  • 2 replies
  • 0 kudos

STM32 double buffer + ADC + FATFS necessary?

Hey everyone,In my last application I had a DMA double buffer moving data from a peripheral to memory, it would fll one buffer, inform the cpu and while it filled the second buffer, the first buffer would be sent to the sdcard.I want to do the same t...

con3 by Senior
  • 460 Views
  • 0 replies
  • 0 kudos