beautypg.com

5 calibration commands, Calibration commands, Cal command – Maxim Integrated 6612_OMU_S2_URT_V1_13 User Manual

Page 10: Calw command

background image

6612_OMU_S2_URT_V1_13 Firmware Description Document

FDD_6612_010

10

Rev. 1.1

Auxiliary

Description:

Various

Commands:

,

Typing a comma (“,”) repeats the command
issued from the previous command line. This is
very helpful when examining the value at a
certain address over time, such as the CE
DRAM address for the temperature.

/

The slash (“/”) is useful to separate comments
from commands when sending macro text files
via the serial interface. All characters in a line
after the slash are ignored.

4.5 Calibration Commands

Using the precision source method, the user provides a precision voltage and precision current load is
provided to the device for calibration. The 6612_OMU_S2_URT_V1_13 firmware provides commands to
calibrate the measurement units. For linear current sensors, such as current shunt, no phase calibration
is necessary.

There are two types of calibration commands. The first type provides complete calibration. The second
group, called atomic calibration commands, provides calibration for individual portions of the IC.

4.5.1 Complete Calibration Command (“Single Command Calibration”)

There are two calibration commands in this first group: CAL and CALW. Only one of these commands
is needed to calibrate the System/Unit.


To use these commands, a precision voltage source and a precision current source are required

4.5.1.1 CAL Command

To use the CAL command, enter the following:

>CAL

The response is:

TCal OK
VCal OK
ICal 0 OK
>

The device would calibrate the temperature (reads CE register 71, enters it into MPU register C0, and
saves to flash), calibrate the voltage (adjusts CAL VA and CAL VB registers and saves them to flash),
and finally calibrate the current (adjusts CAL IA register and saves to flash).

4.5.1.2 CALW Command

To use the CALW command, enter the following:

>CALW

The response is:

TCal OK
VCal OK
WCal 0 OK
>