Connect with us

68hc908 timer resolution

Discussion in 'Electronic Design' started by blisca, Feb 20, 2007.

Scroll to continue with content
  1. blisca

    blisca Guest

    Hi to all

    It is about 68hc908JL3CP

    Using Code Warrior special edition it looks that one of the so called
    beans(FreeCntr16) dedicated to the TIM timer it is able to set the
    resolution at 1ms,when the Xtal frequency is 4.096 MHz

    I can't understand how it is possible,if the internal bus clock is
    FXtal/4,and the max prescaler value is 64

    so the TIM should increase its value at a rate of 4096/(64*4)=16KHz,right?

    Compiling it some code is generated and not only registers settings,but it
    seems tho me fighting with the definition of free counter,something that
    increases independently from the code

    Can someone explain me how it works, please?

    Thank you .

    Diego,
    Milan,Italy
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-