
MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 1
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 1 Rev 1.0 30/Jul/00
Featur es an d Be n efi ts
1µm CMOS technology
MLX8 core with 8 accumulators, 80 b
h voltage input (detection of mains-active)
detection input to detect the 50/60Hz
7 standard inputs of which 2 can be used as comparator inputs and 2 can be confi
ured as
open-collector o utp uts .
15 confi
urable LCD outputs (segment/backplane)
drivers which can also be used to drive a triac or LED’s without the need for external resistors.
Buzzer driver with pro
On-chip 4MHz oscillator, cr
stal oscillator and low power RC oscillator
Low power mo de
battery or decoupling capacitor)
h supply voltage eliminates the need for high power resistors
Applications
24 hour timer for cooker applications, coffee maker, ...
Ordering Information
Part No. Temperature Suffix Package version Temperature Range
MLX90719 S LS -x 0C to 85C
The c ustom er sp ecifi c ver sion c ode
defining the RO M conten t) is i ndi cat ed wit h 1 cha rac ter at th e en d of th e
number.
Description
The ASIC consists of a dedicated microcontroller
combined with on-chip analo
ured to a great extend. This
makes it ideal to adapt it to different applications b
means of an update in the software. The number of
external components for the electronic module is
minimized. A t
pical application mainly consists of
the MLX90719 ASIC, a number of command buttons,
a LCD, a rela
, some LED’s and a buzzer.
The number of buttons and their function can be
freel
chosen. The configuration of the LCD, the
number of backplanes and its pinout is also under
software control. Three outputs are available for a
rela
and LED’s.
Functional Diagram
MLX90719
LX11
Interrupt
controller
RAM
1 x comp
CounterWatchdo
XT1
XT2
IN 1-8
ZCD
VDD4
BAT
VSS
LCD 1-15
OUT A,B,C
BUZ
17bit timer
Controller
125kHz
oscillator
4MHz
PLL
LC
oscillator
POR
8 x input
Vre
Xtal
LCD
Output
A, B, C
Buzzer
Zero
cross

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 2 Rev 1.0 30/Jul/00
General description
The MLX90719 is an ASIC which is ideally suited
for timing control application, low cost as well as
high end, such as clocks in coffee machines, cookers, baking eq uipm ent,...
The ASIC consists of a dedicated microcontroller
combined with on-chip analog and digital blocks,
which can be configured to a great extend. This
makes it ideal to adapt it to different applications by
means of an update in the software. The number of
external components for the electronic module is
minimized. A typical application mainly consists of
the MLX90719 ASIC, a number of command buttons, a LCD, a relay, some LED’s and a buzzer.
The number of buttons and their function can be
freely chosen. The configuration of the LCD, the
number of backplanes and its pinout is also under
soft war e contr ol. Thr ee out puts ar e avail able f or a
relay and LED’s.
Main functions:
General-purpose timer chip based on the 8-bit
LX11 core, including 80 bytes RAM and 6 Kbytes
ROM.
Programming of the ROM and selection of all other
options is done with one mask.
An interrupt controller guarantees exact timings
and a clean refresh rate of the LCD.
High supply voltage eliminates the need for high
power resistors.
6 digital inputs and 2 I/O pins (function is under
software control).
1 comparator (uses 2 of the digital inputs) which
can be used for analog measurements.
3 hig h cur rent out put dri ver s. Th ey are s uita bl e for
driving low cost 12V relays, but other types can
also be used. They can also be used to drive triac
or LED’s without the need for external resistors.
1 bu zzer ou t pu t fo r piezo el ec t r ic b u zzer s, w it h pr o grammable frequency.
The LCD interface consists of 15 outputs, each of
them can be con figured as backpl ane or segm ent
driver.
The time base for the clock function is derived either f r om t he m ains fr eq uen c y o r f r om a cr y st a l o s cillator.
The clock frequency for the microcontroller, relay
drivers and buzzer output is derived from an on
chip oscillator, which is calibrated under software
control.
For applications that are disconnected from the
mains for longer times, a battery backup can be
foreseen, so that the module always keeps track of
the time.
For short mains interruptions (up to 5 minutes), the
energy in a decoupling capacitor can be used to
keep track of the time.
An on-chip watchdog ensures the functioning of the
chip under all environmental conditions.
The package size can be adapted to the number of
used pins (non-used I/O’s do not need to be
bonded).

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 3
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 3 Rev 1.0 30/Jul/00
MLX90719 Electrical Specifications
DC Operating Parameters T
C, VDD = 60V (unless otherwise specified)
150 °C Maximum allowed source
Drivers off = all the current flows in the chip
Analog features
Power supply
The MLX90719 suppl
pin (VDD4) must be connected
external series resistor and rectifier diode to the
mains. An internal Zener function limits the volta
e at
VDD4 to 70-80V. For proper operation, a decouplin
capacitor needs to be connected between VDD4 and
VSS
90719
Vdd4
Vss
line
R1
R2
C
6k*
6k*
22uF*
*for information onl

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 4 Rev 1.0 30/Jul/00
The MLX90719 has several internal supply lines for both analog and digital blocks:
Voltage applied at the supply pin
Internal buzzer driver supply
Internal 5V for main oscillator
Vdd1 4.5 5.0 5.5 V Internal 5V for digital
4.0 5.0 6.0 V Low power mode
64 67 70 % Idd4 For Vdd4<Vaporl (LPM)
Voltage of backup battery
2.7 3 3.3 V Supply for external circuitry

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 5
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 5 Rev 1.0 30/Jul/00
3.4 V Low level threshold
Notes:
The power on reset does not reset the s
stem when en tering low power mode with battery (Vdporl<Vbat).
The power on reset resets the s
stem if the RAM data may be corrupt due to undervoltage (Vdporl>RAM data
.
Analog Power-On Reset
The MLX90719 includes a high voltage power-on reset that watches on VDD3.
This block has two outputs APORL and APORH:
APORL = 1 when VDD3 > Vaporl
APORH = 1 when VDD3 > Vaporh
The states of APORH and APORL define the operation mode of the chip
see s ecti ons “S leep m anager” and
.
In low power mode the analo
power on reset operates in strobe mode. It is only enabled a few microseconds at
edge of th e signal ASTR generated by the digital core.
When Vdd3 > Vapo r l the ci rcuit
Fastr Slow rate of Vdd3>200V/s
Low power mode (LPM)
In low power mode (when the mains hav e been dis connec ted from the application) all supply lin es ar e di s abled
except VDD, which is
enera ted by a low co nsum ing regulator. The current is taken from the external decou-
capa cit or of V DD4 or f rom a ba ck up ba tt ery connected to pin BAT. This depends on the type of applica-
the mask option OXBAT implem ented within the chip:
OXBAT = 1 for application with batter
OXBAT = 0 for applications without batter
LCD operating voltage
The LCD operating voltage can have14 different values and can be chosen by mask options.
Supply for external components
If the mask option OVEXT is set the MLX90719 can supply some external circuitry from the internal Vdd1
throu
h pin IN5B (which can not be used as input anymore).
Power On Reset
This module ensures a correct start of the MLX90719 logic.
The reset si
nal (DPORB) rises when VDD>Vdporh and falls when VDD<Vdporl

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 6 Rev 1.0 30/Jul/00
Zero crossing detector
The MLX90719 includes a zero crossing detector on pin ZCD. This detector contains two comparators with hysteresis. The first comparator has negative thresholds and the second one has positive thresholds (see table 5).
Outputs ZOUT1 and ZOUT2 of those comparators are changing as follows:
ZOUT1 rises wh en Vmains>Vz1h
ZOUT1 fal ls when Vmains<V z1l
ZOUT2 rises wh en Vmains>Vz2h
ZOUT2 fal ls when Vmains<V z2l
A mask option defines the levels of those thresholds. Low levels (+/- 5V, option OZCD = 0) are suitable for zero
crossing detection and high levels (+/- 20V, option OZCD = 1) for frequency detection with a better noise immunity.
A 1MΩ resistor must be connected between pin ZCD and the mains.
-5 V Rzc d = 1Mohm, OZCD = 1
-5 V Low level threshold 1
-9 V Rzcd = 1Mohm, OZCD = 1
-29 V High level threshold 2
Rzcd Vline = 230VAC typical
Low voltage inputs
The MLX90719 has 7 CMOS Schmitt trigger inputs with internal pull-up.
Note:
the input signals are inverted in the digital core so these inputs are active low.
Signal ENINB (active at 0) enables the pull-up current flowing through external pad to VSS if the input is pushed
to VSS. When ENINB=1 (input disabled), DINxB = 1.
The programmer must enable inputs by setting bit ENIN of P7 at least 5us before reading the input port P3 (see
section “I/O ports”). The debouncing of inputs must be done by software.
100 uA Low level threshold
Multipurpose inputs:
Inp uts 3 and 6 ca n be used al so as pul l-dow n output s: the pul l down tr ansis tors ar e turn ed on by sett ing bit s
PD3 and PD6 of P6 (see section ”I/O ports”).
Inputs 1, 2 and 4 are used by the on-chip comparator (see section “comparator”)
Input 5 can be tur n ed into sup ply for external cir cuitry by mask option OVEXT (see “Power s u p pl y ”).

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 7
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 7 Rev 1.0 30/Jul/00
High voltage input
The MLX90719 has an eighth input that can be used either as a standard input (as described above) or as an
hi
h volt age input to detect the mains via an external resistor. The high voltage mode is enabled if mask option
OIN7 is set.
Output DIN7B of this detector is hi
h when Vmains>Vthinh2 and low when Vmains<Vthinl2.
Note:
si
nal DIN7B is inverted whiti n the digital core.
Main oscillator
The MLX90719 contains a 4Mhz on-chip oscillator.
In low power mode this oscillator is turned off.
Over full temp. and supply range
Low power crystal oscillator
In case of applications with battery and crystal (OXBAT = 1) the MLX90719 uses a low power crystal osci ll ato r
as time reference for both normal and low power mode.
This oscillator re
uires a standard 32kHz crystal connected between pin XTAL1 and pin XTAL2.
No external capacitor is re
uired for proper operation.
Fckx Over full temp. and supply range
Note:
This oscillator is disabled if OXBAT = 0.
VDD
INxB
ENINB
DINxB

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 8 Rev 1.0 30/Jul/00
Low power RC oscillator
In case of applications without battery or crystal (OXBAT = 0) the MLX90719 uses an on-chip low power RC oscillator to count time during a few minutes after the mains has been disconnected (low power mode).
Fckl Over full temp. and supply range
Notes:
As the CPU must calibrate it in normal mode, the low power oscillator is running continuously.
The low power RC oscillator is disabled if OXBAT = 1.
LCD outputs
The MLX90719 has 15 configurable LCD outputs able to drive either a backplane or a segment by mask option:
OLCDx = 0 => segment
OLCDx = 1 => backplane
The LCD voltages are defined according to bits LCDx and CKLCD written in P3 and P4 (see section “I/O
ports”). With Vcdl1 and Vlcd2 being respectively 1/3Vlcd and 2/3Vlcd, the MLX90719 is suitable for LCD having
1, 2, 3 or 4 backplanes.
Vlcd 0 1 1 Vss 1 0 0 Vlcd2
Relay drivers
The MLX90719 includes 3 pull-down power outputs A, B, and C able to drive relays, triacs or LED’s.
The gates of the drivers are controlled respectively by signals POUTA, POUTB and POUTC generated by the
digital core (see section “PWM generator”).
Each driver has its source and its drain connected to a pad (DRAINx and SOURCEx) except driver C of which
the source is connected to the ground. This allows a series connection of the drivers. In such a configuration
the current flowing through the relay is used to feed the LED’s.
Internal current generator
In a ppli cati ons b ased on th e foll owi ng sc hemati c, w here t he LE D(‘ s) may have t o be dr iven when the r elay is
off, an internal current peak generator can be activated to supply the LED’s through pin SourceA. This function
is enabled by bit INTCUR of P5 (see section “I/O ports”). When INTCUR is set the current generator is activated like a relay by signal PINT at frequenc y Fpwm and at 14.3% duty c ycle (see “PWM generator”).
Note:
If the application has no relay, this feature allows the MLX90719 to drive 2 LED’s without any external
resistors.

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 9
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 9 Rev 1.0 30/Jul/00
Rising edge duration, all
Load = 5k from VDD4 = 70V
Falling edge duration, all
Load = 5k from VDD4 = 70V
VDD4
90719
DrainA
SourceA
DrainB
SourceB
DrainC
RELAY
LED1
LED2
8V
Current
gen.
PINT

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 10 Rev 1.0 30/Jul/00
Buzzer driver
The MLX90719 includes a piezo buzzer driver.
The push-pull output stage of this driver operates at 15V. An internal resistor between the output pin and the
pus h-pul l stage protects the chip against reverse piezo effect.
100 300 600 ohm Maximum output frequency
Comparator
The MLX90719 includes a multi-purpose comparator.
Setting bit ECOMP of P3 (see section “I/O ports”) enables this comparator. Inputs IN1B and IN2B become respectively the positive and negative inputs of the comparator and IN4B becomes its output via a tri-state buffer.
To reduce the number of external components in applications using the comparator, a resistive bridge and a
feed back resistor (both internal) can be connected on the positive input of the comparator by mask option
OCOMP.
Notes:
Some logic in the digital core ensures that ENIN12B and ENIN4B = 1 when ECOMP = 1.
When ECOMP = 0 the comparator output is fixed to “1”.
A programmable prescaler has been implemented to allow frequency measurement at the output of the comparator (line IN4B). The status of bits CM0 and CM1 of P3 define the prescale ratio as described in table 15:
electrical c haracteristic s of the compa r ator .

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 11
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 11 Rev 1.0 30/Jul/00
Tri state
COMP
R
R
OCOMP
ECOMP
A
SA
CKM*
CTST*
(* reserved for test)
R
VDD
IN1B
ENIN12B
VDD
IN2B
ENIN12B
VDD
IN4B
ENIN4B
DIN1B
DIN4B
DIN2B

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 12 Rev 1.0 30/Jul/00
Digital fe at ur es
I/O ports
The MLX90719 has 9 port addresses. Read and write instructions to the same address do not access to the
same port:
Note: * = reserved for test.
Note: * = reserved for test.
TCP7 TCP6 TCP5 TCP4 TCP3 TCP2 TCP1 TCP0 P1 Timer compare high
TCP9 TCP8 P2 Timer ctrl, comparator
LCD1 LCD2 LCD3 LCD4 LCD5 LCD6 LCD7 P5 Power outputs
PC1 PC0 PB1 PB0 PA1 PA0 P6 PWM frequency adjust
PD6 PD3 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0 P7 IT control, sleep, wdog
T7 T6 T5 T4 T3 T2 T1 T0 P1
T15 T14 T13 T12 T11 T10 T9 T8 P2 Timer msb, test
IN7 IN6 IN5 IN4 IN3 IN2 IN1 IN0 P4 Not used
ZCD 0 FLAG 0 0 PTIMI PCLKI

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 13
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 13 Rev 1.0 30/Jul/00
Sleep manager and watch dog
At power-on-reset the MLX90719 is in low power mode (PWD = 1).
When VDD3 reaches 65V
APORH = 1) PWD is reset and the main oscillator starts. To ensure a correct start of
blocks, the CPU is kept in reset status for 215 mai n clock p ulses (typically 8.2ms).
Once the microcontroller is workin
a watchdog circ uitry wil l generate a system r eset i f the user pr ogram fails to
counter. The watchdog delay is given by:
counter is reset each time a 1 is written on bit RSTWD of P7.
To distin
uis h a wake-up after pow er-on reset and a wak e-up after low power mode, one can read the status of
bit FLAG
read/write bit in P7). This will be 0 after power on reset and 1 after low power mode if FLAG has been
normal mode.
The low power mode is set b
bit PWD of P7. Since the main oscillator stops as soon as PWD = 1, setting bit
PWD must be the last instruction of the suppl
interrupt subroutine (see interrupt controller).
Debouncing
A debounce circuit eliminates positive spikes on line APORH to avoid unexpected wake-up due to disturbances. The debounce time
tdaporh) depends on OXBAT.
If OXBAT = 1 it derives from the cr
stal oscillator frequency and:
7.8ms < tdaporh < 11.7ms
If OXBAT = 0 it derives from the low power RC oscillator fre
3.2ms < tdaporl < 24ms
Timer
The MLX90719 includes a 17-bit timer preceded by a 15-bi t pr esc a l er . T h e clo c k of th e ti mer can b e ta k en fr om
four different sources defined b
the bits MUX0 and MUX1 of P2:
The batter
and crystal option (OXBAT) defines which clock is connected to the prescaler input:
stal oscillator output (CKX) drives the prescaler input
If OXBAT = 0: the low power RC oscillator output
CKL) drives the prescaler input.
:
EN24H = 1 enables the 24h mode
see below).
COUNT = 1 enables the counter
TRST = 1 resets the counter and the prescaler.
Normal operation
In normal mode the timer is used as a free-runnin
counter on CK125K. It can be read at any time without stop.
enerated when the value of th e timer reaches the value of t he timer compare w r itt en in P1-P0.
Low power mode if crystal oscillator (OXBAT = 1)
In this mode the clock of the timer must be connected to the /2
15
output of the prescaler (1Hz).
the 24h mode turns the timer into a modulo 86400 counter if a correct value has been written in P1-P0.
The timer bein
automatically reset when T16=1 and T[15:0] = TCP[15:0], this value must be 517Fh to give T
Main clock divided by 32 (typically 125kHz)

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 14 Rev 1.0 30/Jul/00
[16:0] = 86399.
At wake-up the value of the timer is the number of seconds passed since the beginning of sleep. An arbitrary
time of 0.5s should be added to this number to compensate the error of 0/- 1s due to the timer resolution.
Low power mode without crystal oscillator (OXBAT = 0)
In this mode the timer clock must be connected to the /2
9
output of the prescaler (about 5Hz).
At wake up a calibration of the low power oscillator can be done by connecting the timer clock to the /2
3
output
of the prescaler and counting during 250ms (given by 25 half period of the mains at 50Hz and 30 half period at
60Hz).
Those prescale ratios allow a calibration of the low power oscillator with only one 16-bit division if its frequency
is in the range of 1-5kHz and if the maximum time to count is 5min.
Interrupt controller
The MLX8 core accepts only one interrupt source.
The MLX90719 has 3 interrupt sources:
Suppl y
Clock reference (crystal oscillator or zero crossing detector)
Timer
These three hardware parts will interrupt the MLX8 core to address 21h (interrupt address).
In order to recognize the interrupting device, an interrupt handler is readable at port P7 (bits PSUPI, PCLKI and
PTIMI). In case of interrupt:
PSUPI is set if the voltage on VDD3 has decreased under 50V (APORL=0)
PCLKI is set if a clock reference pulse has occurred.
PTIMI is set if the timer has reached the timer compare value (16-bit word in P0-P1).
Option OXBAT defines which source generates the clock reference interrupt:
Main program
IT
Read P7
PSUPI=1
PCLKI=1
PTIMI=1
Interrupt subroutine
....
Clear IT:
set & reset ECLKI
Interrupt subroutine
....
SLEEP
Interrupt subroutine
....
Clear IT:
set & reset ETIMI
Refresh IT controller :
set & reset RFHIT
Y
N
Y
N
N
Y
Y
N
At address 21h :
interrupt processing

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 15
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 15 Rev 1.0 30/Jul/00
If OXBAT = 1 the clock interrupts are generated at the rate of 128Hz (Crystal frequency divided by 256).
If OXBAT = 0 the clock interrupts are
enera ted at t he r ate o f t wi ce t he m ains fr equency by the zer o c ro ssi ng
combination o f s ignals ZOUT1 and ZOUT2) that is 100Hz or 120Hz.
The main purpose of the timer interrupt is to rate the multiplexin
of th e LCD but it can b e used to c ontro l a
triac.
Each interrupt can be enabled/disabled and cleared b
setting or resetting ESUPI, ECLKI and ETIMI in P7.
occur at the same time a fourth control bit RFHIT (of P7) has been implemented to
refresh the interrupt controller after each interrupt subroutine. The flow chart shows the interrupt process:
Debouncing
A debounce circuit eliminates ne
ative spikes on line APORL to avoid unexpected supply interrupts due to dis-
turbances. The debounce time
tdaporl) depends on OXBAT.
If OXBAT = 1 it derives from the cr
stal oscillator frequency and:
7.8ms < tdaporl < 11.7ms
If OXBAT = 0 it derives from the low power RC oscillator fre
3.2ms < tdaporl < 24ms
Both outputs of the zero crossin
detector are combined in a debounce circuit that genera tes a per io dic signal
at each zero crossing of the mains without delay. This signal (ZCD) is connected to the interrupt handler
if OXBAT = 0) at bit PCLKI. The debounce period is typically 2ms but can vary from 0.6ms to 6ms becau se is it
enerated from the lo w power RC osc illa tor.
Zero crossing signal on P7
The zer o c ro s si n
signal is readable at bit ZCD of P7. This feature may be used to detect zero crossing in crys-
tal-based applications.
PWM generator
The t h r ee r el ay drivers of the MLX90719 can be driven independently at 0%, 14.3%, 28.6% and 100% duty cycle
except driver A which can not be driven at 100% duty).
Bits PA0 to PC1 of P5 set the dut
cle of ea c h dr i ver (signal s PO U TA , PO UT B a n d PO U TC) and bit INTCUR
activates the current peak
Note: * = 0% for driver A
t30 is
iven by: tclki < t30 < 2tclki
between two clock interrupts:
tclki = 10ms if zero crossin
detector is used and Fmains = 50Hz
tclki = 8.33ms if zero crossin
detector is used and Fmains = 60Hz
tclki = 7.81ms if cr
stal oscillator is used
In all cases: 7.81ms < t30 < 15ms
The PWM fre
uency is programmable. It depends on the main oscillator frequency and on the 6-bit divide ratio
X 1 1 28.6 % for t30 then

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 16 Rev 1.0 30/Jul/00
Fpwm = Fckm /(7 x DIV[6:0]) (= 22kHz for Fckm = 4MHz and DIV[6:0] = 26)
As Fckm can vary, the divide ratio must be calculated periodically by software to reference Fpwm to the crystal
frequency or to the mains frequency.
Sound g enerator
The MLX90719 includes a sound generator able to produce more than 8 tonalities.
The output frequency Fbuz is defin ed by bit s SOUND3 to SOUND0 of P3:
Fbuz = (7 x Fpwm) / (8 x S) (see table 21)
Mask options
The following table lists all options of the MLX90719 chip:

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 17
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 17 Rev 1.0 30/Jul/00
External 5V supply on IN5B
Bridge + feedback disabled
Bridge + feedback enabled
* Only applicable for the dev elopment v ersion of t he MLX90719

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 18 Rev 1.0 30/Jul/00
Pinout
Package type: SSOP36

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 19
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 19 Rev 1.0 30/Jul/00
IN7B 15 Input 7 (with high voltage
ZCD 16 Main frequency detector i

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 20 Rev 1.0 30/Jul/00
Development board
Melexis has available a development kit which contains a evaluation circuit board, a ROM emulator, interface
cables, all necessary software and a sample of the MLX90917 (development version). The evaluation board is
a standard version that can be customized to an extended range of applications. The standard version includes
a buzzer, a LCD, a relay and some breadboard space to build up the customized application. (push buttons,
high-power outputs, temperature measurement, …) The available software consists of assembler, linker, simulator and the interface software for the ROM emulator. By using this emulator the user is able to see and modify
all int ernal registers an d the R AM contents. On a break event, th e user program is replaced by a shad ow mon i tor, which exchanges data with the host.
For s oftw are devel opm ent a speci al ver sion of the MLX9 0917 is a vail able. Th is ver sion di ffers from th e standard MLX90917 in two ways. It has a second ring of pads around the normal chip. In this way the chip can be
used with ext ernal m emory, which makes it also possible to use t he RO M emulato r . With t he dev elopment version it is also possible to program the different ‘mask’ options. The state of the different options should be written by the programmer in specific ROM bytes. During the initialization phase of the chip, a dedicated part in the
soft wa re r eads t hi s byt es an d writ es t he cont ent s in s pec ifi c mem ory el em ent s, d efi nin g in th is wa y the c hosen
options.
More information about the development board and software can be found in the specific documentation describing the MLX90719 Development Kit.

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 21
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 21 Rev 1.0 30/Jul/00
Application Example
MLX90719
LCD 13
LCD 12
LCD 11
LCD 10
LCD 9
LCD 8
LCD 7
LCD 6
LCD 5
LCD 4
LCD 3
LCD 2
LCD 1
LCD
13
BUZ
DC
SB
DB
SA
DA
Rela
IN0B
IN1B
IN2B
IN3B
IN4B
IN5B
IN6B
IN7B
XTAL1
XTAL2
Thermal Switch
BAT
VDD4
VSS
MAINS
SW1
SW2
SW3
SW4
SW5
SW6
Pot.
Rref
Cap
Decouplin

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 22 Rev 1.0 30/Jul/00
Related documents
MLX90719 application note:
a clock timer based on
the MLX90719.
LX11 simulator documentation:
http://www.melexis.com/site/know-how/mcu/tools/
mcu_tools_softsimul.htm.
MLX90719 development kit documentation:
describes how to define an application with the
MLX90719.
ESD Precautions
Electronic semiconductor products are sensitive to
Electro Static Discharg e (ESD).
Alw ay s obs erv e El ectr o St ati c Di sch arg e co ntr ol pr ocedures whenever handling semiconductor products.
Disclaimer
Melexis reserves the right to periodically make modifications to product specifications. The information
included herein is believed to be accurate and reliable. However, Melexis assumes no responsibility
for its use; nor for any infringements of patents or
other rights of third parties which may result from its
use.

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 23
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 23 Rev 1.0 30/Jul/00
MLX00000 Physical Characteristics
For the lat est version of this doc u m ent ,
Go to our website at:
www.melexis.com
Or for addit i on al informati on
contact Melexis Direct:
USA
Melexis Inc.
41 Locke Road, Concord, NH 03301
Phone: +1 603 223 2362 Fax: +1 603 223 9614
E-mail: sales_usa @melex is.co m
United Kingdom
Silicon Concepts
PCB Lynchborough Road, Hampshire GU30 7SB, United Kingdom
Phone: +44 1428 751 617 Fax: +44 1428 751 603
E-mail: sale s_ u k@ me lexis.co m
Am Seestern 8, 40547 Düsseldorf, Germany
Phone: +49 211 5360212 Fax: +49 211 5360250
E-mail: sales_de@melexis.com
France
Melexis France
Tour Arago, 5 rue Bellini, 92806 Puteaux-La-Défense, France.
Phone: +33 1 47 78 11 34 Fa x: +33 1 47 78 06 35
E-mail: sales_fran c e@ me lexis.com
Dimacred IRL
Via Papa Giovanni XXIII no. 25, 20046 Biassono, Italy
Phone: +39 039 249 4856 Fax: +39 039 491773
E-mail: sale s_italy@melexis.com
Japan
Satori Electric Co., LTD
1-14-10 Shiba, Minato-Ku, Tokyo, Japan
Phone: +81 3 3452 7171 Fax: +81 3 3769 2197
E-mail: sale s_japan@melexis.com
Taiwan
Beechwood Int’l Taiwan Co.
Room 8, 17F, No. 189, Taipei, Taiwan
Phone: +886 2 2739 3322 Fax: +886 2 2739 3090
E-mail: sales_ta i wan@melex is.com

MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 24 Rev 1.0 30/Jul/00