STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Regarding timer delay & Interrupt

void MX_TIM5_Init(void){ TIM_ClockConfigTypeDef sClockSourceConfig; TIM_MasterConfigTypeDef sMasterConfig; htim5.Instance = TIM5; htim5.Init.Prescaler = 84; htim5.Init.CounterMode = TIM_COUNTERMODE_UP; htim5.Init.Period = 99; //interrup...

saiteja by Associate II
  • 1183 Views
  • 12 replies
  • 0 kudos

Microsecond delay using timer in stm32L0

I want to generate the microsecond delay for stm32l083cz.when I using the configuration PLL clock ...32Mhz freq to APB1 which is connected to timer2 PSC -- 32-1 and Period 0xffff-1 Its working perfect and i am able to generate the microsecond delay.B...

Resolved! First timer delay missing -- AN4776 wrong?

I'm new here but have already gotten lots of good advice, so I'll press my luck and ask another question. Can't believe it hasn't come up before, but search doesn't find anything.Simplest possible timer example. Start counting down from ARR value, bu...

Resolved! Timer Configuration

Hi, I am using STM32F779NI for development. My requirements are:On PD15, i.e Timer 4 channel 4, I want to generate a PWM output.On PB7, i.e Timer 4 channel 2, I want to use it as an Input capture functionality.Is it possible to configure the Timer fo...

A3 by Associate III
  • 1218 Views
  • 10 replies
  • 1 kudos

PWM -> ADC & DMA

Hi, I want to​ trigger ADC with PWM, transfer it to array by DMA.​But first I have problem with setting dma.​......​Question 1.​Do I have to start HAL_ADC_Start before I use HAL_ADC​_Start_DMA​Or will this second function start adc & dma?

oeliks by Senior
  • 279 Views
  • 1 replies
  • 0 kudos

f103 LL spi DMA not interrupted

hii use f103 to read ad7606 with spi i see cube example for LL( hal spi has delay)i want read two out of a2d so i config spi1 master receiver and spi2 slave receiver clk of spi1 and spi2 and a2d connect together out A connect to spi 1 and out 2 conn...

MacLaren by Associate III
  • 255 Views
  • 0 replies
  • 0 kudos