Hello bigmac,
No it isn't the settling time of the oscillator! (The oscillator works after 210ms wonderful)
I have made some other tests and it seems that this time is depending from the code!
If I have only the CPU_INIT function in my main function, it will need "only" 370ms.
I can't understand this because I have only changed the oscillator source and I change the osc source "after" my trigger point! (LED=1)
Code:
void main(void) { DDRA_DDRA6=1; /* LED - OUT */ LED=1; /* 280ms with internal OSC - 900ms with X-tal */ CPU_INIT(); /* 270ms */I think the controller need this time in the startup function, but why need it more time than with the internal oscillator?
I hope anybody can help me!
Roland