I have 2 doubts related to the initialization parameters of the AD7147 CDC:
1. are the values specified for bank1 initialization mandatory? Or I can directly set them to the values needed for my specific case (apart from Address 0x001)? I am referring to this part of the datasheet:
Write to the Bank 1 registers at Address 0x000 through Address 0x007, outlined as follows. These registers are contiguous; therefore, a sequential register write sequence can be applied (see Figure 50 and Figure 55).
Caution: At this time, Address 0x001 must remain set to a default value of 0x0000 during this contiguous write operation.
Address 0x000 = 0x82B2
Address 0x001 = 0x000
Address 0x002 = 0x3230 (depends on number of conversion stages used)
Address 0x003 = 0x419
Address 0x004 = 832
Address 0x005 = interrupt enable register (depends on required interrupt behavior)
Address 0x006 = interrupt enable register (depends on required interrupt behavior)
Address 0x007 = interrupt enable register (depends on required interrupt behavior)
4. Write to the Bank 1 register, Address 0x001 = 0x0FFF (depends on number of conversion stages used).
2. I can't understand how to choose proper values for STAGEx_OFFSET_HIGH_CLAMP and STAGEx_OFFSET_LOW_CLAMP. In particular, it is not clear to me the meaning of this definition:
Set this register to the maximum expected sensor response or the maximum change in CDC output code
Set this register to the minimum expected sensor response or the minimum change in CDC output code.
Since midscale is around 32700, should STAGEx_OFFSET_HIGH_CLAMP be much greater than that value, while STAGEx_OFFSET_LOW_CLAMP much lower? Or it refers to the maximum delta from the initial value? In this latter case, do you have any suggestions for choosing it? Which are the risks of putting wrong values for these parameters?
Thank you very much,