Page 1 of 1

ECIO-40 clock speed

Posted: Tue Aug 27, 2013 6:42 am
by GRAEFFLY RAPHAEL
Hello,

I am using ECIO-40 in my project, but in the window clock speed, i could not change the speed (default : 4800000 Hz) but the crystal on my ecio board is a 4000000 Hz, therefore the timings are not respected on my code (timer division, prescaler ....) ??

thank you

Re: ECIO-40 clock speed

Posted: Tue Aug 27, 2013 7:50 am
by medelec35
Hi GRAEFFLY RAPHAEL,
The crystal should be 4000000 (4MHz)
The clock setting of ECIO-40 is 48000000 (48MHz)
Configuration file and clock settings are locked so not alterable by user.
ECIO-40 uses a 18F4455 which has a built-in PLL multiplier.
Which multiplies the 4MHz to 48MHz.
That is why you can't alter your clock speed from the correct 48MHz.
All timings should be correct.
If you have an issue with timings on your flowchart, then if not commercially sensitive can you post your flowchart please, then we can take a look at it for you.
Can you also post your C code that was generated after compiling, so we can check every thing is set as it should be.

Martin