User Manual MLX90601 Configuration Board Introduction The MLX90601 Configuration board is designed to support the MLX90313 based Infrared Thermometer modules. For example the MLX90601C Infrared Thermometer Module can be configured using the configuration board and software. The hardware board acts as an interface between the RS-232 computer link and the module’s SPI interface. Also it supplies the supply voltages to the module. The accompanying software will greatly simplify the configuration of the module. It allows the user to change output options, use other temperature ranges, save and retrieve configuration settings to disk, setup the comparators and more. For all inside information of the MLX90313 programmable IR sensor interface, please refer to the MLX90313 datasheet. 390129060101 Rev 003 Page 1 Aug-01 User Manual MLX90601 Configuration Board Getting started Unpacking the system The package comes with: the configuration board a serial cable to connect to a PC software and documentation on a 3.5” floppy disk Note that it is advised to check for latest software updates at www.melexis.com System requirements 80486 processor or above 16 MB RAM 2 MB free hard disk space Windows 95/98,Windows NT or Windows2000 Power supply To power the board you need a 15 – 30 volts AC or DC power supply (not included) with 3.5 mm barrel connector. Alternatively you can use the screw terminals for connecting the power supply. Connected thermometer modules take power supply from the configuration board and don’t need any other supply voltages. The power consumption of the board with module is less than 100mA. 390129060101 Rev 003 Page 2 Aug-01 User Manual MLX90601 Configuration Board Hardware description The main features of the board are shown in picture below. The pin-out of the 10-pole header for module connection is: REL SUPPLY DOUT CLK VREF 1 3 5 7 9 2 4 6 8 10 GND DIN CS IROUT TEMPOUT Where: pin 1 2 3 4 5 6 7 8 9 10 name REL GND SUPPLY DIN DOUT CS CLK IROUT VREF TEMPOUT description relay driver output ground supply pin module supply pin module data in module data out chip-select communication clock IRout pin analog reference voltage Tempout pin ! Note the polarity when mating the flat-cable connector to the board header. 390129060101 Rev 003 Page 3 Aug-01 User Manual MLX90601 Configuration Board Setting up the hardware In order to have your setup quickly up and running, follow these point by point steps: (1) first, connect the module to the flat cable like the picture shows. Pin1 is at the right side of the connector on the module. (2) connect the other end of the flat cable to the Configuration board. The pin 1 indicator* on the flat cable connector must match the pin 1 indication on the board. * Pin 1 indicator on the ribbon cable connector is a small triangle (3) Connect the power supply. Note that all LEDs remain off at this point. (4) Connect the serial link RS323 cable between the board and computer. Any serial port assigned COM1 to COM8 will do. (5) Check if the jumper is mounted. If not put the jumper over the 2 pins. (6) Start the software. If the software is not yet installed, install it first. (7) Select Module ➥ Monitor from the main menu. A window pops up showing a readout of the current temperature. If the reading is incorrect, change the calibrated ranges. See software section below. 390129060101 Rev 003 Page 4 Aug-01 User Manual MLX90601 Configuration Board Installing the software Before installing the software, always make sure to check for updates at www.melexis.com. Locate and run the installation file “90313config.exe” on floppy, CDROM or the World Wide Web. After agreeing to the legal notices, the application will install itself onto your system. Note: The application is a 32 bit executable, and will not install onto a Windows 3.1 system. Uninstalling the software To remove the software from the computer: click the start button, go to settings click control panel select “add/remove programs” You will see now a list of installed programs that can be uninstalled automatically by windows. Select 90313Config from the list and press the add/remove button. The application will now be removed from your system. If any problem should occur, please contact the technical support. 390129060101 Rev 003 Page 5 Aug-01 User Manual MLX90601 Configuration Board How to use the software Overview The MLX90313 datasheet describes completely how to change the operation of the modules. However, most users will find it much more convenient to use the configuration board. The software package, in combination with the configuration board, allows you to change all internal settings without effort. It is also possible to change the temperature ranges and modify the calibration to a certain extent. Preferences Changing the temperature units From the menu, select Preferences ➥ Temperature Units. You can now choose to use degrees Celsius, degrees Fahrenheit or Kelvin. It is advised to change the display units before using any other features, as some displayed values might not be updated. Note that the default is degrees Celsius, and cannot be changed. Selecting the communication speed In combination with the 90601 Configuration Board the default setting of 38400bps must never be changed. However to keep compatibility with other hardware it is possible to change the communication speed to 9600bps or 19200bps. To do this select Preferences ➥ Communication Speed from the menu. Selecting module power supply mode The module receives it’s power supply from the configuration board. The supply voltage can be 5 or 12 volts. To do this select Preferences ➥ Supply Voltage from the menu. There are 3 supply voltages available : 5V-leave ON: the power supply is left on the module after communication. 5V-switch OFF: 5volts supply, the power supply is switched off after communication. 12V-switch OFF: 12volts supply, the power supply is switched off after communication. Note the 12V is not available, as standard 5V modules can be destroyed by applying 12 volts. 390129060101 Rev 003 Page 6 Aug-01 User Manual MLX90601 Configuration Board Displaying measured temperature on the screen Let’s start simple. Make sure the Configuration Board is completely hooked up and powered. Connect to module to the configuration board. Start the software. Select Module ➥ Monitor. The computer will now scan the RS232 serial ports of the computer in order to find the configuration board. Depending on which serial port (COM1 to COM8) the board is connected, this may take up to 10 seconds. When the configuration board is found, the screen will look like the picture at the side. Your display now shows the current temperature as measured by the thermometer module. You can switch between object and ambient temperature by clicking the displayed value. The temperatures shown at the start and end of both gauges should correspond with the calibrated temperature ranges of your module. If this is not the case, the displayed temperature will be incorrect. Refer to section Rescale Ranges to change the calibrated temperature settings. 390129060101 Rev 003 Page 7 Aug-01 User Manual MLX90601 Configuration Board You may also want to change the display. You can modify several visual settings by choosing Preferences from the monitor’s menu. Rounding Selects rounding to a tenth, a half or a whole temperature unit. Filter length The displayed value is the average of a number of points. Use the slider bar to change to number of points. Display update rate Selects how many times per second the reading on the display is updated. Note that the gauges are updated every time the temperature is read from the module. Reading rate Set how many times per second the actual temperature is read from the module. Downloading, uploading and saving the configuration registers Make sure the monitor window is closed, otherwise the menu options will not be active. Before you can see how the module is configured, you need to get the configuration memory contents form the module to the PC. Selecting Module ➥ Download will initiate the communication screen. Make sure the module is connected. Push the button to start downloading the configuration contents. You now have the module data copied to your computer. You now can review and modify the configuration and save for later use. Use File ➥ Save as for saving the configuration data. Similar, you can retrieve a configuration setting from disk using File ➥ Open. Programming the module is done by selecting Module ➥ Upload. After uploading the data, programmed data will be verified automatically. Be sure to make a backup copy (Module ➥ Download and File ➥ Save ) before uploading ANY data to the module. Writing to the module may result in loss of functionality . Without backup copy your module may become useless! 390129060101 Rev 003 Page 8 Aug-01 User Manual MLX90601 Configuration Board Viewing configuration registers After downloading the configuration setting from a module, or retrieving the configuration data from disk, you may want to change the register contents by hand. For viewing the registers you can click: Configuration ➥ Eeprom Registers. The first column shows the eeprom address, the second the register name, the third the hexadecimal register content, and the last column shows the value without the hamming bits. The hamming bits are grouped into the 5 last bits of the register content. To modify the register contents, you have 2 options. You may change the hex value field. In this case you must enter a hamming coded number. Refer to 90313 datasheet for details. Alternatively the user can change the source value. In that case the computer calculates the hamming bits for you. Note that you must enter the entry with the “enter” key, otherwise changes may be discarded. In both cases, hexadecimal numbers must be preceded by the dollar ($) sign. Once you have changed the configuration registers, you can upload the configuration data to the module using the upload utility. Be sure to create a backup file of the original settings. Overwriting some addresses by accident can cause the module to become useless. 390129060101 Rev 003 Page 9 Aug-01 User Manual MLX90601 Configuration Board Changing the output options and comparator setup If you like to change the output options, you can use the configuration screen by selecting Configuration ➥ Mode Settings. Using this you can easily select the output option you require. Also the comparators can be set up. IRout/Tempout function: selects what this pin must do. If you select “Comparator1 Set point Input” as IRout function, the comparator will always discard the eeprom threshold value and use the external applied threshold voltage. Comparator Mode: Selects whether the output is inverted or not. In non-inverting mode the Relay pin driver is off until the source value is higher than the threshold value. Comparator2 output stays low until the source value is higher than the threshold value. Source: Determines what signal the comparator works with. Threshold – Hysteresis: eeprom stored threshold and hysteresis. The threshold is defined as the mean between the high threshold and the low threshold. The hysteresis is the difference between high and low threshold. If only one threshold is required, hysteresis must be set to zero. For the example given, comparator1 high threshold is 40C, and the lower threshold is 30C. To become effective the settings need to be uploaded to the module. 390129060101 Rev 003 Page 10 Aug-01 User Manual MLX90601 Configuration Board Temperature range rescaling basics Applications may require temperature ranges that are different from the factory calibrated ranges. The demonstration and configuration software supplied with the MLX90601 configuration board contains a utility to rescale the temperature ranges of the modules. Both the ambient temperature measurement and object temperature measurement can be rescaled inwards, i.e. the new temperature ranges have to lie within the original temperature ranges for which the module was calibrated. This limitation is imposed by the internal signal processing of the MLX90313 ASIC on board of the module. During calibration the gain settings have been selected to make optimal use of the ADC input range. Therefore the signal swing for both inputs (thermistor and thermopile signals) cannot be increased further without resulting in clipping of the amplifiers. Although possible, it is not recommended to change the gain settings of the MLX90313 ASIC because factory recalibration is necessary upon a change to these settings. The process of rescaling for the ambient temperature range is depicted in figure 1. The ambient temperature of the sensor is derived directly from the resistance value of the thermistor, Rth. The input signal swing for ambient temperature is directly proportional to Rth through the bias current, which is used to read out the thermistor. Thus in order not to go outside the original signal swing, the new temperature range must be limited to lie within the original range, as shown in the picture: Figure 1 Note that it is not sufficient that the new ambient temperature range is smaller than the original, it must also lie completely inside the original factory calibrated range. The reason for this is that also the internal offset was optimized for the original calibration in order to center the original signal swing in the ADC range. The rescaling of the object temperature range is depicted in figure2. The IR signal is a function of ambient temperature as well as object temperature, therefore they need to be considered both. In the figure the IR signal is presented as a surface with to parameter (Ta and To). We assume that the ambient temperature has been rescaled according to the above rules or that it 390129060101 Rev 003 Page 11 Aug-01 User Manual MLX90601 Configuration Board has been kept the same. Figure 2 Again, care must be taken that the signal can not go below or above the original signal swing. This is satisfied when: Orig. Tomin ≤ New Tomin < New Tomax ≤ Orig. Tomax Such a rescaling is shown in figure 2, where the purple-shaded surface is extending over the original range. The blue surface is a part of the same function limited to some new ranges, which are both within the original ranges. In principle the above requirement is too strict because it only has to be satisfied for the ‘worst case’ condition where the ambient temperature ranges is not changed. Since the IR signal swing is also reduced when the ambient temperature range is made smaller, there is effectively some margin created for an extension of the object temperature range. This is shown in figure 3, where the new ambient range is smaller then the original range. 390129060101 Rev 003 Page 12 Aug-01 User Manual MLX90601 Configuration Board Figure 3 The new maximum object temperature range is selected higher in this case. Nevertheless, the maximum IR signal in the new situation stays below the original maximum. When we assume that the IR signal follows the 4th order dependence on absolute temperature then the condition for NewTomax is: ( NewTomax 4 ≤ Orig.Tomax 4 + NewTamin 4 − Orig.Tamin 4 ) Note: remember Vinfrared = k.(To4-Ta4) . At the other side of the range we get a similar requirement for the new minimum object temperature (NewTomin). ( NewTomin 4 ≥ Orig.Tomin 4 − OrigTamax 4 − NewTamax 4 ) Note that in the last two equations, absolute temperatures expressed in Kelvin have to be used. Also, the 4th order dependence is valid only for infinite spectral response. Consequently, rescaling outside the original temperature ranges is only recommended for advanced users. 390129060101 Rev 003 Page 13 Aug-01 User Manual MLX90601 Configuration Board Changing the current calibrated temperature ranges. The 90313 based modules have a certain calibrated range for both object and ambient temperature. The minimum output value corresponds with the lower calibrated temperature limit, and the maximum output value corresponds with the upper calibrated temperature limit. These minimal and maximal temperature limits are not stored in the eeprom, and can thus not be automatically set-up by the software package. Be sure to check your module documentation to see if the settings are correct. If your module has other temperature ranges than the ones displayed, you must modify the settings before starting the monitor screen or rescaling. Rescaling using the configuration software. The range configuration part of the Configuration software provides the user easy means to modify the factory calibrated ranges. First check if the current calibrated ranges displayed match the calibration of your module. Enter the new required ranges in the “New Ranges” fields. If your new target range is outside of the original ranges a warning will be displayed. Note that it is perfectly possible to use ranges outside the original, but accuracy may be lost. The amount that accuracy is lost must be tested case by case. If the new temperature ranges are too large or too far off the original, the automatic rescaling cannot be done, due to hardware limitations. In this case a warning will be issued and the user should provide a new, smaller range. If large input ranges are required, modules can be factoryprogrammed. Please contact technical support for details. Emissivity Compensation. The modules are factory calibrated using a near to perfect black body (ε≈1). Most real life objects have an emissivity less than 1. (general-purpose thermometers use ε ≈ 0.95). For doing this emissivity compensation, make sure you have checked the Emissivity item of the Compensation type box. Fill in the emissivity coefficient of the target. For optimal result the emissivity should be in the range 0.90 to 0.99. Gain Compensation. Basically this will do the same as the emissivity compensation. However the gain compensation factor can be above or below 1. The measurement data that is required is object temperature as measured by module object temperature as measured by reference thermometer ambient temperature as measured by module One can measure these temperatures using the monitor function or can have the software get 390129060101 Rev 003 Page 14 Aug-01 User Manual MLX90601 Configuration Board these values from the connected module automatically using the “Get temperatures” button. Make sure the Configuration board and the module are hooked up correctly before using this function. To eliminate any rounding errors that may occur, it is necessary that the object and ambient temperature have a difference that is as large as possible. A rule of thumb is that the difference between ambient and target temperature should be more than 1/3th of the maximum difference that can occur. For example, if the maximum difference between ambient and target temperature is 90C-0C, then the applied difference between the target and ambient temperature must be larger than 90C / 3 = 30C. After filling in the measured temperatures, use the Calculate button. This will calculate the compensation coefficient displayed in the ”Gain correction” box. If no emissivity compensation is required, fields must be left blank. Be sure to upload the new calculated configuration settings before they become effective. Multiple rescaling The software must retrieve and recalculate configuration constants from the module. Recalculation of these constants causes small rounding errors. These errors will stay small, and they will not influence the output precision. However it is advised to rescale the eeprom content only once. If other temperature ranges are required, always start from the original factory programmed calibration data. Be sure to make a back-up copy from the original settings. Refer to section ‘Downloading, uploading and saving the configuration registers’ Capturing the internal registers Note that this is an advanced option to allow the use of custom optics and wide range calibration ranges. Normal users will not have to use this option. For creating a custom calibration data table, the OEM or Melexis customer support will have to do various reference measurements. For this purpose the internal register values must be read from the module and supplied to Melexis customer support. Start the Register Capture screen by selecting Module ➥ Register Capture In the left grid the register name and addresses are displayed. After reading one or more times the register the average value will be displayed in the “value” fields. The number of points sets how many points you want to measure. The range is 1 to 32767 points. The time between the sample points is set by the reading interval. When measuring more than 1 point, the data should be saved to disk. Click the “save results to disk” and click the floppy icon to specify a output file. Making it text (.txt) or csv (.csv) is advised, as you can open the file with a text editor or spreadsheet application. The output file is in ASCII format and tab delimited. Under the display grid the user can select hexadecimal or decimal display. Note that the value displayed on the screen is always the average value of all measured points. 390129060101 Rev 003 Page 15 Aug-01 User Manual MLX90601 Configuration Board Technical Support If you experience any problems with the module, Configuration board or Software tools please contact our technical support. When encountering problems with the use of the software, please mention the “program build” info found at the “about” box. Specialized support can be reached by email at: [email protected] 390129060101 Rev 003 Page 16 Aug-01 User Manual MLX90601 Configuration Board Appendix A: Troubleshooting guide Problem Possible solutions The software won’t install from the internet. The file can get corrupted during download from the internet. Try saving the install file to your local hard drive before opening it. Use the option ‘save file to disk’ when clicking the file using a browser. The software does not complete installation when upgrading or reinstalling the software. Manually delete the program folder where a previous installation is located. By default this will be in C:\Program Files\Melexis\90313 Configurator\. Then try again installing the new software. Call the Technical support. ‘Could not find SPI compatible programmer’ message displays. The serial cable is not connected in a correct way. Check the cable. You’re using the wrong cable. Correct cable has 1 male and 1 female connector, no connections cross-coupled. Try the supplied cable. The EC jumper is not installed. Install the jumper. Board is not powered. Check the board power supply. Wrong baud rate selected. Correct speed is 38400bps. Check at Preferences➥ ➥Communication Speed. The serial port is used by another application. Terminate all other programs using the serial ports. This might require a reboot of your system. Reset the board using the reset button. Retry the communication. The Monitor window gives random results. The module is not connected properly to the Configuration Board. Connect the module. My modules use other calibrated ranges than the default ranges. Can I store these ? Start the program. Change the Current Calibrated Ranges (Configuration ➥ Rescale ➥Save As. Locate the “regdefs.csv” Ranges ) into the ones of your module. Select File➥ file on your hard disk. Mostly this file will be in C:\Program Files\Melexis\90313 Configurator\, or where you installed the application). Overwrite the file on disk. By accident, I have overwritten the module eeprom. Can I restore the original contents ? No, unless you have made a backup copy of your original data. 390129060101 Rev 003 Check the flat cable between the module and the board. If you don’t have a copy, you should contact the technical support. Page 17 Aug-01 User Manual MLX90601 Configuration Board Appendix B: MLX90313/MLX90601 Configuration Board Communication protocol The configuration board connects to a computer through an RS-232 serial interface. The symbols sent to the evaluation board via RS-232 are echoed if the jumper JP1 (‘EC’) is shorted and NOT echoed if the jumper JP1 is open. The ECHO mode is convenient for manual operations, when a standard terminal emulation program is used to type different commands to the evaluation board. Note that the configuration software requires the jumper to be mounted. The settings of the PC (or other machine) serial RS-232 port are the following: Baud rate: 38400 Data bits: 8 Parity: None Stop bit: 1 Flow control: None Command format All the commands supplied from the PC to the board are text (ASCII) statements ending with a carriage return (CR). The syntax is the following: command [argument1] [argument2] [argument3] [argument4] <CR> The commands are 2-character alphanumeric strings. The arguments are 1-byte (0-255), alphanumeric strings in HEX radix. Additional special symbols such as space intervals, commas, dots, etc. can be placed between the command and arguments in order to make the statements more readable and understandable. The only restriction is one statement to be not longer than 30 bytes (characters). The commands and arguments are 2 characters long. The leading zeros of arguments are also required. For example the argument ‘0x0B’, should be written as ‘0B’. If the zero is missed and it is entered as ‘B’, the firmware will accept it as ‘B0’. All missing arguments are accepted as ‘00’. For example the command ‘rd 00’ can be shorten to ‘rd’. But the command ‘wr 00 0A’ CANNOT be entered as ‘wr 0A’, because, in this case, it will be recognized as ‘wr 0A 00’. If the arguments passed to some command are not sufficient (for example the command needs 3 arguments, but only 2 are supplied), 0x00 replaces the missing arguments. If the arguments passed to some command are more than required, only the necessary arguments are considered. The rest of them are just skipped. The interface is NOT case sensitive! The entered commands and arguments could be either lower or upper case. If the commands are typed manually (using any standard terminal emulation program) and a typing mistake is encountered, the entire command statement can be removed by pressing the ESC button. The last typed symbols could be removed also by pressing the BACKSPACE button. The commands are passed for processing by pressing the <CR> button. 390129060101 Rev 003 Page 18 Aug-01 User Manual MLX90601 Configuration Board All the returned values by the evaluation board are also in text format (ASCII symbols) and can be read by any standard terminal emulation program. The numbers returned are also in HEX radix. Commands List The 90601 Configuration Board recognizes the following commands: 1. Reading the micro-controller registers. This also includes the special purpose registers and micro-controller ports. Syntax: rd address Return Value: One HEX byte (2 chars) with the contents of specified register<CR>. Example: rd 05 2. Writing to the micro-controller registers. This also includes the special purpose registers and micro-controller ports. Syntax: wr address value Return Value: None. Example: wr 05 14 3. PCB identification. The ID number of 90601 Configuration Board is 0x07. Syntax: id Return Value: 07 <CR> Example: id 4. Software reset. This command resets entirely the 90601 evaluation board, including the micro-controller registers. It is equal to the hardware reset, performed by the reset button. Syntax: rs 390129060101 Rev 003 Page 19 Aug-01 User Manual MLX90601 Configuration Board Return Value: None. Example: rs 5. Welcome message. Returns a text description of the pcb function and firmware release date. Syntax: wl Return Value: <CR> 90601 Evaluation Board, 02-AUG-2001<CR> Melexis BG<CR> Example: wl 6. Modules’ supply voltage. Depending on the ‘source’ value, this command switches one of the power supplies ON or switches OFF both of them: Source = 0x01 – Connects 5V to the module Source = 0x02 – Connects 12V to the module Source ≠ 0x01 and Source ≠ 0x02 – Disconnects both the supplies. Syntax: sv source Return Value: None. Example: sv 01 7. Reading the contents of module’s EEPROM. The addresses supplied to the EEPROM are 8 bits. The result is 16 bits. Syntax: m1 or re address address Return Value: Two HEX bytes (4 chars) with the contents of specified EEPROM address<CR>. Example: m1 00 8. Reading the contents of module’s internal registers. The addresses supplied to the 90313 are 8 bits. The result is 16 bits. 390129060101 Rev 003 Page 20 Aug-01 User Manual MLX90601 Configuration Board Syntax: m2 or rr address address Return Value: Two HEX bytes (4chars) with the contents of specified internal register address<CR>. Example: m2 00 9. Writing to the module’s internal registers at the specified address. The addresses supplied to the 90313 are 8 bits. The data is 16 bits. Syntax: m3 or rw address data MS byte data LS byte address data MS byte data LS byte Return Value: None. Example: m3 10 B2 00 10. Writing to the module’s EEPROM at the specified address. The addresses supplied to the EEPROM are 8 bits. The data is 16 bits. Note! The module’s EEPROM is normally locked. To unlock it, two additional commands should be issued, after applying the power supply and before attempting to write into the EEPROM: m3 10 B2 00 – to enter the test mode m3 18 00 65 – to remove the EEPROM write protect. Note! The module’s EEPROM should be erased before writing. To do this, one of the following commands should be performed after unlocking the EEPROM and before the writing process: m6 address – to erase the EEPROM at the specified address, or m7 – to erase the whole EEPROM. Syntax: m4 or we address data MS byte data LS byte address data MS byte data LS byte Return Value: None. Example: 390129060101 Rev 003 Page 21 Aug-01 User Manual MLX90601 Configuration Board m4 00 02 C3 11. Block writing to the module’s EEPROM at the specified address. The address is not supplied to the EEPROM – directly the data. The data is 16 bits. Note! The module’s EEPROM is normally locked. To unlock it, two additional commands should be performed, after applying the power supply and before attempting to write into the EEPROM: m3 10 B2 00 – to enter the test mode m3 18 00 65 – to remove the EEPROM write protect. Note! The module’s EEPROM should be erased before writing. To do this, one of the following commands should be performed after unlocking the EEPROM and before the writing process: m6 address – to erase the EEPROM at the specified address (this command should be cycled over the all addresses), or m7 – to erase the whole EEPROM. Syntax: m5 or bw data MS byte data LS byte data MS byte data LS byte Return Value: None. Example: m5 02 C3 12. Erasing to the module’s EEPROM at the specified address. The addresses supplied to the EEPROM are 8 bits. The data is not necessary. Note! The module’s EEPROM is normally locked. To unlock it, two additional commands should be performed, after applying the power supply and before attempting to write into the EEPROM: m3 10 B2 00 – to enter the test mode m3 18 00 65 – to remove the EEPROM write protect. Syntax: m6 command or ee address argument 1, HEX byte argument 2, HEX byte argument 3, HEX byte argument 4, HEX byte address Return Value: None. Example: 390129060101 Rev 003 Page 22 Aug-01 User Manual MLX90601 Configuration Board m6 00 13. Block erasing to the module’s EEPROM at the specified address. The address and data are not supplied to the EEPROM. Note! The module’s EEPROM is normally locked. To unlock it, two additional commands should be performed, after applying the power supply and before attempting to write into the EEPROM: m3 10 B2 00 – to enter the test mode m3 18 00 65 – to remove the EEPROM write protect. Syntax: m7 or be Return Value: None. Example: m7 Error messages The 90601 Configuration Board may generate the following error messages: !70 !71 !72 !73 !74 !75 !76 !77 The supplied command is not valid. NON-HEX symbols provided as arguments - Command Summary Command rd wr id rs wl sv re / m1 rr / m2 rw / m3 we / m4 bw / m5 ee / m6 be / m7 390129060101 Rev 003 argument1 argument2 argument3 Brief Description address Read the PIC memory/registers address value Write to PIC memory/registers PCB Identification Software reset Welcome message source Select the supply voltage address Read module’s EEPROM address Read module’s internal registers address data MS data LS Write to module’s internal registers address data MS data LS Write to module’s EEPROM data MS data LS Block write to module’s EEPROM address Erase module’s EEPROM Block erase module’s EEPROM Page 23 Aug-01 User Manual MLX90601 Configuration Board For the latest version of this document, go to our website at: www.melexis.com Or for additional information contact Melexis Direct: Europe and Japan: Phone: +32 13 61 16 31 E-mail: [email protected] 390129060101 Rev 003 All other locations: Phone: +1 603 223 2362 E-mail: [email protected] Page 24 Aug-01