This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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 Stefan,

    my solution also works in the simulator but not at the hardware. A simular case I had as I wanted to move CAN-Pins from P5 to P8, which also works in simulator and is described in Infineons PDFs. A half year later a friend, working at Infineon in munich told us that this feature never worked at th c164ci. So I guessed, I am in the same sort of pitfall.

    My hope is, that there is another reason for the difference between simulator and hardware.

    Any suggestions?
    Mike

Reply
  • Hi Stefan,

    my solution also works in the simulator but not at the hardware. A simular case I had as I wanted to move CAN-Pins from P5 to P8, which also works in simulator and is described in Infineons PDFs. A half year later a friend, working at Infineon in munich told us that this feature never worked at th c164ci. So I guessed, I am in the same sort of pitfall.

    My hope is, that there is another reason for the difference between simulator and hardware.

    Any suggestions?
    Mike

Children
  • Hi Mike,

    unfortunately I have no hardware, that I can test.
    Normaly the behaviour you speak about occours,
    if there are differences in simulator setup and hardware setup.
    ( Because sometimes for the simulator some settings are not relevant, which you must take care about for running in hardware )

    What I remember for the Xc16x devices is,
    that we have some problems, if we used
    the CAPCOM6 and did accesses in parallel
    to the bus.
    Than the CAPCOM6 was not worked as expected.
    For this cases the errata only says, that an software access overwrites the hardware.
    ( What I am a little bit in doubt of, because
    the bus controller is from my point of view a piece of hardware )

    In my case the problems came from wrong EBC -settings.
    That is the only suggestion at the moment I have.

    Sorry, Stefan