MLX81205/07/10/15
Product Specification Rev 3.4 - 31 Jan 2013 Page 1 of 213
Features
Microcontroller: MLX16-FX RISC CPU
o 16bit RISC CPU with 20MIPS and Power-Saving-Modes
o Co-processor for fast multiplication and division
o Flash and EEPROM memory with ECC
o In-circuit debug and emulation
Supported Bus Interfaces:
o LIN interface with integrated LIN transceiver supporting LIN 2.x, certified LIN protocol
software provided by Melexis
o In-Module programming (Flash and EE) via pin LIN using a special Melexis fast protocol
o PWM interface
o Full duplex SPI, Master/Slave, double-buffered, speed programmable. DMA access.
o Full duplex UART
TruSense Motor Control Technology
o Patented algorithms for sensor-less 3-phase sine and trapezoidal motor control
o Phase voltage integration filter for BEMF voltage sensing at lowest speeds
o Position dependent phase inductance sensing via shunt current measurements at stand
still and low to medium speeds
o Support of Star and Delta based motor configurations without the need for center star point
o Support of 3-phase switched reluctance motor control
Voltage Regulator
o Direct powered from 12V board net with low voltage detection
o Operating voltage V
S
= 5V to 18V
o Internal voltage regulator with possibility to use external regulator transistor
o Very low standby current, < 50µA in sleep mode, wake-up possible via LIN or local sources
Pre-Driver
o Pre-driver (<27 Rdson) for 3 N-FET half bridges with programmable Inter-Lock-Delay and
slope control for optimal EMC and thermal performance during N-Fet switching
o Monitoring of Drain-Source voltages of the N-FETs
Periphery
o 4 independent 16 bit timer modules with capture and compare and additional software timer
o 3 programmable 12 bit PWM units with programmable frequencies
o 10 bit ADC converter (2µs conversion time) and DMA access
o On-chip temperature sensor with ±10K accuracy
o System-clock-independent fully integrated watchdog
o 32MHz ±5% internal RC oscillator with PLL
o Optional crystal oscillator
o Load dump and brown out interrupt function
o Integrated shunt current amplifier with programmable gain
MLX81205/07/10/15
Product Specification Rev 3.4 - 31 Jan 2013 Page 2 of 213
Applications
The MLX81205/07/10/15 controls BLDC motors via external FET transistors for:
o Oil-, water-, fuel-pumps
o Blowers, compressors
o Positioning actuators
MLX81205
MLX81207
MLX81210
MLX81215
Flash Memory [kByte]
32
32
32
64
RAM [kByte]
4
4
8
8
EEPROM [Byte]
1
4x128
4x128
4x128
4x128
Package
QFN32
QFN48
TQFP48
QFN48
TQFP48
QFN48
TQFP48
Support of active high side
reverse polarity protection
No
Yes
Yes
Yes
Current shunt measurement
possibility
High side
High side
Low side,
High side
Low side,
High side
SPI
No
Yes
Yes
Yes
UART
Yes
Yes
Yes
Yes
Number of general purpose
IO pins
3
6
10
10
5V Regulator support for 5V
external supplies (CAN
support)
No
No
Yes
Yes
Support of sensor based
BLDC motor control
No
Yes
Yes
Yes
Support of Switched
Reluctance (SR) motor
control
No
No
No
Yes
Bonded pins in package
32
37
48
48
Pin compatibility
MLX81210 and MLX81215 are pin
compatible
Table 1 – Family Overview
1
One page of 128 byte is only writable in test mode and reserved for Melexis calibration and test data
MLX81205/07/10/15
Product Specification Rev 3.4 - 31 Jan 2013 Page 3 of 213
Ordering Information
Order Code
[2]
Temperature
Range
Package
Delivery
Remark
MLX81205 LLQ-xAA-000-TU
-40 - 150 °C
QFN32 5x5
Tube
MLX81205 LLQ-xAA-000-RE
-40 - 150 °C
QFN32 5x5
Reel
MLX81207 LLQ-xAA-000-TU
-40 - 150 °C
QFN48 7x7
Tube
MLX81207 LLQ-xAA-000-RE
-40 - 150 °C
QFN48 7x7
Reel
MLX81207 LPF-xAA-000-TR
-40 - 150 °C
TQFP EP 48 7x7
Tray
MLX81207 LPF-xAA-000-RE
-40 - 150 °C
TQFP EP 48 7x7
Reel
MLX81210 LLQ-xAA-000-TU
-40 - 150 °C
QFN48 7x7
Tube
MLX81210 LLQ-xAA-000-RE
-40 - 150 °C
QFN48 7x7
Reel
MLX81210 LPF-xAA-000-TR
-40 - 150 °C
TQFP EP 48 7x7
Tray
MLX81210 LPF-xAA-000-RE
-40 - 150 °C
TQFP EP 48 7x7
Reel
MLX81215 LLQ-xAA-000-TU
-40 - 150 °C
QFN48 7x7
Tube
MLX81215 LLQ-xAA-000-RE
-40 - 150 °C
QFN48 7x7
Reel
MLX81215 LPF-xAA-000-TR
-40 - 150 °C
TQFP EP 48 7x7
Tray
MLX81215 LPF-xAA-000-RE
-40 - 150 °C
TQFP EP 48 7x7
Reel
Table 2 – Ordering Information
2
See Marking/Order Code
MLX81205/07/10/15
Product Specification Rev 3.4 - 31 Jan 2013 Page 4 of 213
Table of Contents
1. LINKED DOCUMENTATION..................................................................................................................... 7
2. ABBREVIATIONS AND ACRONYMS ...................................................................................................... 7
3. APPLICATION EXAMPLES ...................................................................................................................... 7
3.1 SENSOR-LESS BLDC MOTOR CONTROL ON THE LIN BUS OR VIA PWM-INTERFACE ................................ 7
3.2 SENSOR-LESS BLDC MOTOR CONTROL ON THE LIN BUS OR VIA PWM INTERFACE WITH REVERSE
POLARITY PROTECTION IN THE BATTERY PATH........................................................................................ 8
3.3 SENSOR BASED BLDC MOTOR CONTROL ...........................................................................................10
3.4 SENSOR-LESS BLDC MOTOR CONTROL WITH ABSOLUTE POSITION SENSING ........................................11
3.5 SENSOR-LESS MOTOR CONTROL FOR A SWITCHED RELUCTANCE MOTOR .............................................12
3.6 BLDC MOTOR CONTROL ON THE CAN BUS ........................................................................................13
4. MECHANICAL SPECIFICATION ............................................................................................................14
4.1 QFN PACKAGE ..................................................................................................................................14
4.1.1. QFN32 5x5 (32 leads)............................................................................................................................... 14
4.1.2. QFN48 7x7 (48 leads)............................................................................................................................... 14
4.2 TQFP PACKAGE ................................................................................................................................15
4.3 MARKING/ORDER CODE .....................................................................................................................16
4.3.1. Marking MLX81205/07/10/15 .................................................................................................................. 16
4.3.2. Order Code MLX81205/07/10/15 ............................................................................................................. 16
4.4 PIN DESCRIPTION ..............................................................................................................................17
5. ELECTRICAL CHARACTERISTICS .......................................................................................................19
5.1 OPERATING CONDITIONS ...................................................................................................................19
5.2 ABSOLUTE MAXIMUM RATINGS ...........................................................................................................19
5.3 ELECTRICAL PARAMETER SPECIFICATION ...........................................................................................21
5.3.1. Global Parameters and Clocks ................................................................................................................. 21
5.3.2. Supply System, Temperature Sensor and CLKO Pin ................................................................................ 22
5.3.3. 10 bit ADC ................................................................................................................................................ 24
5.3.4. Low Side Current Sensor on Pins GND_S1 and GND_S2........................................................................ 24
5.3.5. High Side Current Sensor on Pins VBAT_S1 and VBAT_S2 .................................................................... 26
5.3.6. Phase Integration Filter and BEMF Comparators ................................................................................... 27
5.3.7. PINS IO1…IO9 and IOHV ....................................................................................................................... 27
5.3.8. LIN related parameters ............................................................................................................................. 28
5.3.9. FET Driver Electrical Parameter ............................................................................................................. 30
5.3.10. FET Drain Source Monitoring ............................................................................................................. 31
6. FUNCTIONAL DESCRIPTION ................................................................................................................32
6.1 BLOCK DIAGRAM ...............................................................................................................................32
6.2 DIGITAL CORE ...................................................................................................................................33
6.2.1. CPU Core and Performance ..................................................................................................................... 33
6.2.2. Memories .................................................................................................................................................. 33
6.2.2.1. RAM Sharing ................................................................................................................................................... 33
6.2.2.2. Flash Memory .................................................................................................................................................. 33
6.2.2.3. Flash ports ........................................................................................................................................................ 34
6.2.2.4. EEPROM .......................................................................................................................................................... 35
6.2.2.5. Memory Map .................................................................................................................................................... 38
6.2.3. Interrupts .................................................................................................................................................. 39
6.2.3.1. Introduction ...................................................................................................................................................... 39
6.2.3.2. Interrupt management ....................................................................................................................................... 39
6.2.3.3. Interrupt priorities ............................................................................................................................................. 40
6.2.3.4. Mlx81205/07/10/15 Interrupt Table ................................................................................................................. 40
6.2.4. Port Map ................................................................................................................................................... 43
6.2.5. Common Timer ......................................................................................................................................... 55
6.2.6. Digital Watchdog (WD) ............................................................................................................................ 56
MLX81205/07/10/15
Product Specification Rev 3.4 - 31 Jan 2013 Page 5 of 213
6.2.6.1. Introduction and features .................................................................................................................................. 56
6.2.6.2. Applications ...................................................................................................................................................... 56
6.2.6.3. Block diagram and description ......................................................................................................................... 56
6.2.6.4. Timer mode ...................................................................................................................................................... 57
6.2.6.5. Window mode .................................................................................................................................................. 57
6.2.6.6. Intelligent mode ................................................................................................................................................ 57
6.2.6.7. Watchdog Control and Command ports ........................................................................................................... 58
6.2.6.8. Interrupt connections ........................................................................................................................................ 58
6.2.6.9. Reset state ......................................................................................................................................................... 59
6.2.7. PWM Modules PWMA, PWMB, PWMC ................................................................................................... 59
6.2.7.1. General introduction and features ..................................................................................................................... 59
6.2.7.2. Block diagram and description ......................................................................................................................... 60
6.2.7.3. PWM frequency control ................................................................................................................................... 61
6.2.7.4. Synchronisation of the PWM modules ............................................................................................................. 63
6.2.7.5. Independent mode ............................................................................................................................................ 63
6.2.7.6. Mirror mode ..................................................................................................................................................... 64
6.2.7.7. PWM control and command ports .................................................................................................................... 65
6.2.8. PWM Module PWMD ............................................................................................................................... 68
6.2.8.1. Features ............................................................................................................................................................ 68
6.2.8.2. Routing of PWMD outputs to external pins...................................................................................................... 68
6.2.8.3. Applications ...................................................................................................................................................... 68
6.2.8.4. Block diagram and description ......................................................................................................................... 68
6.2.8.5. PWMs IO ports ................................................................................................................................................. 73
6.2.8.6. Common remarks and guidelines ..................................................................................................................... 73
6.2.8.7. PWMD control and command ports ................................................................................................................. 75
6.2.8.8. Interrupts connections....................................................................................................................................... 77
6.2.8.9. Reset state ......................................................................................................................................................... 77
6.2.9. Timer Module............................................................................................................................................ 77
6.2.9.1. Features ............................................................................................................................................................ 77
6.2.9.2. Timer Applications ........................................................................................................................................... 77
6.2.9.3. Block diagram and description ......................................................................................................................... 78
6.2.9.4. Auto-reload timer mode .................................................................................................................................... 79
6.2.9.5. Dual Timer Compare mode .............................................................................................................................. 82
6.2.9.6. Dual Timer Capture mode ................................................................................................................................ 85
6.2.9.7. Timer Capture/Compare mode ......................................................................................................................... 86
6.2.9.8. Pulse accumulator mode ................................................................................................................................... 89
6.2.9.9. Debouncer mode ............................................................................................................................................... 90
6.2.9.10. PWM mode....................................................................................................................................................... 92
6.2.9.11. Timers IO ports................................................................................................................................................. 94
6.2.9.12. Clocks connections ........................................................................................................................................... 96
6.2.9.13. Interrupts connections....................................................................................................................................... 97
6.2.9.14. Reset state ......................................................................................................................................................... 98
6.2.9.15. Timer input connections mapping .................................................................................................................... 98
6.2.10. UART ................................................................................................................................................. 100
6.2.10.1. Features .......................................................................................................................................................... 100
6.2.10.2. Applications .................................................................................................................................................... 100
6.2.10.3. Block diagram and description ....................................................................................................................... 102
6.2.10.4. Transmit mode ................................................................................................................................................ 103
6.2.10.5. Receiver mode ................................................................................................................................................ 104
6.2.10.6. LIN master mode ............................................................................................................................................ 106
6.2.10.7. Bit scrambler and message length .................................................................................................................. 106
6.2.10.8. UART IO ports ............................................................................................................................................... 108
6.2.10.9. Control and command ports............................................................................................................................ 109
6.2.10.10. Clock connections .......................................................................................................................................... 111
6.2.10.11. Interrupts connections..................................................................................................................................... 112
6.2.10.12. Reset state ....................................................................................................................................................... 112
6.2.11. Encoder .............................................................................................................................................. 113
6.2.11.1. Architectural Overview .................................................................................................................................. 113
6.2.11.2. Encoder Type ................................................................................................................................................. 113
6.2.11.3. Encoder Invalid Inputs .................................................................................................................................... 114
6.2.11.4. Quadrature Clock Convertor ........................................................................................................................... 114
6.2.11.5. Encoder Ports ................................................................................................................................................. 115
6.2.12. SPI-Interface ...................................................................................................................................... 115