2016-10-29 02:30 AM
Hi everybody
I need to get PWM input value using input capture .I set Input Capture in Both Edge mode and I'm getting the HAL_TIM_IC_CaptureCallback very well . but for calculating the PWM duty cycle I need to know if Callback is for Rising Edge or Falling.How can we do it in HAL library?I have to mention I don't have enough time channels to use 2 channel (one for rising and one for falling) per each PWM input , so I suppose the other options are using one IC per channel or using EXTI ,any help would be appreciatedThanks in advance MA.2016-10-29 08:21 AM
What frequencies are involved?
Can you not just look at the GPIO state?2016-11-01 07:58 AM