Hello !
I have a LM2576 (TO-220) that heats a lot. However, according to the datasheet's calculations it should not have heat so much because the load demand 300mA. So I decided to put a heat sink , I noticed that rthjc>rthja so if i put a heat sink , it will heat much more according to this data. Is it a mistake from the datasheet or I I did not understand how to calcul the thermal resistance.
Design :
Datasheet :