I have a question about power switches, and i was wondering if someone can help me with it. For example for AP22653 can i tie FAULT pin to GND in case i don't want to use it, or in case of TPS2117 can i tie ST pin to GND in case i don't want to use it? Added links to datasheets ;).
The FAULT pin of the AP22652 is an open-drain output used to signal fault conditions such as overcurrent, thermal shutdown, or undervoltage lockout.
To use it, you typically connect a pull-up resistor (e.g., 10kΩ) between the FAULT pin and the supply voltage (Vcc). When a fault condition occurs, the FAULT pin is pulled low by the chip, signaling an error. You can then monitor the state of this pin using a digital input on your microcontroller to detect fault events.
➜ if you connect it to the supply voltage through a 10kΩ pull-up resistor, even if you're not monitoring it, then this ensures the pin is properly biased and avoids potential issues with floating inputs and who knows, if some day you want to use it, then it's ready to be connected to your Arduino.
If you pull it to GND directly, the pin will be permanently low, and you won't be able to detect any fault signals, as it won’t be able to toggle between high and low states. This connection will effectively disable the fault signaling feature of the device.
If you don't want to use it you can leave it floating (ie it's not connected to anything). Be mindful that because it's an open-drain output, a floating pin might pick up noise, which could cause the pin to toggle unpredictably, potentially generating spurious fault signals if you were one day connecting something to it. But if it's not in your plan you could just leave it floating.