Hi,
Did you also configure your code with 12Mhz OSC? You should modify your code with 12Mhz external OSC instead of 8Mhz code.
Beside, did you check your 12MHZ wave in the oscillator, whether it is oscillating?
Please tell me more information.
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------