WP8548 power down with power_on_n pin

Hello,
I’m doing de hardware design based on wp85 module. I want to power on and power down the module with one only button. Pressing it a few seconds the module turn on. in the on state, pressing a few seconds, the module turn off.
The power on, is no problem.
For the power off with software comand: I can read the “power_on_n” pin state? it is no posible and I have to use one GPIO?
thanks greetings

The power_on_n pin is literally used for just that, to power the unit on, you cannot use it to check whether it has powered down, as stated in the PTS you need to monitor a GPIO, 1V8 or you could look at the UART lines.

Regards

Matt

OK, Thanks you