Hello, I currently have a triple half-bridge board, which doesn’t have any current sensing. I am planning to modify it to enable FOC control via simpleFOC, and the only possible way is to add a shunt resistor right before a GND screw terminal. I can only do a single shunt resistor, as all the low side sources are connected together directly to a GND copper plane.
My assumption is that this is possible due to how the code only samples the current for a phase in a specific PWM interval. Any confirmation & discussion on this would be appreciated, thank you!