71M6543 Demo Board User’s Manual
Page: 3 of 91 v5
Table of Contents
1 GETTING STARTED................................................................................................................................................ 7
1.1 General .................................................................................................................................................................... 7
1.2 Safety and ESD Notes ............................................................................................................................................ 7
1.3 Demo Kit Contents ................................................................................................................................................. 8
1.4 Demo Board Versions ............................................................................................................................................ 8
1.5 Compatibility ........................................................................................................................................................... 8
1.6 Suggested Equipment not Included ..................................................................................................................... 8
1.7 Demo Board Test Setup ......................................................................................................................................... 9
1.7.1 Power Supply Setup ........................................................................................................................................ 10
1.7.2 Cables for Serial Communication .................................................................................................................... 10
1.7.3 Checking Operation ......................................................................................................................................... 11
1.7.4 Serial Connection Setup .................................................................................................................................. 11
1.8 Using the Demo Board ......................................................................................................................................... 12
1.8.1 Serial Command Language ............................................................................................................................. 13
1.8.2 Using the Demo Board for Energy Measurements .......................................................................................... 19
1.8.3 Adjusting the Kh Factor for the Demo Board ................................................................................................... 19
1.8.4 Adjusting the Demo Boards to Different SHUNT Resistors ............................................................................. 19
1.8.5 Using the Pre-Amplifier ................................................................................................................................... 19
1.8.6 Using Current Transformers (CTs) .................................................................................................................. 19
1.8.7 Adjusting the Demo Boards to Different Voltage Dividers ............................................................................... 19
1.9 Calibration Parameters ........................................................................................................................................ 20
1.9.1 General Calibration Procedure ........................................................................................................................ 20
1.9.2 Calibration Macro File ..................................................................................................................................... 21
1.9.3 Updating the Demo Code (hex file) ................................................................................................................. 21
1.9.4 Updating Calibration Data in Flash or EEPROM ............................................................................................. 21
1.9.5 Loading the Code for the 71M6543F into the Demo Board ............................................................................. 22
1.9.6 The Programming Interface of the 71M6543F ................................................................................................. 23
1.10 Demo Code ........................................................................................................................................................ 24
1.10.1 Demo Code Description ............................................................................................................................... 24
1.10.2 Demo Code Versions ................................................................................................................................... 24
1.10.3 Important MPU Addresses ........................................................................................................................... 24
1.10.4 LSB Values in CE Registers ........................................................................................................................ 31
1.10.5 Calculating IMAX and Kh ............................................................................................................................. 31
1.10.6 Determining the Type of 71M6x0x ............................................................................................................... 32
1.10.7 Communicating with the 71M6X0x .............................................................................................................. 33
1.10.8 Bootloader Feature ...................................................................................................................................... 33
2 APPLICATION INFORMATION ............................................................................................................................. 35
2.1 Calibration Theory ................................................................................................................................................ 35
2.1.1 Calibration with Three Measurements ............................................................................................................. 35
2.1.2 Calibration with Five Measurements ............................................................................................................... 37
2.2 Calibration Procedures ........................................................................................................................................ 38
2.2.1 Calibration Equipment ..................................................................................................................................... 38
2.2.2 Detailed Calibration Procedures ...................................................................................................................... 38
2.2.3 Calibration Procedure with Three Measurements ........................................................................................... 39
2.2.4 Calibration Procedure with Five Measurements .............................................................................................. 40
2.2.5 Calibration Spreadsheets ................................................................................................................................ 40
2.2.6 Compensating for Non-Linearities ................................................................................................................... 42
2.3 Temperature Compensation ................................................................................................................................ 43
2.3.1 Error Sources .................................................................................................................................................. 43
2.3.2 Software Features for Temperature Compensation ........................................................................................ 44
2.3.3 Calculating Parameters for Compensation ...................................................................................................... 45
2.4 Testing the Demo Board ...................................................................................................................................... 48