User guide
71M6533-DB Demo Board User’s Manual   
Page: 24 of 75  `  REV 3 
1.9.2  CALIBRATION MACRO FILE 
The macro file in Figure 1-6 contains a sequence of the serial interface commands. It is a simple text file and 
can be created with Notepad or an equivalent ASCII editor program. The file is executed with HyperTerminal’s 
Transfer->Send Text File command. 
Figure 1-6: Typical Calibration Macro File 
It is possible to send the calibration macro file to the 71M6533H for “temporary” calibration. This will temporarily 
change the CE data values. Upon power up, these values are refreshed back to the default values stored in 
flash memory. Thus, until the flash memory is updated, the macro file must be loaded each time the part is 
powered up. 
The macro file is run by sending it with the transfer 
 send text file procedure of HyperTerminal. 
Use the Transfer 
 Send Text File command! 
1.9.3  UPDATING THE DEMO CODE (HEX FILE) 
The d_merge program updates the hex file (usually named 6533_4p6b_19jan08.hex or similar) with the values 
contained  in the  macro file.  This  program is executed from  a  DOS command  line window.  Executing  the 
d_merge  program  with  no  arguments  will  display  the  syntax  description.  To  merge  macro.txt  and 
old_6533_demo.hex into new_6533_demo.hex, use the command: 
d_merge old_6533_demo.hex macro.txt new_6533_demo.hex 
The new hex file can be written to the 71M6533 through the ICE port using the ADM51 in-circuit emulator or the 
TFP2 flash programmer. 
1.9.4  UPDATING CALIBRATION DATA IN FLASH OR EEPROM 
It is possible to make data permanent that had been entered temporarily into the CE RAM. The transfer to flash 
memory is done using the following serial interface command: 
>]U 
Thus, after transferring calibration data with manual serial interface commands or with a macro file, all that has 
to be done is invoking the U command. 
Similarly, calibration data can also stored in EEPROM using the CLS command.  
After reset,  calibration data  is copied from the EEPROM, if  present.  Otherwise, calibration 
data is copied from the flash memory. Writing 0xFF into the first few bytes of the EEPROM 
deactivates any calibration data previously stored to the EEPROM. 
CE0    /disable CE 
]10=+16022 /CAL_IA (gain=CAL_IA/16384) 
]11=+16381 /CAL_VA (gain=CAL_VA/16384) 
]12=+16019 /CAL_IB (gain=CAL_IB/16384) 
]13=+16370 /CAL_VB (gain=CAL_VB/16384) 
]14=+15994 /CAL_IC (gain=CAL_IC/16384) 
]15=+16376 /CAL_VC (gain=CAL_VC/16384) 
]18=+115  /PHADJ_A (default 0) 
]19=+113  /PHADJ_B (default 0) 
]1A=+109  /PHADJ_C (default 0) 
CE1    /enable CE 










