Hi folks, this might be an academic question, but it's bothering me. We know that there is a 12M external oscillator on the Due, but I don't see where in the code it is selected. I have heard elsewhere that this oscillator is selected, but the 32KHz chip isn't. Just trying to confirm these simple facts, but searching has not turned up anything obvious.
Never fails. Post a question and suddenly the answer is obvious. This appears to be happening in system_sam3xa.c within function SystemInit() which is called by variant.cpp at startup.