STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Timer enable and disable

Posted on September 15, 2015 at 12:32 Hi, I have a stm32f4-disco, and I wanted to enable and disable a timer using external interrupt. When the external signal arrives I enable the timer, and when 400 ticks have passed I disable the ...

fiulala by Associate II
  • 763 Views
  • 1 replies
  • 0 kudos

stm32f103 - timer3 unwanted overflow

Posted on September 15, 2015 at 11:37 Hello, i am trying to measure a rc pwm signal (from a single channel of a rc receiver) This signal has a total period of 20ms (50 hz) The active pulse is between 900us and 2000us width St...

Bogdan by Senior
  • 283 Views
  • 1 replies
  • 0 kudos

STM32F303RE: unwanted interrupt

Posted on September 14, 2015 at 18:12I have an EXTI programmed on PortB line8 that works as expected when  a rising edge is found on GPIO_IN8.Unfortunaltely sometimes, when I reset the GPIO_Pin15 of port B by doing  GPIOB->BRR  = GPIO_Pin_15  then t...

Why CDC_Receive_FS is empty on usbd_cdc_if.c?

Posted on September 02, 2015 at 20:23 Hi, I create a new project using cubemx 4.10 with hal 1.8 for USB device. I'm looking for receive function and i found CDC_Receive_FS, but there is almost no code in ther: /** * @brief CDC_Receive_FS ...

Problem with timer initialization (TIM1)

Posted on September 04, 2015 at 19:08Dear all, I want to use TIM1 CH3N  to drive a buzzer with different frequencies. I have tried to program TIM1 on channel 3N as below (the corresponding pin is already configured as AF_PP at 50 MHz): void buzz(uin...

danesh by Associate II
  • 1443 Views
  • 8 replies
  • 0 kudos

About priority grouping

Posted on September 14, 2015 at 12:18 Hi , still with my STM32F429I disco-board project , I would know what is the return of this functions: /** \brief Get Priority Grouping The function reads the priority grouping field from the N...

Systick Interrupt using GNU Assembler

Posted on September 13, 2015 at 16:48Hi guys,I have a problem to test systick using GNU assembler on my STM32VLDiscoveryMy assembly code is:.thumb.syntax unified.cpu cortex-m3 @ STM32VLDiscovery Board .equ STACKINIT ,   0x20005000 .equ GPIOC_BASE ...

agung by Associate II
  • 1071 Views
  • 7 replies
  • 0 kudos

Change PWM pulse

Posted on September 14, 2015 at 20:00 Hi, I'm using a servo with a pwm connection and this is a part of code: RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOB, ENABLE); GPIO_PinAFConfig(GPIOB, GPIO_PinSource4, GPIO_AF_1); GPIO_InitTypeDef GPI...

fenice-6 by Associate II
  • 365 Views
  • 1 replies
  • 0 kudos

PWM change not initially happening

Posted on September 14, 2015 at 16:40Hello Everybody.I am observing some strange behavior on the scope for a PWM output. I am driving it at 800kHz with alternating high time of 400ns and 800ns.In the TIM1_UP_TIM10_IRQHandler I am alternating the hig...

mlickess by Associate II
  • 433 Views
  • 4 replies
  • 0 kudos

STM32 not restart after external Reset

Posted on September 07, 2015 at 11:10 Dear all I use a master uP (STM32F072R8) and a slave uP (STM32F030K6) The slave processor is in AC main voltage and the main processor is galavanic isolated from main voltage. The main processor can rese...

franz2 by Associate III
  • 365 Views
  • 1 replies
  • 0 kudos