Post Go back to editing

HIGH LIMIT 1 (PAGE 0x05) Registers Settings

Category: Datasheet/Specs
Product Number: AD7293

How to convert voltage range to HIGH LIMIT 1 (PAGE 0x05) registers settings for

AVDD, DAC Supply (DACVDD-UNI/DACVDD-BI) and AVSS High Limit Registers (Register 0x10 to Register 0x13),

BI-VOUT0MON to BI-VOUT3MON High Limit Registers (Register 0x14 to Register 0x17) and

RSx+MON High Limit Registers (Register 0x28 to Register 0x2B).

Vis verso, how to get their voltage reading from relative ADC conversion RESULT registers.

Thanks.

JYI

Parents
  • Hi  ,

    thank you for your question, please refer to the AD7293 datasheet (DS), "Internal Channel Monitoring" section, which describes scaling of each of the mentioned channels. (Fugure 42. attached for your convenience, which reflects the same, more detaild description is in DS.) Resulting codes are then compared to determine, if ALERT will be triggered based on the configured limit. 

      

    Regards,

    Arnost

  • If I need to figure out how to map the input to Limit Register ADC data, then I don't need to ask questions here.

    As user, I would like to have a simple, direct conversion between input voltage range to Mux range, especially for those with negative voltage range.

    Thanks.

    JYI

  • Hi  

    based on the input values indicated above, it is direct conversion using 12bit resolution. For example BI-Vout0MON have range -5V to 5V, this is scaled to 12bit resolution where -5V corresponds to 0x000 and 5V 0xFFF (as described in DS INTERNAL CHANNEL MONITORING section). 

    Conversion for BI-Vout0MON can be done using this formula: LIMIT_CODE = ((Desired_Voltage_Limit+5)/10)*2^(12)) 

    Here is described reasoning behind it: 

    Similar approach needs to be taken for other inputs, here is direct equation examples:

    RS0+MON:  LIMIT_CODE = ((Desired_Voltage_Limit)/62.5)*2^(12))

    DACVDD-BI:  LIMIT_CODE = ((Desired_Voltage_Limit)/6.25)*2^(12))

    DACVDD-UNI:  LIMIT_CODE = ((Desired_Voltage_Limit)/25)*2^(12))

    AVSS:   LIMIT_CODE = ((Desired_Voltage_Limit+7.5)/10)*2^(12)) 

    AVDD: LIMIT_CODE = ((Desired_Voltage_Limit)/6.25)*2^(12))

    Regards,

    Arnost

Reply
  • Hi  

    based on the input values indicated above, it is direct conversion using 12bit resolution. For example BI-Vout0MON have range -5V to 5V, this is scaled to 12bit resolution where -5V corresponds to 0x000 and 5V 0xFFF (as described in DS INTERNAL CHANNEL MONITORING section). 

    Conversion for BI-Vout0MON can be done using this formula: LIMIT_CODE = ((Desired_Voltage_Limit+5)/10)*2^(12)) 

    Here is described reasoning behind it: 

    Similar approach needs to be taken for other inputs, here is direct equation examples:

    RS0+MON:  LIMIT_CODE = ((Desired_Voltage_Limit)/62.5)*2^(12))

    DACVDD-BI:  LIMIT_CODE = ((Desired_Voltage_Limit)/6.25)*2^(12))

    DACVDD-UNI:  LIMIT_CODE = ((Desired_Voltage_Limit)/25)*2^(12))

    AVSS:   LIMIT_CODE = ((Desired_Voltage_Limit+7.5)/10)*2^(12)) 

    AVDD: LIMIT_CODE = ((Desired_Voltage_Limit)/6.25)*2^(12))

    Regards,

    Arnost

Children