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

STM32 TIM->CCR1 value interrupt

I try to generete interrupt when TIM->CNT = OverVal my code below ;I am so confused, thanks for nowvoid Init(){  TIM_ICInitStructure.TIM_Channel = TIM_Channel_1; //TIM_Channel_3  TIM_ICInitStructure.TIM_ICPolarity = TIM_ICPolarity_Falling;  TIM_ICIni...

hazall by Associate III
  • 746 Views
  • 0 replies
  • 0 kudos

In STM32G474RE, How to properly re-configure SPI peripheral during run-time (using DMA for both Rx/Tx channels) ? I need to increase data to be received & transmitted with SPI after some time of running. Thanks, Tal.T

Here's my code for re-configuring the SPI1 peripheral, but after that the data being corrupted (even if I re-configure the same size of the previous configuration):void AppSpiReconfig(void * ulRxBuffAddr, void * ulTxBuffAddr, unsigned long ulSize){ L...

TTaie.1 by Associate II
  • 1601 Views
  • 7 replies
  • 0 kudos

stm32 gpio callback

hii i have a stm32h753 nucleo board , witch have a user button connected to pc 13 , i am trying to implement printing on console when a button is pressed by using interrupted call back that is generated from the button press , i looked at the user ma...

abeba.1 by Associate III
  • 3288 Views
  • 5 replies
  • 0 kudos

When will full support for vectors appear?

I want to write simple c=a+b level code that will always give the same result, but use the maximum of possibilities.Only 4 direct execution options are available for your architecturetypedef int8_t vi8_4 __attribute__ ((vector_size(4),aligned(4)));ty...

by Not applicable
  • 385 Views
  • 0 replies
  • 0 kudos

External clock mode 1

I am using stm32f0. TIM1 CH1 is external clock source. Code counts every falling edge of oscilator. When Update event is generete, I count event. Thats why I found passing time

hdemi.1 by Associate III
  • 543 Views
  • 1 replies
  • 0 kudos

Resolved! How to setup DMA from timer to memory

I'm very new to the STM32 and am trying to set up TIM2 to trigger a dma input capture to memory. I have been pouring over examples and the STM32F302R8 ref manual but am not there yet.What is working is I am inputting 30Hz ref signal on both PA5 and ...

BTrem.1 by Senior II
  • 4472 Views
  • 6 replies
  • 0 kudos

Timer PWM settings

Hi,I am trying to use timer pwm outputs for Timer4, Timer2 and Timer1 bolcks. I am using initial functions below, but i can not see pwm signals from outputs. What is wrong with the codes below ? Any advises./**TIMER2 PWM SETUPS**/ RCC_APB2PeriphC...

er3481 by Senior
  • 1024 Views
  • 2 replies
  • 1 kudos

Input Capture Interrupt Problem

Greetings Everybody,I am using STM32F429I-DISC1 BOARD version MB1075 C-01. My main aim Generate square wave from 1HZ to 20KHZ - This is completed. I am using Timer5 to generate square wave as per my requirement. I have even checked it on oscillo sco...