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
ECIO-40 clock speed
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: ECIO-40 clock speed
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
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