I have a TO-220 buck regulator IC (LM2678) and a Schottky in a TO-220. The IC tab is connected to GND, which shouldn't be a big deal. But the diode's tab is connected to the cathode. It would be better if it was connected to the anode so the heatsink ends up being ground instead of being connected to the IC's switch output. Removing the heatsink reduces these spikes I'm getting in the output voltage. It also causes the diode to get very hot (not good).
Anyone have any experience with the TO-220 Schottkys with a supposedly insulated tab? I haven't been able to find any with the tab connected to anode. I had never thought the heatsink causing problems, but it's not hard to see how it would, now that I think about it.