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

Can T3IN (P3.6) be used as external interrupt pin in C16x?

Hello All,

I have a short question, since got confused with "User's Manual, V2.0, Jul-2000, CS167CS Derivatives".

I have to use either P3.6 or P3.7 as general purpose external interrupt input. As per pin T2IN, the manual clearly stated the pin can be used when "the associated auxiliary timer T2 in block GPT1 is configured for capture mode" - then vector T2INT may be used. From the other side, no direct statement can be found on using T3IN as an external interrupt. Can the MCU be configured in a way the P3.6 being used as an interrupt source triggered by an external events?

Thank you,
Nikolay.

Parents
  • Sauli,

    Thank you! Happily, I can use the single P3.7 pin to fulfil requirements I have. It is enough to use the T2 in capture mode, I just ignore (since not interested in) contents of the core T3 timer that is supposed to be used in this context. As well, I did test T3IN through T3 being programmed in counter mode a step before overflowing (with 0xFFFF), it works but of course consumes MCU resources as you mentioned.

    Best regards,
    Nikolay.

Reply
  • Sauli,

    Thank you! Happily, I can use the single P3.7 pin to fulfil requirements I have. It is enough to use the T2 in capture mode, I just ignore (since not interested in) contents of the core T3 timer that is supposed to be used in this context. As well, I did test T3IN through T3 being programmed in counter mode a step before overflowing (with 0xFFFF), it works but of course consumes MCU resources as you mentioned.

    Best regards,
    Nikolay.

Children
No data