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

XC16X: No extern interrupt on Port9.2

Hi, I use an XC164CM controller (on a Infineon Evalboard). My problem is, thats not possible to start an extern interrupt (EX4IN) on Portpin P9.2.
The register values are correct for the simulation with µVision3. Probably I have a hardware problem.
The positive trigger edge is from a 74LS00. But the controller can't detect the edge and no interrupt is started.
Some ideas?
Kindly regards
Rainer

Parents
  • Could you confirm the values you wrote to registers EXISEL1 and EXICON?

    These are protected registers and if wrote to them after reaching the main routine (EINIT instruction has been executed) then the write was ignored.

    This could also explain why it works with the simulator and not on real hardware.

    Anyway that would be my best guess...

    Best regards
    -Chris

Reply
  • Could you confirm the values you wrote to registers EXISEL1 and EXICON?

    These are protected registers and if wrote to them after reaching the main routine (EINIT instruction has been executed) then the write was ignored.

    This could also explain why it works with the simulator and not on real hardware.

    Anyway that would be my best guess...

    Best regards
    -Chris

Children