ECIO-40 clock speed

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

GRAEFFLY RAPHAEL
Posts: 1
Joined: Tue Aug 27, 2013 6:36 am
Contact:

ECIO-40 clock speed

Postby GRAEFFLY RAPHAEL » Tue Aug 27, 2013 6:42 am

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

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8334
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2382 times
Been thanked: 3393 times
Contact:

Re: ECIO-40 clock speed

Postby medelec35 » Tue Aug 27, 2013 7:50 am

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
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.