
Trying to measure back emf on my motor driver board
I am using the STM X Nucleo IHM07 board i attached in the image. I am using trapezoidal driving of my bldc (1 phase floating, one gnd, onw pwm). I am sampling on a floating phase. The sampling happens in the middle of PWM HIGH (center aligned PWM). However my signal looks very bad. Its oscillating between 0 or max. So i was wondering if my sample timing is good. The circuit i attached is from the manual and shows what goes on back EMF pin im using for sampling. I don't really understand this circuit so i put it here hoping someone can explain. Does it make difference if i sample on PWM H or L? Again im sampling floating phase.