AnsweredAssumed Answered

MC9S12C Active Trigger Detection

Question asked by Tim Riley on Mar 11, 2014
Latest reply on Mar 17, 2014 by Tim Riley

What is the mechanism for detecting an active ATD trigger on an MC9S12C device. The port is triggering ok, but I am having trouble detecting the trigger status in software. I would like to know when the trigger is active and also when it is inactive. I am currently attempting to do this with the PORTAD register, (after enabling PTAD7 in ATDDIEN), but this method has not been reliable thus far. Please advise on a better method.