It is standard practice to put a freewheeling/clamping diode in parallel with an inductive load to clamp high voltage transients when the inductive load is switched off abruptly.
I have seen some designs where a capacitor ( typically 10 to 100nF ) is also added in parallel with the clamping diode. Many designs, however, do not have this capacitor.
What are the pro(s) and con(s) of having this capacitor ?
Regards
Oguz