Li battery charger reference voltage problem
@diegogmx's hunch was right(check all the comments). The fault and charging pins cannot be directly connected to VIN, but a current limiting resistor must be used to connect them. I was in touch with Analog devices Engineering support, and they cleared my doubts. Thank's for the help everyone.