Np.

Why don't you use 20Mhz Xtall ?

Your DEFINE is 12Mhz, are you using 12Mhz Xtall ?



Regards.