2025-01-20 12:57 AM
I am planning to use the STM6601 in my design, which involves powering on with a single press and powering off with a long press. However, my device only has one button. I want to implement a long press to turn off the device, but based on the diagram below, it seems that both SR and PB need to be pressed simultaneously for the EN pin to deassert.
1. Here please confirm whether can I connect both SR and PB to same one button and achieve power on by single press and power off by long press?
2. SR needs to be high when PB is pressed during power on, or SR can be ignored?
3. Is there any better way to achieve this?
Thank you for your assistance!