I have a pcb which contains MCU (CC2430) and the MCU operates LED and Relay driver and other chips (like memory).
As long as the code runs, the LED toggles every 1sec and the relay is switched every 20sec, using 2 GPIOs that operate driver circuit.
The relay itself switches hight current loads (used today 10A loads).
For somereason, in one of the switches of the relay, the code got stucked - The led stopped toggling (one time it remined on, other time it remained off, depending when the code stopped) and relay wasnt switched anymore.
I dont understand why it happened.
Do you have any idea?
Thanks in advance.
P.S.
Its not that the MCU had a reset (like POR), because in that case the led would have kept being toggled (and relay would have kept being switched).
As long as the code runs, the LED toggles every 1sec and the relay is switched every 20sec, using 2 GPIOs that operate driver circuit.
The relay itself switches hight current loads (used today 10A loads).
For somereason, in one of the switches of the relay, the code got stucked - The led stopped toggling (one time it remined on, other time it remained off, depending when the code stopped) and relay wasnt switched anymore.
I dont understand why it happened.
Do you have any idea?
Thanks in advance.
P.S.
Its not that the MCU had a reset (like POR), because in that case the led would have kept being toggled (and relay would have kept being switched).
Last edited: