the MAX16150 I'm using to handle the power button logic gives you 64ms for its ~CLR line to go high before it gives up and shuts off the power again -- the CM4's nEXTRST line doesn't go high soon enough.
best ways I can think of to work around this:
- Use a voltage divider to bring 5v down to 3.3V, then also wire a GPIO to this 3.3V node. Use the gpio-poweroff dtoverlay to pull that GPIO low on shutdown.
- check whether the 3.3V or 1.8V lines go high soon enough, use those instead
- 555 timer or similar in one-shot mode, pulling the ~CLR pin high for longer?
the MAX16150 I'm using to handle the power button logic gives you 64ms for its
~CLRline to go high before it gives up and shuts off the power again -- the CM4's nEXTRST line doesn't go high soon enough.best ways I can think of to work around this: