4 Replies Latest reply on Nov 7, 2016 10:22 PM by vsrs

    How to make PSoc4 reset itself

    f94sbu_1596381

      Hi!

         

      Is there anyway to have the logic blocks in a PSoc4 generate some form of hardware reset? I am using a PSoc 4200L as a keyboard controller for a project and I'd like to add a special key board combo that will trigger a (fail safe) reset if held for 4 seconds. To make this as solid as possible, I'd like to do the key detecting and counting as a logic block to be resilient to bugs in the software. Is there anyway to let the output of a logic block generate a reset? Would it be ok to route the logic block to a pin and then route the pin to XRES or should I add an external reset circuitry that makes sure to keep XRES low longer than the port output?

         

      Are there any other ideas how this could be handled?

         

      Best regards,

         

      Stefan