Two-step self-test circuit for microcontroller unit and antenna
A system is disclosed. The system includes an antenna and a processor. The processor has at least four ports: a first input port coupled to a first portion of the continuity component; a first output port coupled in series to a first resistor coupled to the first portion of the antenna and to ground via a second resistor; a second output port coupled through a third resistor to the first portion of the antenna; and a second input port coupled to a second portion of the antenna and through a fourth resistor to ground. The processor is operable to activate and deactivate the appropriate ports to put the processor in one of three operating modes: an AC detection mode, an AC self-test mode, and a continuity test mode.
1. A system, comprising:
an antenna having a first portion and a second portion; and
a processor having:
a first input port coupled to the first portion of the antenna;
a first output port coupled in series to a first resistor coupled to the first portion of the antenna and to ground via a second resistor; and
a second output port coupled through a third resistor to the second portion of the antenna, wherein when the processor is in an AC self-test mode, the first input port and the first output port are both active, while the second output port is inactive, and wherein when the processor is in a continuity test mode, the first input port and second output port are active, while the first output port is inactive and wherein in the continuity test mode a test signal is injected through the antenna.
2. The system of claim 1 , wherein when the processor is in an AC detection mode, the first input port is active and the first output port and second output port are inactive.
3. The system of claim 1 , wherein an alternating voltage is placed on the first output port.
4. The system of claim 3 , wherein the first input port detects the presence of the alternating voltage.
5. The system of claim 3 , wherein the first input port fails to detect the presence of an alternating voltage a self-test failed is indicated.