User Activity

Hi!I have two PWM signals coming into two MCU pins, that are two TIM4 channels. Channel 1 and Channel 2. I initialized both Channel 1 and Channel 2 to input capture mode on Both Edges and enabled the Capture/Compare Interrupt (Not in slave master mod...
Hi, I basically have two PWM signals going into two pin that are set to be TIM4_CH1 and TIM4_CH2.I setup both channels in slave mode and enabled the input capture mode on Rising mode.When I enable only channel 1 and the code below get executed I retr...
Hi! Library used: Standard Peripheral Library (Yea, I must use this one)Hardware:Test bench that can generate two pwm signals ( A and B )Cable that connects the test bench to the other boardOther board that should read the signal, delivered by the ca...
Hi,I have the following function to simulate a positive phase shifting. void TIM3_Configuration_positive_quadrature(void) { TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; TIM_OCInitTypeDef TIM_OCInitStructure; int Period; Period = 1000 / 1; // T...
Hi,I have these two functions ( see below ) that simulate, respectively, a positive and negative quadrature.  void TIM3_Configuration_positive_quadrature(void) { TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; TIM_OCInitTypeDef TIM_OCInitStructure; ...
Kudos given to