cn0556#
- class adi.cn0556.cn0556(uri='ip:analog.local')#
Bases:
cn0554
The CN0556 class inherits features from the CN0554 (providing full control and monitoring of the input and output voltages and currents) and the one_bit_adc_dac (sets the mode of the regulator to either Buck or Boost and enables and disables the LT8228). These combined functionalities are utilized for a Programmable High Current and Voltage Source/Sink Power Supply.
- parameters:
- uri: type=string
URI of the platform
- property boost_input_current#
Read boost input current at V2 terminals. Convert ADC data using scale and offset factors based on resistor divider at IMON2 node.
- property boost_input_current_limit#
Compute for the target boost input current limit set using DAC data and scale and offset factors based on resistor divider network at ISET2N node.
returns boost target input current limit and DAC output voltage in volts (V) return type: (float, float)
- property boost_input_undervoltage#
Compute for the boost input undervoltage set at V2 side using DAC data and scale and offset factors based on resistor divider network at UV2 node.
returns boost input undervoltage and DAC output voltage in volts (V) return type: (float, float)
- property boost_input_voltage#
Read boost input voltage at V2 terminals. Convert ADC data using scale and offset factors based on resistor divider network.
- property boost_output_current#
Read boost output current at V1 terminals. Convert ADC data using scale and offset factors based on resistor divider at IMON1 node.
- property boost_output_current_limit#
Compute for the target boost output current limit set using DAC data and scale and offset factors based on resistor divider network at ISET1N node.
returns boost target output current limit and DAC output voltage in volts (V) return type: (float, float)
- property boost_output_voltage#
Read boost output voltage at V1 terminals. Convert ADC data using scale and offset factors based on resistor divider network.
- property boost_target_output_voltage#
Compute for the target boost output voltage set at V1 side using DAC data and scale and offset factors based on resistor divider network at FB1 node.
returns boost target output voltage and DAC output voltage in volts (V) return type: (float, float)
- property buck_input_current#
Read buck input current at V1 terminals. Convert ADC data using scale and offset factors based on resistor divider at IMON1 node.
- property buck_input_current_limit#
Compute for the target buck input current limit set using DAC data and scale and offset factors based on resistor divider network at ISET1P node.
returns buck target input current limit and DAC output voltage in volts (V) return type: (float, float)
- property buck_input_undervoltage#
Compute for the buck input undervoltage set at V1 side using DAC data and scale and offset factors based on resistor divider network at UV1 node.
returns buck input undervoltage and DAC output voltage in volts (V) return type: (float, float)
- property buck_input_voltage#
Read buck input voltage at V1 terminals. Convert ADC data using scale and offset factors based on a resistor divider network.
- property buck_output_current#
Read buck output current at V2 terminals. Convert ADC data using scale and offset factors based on resistor divider at IMON2 node.
- property buck_output_current_limit#
Compute for the target buck output current limit set using DAC data and scale and offset factors based on resistor divider network at ISET2P node.
returns buck target output current limit and DAC output voltage in volts (V) return type: (float, float)
- property buck_output_voltage#
Read buck output voltage at V2 terminals. Convert ADC data using scale and offset factors based on resistor divider network.
- property buck_target_output_voltage#
Compute for the target buck output voltage set at V2 side using DAC data and scale and offset factors based on resistor divider network at FB2 node.
returns buck target output voltage and DAC output voltage in volts (V) return type: (float, float)
- property drxn#
drxn: operating mode of the board. Returns ‘1’ if in Buck Mode and ‘0’ if in Boost Mode
- property enable#
enable the LT8228 device when True. When set to false, device is disabled, DAC outputs set to 0, and sets the DRXN to boost mode.
- property fault#
fault: checks if a fault is present. Returns True if a fault occurred.
- property intvcc_voltage#
Return voltage at INTVCC pin in volts (V)
- read_value(ctrl, ctrl_name, scale, offset)#
Convert ADC data using the scale factor and offset based on simplified formulas derived and scaling factors derived using the resistor divider networks at the feedback nodes.
- property report#
Check if REPORT is triggered. Returns True if REPORT pin is HIGH.
- set_value(value, ctrl, ctrl_name, scale, offset, val_min, val_max, unit)#
Convert user input value to equivalent DAC output voltage to control the output voltage and current limits using the scale factor and offset based on simplified formulas derived using the resistor divider networks at the feedback nodes.
Return voltage at SHARE pin in volts (V)