Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
I am using an external crystal oscillator which is input on HFCLK_IN. How is this clock setup and divided to be used as the MCLK & CPUCLK in RUN0 mode?
Should this external clock frequency be 16MHz or 32MHz? If the external clock is 16MHz, can the MCLK & CPUCLK also be 16MHz?
This is a low power design that doesn't need to be run at high speed so I am looking for a reasonable power & clock setting. There is one CAN channel that is run at 1 MHz, a DAC output, a PWM output, and
a few PIO discretes. That's it.
Do you have any examples on setting this up? I am referring to page 132 of the technical manual.
I would like to run < 24MHz to avoid wait states.
Do I even need an external clock oscillator? It seems the internal SYSOSC is quite accurate. Could use the user trimmed 16MHz or 24MHz? What is the advantage of an external oscillator driving the HFCLK_IN?