CAPCOM6 Timers as general timer?

Hi,

is it possible to use the timers T12 and T13 from CAPCOM6 as generel purpose timers (C164CI)?
The description of the CAPCOM6 unit is quite heavy stuff and to me its not clear if I can use those timers as normal timers to generate a periodic interrupt.

Thx for help

Bert

Parents
  • Hi Bert,

    I think you can do it.
    E.g. you could use
    "Single Shot Mode and Interrupt on a Period Match", but also other combinations,
    as e.g. Zero Match and Period Match....
    CCU6 outputs can be configured as 'not used'.

    Depending of what you choose, you have
    to care of how to retrigger the timer.
    ( No because autoreload, manually by software, with shadowtransfer ...)

    So, as you note, it is heavy stuff,
    and you will have to spend some time with reading.
    It is one of the most complex module.

    As hint I can recommend to take the
    time to read about:
    What Zero-Match, Period Match and so on
    mean.
    Which interrupts you can generate,
    and the counting rules.
    ( Yes, I know, thats why you asked here )

    A really help for me, to become more familar
    was DAvE - so I could play around with the settings and figure out how to
    generate interrupts ( and of course signals ).

    Don't worry - the reading and
    the look over in parallel to the diagrams
    can be done relative quickly, if you invest some time you have no stress and pressure from outside.

    But in general, yes you can do.

    Stefan

Reply
  • Hi Bert,

    I think you can do it.
    E.g. you could use
    "Single Shot Mode and Interrupt on a Period Match", but also other combinations,
    as e.g. Zero Match and Period Match....
    CCU6 outputs can be configured as 'not used'.

    Depending of what you choose, you have
    to care of how to retrigger the timer.
    ( No because autoreload, manually by software, with shadowtransfer ...)

    So, as you note, it is heavy stuff,
    and you will have to spend some time with reading.
    It is one of the most complex module.

    As hint I can recommend to take the
    time to read about:
    What Zero-Match, Period Match and so on
    mean.
    Which interrupts you can generate,
    and the counting rules.
    ( Yes, I know, thats why you asked here )

    A really help for me, to become more familar
    was DAvE - so I could play around with the settings and figure out how to
    generate interrupts ( and of course signals ).

    Don't worry - the reading and
    the look over in parallel to the diagrams
    can be done relative quickly, if you invest some time you have no stress and pressure from outside.

    But in general, yes you can do.

    Stefan

Children
More questions in this forum