After following the steps described in the evaluation board, I can't get the IC to reach the charge current programmed by the Iset resistor.
When powering the circuit both LEDs turn on, but sometimes it starts charging the battery with a 0.5A current and sometimes with almost no current at all (20mA).
For the test I'm using a LiPo battery with an open circuit voltage of around 3.8V and Vin=6V with no load connected to the SYS pin, which has a voltage of 4.3V.
The resistor values in ohms are:
Riset=402
Rilim=158
Rtop=34k
Rbott=10k