Good morning everyone,
I'm having problems to set up the ICS with an external 10MHz crystal, without FLL so I expect a 5 MHz bus freq.
I've seen that ICSC1 and ICSC2 registers bit are quite similar on MC9S08QG8 so I'm setting them as on QG8, in which I've a bit more experience.
And here comes the problem, in fact after the initialization part, OSCINIT bit of ICSSC doesn't change status, meaning that ICS isn't ready, while on QG8 with the same settings, it's immediatly set after setting up the registers.
As an additional information, with this problem if I setup a TPM interrupt overflow calculated to 1ms, it instead overflows in 1.25ms.
Could please someone clarify me how to set up correctly ICS using external crystal on this MCU and what may cause this issue?
Many thanks!