Question: how to calculate dnl and inl?
Answer: INL can be defined as the deviation in LSB of the actual transfer function of the ADC from the ideal transfer curve. INL can be estimated using DNL at each step by calculating the cumulative sum of DNL errors up to that point. In reality, INL is measured by plotting the ADC transfer characteristics as explained below.