AD5420 gain and offset compensation

Hi all,

I use an AD5420 to produce a precise 0-20mA output current.

Is it preferrable to compensate the offset and gain errors by firmware or there is some internal compensation circuitry in the AD5420 to do this ?

In the AD420 the compensation can be done using two external dedicated pins.

Thanks in advance for any suggestion