5.3.7 VCO Range .............................................................................................................................16
5.3.8 VCO Buffer Current .................................................................................................................16
5.3.9 VCO Core Current ...................................................................................................................16
5.4 Frequency and IFF Control – Tab.................................................................................... 17
5.4.1 Auto Adjustment ......................................................................................................................17
5.4.2 Halt ..........................................................................................................................................17
5.4.9 A ..............................................................................................................................................18
5.4.10 N ..............................................................................................................................................18
The PC programming software can be used to control the operational modes of the MLX71122 RF receiver at
its Serial Programming Interface (SPI) through the three pins A/SCLK, B/SDTA and C/SDEN. The pin
SPISEL must be at logic HIGH in order to set the MLX71122 to SPI mode. Otherwise the receiver operates in
stand-alone (or ABC) mode and cannot be programmed via the three pins A/SCLK, B/SDTA and C/SDEN.
In SPI mode, it is possible to write in and read out the seven control registers R0 to R6. Register R7 is a
read-only register for status information. In ABC mode, 8 predefined frequency channels between 369.5 MHz
and 395.9 MHz can be selected by parallel programming at the three pins A/SCLK, B/SDTA and C/SDEN.
A block diagram of the receiver is shown below.
2
1
VE
5
6
43
8
9
28
MODSEL
29
LO2
RO
R
counter
24
IFF
_
SLCSEL
Logic
30
ROI
17
SPISEL
201621
ENRX
RBIAS
LNAI
31
MIX1MIX2
N / A
counter
LF
15
LO1
LF
IF1
PFD
CP
MFO
23
LNA
LO2DIV
VCO
TNK1TNK2
VCCVCO
VEEVCO
1411
12 13
The following tables show the functionality of the three digital control pins that are used for general operating
mode selection.
The MLX71122 program has been developed for Windows XP and has been tested for later Windows versions. The program uses TVicPort I/O driver to interface to the parallel port.
The EVB71122 can be used either with a USB-SPI converter connected to the PC’s USB port or it can be
directly connected to the PC’s printer port (LPT). If the LPT port is used then port addresses 0x278, 0x378
and 0x3BC (hexadecimal) are supported. A programming cable with a male 25-pole SUB-D connector can be
purchased together with the evaluation board EVB71122.
The following LPT ports can be connected to the corresponding IC pins:
LPT port Direction IC pin Cable pin
BUSY (pin11) ←
GND (pin18-25)
D1 (pin3)
D2 (pin4) →
D0 (pin2) →
If the PC’s USB port is used, a USB-SPI converter is required. It is available on request or can be purchased
together with the evaluation board EVB71122.
Note that pin 7 of the MLX71122 (SPISEL) is connected to logic HIGH on the EVB71122. This is to set the
receiver to SPI mode.
→
MFO (pin 23) Connected (1)
GND
A/SCLK (pin 19) Connected (3)
B/SDTA (pin 18) Connected (4)
C/SDEN (pin17) Connected (5)
Connected (2)
3 Installation and Files
The installation program will ask you for a folder where you want to install the files. By default, the program
installs the software in the directory:
C:\Program Files\Melexis\MLX71122_V32
The following files will be installed:
File Function
MLX71122_V32.exe Main program executable
unins000.exe Program to uninstall the software
unins000.dat Uninstall data file
MLX71122.ini Init file for windows start of main program
TVicPort.dll Dynamic library to support parallel port programming
ReadMe.txt ReadMe file
mpusbapi.dll Dynamic library to support USB interface
We recommend creating the icon of the main program on your PC’s desktop to easily access the program.
The working directory folder of the link should be set to the installation folder.
4 Using the Software
4.1 Software Start Up
Please make sure the evaluation board EVB71122 and the USB-SPI converter (or the LPT cable) are connected to the PC. This ensures that the software automatically detects whether the USB or the LPT port are
used.
The software can be started by double clicking on the main program icon in the installation directory or by
double clicking on the link. During start-up the software reads out the corresponding init-file and restores all
settings that were active when the software was regularly closed the last time.
E
A typical first menu view of the program is shown in the figure above. The program starts up with the tab
Mode Control activated.
Data is only sent to the IC if the Send to IC button is pressed or Send always is activated.
• Load Config load a previously defined config-file and activate the new state
• Save Config save the actual state in a new config-file
The Exit field in the window frame has the same function as the Exit menu item. After a configuration is
loaded its file name is displayed in the window title as reminder.
4.2.2 LPT
This menu enables the user to choose a LPT port address to use for the programming. Three port addresses
are supported (in hexadecimal):
The port address is displayed in the Program Status Line at the lower-right corner of the program window.
Note that if the USB-SPI converter is used the LPT menu cannot be selected (LPT appears gray shaded).
The Program Status Line shows that the USB-SPI converter has been found.
4.2.3 Settings
The menu Settings contains three menu items:
The Defaults menu item of this menu restores the state that is hard-coded on the MLX71122 and that is active after powering up the IC. The default receive frequency is 384MHz. After recovering the default settings
the text Default Settings is displayed in the window title as reminder.
The Set Vpwm menu item activates the internal reference voltage of the USB-SPI converter. It is freely programmable in a range of 0 to 5V. The voltage should be entered in millivolts.
If ext. Vref menu item is selected, the Set Vpwm menu item cannot be selected (appears gray shaded).
If the LPT port is used the ext. Vref and Set Vpwm menu items cannot be selected (appear gray shaded).
If the ext. Vref menu item is selected, but no external reference voltage is connected to the USB-SPI converter the SPI logical high level will be set internally to about 1.83V.
• Exit close the program and save the state into the init-file
• 0x278
• 0x378 (default)
• 0x3BC
• Defaults restores the state that is hard-coded on the MLX71122
• ext. Vref SPI logical high level set by external reference voltage (e.g. provided by supply
voltage of EVB71122)
• Set Vpwm SPI logical high level set by internal reference voltage