I'm building an automotive power distribution module which makes use of the Infineon BTS50010 high-side driver.
The high-side driver current is monitored via the sense pin (IS) connected to a microcontroller, see below schematic:
If we say RLoad is a switching a load such as an ignition coil and as such, results in a varying HSD sense pin output, what would be a good way of accurately measuring load current?
The only way I can think of doing this would be by oversampling the current sense output with averaging in an attempt to calculate an accurate current value.