Stellar atmospheric parameters and the IR Caii triplet