Hi Joseph,
The fact that you are seeing the xMHz wavefrom on the XTAL pin suggests that you have not disabled the oscillator. This is achieved by clearing the EREFS in the MCG_C2 register. This is actually what selects either the oscillator or the external clock input. You should be able to have EREFS = 0, apply an external clock and also set ERCLKEN if you like. If you need to use the xMHz OSCERCLK with any peripherals then you can. If however you do not need this clock running then clear ERCLKEN to save current.
![MCG_C2[EREFS].png MCG_C2[EREFS].png](/t5/image/serverpage/image-id/28140i6B60AA3C0243856A/image-size/large?v=v2&px=999)
![OSC_CR[ERCLKEN].png OSC_CR[ERCLKEN].png](/t5/image/serverpage/image-id/28182i2A9CC0E9EA38FCCD/image-size/large?v=v2&px=999)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------