STMicroelectronics STLUX385A Datasheet
Advertisement
Advertisement
STLUX
Digital controllers for lighting and power conversion applications with up to 6 programmable PWM generators, 96 MHz PLL, DALI
Datasheet
-
production data
Features
Up to 6 programmable PWM generators
(SMEDs - “State Machine Event Driven”)
– 10 ns event detection and reaction
– Max.1.3 ns PWM resolution
– Single, coupled and two coupled operational modes
– Up to 3 internal/external events per SMED
DALI (digital addressable lighting interface)
– Interrupt driven hardware encoder
– Bus frequency: 1.2, 2.4 or 4.8 kHz
– IEC 60929 and IEC 62386 compliant plus
24-bit frame extension
– Configurable noise rejection filter
– Reverse polarity on Tx/Rx lines
4 analog comparators
– 4 internal 4-bit references
– 1 external reference
– Less than 50 ns propagation time
– Continuous comparison cycle
ADCs (up to 8 channels)
– 10-bit precision, with operational amplifier to extend resolution to 12-bit equivalent
– Sequencer functionality
– Input impedance: 1 M
– Configurable gain value: x1 and x4
Integrated microcontroller
– Advanced STM8 ® core with Harvard architecture and 3-stage pipeline
– Max. f
CPU
: 16 MHz
– Multiple low power modes
Memories
– Flash and E 2 PROM with read while write
(RWW) and error correction code (ECC)
– Program memory: 32 Kbytes Flash; data retention 15 years at 85 °C after 10 kcycles at 25 °C
– Data memory: 1 Kbyte true data E 2 PROM; data retention:15 years at 85 °C after 100 kcycles at 85 °C
– RAM: 2 Kbytes
Clock management
– Internal 96 MHz PLL
– Low power oscillator circuit for external crystal resonator or direct clock input
– Internal, user-trimmable 16 MHz RC and low power 153.6 kHz RC oscillators
– Clock security system with clock monitor
Basic peripherals
– System and auxiliary timers
– IWDG/WWDG watchdog, AWU, ITC
I/O
– GPIO with highly robust design, immune against current injection
– Fast digital input DIGIN, with configurable pull-up
Communication interfaces
– UART asynchronous with SW flow control and boot loader support
– I 2 C master/slave fast-slow speed rate
Operating temperature: -40 °C up to 105 °C
Table 1. Device summary
Part number Package
STLUX385A, STLUX383A TSSOP38
STLUX325A VFQFPN32
STLUX285A TSSOP28
May 2015
This is information on a product in full production.
DocID027870 Rev 1 1/126 www.st.com
1
2
3
Contents
Contents
4
5
STLUX
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
STLUX family features list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Introducing SMED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
System architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
SMED (state machine event driven): configurable PWM generator . . . . . 15
SMED coupling schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Architecture and registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Single wire interface module (SWIM) . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Vectored interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2
PROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Write protection (WP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Protection of user boot code (UBC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Readout protection (ROP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Internal 16 MHz RC oscillator (HSI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Internal 153.6 kHz RC oscillator (LSI) . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Internal 96 MHz PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
External clock input/crystal oscillator (HSE) . . . . . . . . . . . . . . . . . . . . . 25
2/126 DocID027870 Rev 1
STLUX
6
7
8
Contents
Communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Digital addressable lighting interface (DALI) . . . . . . . . . . . . . . . . . . . . . 26
Universal asynchronous receiver/transmitter (UART) . . . . . . . . . . . . . . 27
Inter-integrated circuit interface (I
C) . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Pinout and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
I/O multifunction signal configuration . . . . . . . . . . . . . . . . . . . . . . . . . 35
Multifunction configuration policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Port P0 I/O multifunction configuration signal . . . . . . . . . . . . . . . . . . . . . 35
Alternate function P0 configuration signals . . . . . . . . . . . . . . . . . . . . . . 35
Port P0 diagnostic signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Port P0 I/O functional multiplexing signal . . . . . . . . . . . . . . . . . . . . . . . 37
P0 programmable pull-up and speed feature . . . . . . . . . . . . . . . . . . . . 37
Port P1 I/O multifunction configuration signal . . . . . . . . . . . . . . . . . . . . . 38
Port P1 I/O multiplexing signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
P1 programmable pull-up feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Port P2 I/O multifunction configuration signal . . . . . . . . . . . . . . . . . . . . . 39
P2 programmable pull-up feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Multifunction Port configuration registers . . . . . . . . . . . . . . . . . . . . . . . . . 41
MSC_IOMXP0 (Port P1 I/O MUX control register). . . . . . . . . . . . . . . . . . . . . . . . . 41
MSC_IOMXP1 (Port P1 I/O MUX control register). . . . . . . . . . . . . . . . . . . . . . . . . 42
MSC_IOMXP2 (Port P2 I/O MUX control register). . . . . . . . . . . . . . . . . . . . . . . . . 43
Memory and register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Memory map overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
DocID027870 Rev 1 3/126
126
9
10
Contents STLUX
General purpose I/O GPIO0 register map . . . . . . . . . . . . . . . . . . . . . . . 46
General purpose I/O GPIO1 register map . . . . . . . . . . . . . . . . . . . . . . . 46
Miscellaneous registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
PROM non-volatile memories . . . . . . . . . . . . . . . . . . . . . . 49
Clock and clock controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Inter-integrated circuit interface (I
C) . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Universal asynchronous receiver/transmitter (UART) . . . . . . . . . . . . . . 52
Digital addressable lighting interface (DALI) . . . . . . . . . . . . . . . . . . . . . 53
DALI noise rejection filter registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
State machine event driven (SMEDs) . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Global configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
SWIM control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Interrupt table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Option byte register overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Option byte register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
nUBC (UBC user boot code register protection) . . . . . . . . . . . . . . . . . . . . . . . . . . 70
nGENCFG (general configuration register protection) . . . . . . . . . . . . . . . . . . . . . . 71
MISCUOPT (miscellaneous configuration register) . . . . . . . . . . . . . . . . . . . . . . . . 71
nMISCUOPT (miscellaneous configuration register protection). . . . . . . . . . . . . . . 72
nCLKCTL (CKC configuration register protection) . . . . . . . . . . . . . . . . . . . . . . . . . 73
4/126 DocID027870 Rev 1
STLUX
11
12
Contents
nHSESTAB (HSE clock stabilization register protection). . . . . . . . . . . . . . . . . . . . 73
Device identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Typical current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
VOUT external capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
External clock sources and timing characteristics . . . . . . . . . . . . . . . . . 96
Internal clock sources and timing characteristics . . . . . . . . . . . . . . . . . 99
Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
I/O port pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Typical output level curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Reset pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
C interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
DocID027870 Rev 1 5/126
126
13
14
15
16
17
Contents STLUX
12.3.11 Analog comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Electrostatic discharge (ESD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
TSSOP38 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
VFQFPN32 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
TSSOP28 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
STLUX development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Order codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
6/126 DocID027870 Rev 1
STLUX
List of tables
List of tables
C register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
DocID027870 Rev 1 7/126
126
List of tables STLUX
Supply base current consumption at V
DD
/V
Supply low power consumption at V
DD
DDA
= 3.3/5 V . . . . . . . . . . . . . . . . . . . . . . . . . 88
/V
DDA
Peripheral supply current consumption at V
= 3.3/5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Peripheral supply current consumption at V
/
/V
DDA
VDDA
= 3.3 V . . . . . . . . . . . . . . . . . . . . . . 90
= 5 V . . . . . . . . . . . . . . . . . . . . . . . . 92
2 PROM memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
C interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
ADC accuracy characteristics at V
DD
ADC accuracy characteristics at V
DD
/
/
VDDA
VDDA
3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
8/126 DocID027870 Rev 1
STLUX
List of figures
List of figures
PROM internal memory organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
PWM current consumption with f
PWM current consumption with f
PWM current consumption with f
PWM current consumption with f
= PLL f
PWM
= PLL f
= HSI f
= HSI f
PWM
= 0.5 MHz at V
DD
= 0.5 MHz at V
DD
PWM
= 0.5 MHz at V
DD
/
PWM
= 0.5 MHz at V
DD
/
/
VDDA
/
VDDA
VDDA
VDDA
= 5 V. . . . . . . 94
= 5 V. . . . . . . 94
= 3.3 V . . . . . 95
= 5 V . . . . . . . 95
standard pad at 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
standard pad at 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
standard pad at 5 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
standard pad at 5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
fast pad at 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
fast pad at 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
fast pad at 5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
fast pad at 5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
high speed pad at 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
high speed pad at 3.3 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
high speed pad at 5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
high speed pad at 5 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
DocID027870 Rev 1 9/126
126
Description
1 Description
STLUX
The STLUX™ family of controllers is a part of the STMicroelectronics ® digital devices tailored for lighting and power conversion applications. The STLUX controllers have been successfully integrated in a wide range of architectures and applications, starting from simple buck converters for driving multiple LED strings, boost for power factor corrections, half-bridge resonant converters for high power dimmable LED strings and up to full bridge controllers for HID lamp ballasts.
10/126 DocID027870 Rev 1
STLUX
2 STLUX family features list
STLUX family features list
The devices of the STLUX family provide the following features:
Table 2. STLUX features list
Device
Feature list
STLUX385A STLUX383A STLUX325A STLUX285A
Package
Pin count
SMED numbers
SMED PWM output pins
Fast digital inputs pins
Positive comparator input pin
Negative comparator input pins
DALI peripheral
Internal DACs
ADC input pins
ADC gain
GPIO Port 0 pins
UART peripheral
I
2
C peripheral
HSE function
Timers System timer
Auxiliary timer
Auto-wakeup timer
Watchdog Window watchdog timer
Independent watchdog timer
Flash program memory
EEPROM data memory
RAM (bytes)
SWIM pin
TSSOP38
38
6
6
6
4
1
Yes
4
8 x1 - x4
6
Yes
Yes
Yes
1
1
1
1
1
32 Kbytes
1 Kbytes
2 Kbytes
Dedicated
TSSOP38
38
6
6
6
4
1
Yes
4
8 x1
6
Yes
Yes
Yes
1
1
1
1
1
32 Kbytes
1 Kbytes
2 Kbytes
Dedicated
VFQFPN32
32
6
5
5
(1)
4
1
Yes
4
6 x1
4
Yes
Yes
Yes
1
1
1
1
1
32 Kbytes
1 Kbytes
2 Kbytes
Mixed
Yes
Yes
1
1
1
1
TSSOP28
28
6
4
3
(2)
2
(3)
1
Yes
4
8 x1
4
Yes
1
32 Kbytes
1 Kbytes
2Kbytes
Dedicated
1. DIGIN2 - DIGIN3 are connected to the same pin.
2. DIGIN0-DIGIN1 are connected on the same pin; DIGIN2-DIGIN3 are connected to the same pin; DIGIN4 - DIGIN5 are connected to the same pin.
3. CPP0, CPP1 and CPM3 are connected on the same pin; CPP2 and CPP3 are connected to the same pin.
DocID027870 Rev 1 11/126
126
Introducing SMED STLUX
The heart of the STLUX family is the SMED (state machine event driven) technology which allows the device to pilot six independently configurable PWM clocks with a maximum resolution of 1.3 ns. A SMED is a powerful autonomous state machine, which is programmed to react to both external and internal events and may evolve without any software intervention. The SMED reaction time can be as low as 10.4 ns, giving the STLUX the ability of operating in time critical applications. The SMED offers superior performance when compared to traditional, timer based, PWM generators.
Each SMED is configured via the STLUX internal microcontroller. The integrated controller extends the STLUX reliability and guarantees more than 15 years of both operating lifetime and memory data retention for program and data memory after cycling.
A set of dedicated peripherals complete the STLUX:
4 analog comparators with configurable references and 50 ns max. propagation delay.
It is ideal to implement zero current detection algorithms or detect current peaks.
10-bit ADC with configurable op amp and 8-channel sequencer.
DALI: hardware interface that provides full IEC 60929 and IEC 62386 slave interface.
96 MHz PLL for high output signal resolution.
Documentation
This datasheet contains the description of features, pinout, pin assignment, electrical characteristics, mechanical data and ordering information.
For information on programming, erasing and protection of the internal Flash memory, please refer to the STM8S reference in the programming manual “How to program
STM8S and STM8A Flash program memory and data EEPROM” (PM0051).
For information on the debug and SWIM (single wire interface module) refer to the
“STM8 SWIM communication protocol and debug module” user manual (UM0470).
For information on the STM8 core, please refer to the “STM8 CPU programming manual” (PM0044).
For information on the SMED configurator please refer to the “STLUX™ SMED configurator 1.0" user manual (UM1760).
For information on the STLUX385A peripheral library please refer to the “Description of
STLUX385A peripheral library” user manual (UM1753).
For information on the STLUX385A examples kit please refer to the “Description of
STLUX385A examples kit” user manual (UM1763).
12/126 DocID027870 Rev 1
STLUX System architecture
The STLUX devices family generates and controls PWM signals by means of a state machine, called SMED (state machine event driven).
Figure 1 gives an overview of the
internal architecture.
Figure 1. STLUX internal design
The core of the device is the SMED unit: a hardware state machine driven by system events. The SMED includes 4 states (S0, S1, S2 and S3) available during running operations. A special HOLD state is provided as well. The SMED allows the user to configure, for every state, which system events will trigger a transaction to a new state.
During a transaction from one state to the other, the PWM output signal level can be updated.
Once a SMED is configured and running, it becomes an autonomous unit, so no interaction is required since the SMED automatically reacts to system events.
Thanks to the SMED's 96 MHz operating frequency and their automatic dithering function, the PWM maximum resolution is 1.3 ns.
The STLUX family has 6 SMEDs available. Multiple SMEDs can operate independently from each other or they can be grouped together to form a more powerful state machine.
The STLUX also integrates a low power STM8 microcontroller which is used to configure and monitor the SMED activity and to supply external communication such as the DALI. The
STM8 controller has full access to all the STLUX subsystems, including the SMEDs. The
STLUX family also features a sequential ADC, which can be configured to continuously sample up to 8 channels.
illustrates the overall system block and shows how SMEDs have been implemented in the STLUX architecture.
DocID027870 Rev 1 13/126
126
System architecture
Block diagram
Figure 2. Internal block diagram
STLUX
14/126
1. The number of channels depends on the specific STLUX device.
DocID027870 Rev 1
STLUX Product overview
5.1
describes the features implemented in the product device.
SMED (state machine event driven): configurable PWM generator
The SMED is an advanced programmable PWM generator signal. The SMED (state machine event driven) is a state machine device controllable by both external events
(primary I/O signals) and internal events (counter timers), which generates an output signal
(PWM) depending on the evolution of the internal state machine.
The PWM signal generated by the SMED is therefore shaped by external events and not only by a simple timer. This mechanism allows to generate controlled high frequency PWM signals.
The SMED is also autonomous: once it has been configured by the STLUX internal controller, the SMED can operate without any software interaction.
The STLUX family provides 6 SMED units. Multiple SMEDs can operate independently from each other or they can be grouped together to form a more powerful state machine.
The main features of a SMED are described here below:
Configurable state machine generating a PWM signal
More than 10.4 ns PWM native resolution
Up to 1.3 ns PWM resolution when using SMED dithering
6 states available in each SMED: IDLE, S0, S1, S2, S3 plus a special HOLD state
Transactions triggered by synchronous and asynchronous external events or an internal timer
Each transaction can generate an interrupt
Fifteen registers available to configure the state machine behavior
Four 16-bit configurable time registers, one for each running state (T0, T1, T2, T3)
Internal resources accessible through the processor interface
Eight interrupt request lines
The SMED coupling extends the capability of the single SMED, preserving the independence of each “Finite State Machine” (FSM) programmed state evolution. The coupling scheme allows the SMED pulse signals to be interleaved on their own PWM or on a merged single PWM output. The STLUX supports the following coupled configuration schemes:
Single SMED configuration
Synchronous coupled SMEDs
Asynchronous coupled SMEDs
Synchronous two coupled SMEDs
Asynchronous two coupled SMEDs
External controlled SMED
DocID027870 Rev 1 15/126
126
Product overview
The SMED units may be configured in different coupled schemes through the
SMDx_GLBCONF and SMDx_DRVOUT bit fields of MSC_SMEDCFGxy registers.
An outline of the SMED subsystem is shown in Figure 3 .
Figure 3. Coupled SMED overview
STLUX
16/126
1. The PWM5 output pin is not present on the STLUX325A.
2. The PWM4 and PWM5 output pins are not present on the STLUX285A.
The connection matrix extends the input connectivity of each SMED unit so that a SMED can receive events from a wide range of sources. Through the matrix, it's possible to connect the SMED inputs to various signal families such as digital inputs, comparator output
signals, SW events, and three PWM internal feedback signals as shown in Figure 4
.
The list of the available event sources is the following:
DIGIN [5:0]: digital input lines
CMP [3:0]: analog comparator outputs
PWM [5:0]: output signals of SMEDs (only PWM 0, 1 and 5 are accessible)
SW [5:0]: software events
Figure 4 shows the connection matrix and signal interconnections as they are implemented
in the STLUX family.
DocID027870 Rev 1
STLUX
Figure 4. SMED subsystem overview
Product overview
DocID027870 Rev 1 17/126
126
Product overview
Figure 5. STLUX285A SMED subsystem overview
STLUX
Connection matrix interconnection
Every SMED unit has three input selection lines, one for each In_Sig input, configurable via the MSC_CBOXS (5:0) register. The selection lines choose the interconnection between one of possible four connection matrix signals for each SMED input event In_Sig (Y).
shows the layout of the connection matrix interconnection signals as implemented in the STLUX family.
18/126 DocID027870 Rev 1
STLUX
Note:
Product overview
Table 3. Connection matrix interconnection
Conb_s(x)_(y)(z)
SMED number SMED input
(x)
0
1
2
3
4
5
(y)
2
0
1
2
0
1
1
2
2
0
0
1
1
2
2
0
0
1
00
CP1
CP0
CP1
CP2
CP1
CP2
CP0
CP2
CP0
CP1
CP2
CP0
CP2
CP0
CP0
CP1
CP2
CP1
SMED input signal selection (z)
01
DIG3
DIG3
DIG3
DIG4
DIG4
DIG4
DIG0
DIG0
DIG1
DIG1
DIG1
DIG2
DIG2
DIG2
DIG5
DIG5
DIG5
DIG0
10
DIG0
DIG5
DIG0
DIG1
DIG0
DIG1
DIG2
DIG3
DIG4
DIG3
DIG4
DIG5
DIG4
DIG5
DIG2
DIG1
DIG2
DIG3
11
SW2
DIG2
PWM1
SW3
DIG3
PWM5
DIG5
CP3
SW0
DIG0
CP3
SW1
DIG1
PWM0
SW4
DIG4
CP3
SW5
Connection matrix legend:
X represents the SMED [5:0] number
Y represents the SMED input signal number (In_Sig [2:0])
Z represents the In_Sig (Y) selection signal
Each SMED input has independent connection matrix selection signals.
The DIG2 and DIG3 signals are interconnected together, the pin DIGIN [3_2] on the
STLUX325A.
On STLUX285A DIG0 and DIG1 signals are interconnected together, to the pin DIGIN [1_0],
DIG2 and DIG3 signals are interconnected together, to the pin DIGIN [3_2] and DIG4 and
DIG5 signals are interconnected together, to the pin DIGIN [5_4]
DocID027870 Rev 1 19/126
126
Product overview STLUX
5.2.1
The STLUX family integrates a programmable STM8 controller acting as a device supervisor. The STM8 is a modern CISC core and has been designed for code efficiency and performance. It contains 21 internal registers (six of them directly addressable in each execution context), 20 addressing modes including indexed indirect and relative addressing and 80 instructions.
Architecture and registers
Harvard architecture with 3-stage pipeline
32-bit wide program memory bus with single cycle fetching for most instructions
X and Y 16-bit index registers, enabling indexed addressing modes with or without offset and read-modify-write type data manipulations
8-bit accumulator
24-bit program counter with 16-Mbyte linear memory space
16-bit stack pointer with access to a 64-Kbyte stack
8-bit condition code register with seven condition flags updated with the results of last executed instruction
5.2.2 Addressing
20 addressing modes
Indexed indirect addressing mode for lookup tables located in the entire address space
Stack pointer relative addressing mode for efficient implementation of local variables and parameter passing
5.2.4
80 instructions with 2-byte average instruction size
Standard data movement and logic/arithmetic functions
8-bit by 8-bit multiplication
16-bit by 8-bit and 16-bit by 16-bit division
Bit manipulation
Data transfer between the stack and accumulator (push/pop) with direct stack access
Data transfer using the X and Y registers or direct memory-to-memory transfers
Single wire interface module (SWIM)
The single wire interface module (SWIM), together with the integrated debug module (DM), permits non-intrusive, real-time in-circuit debugging and fast memory programming. The interface can be activated in all device operation modes and can be connected to a running device (hot plugging).The maximum data transmission speed is 145 byte/ms.
in
.
20/126 DocID027870 Rev 1
STLUX Product overview
The non-intrusive debugging module is fully controllable by the external target emulator.
Besides memory and peripheral operation, the CPU operation can also be monitored in real-time by means of shadow registers.
R/W of RAM and peripheral registers in real-time
R/W for all resources when the application is stopped
Breakpoints on all program memory instructions (software breakpoints), except for the interrupt vector table
Two advanced breakpoints and 23 predefined breakpoint configurations
5.3.1
and
describe the basic peripherals accessed by the internal
CPU controller.
Vectored interrupt controller
Nested interrupts with three software priority levels
21 interrupt vectors with hardware priority
Two vectors for 12 external maskable or un-maskable interrupt request lines
Trap and reset interrupts
5.3.2 Timers
The STLUX family provides several timers which are used by software and do not interact directly with the SMED and the PWM generation.
System timers
The system timer consists of a 16-bit autoreload counter driven by a programmable prescaled clock and operating in one shoot or free running operating mode. The timer is used to provide the IC time base system clock, with an interrupt generation on timer overflow events.
Auxiliary timer
The auxiliary timer is a light timer with elementary functionality. The time base frequency is provided by the CCO clock logic (configurable with a different source clock and prescale division factors), while the interrupt functionality is supplied by an interrupt edge detection logic similarly to the solution adopted for the Port P0/P2.
The timer has the following main features:
Free running mode
Up counter
Timer prescaler 8-bit
Interrupt timer capability:
– Vectored interrupt
– Interrupt IRQ/NMI or polling mode
Timer pulse configurable as a clock output signal via the CCO primary pin
DocID027870 Rev 1 21/126
126
Product overview STLUX
Thanks to the great configurability of the CCO frequency, the timer can cover a wide range of interval time to fit better the target application requirements.
Auto-wakeup timer
The AWU timer is used to cyclically wake-up the IC device from the active halt state. The
AWU frequency time base f
AWU
can be selected between the following clock sources: LSI
(153.6 kHz) and the external clock HSE scaled down to 128-kHz clock.
By default the f
AWU
clock is provided by the LSI internal source clock.
Watchdog timers
The watchdog system is based on two independent timers providing a high level of robustness to the applications. The watchdog timer activity is controlled by the application program or by suitable option bytes. Once the watchdog is activated, it cannot be disabled by the user program without going through reset.
Window watchdog timer
The window watchdog is used to detect the occurrence of a software fault, usually generated by external interferences or by unexpected logical conditions, which causes the application program to break the normal operating sequence.
The window function can be used to adjust the watchdog intervention period in order to match the application timing perfectly. The application software must refresh the counter before timeout and during a limited time window. If the counter is refreshed outside this time window, a reset is issued.
Independent watchdog timer
The independent watchdog peripheral can be used to resolve malfunctions due to hardware or software failures.
It is clocked by the 153.6 kHz LSI internal RC clock source. By properly setting the hardware watchdog feature associated option bits, the watchdog is automatically enabled at poweron, and generates a reset unless the key register is written by software before the counter reaches the end of the count.
5.4 Flash program and data E
2
PROM
Embedded Flash and E
2
PROM with the memory ECC code correction and protection mechanism preventing embedded program hacking.
32 Kbyte of single voltage program Flash memory
1 Kbyte true (not emulated) data E
2
PROM
Read while write: writing in the data memory is possible while executing code program memory
The device setup is stored in a user option area in the non-volatile memory.
22/126 DocID027870 Rev 1
STLUX Product overview
5.4.1 Architecture
Figure 6. Flash and E 2 PROM internal memory organizations
5.4.2
The memory is organized in blocks of 128 bytes each
Read granularity: 1 word = 4 bytes
Write/erase granularity: 1 word (4 bytes) or 1 block (128 bytes) in parallel
Writing, erasing, word and block management is handled automatically by the memory interface.
Write protection (WP)
Write protection in application mode is intended to avoid unintentional overwriting of the memory. The write protection can be removed temporarily by executing a specific sequence in the user software.
Note:
In all STLUX devices a memory area of 32 Kbyte can be protected from overwriting at a user option level. In addition to the standard write protection, the UBC protection can be modified by the embedded program or via a debug interface when the ROP protection is enabled.
The UBC memory area contains the reset and interrupt vectors and its size can be adjusted in increments of 512 bytes by programming the UBC and nUBC option bytes.
If users choose to update the boot code in the application programming (IAP), this has to be protected so to prevent unwanted modification.
DocID027870 Rev 1 23/126
126
Product overview
5.4.4 Readout protection (ROP)
STLUX
The STLUX family provides a readout protection of the code and data memory which can be activated by an option byte setting.
The readout protection prevents reading and writing program memory, data memory and option bytes via the debug module and SWIM interface. This protection is active in all device operation modes. Any attempt to remove the protection by overwriting the ROP option byte triggers a global erase of the program and data memory contents.
5.5.1
The clock controller distributes the system clock provided by different oscillators to the core and the peripherals. It also manages clock gating for low power modes and ensures clock robustness.
The main clock controller features are:
Clock sources
Internal 16-MHz and 153.6-kHz RC oscillators
External source clock:
– Crystal/resonator oscillator
– External clock input
Internal PLL at 96 MHz (not used as the f
MASTER
source clock)
Reset: after the reset the microcontroller restarts by default with the HSI internal clock scaled at 2 MHz (16 MHz/8). The clock source and speed can be changed by the application program as soon as the code execution starts.
Safe clock switching: clock sources can be changed safely on the fly in run mode through a configuration register. The clock signal is not switched until the new clock source is ready. The design guarantees glitch-free switching.
Clock management: to reduce power consumption, the clock controller can stop the clock to the core or individual peripherals.
Wakeup: in case the device wakes up from low power modes, the internal RC oscillator
(16 MHz/8) is used for a quick startup. After a stabilization time, the device brings back the clock source that was selected before Halt mode was entered.
Clock security system (CSS): the CSS permits monitoring of external clock sources and automatic switching to the internal RC (16 MHz/8) in case of a clock failure.
Configurable main clock output (CCO): this feature permits to output an internal clock source signal for application usage.
Internal 16 MHz RC oscillator (HSI)
The high speed internal (HSI) clock is the default master clock line, generated by an internal
RC oscillator and with nominal frequency of 16 MHz. It has the following major features:
RC architecture
Glitch-free oscillation
3-bit user calibration circuit.
24/126 DocID027870 Rev 1
STLUX
5.5.2
5.5.3
Note:
Product overview
Internal 153.6 kHz RC oscillator (LSI)
The low speed internal (LSI) clock is a low speed clock line provided by an internal RC circuit. It drives both the independent watchdog (IWDG) circuit and the auto-wakeup unit
(AWU). It can also be used as a low power clock line for the master clock f
MASTER
.
Internal 96 MHz PLL
The PLL provides a high frequency 96 MHz clock used to generate high frequency and accurate PWM waveforms. The input reference clock must be 16 MHz and may be sourced either by the internal HSI signal or by the external HSE auxiliary input crystal oscillator line.
The internal PLL prescaled clock cannot be selected as f
MASTER
.
When the application requires a PWM signal with a custom defined long term stability, it is suggested to use an external clock source connected to the HSE auxiliary clock line as a PLL input reference clock. In this case, the external clock source accuracy determines the
PWM output stability.
Note:
The high speed external clock (HSE) allows the connection of an external clock generated, for example, by a highly accurate crystal oscillator. The HSE is interconnected with the f
MASTER
clock line and to several peripherals. It allows users to provide a custom clock characterized by a high level of precision and stability to meet the application requirements.
The HSE supports two possible external clock sources with a maximum of 24 MHz:
Crystal/ceramic resonator interconnected with the HseOscin/HseOscout signals
Direct drive clock interconnected with the HseOscin signal
The HseOscin and HseOscout signals are multifunction pins configurable through the I/O
When the HSE is configured as the f
MASTER be higher than 16 MHz.
source clock, the HSE input frequency cannot
When the HSE is the PLL input reference clock, then the HSE input frequency must be equal to 16 MHz.
If the HSE is the reference for the SMED or the ADC logic, the input frequency can be configured up to 24 MHz.
For efficient power management, the application can be put in one of four different low power modes. Users can configure each mode to obtain the best compromise between the lowest power consumption, the fastest startup time and available wakeup sources.
Wait mode: in this mode, the CPU is stopped, but peripherals are kept running. The wakeup is triggered by an internal or external interrupt or reset.
Active halt mode with regulator on: in this mode, the CPU and peripheral clocks are stopped. An internal wakeup is generated at programmable intervals by the autowakeup unit (AWU). The main voltage regulator is kept powered on, so current consumption is higher than in the active halt mode with the regulator off, but the
DocID027870 Rev 1 25/126
126
Product overview STLUX wakeup time is faster. The wakeup is triggered by the internal AWU interrupt, external interrupt or reset.
Active halt mode with regulator off: this mode is the same as active halt with the regulator on, except that the main voltage regulator is powered off, so the wakeup time is slower.
Halt mode: in this mode the microcontroller uses the least power. The CPU and peripheral clocks are stopped, while the main voltage regulator is switched in poweroff. Wakeup is triggered by an external event or reset.
In all modes the CPU and peripherals remain permanently powered on, the system clock is applied only to selected modules. The RAM content is preserved and the brownout reset circuit remains enabled.
26/126
The DALI (digital addressable lighting interface), standardized as the IEC 62386, is the new interface for lighting control solutions defined by the lighting industry.
The DALI protocol is generally implemented in a DALI communication module (DCM): a serial communication circuit designed for controllable electronic ballasts. “Ballast” is a device or circuit used to provide the required starting voltage and operating current for the
LED, fluorescent, mercury or other electronic-discharge lamps.
The STLUX DALI driver has the following characteristics:
Speed line:1.2, 2.4 and 4.8 kHz transmission rate ± 10%
Forward payload: 16, 17, 18 and 24-bit message length
Backward payload: 8-bit message length.
Bidirectional communications
Monitor receiver line timeout 500 ms ± 10%
Polarity insensitive on DALI_rx, DALI_tx signal line
Interoperability with different message length
Maskable interrupt request line
DALI peripheral clock has slowed down to 153.6 kHz in low speed operating mode
Improved DALI noise rejection filter on DALI_rx input line (see
Section : DALI noise rejection filter ).
DALI noise rejection filter
The STLUX DALI interface includes a noise rejection filter interconnected on the RX channel capable to remove any bounce, glitch or spurious pulse from the RX line. The filter can be configured via three registers:
MSC_DALICKSEL: selects the source clock of filter timing
MSC_DALICKDIV: configures the clock prescaler value
MSC_DALICONF: configures the filter count and operating mode.
DocID027870 Rev 1
STLUX Product overview
5.7.3
UART is the asynchronous receiver/transmitter communication interface.
SW flow control operating mode
Full duplex, asynchronous communications
High precision baud rate generator system
– Common programmable transmit and receive baud rates up to f
MASTER
/16
Programmable data word length (8 or 9-bit)
Configurable stop bit - support for 1 or 2 stop bit
Configurable parity control
Separate enable bits for transmitter and receiver
Interrupt sources:
– Transmit events
– Receive events
– Error detection flags
2 interrupt vectors:
– Transmitter interrupt
– Receiver interrupt
Reduced power consumption mode
Wakeup from mute mode (by idle line detection or address mark detection)
2 receiver wakeup modes:
– Address bit (MSB)
– Idle line.
Inter-integrated circuit interface (I
2
C)
The I 2 C (inter-integrated circuit) bus interface serves as an interface between the microcontroller and the serial I 2 C bus. It provides a multimaster capability, and controls all
I 2 C bus-specific sequencing, protocol, arbitration and timing. It supports standard and fast speed modes.
Parallel-bus/I 2 C protocol converter
Multimaster capability: the same interface can act as master or slave
I 2 C master features:
– Clock generation
– Start and stop generation
I 2 C slave features:
– Programmable I 2 C address detection
– Stop bit detection
Generation and detection of 7-bit/10-bit addressing and general call
Supports different communication speeds:
– Standard speed (up to 100 kHz)
– Fast speed (up to 400 kHz)
DocID027870 Rev 1 27/126
126
Product overview
Status flags:
– Transmitter/receiver mode flag
– End of byte transmission flag
– I 2 C busy flag
Error flags:
– Arbitration lost condition for master mode
– Acknowledgment failure after address/ data transmission
– Detection of misplaced start or stop condition
– Overrun/underrun if clock stretching is disabled
Interrupt sources:
– Communication interrupt
– Error condition interrupt
– Wakeup from Halt interrupt
Wakeup capability:
– MCU wakes up from low power mode on address detection in slave mode.
STLUX
5.8 Analog-to-digital converter (ADC)
The STLUX family includes a 10-bit successive approximation ADC with 8 multiplexed input channels. The analog input signal can be amplified before conversion by a selectable gain of 1 or 4 (a) times. The analog-to-digital converter can operate either in single or in continuous/circular modes. The ADC unit has the following main features:
8/6 ADC input channel
(b)
10-bit resolution
Single and continuous conversion mode
Independent or fixed channel gain value x1 or x4 to extend dynamic range and resolution to 12-bit equivalent
Interrupt events:
– EOC interrupt asserted on end of conversion cycle
– EOS interrupt asserted on end of conversion sequences
– SEQ_FULL_EN interrupt assert on sequencer buffer full
ADC input voltage range dependent on selected gain value
Selectable conversion data alignment
Individual registers for up to 8 successive conversions.
28/126 a. The gain x4 is available only on the STLUX385A.
b. The number of ADC input channels depends of the STLUX device part number.
DocID027870 Rev 1
STLUX Product overview
The STLUX devices family includes four independent fast analog comparator units
(COMP3-0). Each comparator has an internal reference voltage. The COMP3 can be also configured to use an external reference voltage connected to the CPM3 input pin.
Each comparator reference voltage is generated by a dedicated internal-only 4-bit DAC unit.
The main characteristics of the analog comparator unit (ACU) are the following:
Each comparator has an internally configurable reference
Internal reference voltages configurable in 16 steps with the 83 mV voltage grain from
0 V (GND) to 1.24 V (voltage reference)
Two stage comparator architecture is used to reach a high gain
Comparator output stage value accessible from processor interface
Continuous fast cycle comparison time.
DocID027870 Rev 1 29/126
126
Pinout and pin description
6 Pinout and pin description
6.1 Pinout
Figure 7. TSSOP38 pinout of STLUX385A and STLUX383A
STLUX
30/126 DocID027870 Rev 1
STLUX Pinout and pin description
Figure 8. VFQFPN32 pinout of STLUX325A
Figure 9. TSSOP28 pinout of STLUX285A
DocID027870 Rev 1 31/126
126
Pinout and pin description STLUX
Table 4. Pin description
5
6
7
8
TSSOP
38
Pin number
VFQFPN
32
TSSOP
28
Type
1
2
3
4
9
10
11
12
13
14
21
22
23
24
25
26
-
(1)
27
28
29
30
31
32
Pin name Main function
Alternate function 1
1
2
3
4
5
-
6
7
8
9
10
I/O
I/O DIGIN[0]/CCO_clk
I
I/O
I/O
I
I
GPIO1[2]/PWM[2]
DIGIN[2]
DIGIN[3]
I/O GPIO1[5]/PWM[5]
I/O
I/O
PS
PS
PS
GPIO1[0]/PWM[0]
DIGIN[1]
GPIO1[1]/PWM[1]
SWIM
NRST
VDD
VSS
VOUT
11 I/O
GPIO0[4]/Dali_TX/
I2C_sda/Uart_TX
SMED PWM channel 0
Digital input 0
Digital input 1
SMED PWM channel 1
SMED PWM channel 2
Digital input 2
Digital input 3
SMED PWM channel 5
SWIM data interface
Reset
Digital and I/O power supply
Digital and I/O ground
1.8 V regulator capacitor
General purpose I/O 10
Configurable clock output signal (CCO)
-
General purpose I/O 11
General purpose I/O 12
-
-
General purpose I/O 15
General purposeI/O
06
(2)
-
-
-
-
General purpose
I/O 04
DALI data transmit
15
16
17
18
19
1
2
3
4
5
12 I/O
GPIO0[5]/Dali_RX/
I2C_scl/Uart_RX
General purpose
I/O 05
-
13
I/O GPIO1[4]/PWM[4]
I/O DIGIN[4]/I2C_sda
I/O DIGIN[5]/I2C_scl
14 I/O GPIO1[3]/PWM[3]
SMED PWM channel 4
Digital input 4
Digital input 5
SMED PWM channel 3
DALI data receive
General purpose I/O 14
I
2
C data
(3)
I
2
General purpose I/O 13
Alternate function 2
Alternate function 3
-
-
-
-
-
-
-
-
-
-
-
-
-
I 2 C data
I
2
C clock
-
-
-
-
-
UART data transmit
UART data receive
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
32/126 DocID027870 Rev 1
STLUX Pinout and pin description
Table 4. Pin description (continued)
TSSOP
38
Pin number
VFQFPN
32
TSSOP
28
Type
Pin name Main function
Alternate function 1
Alternate function 2
Alternate function 3
20
21
6
7
15
16
I/O
I/O
GPIO0[2]/I2C_sda/
HseOscout/Uart_TX
GPIO0[3]/I2C_scl/
HseOscin/Uart_RX
General purpose
I/O 02
General purpose
I/O 03
I
I
2
2
C data
C clock
22
23
24
25
26
27
28
29
35
36
37
38
30
31
32
33
34
-
-
8
9
10
11
12
13
14
-
-
15
16
17
18
19
20
-
-
17
18
19
22
23
24
25
26
27
28
I/O
I/O
I
I
I
I
I
PS
20 PS
21 I
I
I
I
I
I
I
I
GPIO0[0]/Uart_TX/
I2C_sda
GPIO0[1]/Uart_RX/
I2C_scl
CPP[3]
CPP[2]
CPM3
CPP[1]
CPP[0]
VDDA
VSSA
ADCIN[7]
ADCIN[6]
ADCIN[5]
ADCIN[4]
ADCIN[3]
ADCIN[2]
ADCIN[1]
ADCIN[0]
General purpose
I/O 00
General purpose
I/O 01
Positive analog comparator input 3
Positive analog comparator input 2
Negative analog comparator input 3
Positive analog comparator input 1
Positive analog comparator input 0
Analog power supply
Analog ground
Analog input 7
Analog input 6
Analog input 5
Analog input 4
Analog input 3
Analog input 2
Analog input 1
Analog input 0
UART data transmit
UART data receive
1. The DIGIN3 and DGIN2 are connected together on the STLUX325A, DIGIN [3_2] pin.
2. Available only on the STUX325A.
3. Not available on the STUX285A.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Output crystal oscillator signal
Input crystal oscillator signal /input clock signal
UART data transmit
UART data receive
I
2
C data -
I
2
C clock
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
DocID027870 Rev 1 33/126
126
Pinout and pin description STLUX
The STLUX family includes three different I/O types:
Normal I/Os configurable either at 2 or 10 MHz maximum frequency
Fast I/O operating up to 12 MHz.
High speed I/O operating up to 32 MHz
The STLUX I/Os are designed to withstand current injection. For a negative injection current of 4 mA, the resulting leakage current in the adjacent input does not exceed 1 µA; further details are available in
Section 12: Electrical characteristics on page 82
.
34/126 DocID027870 Rev 1
STLUX
7
I/O multifunction signal configuration
I/O multifunction signal configuration
Several I/Os have multiple functionalities selectable through the configuration mechanism
to
. The STLUX I/Os are grouped into four different configurable ports: P0, P1, P2 and P3.
7.2
The STLUX supports either a cold or warm multifunction signal configuration policy according to the content of the EN_COLD_CFG bit field, a part of the GENCFG option byte register.
When the EN_COLD_CFG bit is set, the cold configuration is selected and the multifunction signals are configured according to the values stored in the option bytes; otherwise when the EN_COLD_CFG bit is cleared (default case), the warm configuration mode is chosen and the multifunction pin functionality is configured through the miscellaneous registers.
The configuration options and the proper configuration registers are detailed in
:
Table 5. Multifunction configuration registers
EN_COLD_CFG Configuration policy Multifunction configuration registers
1
0 (default)
Cold
Warm
AFR_IOMXP0, AFR_IOMXP1 and AFR_IOMXP2
MSC_IOMXP0, MSC_IOMXP1 and MSC_IOMXP2
The warm configuration is volatile, thus not maintained after a device reset.
Port P0 I/O multifunction configuration signal
The Port P0 multiplexes several input/output functionalities, increasing the device flexibility.
The P0 port pins can be independently assigned to general purpose I/Os or to internal peripherals. All communication peripherals and the external oscillator are hosted by the Port
P0 pins.
In order to avoid electrical conflicts on the user application board, the P0 signals are configured at reset as GPIO0 inputs without pull-up resistors. Once the reset is released, the firmware application must initialize the inputs with the proper configuration according to the application needs.
The multifunction pins can be configured via one of the following two registers, depending on the overall configuration policy (warm/cold):
Cold configuration: AFR_IOMXP0 option byte registers (refer to
Section 10: Option bytes on page 60 ). After the reset the P0 signals are configured in line with
AFR_IOMXP0 contents.
Warm configuration: MSC_IOMXP0 miscellaneous register (refer to
pull-up disabled.
DocID027870 Rev 1 35/126
126
I/O multifunction signal configuration STLUX
summarizes the Port P0 configuration scheme. Both registers MSC_IOMXP0 and
AFR_IOMXP0 use the same register fields Sel_p054, Sel_p032 and Sel_p010 which respectively control the bits [5, 4], [3, 2] and [1, 0] of the Port P0.
Table 6. P0 internal multiplexing signals (1)
Port P0 multifunction configuration signal
MUX selection
Port pins Multifunction signal
Selection fields Value (binary)
P0[1,0]
(2)
P0[3,2]
P0[5,4]
GPIO0 [1]
UART_rx
I
2
C_scl
GPIO0 [0]
UART_tx
I
2
C_sda
RFU reserved encoding
GPIO0 [3]
I
2
C_scl
HseOscin
UART_rx
GPIO0[5]
DALI_rx
I
2
C_scl
UART_rx
GPIO0 [2]
I
2
C_sda
HseOscout
UART_tx
GPIO0[4]
DALI_tx
I
2
C_sda
UART_tx
Sel_P010
Sel_P032
Sel_P054
1. The Sel_p054, Sel_p032, Sel_p010 are register fields for both registers MSC_IOMXP0 and
AFR_IOMXP0.
The peripheral conflict (same resources selected on different pins at the same time) has to be prevented by SW configuration.
When the I 2 C interface is selected either on the GPIO0 [5:4] GPIO0 [3:2] or on GPIO0 [1:0] signals the related I/O port speed has to be configured at 10 MHz by programming the GPIO0 internal peripheral.
2. Available only on the STLUX385A and STLUX383A.
00
01
10
11
00
01
10
11
00
01
10
11
The primary I/Os can be used to trace the SMED's state evolution. This feature allows the debug of the complex SMED configurations. The trace selection can be enabled or disabled via the register MSC_IOMXSMD. The diagnostic signal selection through the
MSC_IOMXSMD register overrides the functional configuration of the MSC_IOMXP0 register.
The Port P0 [5:3] or P0 [2:0] can be configured to output one or two different SMEDs' current states.
The SMEDs FSM state signals (coded on three bits) may be multiplexed either on port bits
P0 [5:3] or P0 [2:0]; alternatively two different SMEDs signal states can be traced simultaneously on the same port bits. The SMED trace configuration is forbidden on the Port
P [2:0] when the external comparator reference voltage is programmed on the Port P0 [1, 0].
The Port 0 I/O signal availability depends on the STLUX device.
36/126 DocID027870 Rev 1
STLUX
7.2.3
I/O multifunction signal configuration
Port P0 I/O functional multiplexing signal
shows an outline view of the Port P0 multifunction multiplexing scheme.
Figure 10. Port P0 I/O functional multiplexing scheme
Note:
Where the “A/F(s) in” and “A/F(s) out” signals are defined in Section 6.2 on page 32 .
Verify pin availability in Table 4: Pin description on page 32
.
On the STLUX325A device:
P0_ODR [1:0] bits must be keep clear.
P0 [6] is a multifunction signal configurable through the MSC_IOMXP2 [7] and
AFR_IOMXP2 [7] register bits - for further details refer to Section 7.4
.
Port P0 [6] signal is controlled by P0_ODR [6] and P0_IDR [6] GPIO0 registers.
On the STLUX285A device:
P0_ODR [1:0] bits must be keep clear.
7.2.5
Port P0 signals may be configured to generate maskable (IRQ) and un-maskable (NMI) interrupts by programming the MSC_CFGP0<n> and the MSC_STSP0 registers (n = index port signal). This functionality is not applicable to the bit port P0 [6] on the STLUX325A and on the port P0:[1:0] on STLUX285A.
The interrupt request may be configured to wake-up the IC device from the WFI (wait for interrupt), AHalt (active Halt) and Halt power saving state.
P0 programmable pull-up and speed feature
The I/O speed and pad pull-up resistance (47 k ) of the port P0 may be configured through the GPIO0 internal registers.
The pull-up resistance of the multifunction signal P0 [6] is always enabled on the
STLUX325A.
DocID027870 Rev 1 37/126
126
I/O multifunction signal configuration
7.3 Port P1 I/O multifunction configuration signal
STLUX
The Port P1 I/O multifunction pins, similarly to the Port P0, can be individually configured through the following set of registers based on the selected device configuration policy:
Cold configuration: AFR_IOMXP1 option byte register (refer to
After reset the P1 signals are configured in line with AFR_IOMXP1 contents.
Warm configuration: MSC_IOMXP1 miscellaneous register (refer to
reset the P1 signals are configured as PWM output lines.
Every Port1 I/O can be configured to operate as a PWM output pin or a GPIO. Differently from the port P0s, the pins are configured as PWM output signals by default after reset.
summarizes the Port P1 configurations as selected by the register fields Sel_p15 …
Sel_p10 which respectively control the bits [5] … [0] of the Port P1 (verify resources availability in
Table 7. Port P1 I/O multiplexing signal
(1)
Port P1 multifunction configuration signal
MUX selection
Output signal Multifunction signal
Selection bits Value (binary)
P1[0]
P1[1]
P1[2]
P1[3]
P1[4]
P1[5]
PWM[0]
GPIO1[0]
PWM[1]
GPIO1[1]
PWM[2]
GPIO1[2]
PWM[3]
GPIO1[3]
PWM[4]
GPIO1[4]
PWM[5]
GPIO1[5]
Sel_P10
Sel_P11
Sel_P12
Sel_P13
Sel_P14
Sel_P15
1. The Sel_p15…Sel_p10 are common register fields of both registers MSC_IOMXP1 and AFR_IOMXP1.
In cold configuration the P1x are configured as defined by the AFR_IOMXP1 option byte.
The PWM default polarity level is configured by the register option byte GENCFG.
Verify pin availability in
.
0
1
0
0
1
0
1
1
0
1
0
1
38/126 DocID027870 Rev 1
STLUX
7.3.1
I/O multifunction signal configuration
Port P1 I/O multiplexing signal
shows an outline view of the port P1 signal multiplexing scheme.
Figure 11. Port P1 I/O multiplexing scheme
Note:
7.3.2
7.4
The P1 [5:0] output signals may be read back from the P1_IDR register only when the pins are configured as GPIO out or PWM signals.
The PWM internal signal is read back also by its own SMED through the
SMD<n>_FSM_STS register.
Verify pin availability in device pin
.
P1 programmable pull-up feature
The pad pull-up resistances (47 k ) of the Port1 may be configured through the GPIO1 internal register.
Port P2 I/O multifunction configuration signal
The Port2 I/O multifunction pins, similarly to the Port0 and Port2, can be individually configured through the following set of registers based on the selected device configuration policy:
Cold configuration: AFR_IOMXP2 option byte registers (refer to
contents.
Warm configuration: MSC_IOMXP2 miscellaneous register (refer to
reset the P2 signals are configured as DIGIN input lines with the pull-up enabled.
summarizes the port P2 configurations selected by the register fields
Sel_p25…Sel_p20 which respectively control the bits [5]… [0] of port P2. The P2 [0] is configured by the CCOEN bit field of the register CKC_CCOR. The SWIM alternate function signal (when available) is controlled by the Sel_SWIM bit field provided by registers
AFR_IOMXP2 [7] and MSC_IOMXP2 [7].
DocID027870 Rev 1 39/126
126
I/O multifunction signal configuration
Output signal
P2[0]
P2[4]
P2[5]
SWIM
STLUX
Table 8. Port P2 I/O multiplexing signal
Port P2 multifunction configuration signal
Multifunction signal
DIGIN[0]
CCO
DIGIN[4]
I 2 C_sda
DIGIN[5]
I
2
C_scl
GPIO0[6]
SWIM
CCOEN
Sel_P254
Sel_P254
Sel_SWIM
MUX selection
Selection bits Value (binary)
0
X
1
0
1
0
0
1
Note: The Sel_P254 is a common register field of both registers MSC_IOMXP2 and
AFR_IOMXP2.
The peripheral conflict (same resources selected on different pins at the same time) has to be prevented by SW configuration.
The signal ports P2 [3:1] are exclusively interconnected with DIGIN [3:1] primary pins. When the I 2 C i/f is selected on DIGIN [5:4] signals the I/O speed is auto-configured at 10 MHz and the internal pull-up functionality is controlled by the MSC_INPP2AUX1 register.
The GPIO0 [6] signal is selected when both Sel_SWIM = '0' and CFG_GCR [0] = '1'.
SWIM signal function is selected when the CFG_GCR [0] = '0'.
After reset by default the P2 [0] is configured as the DIGIN [0] signal.
Verify pinout availability in
Table 4: Pin description on page 32
.
The P2 [0] is configured by the CCOEN field of the CKC_CCOR register as shown in
.
7.4.2
Port P2 signals may be configured to generate maskable (IRQ) and un-maskable (NMI) interrupts by configuring the MSC_CFGP2<n> and the MSC_STSP2 registers (n = index port signal 0-5).
The interrupt request may be configured to wake-up the IC device from the WFI (wait for interrupt), AHalt (active Halt) and Halt power saving state.
P2 programmable pull-up feature
The pad pull-up resistances (47 k ) of Port2 signals are individually controllable by the
MSC_INPP2AUX1 register.
40/126 DocID027870 Rev 1
STLUX I/O multifunction signal configuration
7.5 Multifunction configuration registers
MSC_IOMXP0 (Port P1 I/O MUX control register)
Table 9. MSC_IOMXP0 (Port P1 I/O MUX control register)
Offset: 0x2A
7 6 5
Default value: 0x00
Sel_P054 [1:0] r/w
4
RFU r
1. Not available on the STLUX325A and STLUX285A.
3 2
Sel_P032 [1:0] r/w
1 0
Sel_P010 [1:0]
(1) r/w
The Port0 I/O multifunction signal configurations register (for functionality description refer to
).
Verify pinout availability in
Table 4: Pin description on page 32 .
Bit 1 - 0:
Sel_P010 [1:0] Port0 [1:0] I/O multiplexing scheme:
00: Port0 [1:0] are interconnected to GPIO0 [1:0] signals
01: Port0 [1:0] are interconnected to UART_rx and UART_tx signals
10: Port0 [1:0] are interconnected to I
2
C_scl and I
2
C_sda signals
11: RFU
Bit 3 - 2:
Sel_P032 [1:0] Port0 [3:2] I/O multiplexing scheme:
00: Port0 [3:2] are interconnected to GPIO0 [3:2] signals
01: Port0 [3:2] are interconnected to I
2
C_scl and I
2
C_sda signals
10: Port0 [3:2] are interconnected to HseOscin and HseOscout analog signals
11: Port0 [3:2] are interconnected to UART_rx and UART_tx signals
Bit 5 - 4:
Sel_P054 [1:0] Port0 [5:4] I/O multiplexing scheme:
00: Port0 [5:4] are interconnected to GPIO0 [5:4] signals
01: Port0 [5:4] are interconnected to DALI_rx and DALI_tx signals
10: Port0 [5:4] are interconnected to I
2
C_scl and I
2
C_sda signals
11: Port0 [5:4] are interconnected to UART_rx and UART_tx signals
Bit 7 - 6:
RFU reserved; in order to guarantee future compatibility, the bits are kept or set to 0 during register write operations.
DocID027870 Rev 1 41/126
126
I/O multifunction signal configuration STLUX
MSC_IOMXP1 (Port P1 I/O MUX control register)
Table 10. MSC_IOMXP1 (Port P1 I/O MUX control register)
Offset: 0x2B
Default value: 0x3F
7
RFU r
6 5
Sel_P15
(1)
,
(2)
4
3 2 1 0
Sel_P13 Sel_P12 Sel_P11 Sel_P10 r/w
1. Not available on the STLUX285A; these bits are set to 1 after reset, must be cleared by SW during the IC device initialization phase and during register write operations.
2. Not available on the STLUX325A; these bits are set to 1 after reset, must be cleared by SW during the IC device initialization phase and during register write operations.
The Port1 I/O multifunction signal configuration register (for functionality description refer to
Verify pinout availability in
Table 4: Pin description on page 32 .
Bit 0:
Sel_P10 Port1 [0] I/O multiplexing scheme:
0: Port1 [0] is interconnected to GPIO1 [0] signal
1: Port1 [0] is interconnected to PWM [0] signal
Bit 1:
Sel_P11 Port1 [1] I/O multiplexing scheme:
0: Port1 [1] is interconnected to GPIO1 [1] signal
1: Port1 [1] is interconnected to PWM [1] signal
Bit 2:
Sel_P12 Port1 [2] I/O multiplexing scheme:
0: Port1 [2] is interconnected to GPIO1 [2] signal
1: Port1 [2] is interconnected to PWM [2] signal
Bit 3:
Sel_P13 Port1 [3] I/O multiplexing scheme:
0: Port1 [3] is interconnected to GPIO1 [3] signal
1: Port1 [3] is interconnected to PWM [3] signal
Bit 4:
Sel_P14 Port1 [4] I/O multiplexing scheme:
0: Port1 [4] is interconnected to GPIO1 [4] signal
1: Port1 [4] is interconnected to PWM [4] signal
Bit 5:
Sel_P15 Port1 [5] I/O multiplexing scheme:
0: Port1 [5] is interconnected to GPIO1 [5] signal
1: Port1 [5] is interconnected to PWM [5] signal
42/126 DocID027870 Rev 1
STLUX I/O multifunction signal configuration
Bit 7 - 6:
RFU reserved; in order to guarantee future compatibility, the bits are kept or set to 0 during register write operations.
MSC_IOMXP2 (Port P2 I/O MUX control register)
7
Sel_SWIM r/w
Table 11. MSC_IOMXP2 (Port P2 I/O MUX control register)
Offset: 0x13 (indirect area)
6
RFU r
5
Default value: 0xFF
4
Sel_P254 r/w
3 2
RFU r
1 0
The Port1 I/O multifunction signal configurations register (for functionality description refer to
). This register is not available on STLUX285A and must be kept set to its default value
Check device feature availability.
Bit 3 - 0:
RFU reserved; must be kept 0 during register writing for future compatibility
Bit 4:
Sel_P254 Port2 [5:4] I/O multiplexing scheme:
0: Port2 [5:4] are interconnected to I 2 C_scl and I 2 C_sda signals
1: Port2 [5:4] are interconnected to DIGIN [5:4] signals
Bit 6 - 5:
RFU reserved; in order to guarantee future compatibility, the bits are kept or set to 0 during register write operations.
Bit 7:
Sel_SWIM SWIM alternate function signal enable; this feature is active when the SWD field of the register CFG_GCR is set.
0: SWIM pin is configured with GPIO0 [6] signal.
1: SWIM functionality is preserved.
DocID027870 Rev 1 43/126
126
I/O multifunction signal configuration
MSC_INPP2AUX1 (INPP aux register)
7
RFU r
6
Table 12. MSC_INPP2AUX1 (INPP aux register)
Offset: 0x08 (indirect area)
5
Default value: 0x00
4 3 2
INPP2_PULCTR [5:0] r/w
1
Note:
STLUX
0
Bit 5 - 0:
INPP2_PULCTR [5:0].This register configures respectively the INPP2 [5:0] pull-up functionality as follows:
0: enable pad pull-up features (enabled by default for compatibility with the
STLUX385)
1: disable pad pull-up
Bit 7 - 6:
RFU reserved; in order to guarantee future compatibility, the bits are kept or set to 0 during register write operations.
The MSC_IOMXP2 and MSC_INPP2AUX1 are addressable in indirect mode.
On STLUX285A devices, due to DIGINs double bond interconnections the pull-up functionality must be configured in the same way for the two couple pins:
DIGIN10 is controlled by register field NPP2_PULCTR[1:0].
DIGIN32 is controlled by register field INPP2_PULCTR[3:2].
DIGIN54 is controlled by register field INPP2_PULCTR[5:4].
44/126 DocID027870 Rev 1
STLUX
8
8.1
Memory and register map
Memory and register map
Memory map overview
This section describes the register map implemented in the STLUX devices family.
shows the main memory map organization. All registers and memory spaces are configured within the first 64 Kbytes of memory, the remaining address spaces are kept reserved for the future use.
Address
00.0000h
00.07FFh
00.0800h
00.3FFFh
00.4000h
00.43FFh
00.4400h
00.47FFh
00.4800h
00.487Fh
00.4880h
00.4FFFh
00.5000h
00.57FFh
00.5800h
00.5FFFh
00.6000h
00.67FFh
00.6800h
00.7EFFh
00.7F00h
00.7FFFh
00.8000h
00.8080h
00.FFFFh
01.0000h
FF.FFFFh
Table 13. Internal memory map
Description
2-kB RAM
Stack
Reserved
1 kB data E
2
PROM
Reserved
128 option bytes
Reserved
Peripheral register region
Reserved
2-kB boot ROM
Reserved
Core register region
32 interrupt vectors
32-kB program Flash
Reserved
By default the stack address is initialized at 0x07FF and rolls over when it reaches the address value of 0x0400.
DocID027870 Rev 1 45/126
126
Memory and register map STLUX
8.2.1
8.2.2
shows the STLUX memory map.
General purpose I/O GPIO0 register map
Address
0x00.5000
0x00.5001
0x00.5002
0x00.5003
0x00.5004
Table 14. General purpose I/O GPIO0 register map
Block Register name Register description
GPIO0
P0_ODR
P0_IDR
P0_DDR
P0_CR1
P0_CR2
Output data
Input data
Data direction
Control register 1
Control register 2
General purpose I/O GPIO1 register map
Address
0x00.5005
0x00.5006
0x00.5007
0x00.5008
0x00.5009
Table 15. General purpose I/O GPIO1 register map
Block Register name Register description
GPIO1
P1_ODR
P1_IDR
P1_DDR
P1_CR1
P1_CR2
Output data
Input data
Data direction
Control register 1
Control register 2
46/126 DocID027870 Rev 1
STLUX Memory and register map
Direct register address mode
Address
0x00.501D
0x00.501E
0x00.501F
0x00.5020
0x00.5021
0x00.5022
0x00.5023
0x00.5024
0x00.5025
0x00.5026
0x00.5027
0x00.5028
0x00.5010
0x00.5011
0x00.5012
0x00.5013
0x00.5014
0x00.5015
0x00.5016
0x00.5017
0x00.5018
0x00.5019
0x00.501A
0x00.501B
0x00.501C
0x00.5029
0x00.502A
0x00.502B
0x00.502C
0x00.502D
0x00.502E
0x00.502F
Table 16. Miscellaneous direct register address mode
Block Register name
MSC_CFGP00
MSC_CFGP01
MSC_CFGP02
Register description
P00 input line control
(1)
P01 input line control
P02 input line control
MSC
MSC_CFGP03
MSC_CFGP04
MSC_CFGP05
MSC_CFGP20
MSC_CFGP21
MSC_CFGP22
MSC_CFGP23
MSC_CFGP24
MSC_CFGP25
MSC_STSP0
MSC_STSP2
MSC_INPP2
RFU
MSC_DACCTR
MSC_DACIN0
MSC_DACIN1
MSC_DACIN2
MSC_DACIN3
MSC_SMDCFG01
MSC_SMDCFG23
MSC_SMDCFG45
MSC_SMSWEV
MSC_SMUNLOCK
MSC_CBOXS0
MSC_CBOXS1
MSC_CBOXS2
MSC_CBOXS3
MSC_CBOXS4
MSC_CBOXS5
P03 input line control
P04 input line control
P05 input line control
P20 input line control
P21 input line control
P22 input line control
P23 input line control
P24 input line control
P25 input line control
Port0 status
Port2 status
Port2 read
Reserved for future use
Comparators and DAC configuration
DAC0 input data
DAC1 input data
DAC2 input data
DAC3 input data
SMED 0 - 1 behavior
SMED 2 - 3 behavior
SMED 4 - 5 behavior
SMED software events
SMED unlock
Connection matrix selection for SMED 0
Connection matrix selection for SMED 1
Connection matrix selection for SMED 2
Connection matrix selection for SMED 3
Connection matrix selection for SMED 4
Connection matrix selection for SMED 5
DocID027870 Rev 1 47/126
126
Memory and register map STLUX
Table 16. Miscellaneous direct register address mode (continued)
Address Block Register name Register description
SMED Trace multiplexing on port 0 0x00.5030
0x00.5031
0x00.5035
0x00.5036
0x00.5037
0x00.5038
0x00.5039
0x00.503A
0x00.503B
0x00.503C
0x00.503D
MSC
MSC_IOMXSMD
RFU
MSC_CFGP15
MSC_STSP1
RFU
MSC_INPP3
MSC_IOMXP0
MSC_IOMXP1
MSC_IDXADD
MSC_IDXDAT
1. Address not available for the STLUX285A and STLUX325A.
Reserved for future use
Aux timer interrupt configuration
Aux timer interrupt status
Reserved for future use
Port 3 (COMP) read
Port 0 alternate function MUX
Port 1 alternate function MUX
MSC indirect register
MSC indirect data
Indirect register address mode
Address (IDX)
Table 17. Miscellaneous indirect register address mode
Block Register name Register description
0x00 - 0x04
0x05
0x06
0x07
0x08
0x09
0x0A - 0x12
0x13
MSC
(indirect)
1. Register not available for the STLUX285A.
RFU
MSC_DALICKSEL
MSC_DALICKDIV
MSC_DALICONF
MSC_INPP2AUX1
MSC_INPP2AUX2
RFU
MSC_IOMXP2
Reserved for future use
DALI clock selection
DALI filter clock division factor
DALI filter mode configuration
INPP2 auxiliary configuration register 1
INPP2 auxiliary configuration register 2
Reserved for future use
Port2 alternate function MUX register
(1)
48/126 DocID027870 Rev 1
STLUX
8.2.4
Memory and register map
Flash and E
2
PROM non-volatile memories
Address
0x00.505A
0x00.505B
0x00.505C
0x00.505D
0x00.505E
0x00.505F
0x00.5062
0x00.5063
0x00.5064
0x00.5071
Table 18. Non-volatile memory register map
Block Register name Register description
MIF
FLASH_CR1
FLASH_CR2
FLASH_nCR2
FLASH_FPR
FLASH_nFPR
FLASH_IAPSR
FLASH_PUKR
RFU
FLASH_DUKR
FLASH_WAIT
Control register 1
Control register 2
Control register 2 (protection)
Memory protection
Memory protection (complemented reg.)
Flash status
Write memory protection removal key reg.
Reserved for future use
Write memory protection removal data
Time access wait-state reg.
Address
0x00.50B3
Table 19. RST_SR register map
Block Register name
RSTC RST_SR
Register description
Reset control status
DocID027870 Rev 1 49/126
126
Memory and register map
8.2.6 Clock and clock controller
STLUX
Address
0x00.50C2
0x00.50C3
0x00.50C4
0x00.50C5
0x00.50C6
0x00.50C7
0x00.50C8
0x00.50C9
0x00.50CA
0x00.50CB
0x00.50CC
0x00.50CD
0x00.50CE
0x00.50CF
0x00.50B4
0x00.50B5
0x00.50B6
0x00.50B7
0x00.50B8
0x00.50B9
0x00.50BA
0x00.50BB
0x00.50BC
0x00.50BD
0x00.50BE
0x00.50BF
0x00.50C0
0x00.50C1
Table 20. Clock and clock controller register map
Block Register name Register description
CKC
CLK_PLLR
CLK_CMSR
CLK_SWR
CLK_SWCR
CLK_CKDIVR
CLK_PCKENR1
CLK_CSSR
CLK_CCOR
CLK_PCKENR2
RFU
CLK_HSITRIMR
CLK_SWIMCCR
CLK_CCODIVR
CLK_ADCR
CLK_SMD0
CLK_SMD1
CLK_SMD2
CLK_SMD3
CLK_SMD4
CLK_SMD5
RFU
RFU
RFU
RFU
CLK_PLLDIV
CLK_AWUDIV
CLK_ICKR
CLK_ECKR
SMED 0 clock configuration
SMED 1 clock configuration
SMED 2 clock configuration
SMED 3 clock configuration
SMED 4 clock configuration
SMED 5 clock configuration
Reserved for future use
Reserved for future use
Reserved for future use
Reserved for future use
PLL clock divisor
AWU clock divisor
Internal clock control
External clock control
PLL control
Clock master
Clock switch
Switch control
Clock dividers
Peripherals clock enable
Clock security system
Configurable clock output
Peripherals clock enable
Reserved for future use
HSI calibration trimmer
SWIM clock division
CCO divider
ADC clock configuration
50/126 DocID027870 Rev 1
STLUX Memory and register map
Address
0x00.50D1
0x00.50D2
Table 21. WWDG timer register map
Block Register name
WWDG
WWDG_CR
WWDG_WR
Register description
Watchdog control
Watchdog window
Address
0x00.50E0
0x00.50E1
0x00.50E2
Address
0x00.50F0
0x00.50F1
0x00.50F2
Table 22. IWDG timer register map
Block Register name
IWDG
IWDG_KR
IWDG_PR
IWDG_RLR
Register description
Watchdog key
Watchdog time base
Watchdog counter value after reload
Table 23. AWU timer register map
Block Register name
AWU_CSR
AWU
AWU_APR
AWU_TBR
Register description
AWU control status
AWU asynchronous prescaler buffer
AWU time base selection
DocID027870 Rev 1 51/126
126
Memory and register map
8.2.10 Inter-integrated circuit interface (I
2
C)
Address
0x00.5210
0x00.5211
0x00.5212
0x00.5213
0x00.5214
0x00.5215
0x00.5216
0x00.5217
0x00.5218
0x00.5219
0x00.521A
0x00.521B
0x00.521C
0x00.521D
Table 24. I 2 C register map
Block Register name
I
2
C
I
2
C_CR1
I
2
C_CR2
I
2
C_FREQR
I
2
C_OARL
I
2
C_OARH
RFU
I
2
C_DR
I
2
C_SR1
I
2
C_SR2
I
2
C_SR3
I
2
C_ITR
I
2
C_CCRL
I
2
C_CCRH
I
2
C_TRISER
STLUX
Register description
I
2
C control register 1
I
2
C control register 2
I
2
C frequency register
I
2
C own add-low register
I
2
C own add-high register
Reserved for future use
I
2
C data register
I
2
C status register 1
I
2
C status register 2
I
2
C status register 3
I
2
C interrupt
I
2
C clock control
I
2
C clock control
I
2
C rising edge
Address
0x00.5230
0x00.5231
0x00.5232
0x00.5233
0x00.5234
0x00.5235
0x00.5236
0x00.5237
Table 25. UART register map
Block Register name
UART
UART_SR
UART_DR
UART_BRR1
UART_BRR2
UART_CR1
UART_CR2
UART_CR3
UART_CR4
Register description
UART status
UART data
UART baud rate div. mantissa
[7:0]
UART baud rate div. mantissa
[11:8] SCIDIV FRACT [3:0]
UART control register 1
UART control register 2
UART control register 3
UART control register 4
52/126 DocID027870 Rev 1
STLUX Memory and register map
Address
0x00.5340
0x00.5341
0x00.5342
0x00.5343
0x00.5344
0x00.5345
0x00.5346
0x00.5347
0x00.5348
Table 26. System timer register map
Block Register name
STMR
STMR_CR1
STMR_IER
STMR_SR1
STMR_EGR
STMR_CNTH
STMR_CNTL
STMR_PSCL
STMR_ARRH
STMR_ARRL
Register description
Control register 1
Interrupt enable
Status register 1
Event generation
Counter high
Counter low
Prescaler low
Autoreload high
Autoreload low
8.2.13 Auxiliary timer registers
Address
0x00.5009
0x00.5036
0x00.5037
0x00.50C6
0x00.50C9
Table 27. Auxiliary timer register map
Block Register name
GPIO1
MSC
CKC
P1_CR2
MSC_CFGP15
MSC_STSP1
CLK_CCODIVR
CLK_CCOR
Register description
Control register 2
P15 input line control
Port 1 status
CCO clock dividers
Configurable clock output
Address
0x00.53C0
0x00.53C1
0x00.53C2
0x00.53C3
0x00.53C4
0x00.53C5
0x00.53C6
0x00.53C7
0x00.53C8
0x00.53C9
Table 28. DALI register map
Block Register name
DALI
DALI_CLK_L
DALI_CLK_H
DALI_FB0
DALI_FB1
DALI_FB2
DALI_BD
DALI_CR
DALI_CSR
DALI_CSR1
DALI_REVLN
Register description
Data rate control
Data rate control
Forward message
Forward message
Forward message
Backward message
Control
Control and status register
Control and status register 1
Control reverse signal line
DocID027870 Rev 1 53/126
126
Memory and register map STLUX
Address Offset
0x00.503C
0x05
0x00.503C
0x06
0x00.503C
0x07
Table 29. DALI filter register map
Block Register name
MSC (indirect)
MCS_DALICKSEL
MSC_DALICKDIV
MSC_DALICONF
Register description
DALI clock selection
DALI filter clock division factor
DALI filter mode configuration
Address
0x00.540B
0x00.540C
0x00.540D
0x00.540E
0x00.540F
0x00.5410
0x00.5411
0x00.5412
0x00.5413
0x00.5414
0x00.5415
0x00.5400
0x00.5401
0x00.5402
0x00.5403
0x00.5404
0x00.5405
0x00.5406
0x00.5407
0x00.5408
0x00.5409
0x00.540A
Table 30. ADC register map and reset value
Block Register name Register description
ADC
ADC_CFG
ADC_SOC
ADC_IER
ADC_SEQ
ADC_DATL_0
ADC_DATH_0
ADC_DATL_1
ADC_DATH_1
ADC_DATL_2
ADC_DATH_2
ADC_DATL_3
ADC_DATH_3
ADC_DATL_4
ADC_DATH_4
ADC_DATL_5
ADC_DATH_5
ADC_DATL_6
ADC_DATH_6
ADC_DATL_7
ADC_DATH_7
ADC_SR
ADC_DLYCNT
Configuration
Start of conversion
Interrupt enable
Sequencer
Low part data 0 converted
High part data 0 converted
Low part data 1 converted
High part data 1 converted
Low part data 2 converted
High part data 2 converted
Low part data 3 converted
High part data 3 converted
Low part data 4 converted
High part data 4 converted
Low part data 5 converted
High part data 5 converted
Low part data 6 converted
High part data 6 converted
Low part data 7 converted
High part data 7 converted
Status
SOC delay counter
54/126 DocID027870 Rev 1
STLUX Memory and register map
Address (offset)
0x18
0x19
0x1A
0x1B
0x1C
0x1D
0x12
0x13
0x14
0x15
0x16
0x17
0x0C
0x0D
0x0E
0x0F
0x10
0x11
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
The SMED<n> address register is:
ADD_REG = (5500h + (40h) * n) + offset where <n> is the SMED instance number 0 - 5.
SMD<n>_CTR
SMD<n>_CTR_TMR
SMD<n>_CTR_INP
SMD<n>_CTR_DTR
SMD<n>_TMR_T0L
SMD<n>_TMR_T0H
SMD<n>_TMR_T1L
SMD<n>_TMR_T1H
SMD<n>_TMR_T2L
SMD<n>_TMR_T2H
SMD<n>_TMR_T3L
SMD<n>_TMR_T3H
SMD<n>_PRM_ID0
SMD<n>_PRM_ID1
SMD<n>_PRM_ID2
SMD<n>_PRM_S00
SMD<n>_PRM_S01
SMD<n>_PRM_S02
SMD<n>_PRM_S10
SMD<n>_PRM_S11
SMD<n>_PRM_S12
SMD<n>_PRM_S20
SMD<n>_PRM_S21
SMD<n>_PRM_S22
SMD<n>_PRM_S30
SMD<n>_PRM_S31
SMD<n>_PRM_S32
SMD<n>_CFG
SMD<n>_DMP_L
SMD<n>_DMP_H
Block
Table 31. SMED register map
Register name
SMED<n>
Register description
Control
Control time
Control input
Dithering
Time T0 LSB
Time T0 MSB
Time T1 LSB
Time T1 MSB
Time T2 LSB
Time T2 MSB
Time T3 LSB
Time T3 MSB
IDLE state parameter0
IDLE state parameter1
IDLE state parameter2
S0 state parameter0
S0 state parameter1
S0 state parameter2
S1 state parameter0
S1 state parameter1
S1 state parameter2
S2 state parameter0
S2 state parameter1
S2 state parameter2
S3 state parameter0
S3 state parameter1
S3 state parameter2
Timer configuration register
Counter dump LSB
Counter dump MSB
DocID027870 Rev 1 55/126
126
Memory and register map
Address (offset)
0x1E
0x1F
0x20
0x21
0x22
0x23
Table 31. SMED register map (continued)
Block Register name Register description
SMED<n>
SMD<n>_GSTS
SMD<n>_IRQ
SMD<n>_IER
SMD<n>_ISEL
SMD<n>_DMP
SMD<n>_FSM_STS
General status
Interrupt request register
Interrupt enable register
External events control
Dump enable
FSM core status
STLUX
Address
0x00.7F00
0x00.7F01
0x00.7F02
0x00.7F03
0x00.7F04
0x00.7F05
0x00.7F06
0x00.7F07
0x00.7F08
0x00.7F09
0x00.7F0A
Block
CPU
Table 32. CPU register map
Register name
YH
YL
SPH
SPL
CC
A
PCE
PCH
PCL
XH
XL
Register description
Accumulator
Program counter extended
Program counter high
Program counter low
X-index high
X-index low
Y-index high
Y-index low
Stack pointer high
Stack pointer low
Code condition
Note: Register space accessible in debug mode only.
8.2.19 Global configuration register
Address
0x00.7F60
Table 33. CFG_GCR register map
Block Register name Register description
GCR CFG_GCR Global configuration
56/126 DocID027870 Rev 1
STLUX Memory and register map
Address
0x00.7F70
0x00.7F71
0x00.7F72
0x00.7F73
0x00.7F74
0x00.7F75
0x00.7F76
0x00.7F77
Table 34. Interrupt software priority register map
Block Register name Register description
ITC
ITC_SPR0
ITC_SPR1
ITC_SPR2
ITC_SPR3
ITC_SPR4
ITC_SPR5
ITC_SPR6
ITC_SPR7
Interrupt SW priority register 0
Interrupt SW priority register 1
Interrupt SW priority register 2
Interrupt SW priority register 3
Interrupt SW priority register 4
Interrupt SW priority register 5
Interrupt SW priority register 6
Interrupt SW priority register 7
8.2.21 SWIM control register
Address
0x00.7F80
0x00.7F90
…
0x00.7F9B
Block
Table 35. SWIM register map
Register name
SWIM
DM
SWIM_CSR
DM_BK1E
…
DM_VER
Register description
SWIM control status
DM internal registers
DocID027870 Rev 1 57/126
126
Interrupt table STLUX
Table 36 shows the STLUX internal controller's interrupt vector.
19
20
21
22
23
24
25
26
27
13
14
15
16
17
18
7
8
9
10
11
12
0
1
2
3
4
5
6
RESET
TRAP
NMI
AWU
CKC
PO
AUXTIM
P2
SMED0
SMED1
RFU (3)
SMED2
SMED3
UART
UART
I
2
C
ADC
SYS-TMR
FLASH
DALI
SMED4
SMED5
Priority Source block
Table 36. Interrupt vector exception table
Description
Wakeup from
Halt
Wakeup from active halt
Yes Yes Reset
Software interrupt
NMI (not maskable interrupt)
Auto-wakeup from Halt
Clock controller
GPIO0 [5:0] external interrupts
Auxiliary timer
DIGIN [5:0] external interrupts
SMED-0 interrupt
SMED-1 control logic
Reserved for future use
Reserved for future use
Reserved for future use
Reserved for future use
Reserved for future use
Reserved for future use
Reserved for future use
SMED-2 control logic
SMED-3 control logic
Tx complete
Receive register DATA FULL
I
2
C interrupt
Reserved for future use
Reserved for future use
End of conversion
Update/overflow
EOP/WR_PG_DIS
DALI interrupt line
SMED-4 control logic
SMED-5 control logic
Yes
(1)
,
(2)
,
Indirect
(4)
Indirect
Indirect
Yes
,
Yes
,
Yes
Interrupt vector address
8054h
8058h
805Ch
8060h
8064h
8068h
803Ch
8040h
8044h
8048h
804Ch
8050h
806Ch
8070h
8074h
8024h
8028h
802Ch
8030h
8034h
8038h
8000h
8004h
8008h
800Ch
8010h
8014h
8018h
801Ch
8020h
58/126 DocID027870 Rev 1
STLUX Interrupt table
Priority Source block
Table 36. Interrupt vector exception table (continued)
Description
Wakeup from
Halt
Wakeup from active halt
28
29
Reserved future use
Reserved future use
1. The P [2, 0] [x] may be configured to generate a NMI requests.
2. The P [2, 0] [x] may be configured to generate an IRQ requests.
3. All RFU and unused interrupts should be initialized with 'IRET' for robust programming.
4. The P0 [x] may be configured to generate an IRQ and NMI request.
Interrupt vector address
8078h
807Ch
DocID027870 Rev 1 59/126
126
Option bytes STLUX
The user option byte is a memory E²PROM area allowing users to customize the IC device major functionalities:
ROP: readout protection control field
UBC: user boot code protection
PWM: configurable reset output value
WDG: internal watchdog HW configuration
AFR: alternate multifunction signals configuration
CKC: clock controller functionalities (PLL, HSE enable, AWU clock selection, etc.)
HSE: clock stabilization counter
WAIT: Flash and E²PROM wait state access time has to be configured with value 0x00
BOOT: configurable internal boot sources
BL: bootloader control sequences
Except the ROP byte all the other option bytes are stored twice in a regular (OPT) and complemented format (NOPT) for redundancy. The option byte can be programmed in ICP mode through the SWIM interface or in IAP mode by the application with the exception of the ROP byte that can be only configured via the SWIM interface.
For further information about Flash programming refer to the programming manual “How to program STM8S and STM8A Flash program memory and data EEPROM” (PM0051).
For information on SWIM programming procedures refer to the “STM8 SWIM communication protocol and debug module” user manual (UM0470).
60/126 DocID027870 Rev 1
Table 37. Option byte register overview - STLUX385A
Option bits
Address Option name
Default settings
7 6 5 4 3 2 1 0
4800h
4801h
4802h
4803h
ROP
UCB nUCB
GENCFG
ROP[7:0]
UBC[7:0] nUBC[7:0]
Rst_PWM2 Rst_PWM1 Rst_PWM0
00h
00h
FFh
00h Rst_PWM5 Rst_PWM4 Rst_PWM3 COMP1_2 EN_COLD_CFG
4804h nGENCFG nRst_PWM5 nRst_PWM4 nRst_PWM3 nRst_PWM2 nRst_PWM1 nRst_PWM0 nCOMP1_2 nEN_COLD_CFG FFh
4805h MISCUOPT 1 LSI_EN IWdg_hw WWdg_hw WWDG_HALT 28h
4806h nMISCUOPT
4807h
4808h
4809h
CLKCTL nCLKCTL
HSESTAB
-
-
-
-
-
-
0
-
-
nCKAWUSEL1 nLSI_EN nIWdg_hw nWWdg_hw nWWDG_HALT
CKAWUSEL1 EXTCLK CKAWUSE L0 nEXTCLK nCKAWUS EL0
HSECNT[7:0]
PRSC[1:0] nPRSC [1:0]
D7h
09h
F6h
00h nHSECNT[7:0] 480Ah nHSESTAB
480Bh
RESERVED
480Ch
480Dh WAITSTATE
480Eh nWAITSTATE
480Fh AFR_IOMXP0
-
-
-
4810h nAFR_IOMXP0 -
4811h AFR_IOMXP1 AUXTMR
4812h nAFR_IOMXP1 nAUXTMR
4813h AFR_IOMXP2 -
4814h nAFR_IOMXP2 -
-
-
-
-
-
-
-
-
-
-
-
-
Sel_P054[1:0]
-
nSel_P054[1:0]
Sel_P15 nSel_P15
Sel_P14 nSel_P14
Sel_P254 nSel_P254
-
-
nSel_P032[1:0]
Sel_P13 nSel_P13
-
-
Sel_P032[1:0]
-
Sel_P12 nSel_P12
-
-
-
-
-
WaitStat [1:0] nWaitStat [1:0]
Sel_P010[1:0] nSel_P010[1:0]
Sel_P11 nSel_P11
Sel_P10 nSel_P10
-
-
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
10h
EFh
Address Option name
4815h MSC_OPT0
4816h nMSC_OPT0
4817h
487Dh
RESERVED
487Eh
487Fh
OPTBL nOPTBL
Note:
7
-
-
-
Table 37. Option byte register overview - STLUX385A (continued)
Option bits
6
-
-
5 4
UARTLine [1:0] nUARTLine [1:0]
3
-
-
2
-
-
-
BL [7:0] nBL [7:0]
-
1 0
BootSel [1:0] nBootSe l[1:0]
-
Default settings
01h
FEh
00h
00h
FFh
The default setting values refer to the factory configuration. The factory configuration can be overwritten by the user in accordance with the target application requirements.
The factory configuration values are loosed after user programming fields or in case of the ROP unprotecting attempt causing a “Global Flash Erase”.
The predefined initialized bit-values (1 or 0) must be preserved during memory writing.
An undefined option bit must be keep 0 and the complement value at 1 during the memory writing sequence.
Table 38. Option byte register overview - STLUX383A
Option bits
Address Option name
Default settings
7 6 5 4 3 2 1 0
4800h
4801h
4802h
4803h
ROP
UCB nUCB
GENCFG
ROP [7:0]
UBC [7:0] nUBC [7:0]
Rst_PWM5 Rst_PWM4 Rst_PWM3 Rst_PWM2 Rst_PWM1 Rst_PWM0 COMP1_2 EN_COLD_CFG
4804h
4805h nGENCFG
MISCUOPT
4806h nMISCUOPT nRst_PWM5 nRst_PWM4 nRst_PWM3 nRst_PWM2
-
-
-
1
0 -
nRst_PWM1 nRst_PWM0 nCOMP1_2 nEN_COLD_CFG
LSI_EN nLSI_EN
IWdg_hw WWdg_hw WWDG_HALT
FFh
28h
D7h
4807h
4808h
CLKCTL nCLKCTL -
-
-
-
-
CKAWUSEL1 nCKAWUSEL1
EXTCLK nEXTCLK nIWdg_hw nWWdg_hw nWWDG_HALT
CKAWUSE
L0
PRSC[1:0] nCKAWUS
EL0 nPRSC[1:0]
09h
F6h
4809h
480Ah
480Bh
HSESTAB nHSESTAB
RESERVED
480Ch
480Dh WAITSTATE -
HSECNT [7:0] nHSECNT [7:0]
-
WaitStat [1:0]
00h
FFh
00h
FFh
00h
00h
00h
FFh
00h
480Eh nWAITSTATE
480Fh AFR_IOMXP0
4810h nAFR_IOMXP0
4813h AFR_IOMXP2
4814h nAFR_IOMXP2
4815h MSC_OPT0 -
-
-
-
-
4811h AFR_IOMXP1 AUXTMR
4812h nAFR_IOMXP1 nAUXTMR
-
-
-
-
-
-
-
-
-
-
-
-
Sel_P054 [1:0]
nSel_P054 [1:0]
Sel_P15 nSel_P15
Sel_P14 nSel_P14
Sel_P254 nSel_P254
UARTLine [1:0] -
-
-
Sel_P032 [1:0]
nSel_P032 [1:0]
Sel_P13 Sel_P12 nSel_P13
nSel_P12
-
-
nWaitStat [1:0]
Sel_P010 [1:0] nSel_P010 [1:0]
Sel_P11 Sel_P10 nSel_P11
-
nSel_P10
BootSel [1:0]
-
-
C0h
10h
EFh
01h
FFh
00h
FFh
3Fh
Address Option name
4816h nMSC_OPT0
4817h
RESERVED
487Dh
487Eh OPTBL
487Fh nOPTBL
Note:
7
-
-
Table 38. Option byte register overview - STLUX383A (continued)
Option bits
6
-
5 4 nUARTLine [1:0]
3
-
2
-
-
BL [7:0] nBL [7:0]
-
1 nBootSel [1:0]
0
-
Default settings
FEh
00h
00h
FFh
The default setting values refer to the factory configuration. The factory configuration can be overwritten by the user in accordance with the target application requirements.
The factory configuration values are loosed after user programming fields or in case of the ROP unprotecting attempt causing a “Global Flash Erase”.
The predefined initialized bit-values (1 or 0) must be preserved during memory writing.
An undefined option bit must be keep 0 and the complement value at 1 during the memory writing sequence.
. Table 39. Option byte register overview - STLUX325A
Option bits
Address Option name
Default settings
7 6 5 4 3 2 1 0
4800h
4801h
4802h
4803h
4804h
4805h
4806h
4807h
4808h
ROP
UCB nUCB
GENCFG nGENCFG
MISCUOPT nMISCUOPT
CLKCTL nCLKCTL
-
-
-
-
-
-
4809h
480Ah
480Bh
480Ch
480Dh
480Eh
480Fh
HSESTAB nHSESTAB
RESERVED
WAITSTATE nWAITSTATE
AFR_IOMXP0
4810h nAFR_IOMXP0
4811h AFR_IOMXP1 AUXTMR
4812h nAFR_IOMXP1 nAUXTMR
4813h AFR_IOMXP2 Sel_SWIM
4814h nAFR_IOMXP2 nSel_SWIM
4815h MSC_OPT0
4816h nMSC_OPT0 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ROP [7:0]
UBC [7:0] nUBC [7:0]
Rst_PWM4 Rst_PWM3 Rst_PWM2 Rst_PWM1 Rst_PWM0 nRst_PWM4 nRst_PWM3 nRst_PWM2 nRst_PWM1 nRst_PWM0
1 LSI_EN IWdg_hw
-
0
-
-
CKAWUSEL1 nLSI_EN
EXTCLK nIWdg_hw
CKAWUSE L0
-
-
WWdg_hw nWWdg_hw
EN_COLD_CFG
WWDG_HALT nWWDG_HALT
PRSC [1:0]
00h
00h
FFh
00h nEN_COLD_CFG FFh
28h
D7h
09h
nCKAWUSEL1 nEXTCLK nCKAWUS
EL0 nPRSC [1:0] F6h
HSECNT[7:0] nHSECNT[7:0]
-
-
-
-
-
-
Sel_P054[1:0] nSel_P054[1:0]
-
-
Sel_P14 nSel_P14
Sel_P254 nSel_P254
UARTLine [1:0] nUARTLine [1:0]
-
-
-
-
-
-
-
Sel_P032[1:0] nSel_P032[1:0]
-
-
Sel_P13 nSel_P13
Sel_P12 nSel_P12
-
-
-
-
-
-
WaitStat [1:0] nWaitStat [1:0]
Sel_P11 nSel_P11
-
-
Sel_P10 nSel_P10
BootSel [1:0] nBootSel [1:0]
-
-
-
-
00h
FFh
00h
FFh
00h
FFh
00h
FFh
1Fh
E0h
10h
EFh
01h
FEh
Address Option name
4817h
487Dh
487Eh
487Fh
RESERVED
OPTBL nOPTBL
Note:
7
-
Table 39. Option byte register overview - STLUX325A (continued)
Option bits
6 5 4 3 2 1
-
BL [7:0] nBL [7:0]
0
-
Default settings
00h
00h
FFh
The default setting values refer to the factory configuration. The factory configuration can be overwritten by the user in accordance with the target application requirements.
The factory configuration values are loosed after user programming fields or in case of the ROP unprotecting attempt causing a “Global Flash Erase”.
The predefined initialized bit-values (1 or 0) must be preserved during memory writing.
An undefined option bit must be keep 0 and the complement value at 1 during the memory writing sequence.
Address Option name
7 6
4800h
4801h
4802h
4803h
4804h
4805h
4806h
4807h
ROP
UCB nUCB
GENCFG nGENCFG
MISCUOPT nMISCUOPT
CLKCTL
-
-
4808h
4809h
480Ah
480Bh nCLKCTL
HSESTAB nHSESTAB
RESERVED
480Ch
480Dh WAITSTATE
480Eh nWAITSTATE
480Fh AFR_IOMXP0 -
-
-
4810h nAFR_IOMXP0 -
4811h AFR_IOMXP1 AUXTMR
4812h nAFR_IOMXP1 nAUXTMR -
4813h AFR_IOMXP2 1
-
-
-
-
-
-
-
-
-
4814h nAFR_IOMXP2
4815h MSC_OPT0
4816h nMSC_OPT0
-
-
0
-
-
Table 40. Option byte register overview - STLUX285A
Option bits
5 4 3 2 1 0
ROP [7:0]
UBC [7:0] nUBC [7:0]
Rst_PWM1 Rst_PWM3 Rst_PWM2 Rst_PWM0 nRst_PWM3 nRst_PWM2 nRst_PWM1 nRst_PWM0
1 LSI_EN IWdg_HW
-
-
WWdg_HW
EN_COLD_CFG nEN_COLD_CFG
WWDG_HALT
0
-
-
CKAWUSEL1 nLSI_EN
EXTCLK nIWdg_HW
CKAWUSE L0
- nCKAWUSEL1 nEXTCLK nCKAWUS
HSECNT [7:0] nHSECNT [7:0] nWWdg_HW nWWDG_HALT
PRSC [1:0]
-
-
Sel_P054 [1:0]
-
nSel_P054 [1:0]
1
0
UARTLine [1:0] nUARTLine [1:0]
-
-
-
Sel_P032 [1:0]
-
nSel_P032 [1:0]
Sel_P13 Sel_P12 nSel_P13 nSel_P12
-
-
-
-
Sel_P11 nSel_P11
WaitStat [1:0] nWaitStat [1:0]
-
-
Sel_P10 nSel_P10
-
-
BootSel [1:0] nBootSel [1:0]
Default settings
FFh
40h
BFh
00h
F6h
00h
FFh
00h
FFh
28h
D7h
09h
00h
00h
FFh
00h
FFh
0Fh
F0h
50h
AFh
01h
FEh
Address Option name
4817h
487Dh
487Eh
487Fh
RESERVED
OPTBL nOPTBL
Note:
7
-
Table 40. Option byte register overview - STLUX285A (continued)
Option bits
6 5 4 3 2 1
-
BL [7:0] nBL [7:0]
0
-
Default settings
00h
00h
FFh
The default setting values refer to the factory configuration. The factory configuration can be overwritten by the user in accordance with the target application requirements.
The factory configuration values are loosed after user programming fields or in case of the ROP unprotecting attempt causing a “Global Flash Erase”.
The predefined initialized bit-values (1 or 0) must be preserved during memory writing.
An undefined option bit must be keep 0 and the complement value at 1 during the memory writing sequence.
STLUX
10.2 Option byte register description
The option byte registers are mapped inside the E²PROM data region.
ROP (memory readout protection register)
7 6
Table 41. ROP (memory readout protection register)
Offset: 0x004800
5
Default value: 0x00
4
ROP [7:0]
3 r/w
2 1
Option bytes
0
Bit 7 - 0:
ROP [7:0] memory readout protection:
0xAA: enable readout protection. When readout protection is enabled, reading or modifying the Flash program memory and DATA area in ICP mode (using the SWIM interface) is forbidden, whatever the write protection settings are.
UBC (UBC user boot code register)
7 6
Table 42. UBC (UBC user boot code register)
Offset: 0x004801
5
Default value: 0x00
4 3
UBC [7:0] r/w
2 1 0
Bit 7 - 0:
UBC [7:0] user boot code write protection memory size: 0x00: no UBC, no Flash memory write-protection
0x01: pages 0 to 1 defined as UBC; 1 Kbyte memory write-protected (0x00.8000-
0x00.83FF)
0x02: pages 0 to 3 defined as UBC; 2 Kbyte memory write-protected (0x00.8000-
0x00.87FF)
0x03: pages 0 to 4 defined as UBC; 2.5 Kbyte memory write-protected (0x00.8000-
0x00.89FF)
... (512 byte every page)
0x3E: pages 0 to 63 defined as UBC; 32 Kbyte memory write-protected (0x00.8000-
0x00.FFFF)
Other values: reserved.
DocID027870 Rev 1 69/126
126
Option bytes
nUBC (UBC user boot code register protection)
7
Table 43. nUBC (UBC user boot code register protection)
Offset: 0x004802
6 5
Default value: 0xFF
4 nUBC [7:0] r/w
3 2 1
STLUX
0 nUBC: not (UBC) EMC byte protection.
GENCFG (general configuration register)
Table 44. GENCFG (general configuration register)
Offset: 0x004803
Default value: 0x00
7 6 5 4
Rst_PWM [5:0]
3 2 r/w
1. Available only on the STLUX385A and STLUX383A, otherwise keep 0.
1
COMP1_2
(1) r/w
0
EN_COLD_C FG r/w
Note:
Bit 0:
EN_COLD_CFG enables IC cold configuration through the option byte register
AFR_IOMXP0, P1 and P2:
0: default case, the IC multifunction signal configuration is performed by the miscellaneous registers MSC_IOMXP0, MSC_IOMXP1 and MSC_IOMXP2 (warm configuration).
1: enables the multifunction signal configuration through the option byte registers
AFR_IOMXP0, AFR_IOMXP1 and AFR_IOMXP2 (cold configuration).
Bit 1:
COMP1_2 enables the complete backward compatibility with the STLUX385 IC device.
Bit 7:2:
Rst_PWM [5:0] configures the PWM [n] reset value after the NRST signal
0: PWM [n] output low level (native default value)
1: PWM [n] output high level.
The PWM signal programmed reset value is configured during the option byte loader phase, then before the NRST is released it assumes its proper initial values.
The Rst_PWM5 is not available only on the STLUX325A and must be kept 0.
The Rst_PWM5 and Rst_PWM4 are not available only on the STLUX325A and must be kept 0.
70/126 DocID027870 Rev 1
STLUX Option bytes
nGENCFG (general configuration register protection)
7
Table 45. nGENCFG (general configuration register protection)
Offset: 0x004804
6 5 4 nRst_PWM [5:0] r/w
Default value: 0xFF
3 2 1 0 nCOMP1_2 nEN_COLD_CFG r/w r/w nGENCFG: not (GENCFG) EMC byte protection.
MISCUOPT (miscellaneous configuration register)
7
RFU r
Table 46. MISCUOPT (miscellaneous configuration register)
Offset: 0x004805
6
Default value: 0x28 (factory configuration)
5
RFU r
4
RFU r
3
LSI_EN r/w
2 lWdg_hw r/w
1
WWdg_hw r/w
0
WWDG_HALT r/w
Bit 0:
WWdg_HALT window watchdog reset on Halt: 0: no reset generated on Halt if WWDG is active 1: reset generated on Halt if WWDG is active.
Bit 1:
WWdg_hw window watchdog hardware enable: 0: window watchdog activation by SW
1: window watchdog activation by HW. Bit 2:
IWdg_hw independent watchdog hardware enable:
0: independent watchdog activation by SW 1: independent watchdog activation by HW.
Bit 3:
LSI_EN low speed internal RCOSC clock enable:
0: LSI clock is not available to CPU
1: LSI cock is enabled for CPU.
Bit 4:
RFU reserved; must be kept 0 during register writing for future compatibility.
Bit 5:
RFU reserved; must be kept 1 during register writing for future compatibility.
Bit 7 - 6:
RFU reserved; must be kept 0 during register writing for future compatibility.
DocID027870 Rev 1 71/126
126
Option bytes STLUX
nMISCUOPT (miscellaneous configuration register protection)
7
Table 47. nMISCUOPT (miscellaneous configuration register protection)
Offset: 0x004806 nRFU r
6
Default value: 0xD7 (factory configuration)
5 nRFU r
4 nRFU r
3 nLSI_EN r/w
2 1 0 nlWdg_hw nWWdg_hw nWWdg_HALT r/w r/w r/w nMISCUOPT: not (MISCUOPT) EMC byte protection.
CLKCTL (CKC configuration register)
7 6
RFU r
Table 48. CLKCTL (CKC configuration register)
Offset: 0x004807
Default value: 0x09 (factory configuration)
5 4 3 2
CKAWUSEL1 EXTCLK CKAWUSEL0 r/w r/w r/w
1
PRSC [1:0]
0 r/w
Bit 1 - 0:
PRSC [1:0] prescaler value for HSE to provide the AWU unit with the low speed clock:
00: 24 MHz to 128 kHz prescaler
01: 16 MHz to 128 kHz prescaler
10: 8 MHz to 128 kHz prescaler
11: 4 MHz to 128 kHz prescaler.
Bit 3:
EXTCLK external clock selection:
0: external crystal oscillator clock connected to the HseOscin and HseOscout signals
1: external direct drive clock connected to the HseOscin.
Bit 4, 2:
CKAWUSEL[1:0] AWU clock selection:
00: low speed internal clock used for AWU module
01: HSE high speed external clock with prescaler used for AWU module
10: reserved encoding value
11: reserved encoding value.
Bit 7 - 5:
RFU reserved; must be kept 0 during register writing for future compatibility.
72/126 DocID027870 Rev 1
STLUX Option bytes
nCLKCTL (CKC configuration register protection)
7
Table 49. nCLKCTL (CKC configuration register protection)
Offset: 0x004808
6 nRFU r
5
Default value: 0xF6 (factory configuration)
4 3 2 nCKAWUSEL1 nEXTCLK nCKAWUSEL0 r/w r/w r/w
1 0 nPRSC [1:0] r/w nCLKCTL: not (CLKCTL) EMC byte protection.
HSESTAB (HSE clock stabilization register)
7
Table 50. HSESTAB (HSE clock stabilization register)
Offset: 0x004809
6 5
Default value: 0x00
4
HSECNT [7:0] r/w
3 2 1
Bit 7 - 0:
HSECNT [7:0] HSE crystal oscillator stabilization cycles:
0x00: 2048 clock cycles
0xB4: 128 clock cycles
0xD2: 8 clock cycles
0xE1: 0.5 clock cycles.
nHSESTAB (HSE clock stabilization register protection)
7
Table 51. nHSESTAB (HSE clock stabilization register protection)
Offset: 0x00480A
6 5
Default value: 0xFF
4 3 nHSECNT [7:0] r/w
2 1 0
0 nHSESTAB: not (HSESTAB) EMC byte protection.
DocID027870 Rev 1 73/126
126
Option bytes STLUX
WAITSTATE (Flash wait state register)
7
Table 52. WAITSTATE (Flash wait state register)
Offset: 0x00480D
6
Default value: 0x00 or 0x40 according to the device
5 4 3 2
RFU r
1 0
WaitStat [1:0] r/w
Bit 1 - 0:
WaitStat [1:0] configures the E²PROM and Flash programmable delay read access time:
00: 0 no delay cycle (default case f
MASTER
at 16 MHz) 01: 1 delay cycles
10: 2 delay cycles
11: 3 delay cycles.
Bit 7 - 2:
RFU reserved; must be kept 0 during register writing for future compatibility.
nWAITSTATE (Flash wait state register protection)
7
Table 53. nWAITSTATE (Flash wait state register)
Offset: 0x00480E
6
Default value: 0xFF or BF according to the device
5 nRFU r
4 3 2 1 0 nWaitStat [1:0] r/w nWAITSTATE: not (WAITSTATE) EMC byte protection.
74/126 DocID027870 Rev 1
STLUX Option bytes
AFR_IOMXP0 (alternative Port0 configuration register)
Table 54. AFR_IOMXP0 (alternative Port0 configuration register)
Offset: 0x00480F
Default value: 0x00
7
RFU r
6 5 4
Sel_P054 [1:0] r/w
3 2
Sel_P032 [1:0] r/w
1. Available only on the STLUX385A and STLUX383A, otherwise keep 0.
1 0
Sel_P010 [1:0]
(1) r/w
Bit 5 - 0:
Refer to MSC_IOMXP0 miscellaneous register field description Section 8.2 on page
.
Bit 7 - 6:
RFU reserved; must be kept 0 during register writing for future compatibility.
nAFR_IOMXP0 (alternative Port0 configuration register protection)
Table 55. nAFR_IOMXP0 (alternative Port0 configuration register protection)
Offset: 0x004810
7 nRFU r
6
Default value: 0xFF
5 4 nSel_P054 [1:0] r/w
3 r/w
2 nSel_P032 [1:0]
1 0 nSel_P010 [1:0] r/w nAFR_IOMXP0: not (AFR_IOMXP0) EMC byte protection.
DocID027870 Rev 1 75/126
126
Option bytes STLUX
AFR_IOMXP1 (alternative Port1 configuration register)
Table 56. AFR_IOMXP1 (alternative Port1 configuration register)
Offset: 0x004811
Default value: 0x00 or 0x3F or 0x1F or 0x0F according to the device
7
AUXTMR r/w
6
RFU r
5
Sel_P15
(1) r/w
4
Sel_P14 r/w
(2)
3
Sel_P13 r/w
2 1 0
Sel_P12 Sel_P11 Sel_P10 r/w r/w r/w
1. Available only on the STLUX385A and STLUX383A, otherwise keep 0.
2. Available only on the STLUX385A, STLUX383A and STLUX325A, otherwise keep 0.
Bit 5 - 0:
Refer to MSC_IOMXP1 miscellaneous register field description Section 8.2.3 on page
.
Bit 6:
RFU reserved; must be kept 0 during register writing for future product compatibility.
Bit 7:
AUXTIM CCO aux timer compatibility features
0: CCO aux timer enabled
1: CCO aux timer disabled.
nAFR_IOMXP1 (alternative Port1 configuration register protection)
Table 57. nAFR_IOMXP1 (alternative Port1 configuration register protection)
Offset: 0x004812
Default value: 0xFF or 0xC0 or 0xE0 or 0xF0 depends on devices
7 6 5 4 3 2 1 nAUXTMR nRFU nSel_P15 nSel_P14 nSel_P13 nSel_P12 nSel_P11 r/w r r/w r/w r/w r/w r/w
0 nSel_P10 r/w nAFR_IOMXP1: not (AFR_IOMXP1) EMC byte protection.
76/126 DocID027870 Rev 1
STLUX Option bytes
AFR_IOMXP2 (alternative Port2 configuration register)
Table 58. AFR_IOMXP2 (alternative Port2 configuration register)
Offset: 0x004813
7
Sel_SWIM r/w
(1)
6
Default value: 0x10 or 0x50 according to the device
RFU r
5 4
Sel_P254 r/w
1. Available only on the STLUX325A, otherwise keep 0.
2. Not available on the STLUX285A, must be kept to 1.
(2)
3
RFU r
2
RFU r
1
RFU r
0
RFU r
Bit 3 - 0:
RFU reserved; must be kept 0 during register writing for future product compatibility
Bit 4:
Refer to MSC_IOMXP2 miscellaneous register field description Section 7.4 on page
.
Bit 6 - 5:
RFU reserved; must be kept 0 during register writing for future product compatibility. On
STLUX285A devices bit 6 must be kept to 1.
Bit 7:
Refer to MSC_IOMXP2 miscellaneous register field description Section 7.4
nAFR_IOMXP2 (alternative Port2 configuration register protection)
Table 59. nAFR_IOMXP2 (alternative Port2 configuration register protection)
Offset: 0x004814
7 nSel_SWIM r/w
Default value: 0xEF or 0xAF according to the device
6 nRFU r
5 4 nSel_P254 r/w
3 nRFU r
2 nRFU r
1 nRFU r
0 nRFU r nAFR_IOMXP2: not (AFR_IOMXP2) EMC byte protection.
DocID027870 Rev 1 77/126
126
Option bytes STLUX
MSC_OPT0 (miscellaneous configuration reg0)
7
RFU r
Table 60. MSC_OPT0 (miscellaneous configuration reg0)
Offset: 0x004815
6 5
Default value: 0x01
4
UARTline [1:0] r/w
3
RFU r
2 1
BootSel [1:0] r/w
0
Bit 1 - 0:
BootSel [1:0] boot-ROM peripheral enables:
00: automatic scan boot sources; this selection enables the automatic scan configuration sequence of all possible initializing peripheral devices: Periph0 (UART),
Periph1 (RFU).
01: enable boot source: Periph0 10: enable boot source: Periph1
11: enable boot sources: Periph1, Periph0
Bit 3 - 2:
RFU reserved; must be kept 0 during register writing for future compatibility.
Bit 5 - 4:
UARTline [1:0] selects the UART port configuration pins involved during the bootload sequence in warm configuration mode; in case of cold configuration, this field is ignored since the UART port is selected by the register AFR_IOXP0.
00: boot sequence with the UART i/f configured in all possible UART multiplexed signal schemes. This sequence is used when UART i/f position is not specified.
01: boot sequence with UART i/f configured on P0 (1, 0) 10: boot sequence with UART i/f configured on P0 (3, 2) 11: boot sequence with UART i/f configured on P0 (5, 4).
Bit 7 - 6:
RFU reserved; must be kept 0 during register writing for future compatibility.
nMSC_OPT0 (miscellaneous configuration reg0 protection)
7
Table 61. nMSC_OPT0 (miscellaneous configuration reg0 protection)
Offset: 0x004816 nRFU r
6 5 nUARTline [1:0] r/w
Default value: 0xFE
4 3 nRFU r
2 1 nBootSel [1:0]
0 r/w nMSC_OPT0: not (MSC_OPT0) EMC byte protection.
78/126 DocID027870 Rev 1
STLUX
OPTBL (option byte bootloader)
7 6
Table 62. OPTBL (option byte bootloader)
Offset: 0x00487E
5
Default value: 0x00
4 3
BL [7:0] r/w
2 1
Option bytes
0
Bit 7 - 0:
BL [7:0] the bootloader field checked by the internal BootROM code during the STLUX initialization phase. The content of register locations 0x00487E, 0x00487F and
0x008000 determine the bootloader SW flow execution sequence.
nOPTBL (option byte boot loader protection)
7
Table 63. nOPTBL (option byte boot loader protection)
Offset: 0x00487F
6 5
Default value: 0xFF
4 nBL [7:0] r/w
3 2 1 0 nOPTBL: not (OPTBL) EMC byte protection.
DocID027870 Rev 1 79/126
126
Device identification STLUX
The STLUX family provides a 56-bit unique identifier code usable as a device identification number which can be used to increase the device security. The unique ID code is a frozen signature not alterable by user.
The unique device identifier is ideally used by the application software and is suited for:
Serial code
Security keys in conjunction with cryptographic software to increase the embedded
Flash code security
Activating the secure boot sequence.
Address
48E0h
48E1h
48E2h
48E3h
48E4h
48E5h
48E6h
48E7h
Table 64. Unique ID register overview
Unique ID bits
Option name
7 6 5 4 3 2
UID0
UID1
UID2
UID3
UID4
UID5
UID6
UID7
WaferNum [4:0]
Xcoord [4:0]
Ycoord [4:0]
LotNum [7:0]
LotNum [15:8]
LotNum [23:16]
LotNum [31:24]
LotNum [39:32]
1
Xcoord [7:5]
Ycoord [7:5]
LotNum [42:40]
0
80/126
The STLUX family identification model is coded in the following register area and it cannot be altered by the user.
Address
4896h
4897h
4898h
4899h
Option name
Table 65. Dev ID register overview
Dev ID bits
7 6 5 4 3 2 1 0
DVD0 nDVD0
DVD1 nDVD1
RFU nRFU
DEV_ID[7:0] nDEV_ID[7:0]
Rev_ID [4:0] nRev_ID [4:0]
Default settings
(1)
DocID027870 Rev 1
STLUX
Note:
Device identification
The RFU and nRFU value are reserved and the value may be changed within devices.
DEV_ID[7:0]
0x00
0x00
0x10
0x02
0x20
Table 66. Device revision model overview
STLUX device revision model
Rev_ID[4:0]
0b00000
0b00001
0b00001
0b00001
0b00001
Device name
STLUX385
STLUX385A
STLUX325A
STLUX383A
STLUX285A
The mask DVD1 and nDVD1 register with 0x1F when read the Rev_ID [4:0] field.
DocID027870 Rev 1 81/126
126
Electrical characteristics STLUX
Unless otherwise specified, all voltages are referred to V
SS connected to the same voltage value. V shortest wire loop.
SS
and V
. V
DDA
and V
DD
must be
SSA
must be connected together with the
12.1.1 Minimum and maximum values
Unless otherwise specified, the minimum and maximum values are guaranteed in the worst conditions of ambient temperature, supply voltage and frequencies by tests in production on
100% of the devices with an ambient temperature at T
A the selected temperature range).
= 25 °C and T
A
= T
A max. (given by
Data based on characterization results, design simulation and/or technology characteristics are indicated according to each table specific notes and are not tested in production.
Unless otherwise specified, typical data are based on T
A
= 25 °C, V
DD
and V
DDA
= 3.3 V.
They are given only as design guidelines and are not tested. Typical ADC accuracy values are determined by characterization of a batch of samples from a standard diffusion lot over the full temperature range.
Unless otherwise specified, all typical curves are given as design guidelines only and are not tested.
For typical current consumption measurements, V
DD
.
and V
DD
are connected together as
Figure 12. Supply current measurement conditions
82/126 DocID027870 Rev 1
STLUX Electrical characteristics
The loading conditions used for pin parameter measurement are shown in
:
Figure 13. Pin loading conditions
The input voltage measurement on a pin is described in Figure 14
.
Figure 14. Pin input voltage
DocID027870 Rev 1 83/126
126
Electrical characteristics STLUX
12.2 Absolute maximum ratings
Stresses above those listed as 'absolute maximum ratings' may cause permanent damage to the device. This is a stress rating only and functional operation of the device under these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect the device reliability.
Symbol
Table 67. Voltage characteristics
Ratings
V
DDX
- V
SSX
V
IN
V
DD
- V
DDA
V
SS
- V
SSA
Supply voltage (1)
Input voltage on any other pin
(2)
Variation between different power pins
Variation between all the different ground pins
(3)
Min.
-0.3
V
SS
- 0.3
V
ESD
Electrostatic discharge voltage
Max.
6.5
V
DD
+ 0.3
50
50
Unit
V mV
Refer to absolute maximum ratings (electrical sensitivity) in Section 11.4.1 on page 93
1. All power V power supply.
(V
DD
, V
DDA
) and ground V
SSX
(V
SS
, V
SSA
) pins must always be connected to the external
2. I
INJ(PIN)
must never be exceeded. This is implicitly insured if V injection is induced by V
IN
> V
DD
IN
maximum is respected. If V
IN
while a negative injection is induced by V
IN
< V
SS
maximum
value. A positive
.
3. V
SS
and V
SSA
signals must be interconnected together with a short wire loop.
Table 68. Current characteristics
Symbol Ratings Max.
(1)
Unit
I
VDDX
I
VSSX
Total current into V
DDX
power lines
(2)
Total current out of V
SSX
power lines
100
100
I
IO
Output current sunk by any I/Os and control pin
mA
Output current source by any I/Os and control pin
I
INJ(PIN)
(3)
,
(4)
I
,
(5)
Injected current on any pin
Sum of injected currents
±4
±20
1. Data based on characterization results, not tested in production.
2. All power V power supply.
(V
DD
, V
DDA
) and ground V
SSX
(V
SS
, V
SSA
) pins must always be connected to the external
3. I
INJ(PIN)
must never be exceeded. This is implicitly insured if V
IN
maximum is respected. If V cannot be respected, the injection current must be limited externally to the I injection is induced by V
IN
> V
DD
while a negative injection is induced by V
INJ(PIN)
IN
< V
IN
maximum
value. A positive
SS
.
4. Negative injection disturbs the analog performance of the device.
5. When several inputs are submitted to a current injection, the maximum characterization with
IINJ(PIN)
I
INJ(PIN)
is the absolute sum of the positive and negative injected currents (instantaneous values). These results are based on
maximum current injection on four I/O port pins of the device.
84/126 DocID027870 Rev 1
STLUX Electrical characteristics
Symbol
T
STG
T
J
Table 69. Thermal characteristics
Ratings
Storage temperature range
Maximum junction temperature
Max.
-65 to 150
150
Unit
ºC
The device must be used in operating conditions that respect the parameters listed in
Table 70 . In addition, a full account must be taken for all physical capacitor characteristics
and tolerances.
Symbol
Table 70. General operating conditions
Parameter Conditions Min.
Typ.
Max.
Unit f
CPU
V
DD1
, V
DDA1
V
DD
, V
DDA
Internal CPU clock frequency
Operating voltages
Nominal operating voltages
-40 T
A
105 °C 0
3
(1)
3.3
(1)
16
5.5
(1)
5
(1)
MHz
V
V
OUT
Core digital power supply
CVOUT: capacitance of external capacitor
(3)
ESR of external capacitor
(2)
ESL of external capacitor
(2) at 1 MHz
470
0.05
1.8
(2)
3300
0.2
15 nF
nH
JA
(4)
FR4 multilayer PCB
TSSOP38
TSSOP28
VFQFPN32
80
°C/W
26
T
A
Ambient temperature Pd = 100 mW -40 105 °C
1. The external power supply can be within range from 3 V up to 5.5 V although IC performances are optimized for a power supply equal to 3.3 V.
2. Internal core power supply voltage.
3. Care should be taken when the capacitor is selected due to its tolerance, its dependency on temperature,
DC bias and frequency.
4. To calculate P
Dmax
(T
A
), use the formula P
Dmax
= (T
Jmax
- T
A
)/ J
A
.
DocID027870 Rev 1 85/126
126
Electrical characteristics STLUX
Symbol
Table 71. Operating conditions at power-up/power-down
Parameter Conditions Min.
(1)
Typ.
Max.
t
VDD
V
DD
rise time rate
V
DD
fall time rate
Reset release delay t
TEMP
V
IT+
V
IT-
V
HYS(BOR)
Power-on reset threshold
Brownout reset threshold
Brownout reset hysteresis
1. Guaranteed by design, not tested in production.
2. Power supply ramp must be monotone.
V
DD
rising
2 µs/V
2 µs/V
2.65
2.58
3
2.8
2.73
70
1 sec./V
(2)
2.98
2.88
Unit ms
V mV
12.3.1 VOUT external capacitor
The stabilization of the main regulator is achieved by connecting an external capacitor
C
VOUT
(c)
to the VOUT pin. The C
VOUT
is specified in Section 12.3: Operating conditions .
Care should be taken to limit the series inductance to less than 15 nH.
Figure 15. External capacitor C
VOUT
12.3.2 Supply current characteristics
The STLUX supply current is calculated by summing the supply base current in the desired operating mode as per
Table 72 , with the peripheral supply current value reported in
and Table Table 75 on page 92 .
For example, considering an application where:
f
MASTER
= f
CPU
= 16 MHz provided by HSI internal RC oscillator
CPU code execution in Flash
All base peripheral actives: I
2
C, UART, DALI, ITC, GPIO0, SysTmrWWDG and IWDG
ADC conversion frequency f
ADC
= 5.3 MHz
ACU (comparator and DAC units) active
6 PWM toggling at f
PWM
(N
PWM
= 6).
= 0.5 MHz provided by 6 SMEDs running at f
SMED
= 12 MHz
86/126 c. ESR is the equivalent series resistance and ESL is the equivalent inductance.
DocID027870 Rev 1
STLUX Electrical characteristics
The total current consumption is given by
Equation 1
I
DD
= I
DD(Run2)
+ I
DD(ADC2)
+ I
DD(ACU)
+ I
DD(PLL)
+ I
DD(PWM) where I
DD(PWM)
= I
DD(PWM1)
* N
PWM
More generally, the PWM current consumption has to be individually evaluated for each f
SMED
clock grouping, using
Equation 2
I
= i = 1
Nf
SMED
XXXX I
N i
where i = f
SMED
clock group index; N i
= PWM number of the i_th clock group;
N fSMED
= f
SMED
clock group number.
DocID027870 Rev 1 87/126
126
Electrical characteristics STLUX
IC supply base current consumption
Table 72 summarizes the current consumption measured on V
DD relevant operative conditions.
/V
DDA supply pins in
Symbol
Table 72. Supply base current consumption at V
DD
/V
DDA
= 3.3/5 V
Code Clock Peripheral Consumption
(1)
Note
Op. mode
Code area f
MASTER f
CPU
Periph
(2)
,
Source MHz MHz Enb/Dis
(3)
Typ.
(4) mA
mA
Description
I
DD(Run1)
I
DD(Run2)
I
DD(Run3)
Flash
Flash
RAM
HSI
HSI
HSI
2
16
16
2
16
16
All
All
All
2.3
9.4
4.2
2.77
Reset exit condition
11.3
5.1
I
DD(Run4)
I
DD(Run5)
Flash
RAM
HSE
(5)
16
16
16
16
All
All
10.0
10.6
4.6
5.2
12.1
V
DD
/V
DDA
= 3.3 V
12.74
V
DD
/V
DDA
= 5 V
5.53
V
DD
/V
DDA
= 3.3 V
6.63
V
DD
/V
DDA
= 5 V
4.33
I
DD(SLOW1)
I
DD(SLOW2)
Flash
RAM
HSI
HSI
16
16
2
2
All
All
3.6
2.9
3.5
I
DD(SLOW3)
Flash
16 2 All
3.9
4.5
4.7
5.5
V
DD
/V
DDA
= 3.3 V
V
DD
/V
DDA
= 5 V
I
DD(SLOW4)
Flash HSI 16 0.125
All 2.7
3.3
I
DD(SLOW5)
Flash
16 0.125
All
3.0
3.6
3.7
4.4
V
DD
/V
DDA
= 3.3 V
V
DD
/V
DDA
= 5 V
I
DD(SLOW6)
I
DD(WFI1)
Flash
Flash
LSI 0.153 0.153
HSI 16 16
All
All
1.5
2.6
1.9
3.2
I
DD(WFI2)
Flash
16 16 All
3.1
3.8
3.8
5.6
V
DD
/V
DDA
= 3.3 V
V
DD
/V
DDA
= 5 V
1. Data based on characterization results not tested in production.
2.
“ All ” means: I
2
C, UART, DALI, ITC, GPIO0, SysTmr, WWDG and IWDG peripherals active.
3. The peripheral current consumption is supplied by the VCORE voltage (1.8 V).
4. Temperature operating: T
A
= 25 °C.
5. HSE frequency provided by external quartz.
88/126 DocID027870 Rev 1
STLUX Electrical characteristics
IC low power current consumption
Table 73 summarizes the current consumption measured on V
DD saving conditions.
/V
DDA
supply pins in power
Symbol
Table 73. Supply low power consumption at V
DD
/V
DDA
= 3.3/5 V
Code Clock Peripheral Consumption
(1)
Op. mode
(2)
,
(3)
Code area f
MASTER
E
2
PROM
Source MHz Enable
(4)
MVRreg.
(5)
Enable
Typ.
(6)
,
(7)
Max.
(8)
,
mA mA
Note
Description
I
DD(AHLT1)
I
DD(AHLT2)
Flash
Flash
HSI
HSI
16
16
Enable
Enable
Enable
Disable
0.23
0.085
0.32
0.12
AWU clocked by LSI
AWU clocked by LSI
I
DD(AHLT3)
I
DD(AHLT4)
Flash HSE
(9)
,
(10)
,
16
16
Enable
Enable
Enable
Disable
0.73
1.4
0.65
1.2
0.90
1.7
0.95
1.45
V
DD
/V
DDA
= 3.3 V
V
DD
/V
DDA
= 5 V
V
DD
/V
DDA
= 3.3 V
V
DD
/V
DDA
= 5 V
I
DD(HLT1)
Flash HSI 16 Enable Disable 0.087
0.13
I
DD(HLT2)
,
16 Enable Disable
0.075
0.090
0.11
0.15
V
DD
/V
DDA
= 3.3 V
V
DD
/V
DDA
= 5 V
1. Data based on characterization results not tested in production.
2. Active halt op. mode: all peripherals except AWU and IWDG are disabled (clock gated).
3. HALT op. mode: all peripherals are disabled (clock gated).
4. E 2 PROM is considered always enabled.
5.
.
VCORE main DC voltage regulator.
6. Temperature operating: T
A
= 25 °C.
7. All the analog input signals are connected to GND; the signals of the port P0, P1 and P2 are configured as input with the pull-up enabled.
8. Temperature operating: T
A
= 105 °C.
9. HSE frequency provided by external quartz.
10. AWU clocked by HSE source clock.
DocID027870 Rev 1 89/126
126
Electrical characteristics STLUX
IC peripheral current consumption (3.3 V)
Table 74 summarizes the peripheral current consumption measured on V
DD pins.
/V
DDA
supply
Symbol
Op.mode
I
DD(PLL)
I
DD(ACU)
I
DD(PWM1PLL96)
I
DD(PWM4PLL96)
I
DD(PWM5PLL96)
I
DD(PWM6PLL96)
I
DD(PWM1PLL48)
I
DD(PWM4PLL48)
I
DD(PWM5PLL48)
I
DD(PWM6PLL48)
I
DD(PWM1PLL24)
I
DD(PWM4PLL24)
I
DD(PWM5PLL24)
I
DD(PWM6PLL24
I
DD(PWM1PLL12)
I
DD(PWM4PLL12)
I
DD(PWM5PLL12)
I
DD(PWM6PLL12)
I
DD(PWM1PLL6)
I
DD(PWM4PLL6)
I
DD(PWM5PLL6)
I
DD(PWM6PLL6)
I
DD(PWM1HSI16)
I
DD(PWM4HSI16)
I
DD(PWM5HSI16)
I
DD(PWM6HSI16)
Table 74. Peripheral supply current consumption at V
DD
/V
DDA
= 3.3 V
Clock Peripherals Consumption
(1)
PLL
Enb/Dis
Enab
Disab
Enab
Enab
Enab
Enab
Enab
Enab f
SMED
(2)
MHz
0
0
96
48
24
12
6
16 f
PWM
(3)
MHz
0
0
0.5
0.5
0.5
0.5
0.5
0.5
f
ADC
(4)
MHz
0
0
0
0
0
0
0
0
ADC
(5)
Enb/Dis
Disab
Disab
Disab
Disab
Disab
Disab
Disab
Disab
ACU
(8)
Typ.
Enb/Dis mA
(9)
Disab
Enab
2.3
1.9
1.8
6.69
Disab
Disab
8.55
10.12
1.12
4.31
5.6
Disab
Disab
6.54
0.71
2.89
3.9
4.39
0.6
2.2
2.95
3.33
Disab
Disab
0.5
1.85
2.6
2.81
0.5
1.79
2.3
2.63
6
1
4
5
6
1
4
5
5
6
1
4
5
6
1
4
5
6
5
6
1
4
PWM
(6)
,
(7)
Num
1
4
0
0
0.6
2.26
3.2
3.4
0.6
2.19
3
3.3
4.7
5.27
0.7
2.69
3.6
4
10.4
12.2
1.4
5.31
6.8
7.85
0.9
3.54
mA
2.7
2.3
2.1
8.32
90/126 DocID027870 Rev 1
STLUX Electrical characteristics
Table 74. Peripheral supply current consumption at V
DD
/V
DDA
= 3.3 V (continued)
Symbol Clock Peripherals Consumption (1)
I
DD(PWM1HSI8)
I
DD(PWM4HSI8)
I
DD(PWM5HSI8)
I
DD(PWM6HSI8)
I
DD(PWM1HSI4)
I
DD(PWM4HSI4)
I
DD(PWM5HSI4)
I
DD(PWM6HSI4)
I
DD(PWM1HSI2)
I
DD(PWM4HSI2)
I
DD(PWM5HSI2)
I
DD(PWM6HSI2)
I
DD(ADC1)
I
DD(ADC2)
I
DD(ADC3)
Enab
Enab
Enab
Disab
Disab
Enab
8
4
2
0
0
0
0.5
0.5
0.5
0
0
0
0
0
0
1
5.3
6
Disab
Disab
Disab
Enab
Enab
Enab
1
4
5
6
1
4
5
6
1
4
5
6
0
0
0
1. Data based on characterization results not tested in production.
2. SMED frequency:
- 96 MHz and 6 MHz frequencies require the PLL enabled.
- Current table shows only a subset value of possible SMED frequencies.
3. PWM frequency:
- PWM toggle frequency is considered fixed to 500 kHz, close to the maximum applicative value.
4. 3.ADC frequency:
- 6 MHz frequency requires the PLL enabled.
- Current table shows only a subset value of possible ADC frequencies.
5. ADC configured in circular mode.
6. PWM pins are loaded with a CL (load capacitance) of 50 pF.
7.
Number of active PWMs.
8. If enabled all DACs and comparator units are active.
9. Temperature operating: T
A
= 25 °C.
Disab
Disab
Disab
Disab
Disab
Disab
0.25
1.07
1.52
1.60
1.55
1.6
1.56
0.3
1.21
1.7
1.78
0.4
1.39
1.95
2.12
0.3
1.31
1.9
1.93
1.87
1.95
1.88
0.4
1.48
2.2
2.2
0.5
1.7
2.4
2.55
DocID027870 Rev 1 91/126
126
Electrical characteristics STLUX
IC peripheral current consumption (5 V)
Table 75 summarizes the peripheral current consumption measured on V
DD pins.
/
VDDA
supply
Symbol
Op. mode
I
DD(PLL)
I
DD(ACU)
I
DD(PWM1PLL96)
I
DD(PWM4PLL96)
I
DD(PWM5PLL96)
I
DD(PWM6PLL96)
I
DD(PWM1PLL48)
I
DD(PWM4PLL48)
I
DD(PWM5PLL48)
I
DD(PWM6PLL48)
I
DD(PWM1PLL24)
I
DD(PWM4PLL24)
I
DD(PWM5PLL24)
I
DD(PWM6PLL24)
I
DD(PWM1PLL12)
I
DD(PWM4PLL12)
I
DD(PWM5PLL12)
I
DD(PWM6PLL12)
I
DD(PWM1PLL6)
I
DD(PWM4PLL6)
I
DD(PWM5PLL6)
I
DD(PWM6PLL6)
I
DD(PWM1HSI16)
I
DD(PWM4HSI16)
I
DD(PWM5HSI16)
I
DD(PWM6HSI16)
Table 75. Peripheral supply current consumption at V
DD
/
VDDA
= 5 V
Clock Peripherals Consumption
(1)
PLL
Enb/Dis
Enab
Disab
Enab
Enab
Enab
Enab
Enab
Enab f
SMED
(2)
MHz
0
0
96
48
24
12
6
16 f
PWM
(3)
MHz
0
0
0.5
0.5
0.5
0.5
0.5
0.5
f
ADC
(4)
ADC
(5)
MHz Enb/Dis
0
0
Disab
Disab
0
0
0
0
0
0
Disab
Disab
Disab
Disab
Disab
Disab
6
1
4
5
6
1
4
5
5
6
1
4
5
6
1
4
5
6
5
6
1
4
PWM
(6)
,
(7)
Num
1
4
0
0
ACU
(8)
Enb/Dis
Disab
Enab
Disab
Disab
Disab
Disab
Disab
Disab
0.5
2.11
2.9
3.11
0.6
2.04
2.8
3.13
4.2
4.73
0.6
2.46
3.3
3.66
9.0
10.49
1.18
4.58
5.9
6.88
0.8
3.16
Typ.
(9) mA
2.32
2.22
1.81
6.98
0.6
2.58
3.6
3.75
0.7
2.49
3.4
3.78
5.2
5.68
0.7
3.01
4.2
4.4
10.8
12.52
1.42
5.65
7.5
8.26
0.95
3.88
mA
2.78
2.66
2.17
8.69
92/126 DocID027870 Rev 1
STLUX Electrical characteristics
Table 75. Peripheral supply current consumption at V
DD
/
VDDA
= 5 V (continued)
Symbol Clock Peripherals Consumption (1)
I
DD(PWM1HSI8)
I
DD(PWM4HSI8)
I
DD(PWM5HSI8)
I
DD(PWM6HSI8)
I
DD(PWM1HSI4)
I
DD(PWM4HSI4)
I
DD(PWM5HSI4)
I
DD(PWM6HSI4)
I
DD(PWM1HSI2)
I
DD(PWM4HSI2)
I
DD(PWM5HSI2)
I
DD(PWM6HSI2)
I
DD(ADC1)
I
DD(ADC2)
I
DD(ADC3)
Enab
Enab
Enab
Disab
Disab
Enab
8
4
2
0
0
0
0.5
0.5
0.5
0
0
0
0
0
0
1
5.3
6
Disab
Disab
Disab
Enab
Enab
Enab
1
4
5
6
1
4
5
6
1
4
5
6
0
0
0
Disab
Disab
Disab
Disab
Disab
Disab
1. Data based on characterization results not tested in production.
2. SMED frequency:
- 96 MHz and 6 MHz frequencies require the PLL enabled.
- Current table shows only a subset value of possible SMED frequencies.
3. PWM frequency:
- PWM toggle frequency is considered fixed to 500 kHz, close to the maximum applicative value.
4. ADC frequency:
- 6 MHz frequency requires the PLL enabled.
- Current table shows only a subset value of possible ADC frequencies.
5. ADC configured in circular mode.
6. Number of active PWMs.
7. PWM pins are loaded with a CL (load capacitance) of 50 pF.
8. If enabled all DACs and comparator units are active.
9. Temperature operating: T
A
= 25 °C.
0.4
1.31
1.9
2.1
2.11
2.16
2.17
0.47
1.48
2.2
2.33
0.5
1.64
2.3
2.56
0.54
1.6
2.3
2.49
2.54
2.6
2.61
0.55
1.81
2.7
2.78
0.6
2.0
2.9
3.1
DocID027870 Rev 1 93/126
126
Electrical characteristics STLUX
PWM current consumption overview
From
provide an outline view of PWM current consumption results.The consumptions are evaluated considering the maximum current at T
A
= 25 °C with different SMED operating frequencies. The charts summarize the measurements carried out from
allowing users to derive the PWM current consumption values.
Figure 16. PWM current consumption with f at V
DD
/
VDDA
= 5 V
SMED
= PLL f
PWM
= 0.5 MHz
Figure 17. PWM current consumption with f
SMED at V
DD
/
VDDA
= 5 V
= PLL f
PWM
= 0.5 MHz
94/126 DocID027870 Rev 1
STLUX Electrical characteristics
Figure 18. PWM current consumption with f
SMED at V
DD
/
VDDA
= 3.3 V
= HSI f
PWM
= 0.5 MHz
Figure 19. PWM current consumption with f
SMED at V
DD
/
VDDA
= 5 V
= HSI f
PWM
= 0.5 MHz
DocID027870 Rev 1 95/126
126
Electrical characteristics STLUX
Low power mode wake-up time
Table 76 shows the wake-up time to resume the normal operating mode from the different
low power state.
Symbol Parameter
Table 76. Wake-up times
Conditions t
WU(WFI) t t
WU(AH)
WU(H)
Wake-up time from wait mode to run mode (2) f f
CPU
CPU
f
= f
MASTER
MASTER
= 0 to 16 MHz
= 16 MHz
Wake-up time active halt mode to run mode
MVR voltage regulator on
(4)
Flash in operating mode
(5)
Flash in power- down mode
MVR voltage regulator
Flash in operating mode
Flash in power- down mode
Wake-up time from halt mode to run mode
Flash in power-down mode
1. Data based on characterization results, not tested in production.
2. Measured from the interrupt event to interrupt vector fetch.
3. t
WU(WFI)
= 2 x 1/f
MASTER
+ 7 x 1/f
CPU
.
4. Configured by the REGAH bit in the CLK_ICKR register.
5. Configured by the AHALT bit in the FLASH_CR1 register.
6. Plus 1 LSI clock depending on synchronization (f
LSI
= 153.6 kHz).
HSI
(after wake-up)
Typ.
(1)
Ref.
(3)
0.56
4
(6)
47
49
51
53
Unit
s
HSE user external clock
Subject to general operating conditions for V
DD
and T
A
.
Symbol
Table 77. HSE user external clock characteristics
Parameter Conditions Min.
Max.
I f
HSE_ext
V
HSEH
(2)
V
User external clock source frequency
HSEOSCIN input pin high level voltage
HSEOSCIN input pin low level voltage
HSEOSCIN input pin leakage
-40 °C T
A
105 °C
V
SS
V
IN
V
DD
0
0.7 x V
V
SS
-1
DD
1. In case f
HSE
is configured as a direct clock for the SMED logics the maximum frequency can be 24 MHz.
2. Data based on characterization results, not tested in production.
16
(1)
V
DD
0.3 x V
DD
+1
Unit
MHz
V
µA
96/126 DocID027870 Rev 1
STLUX
Figure 20. HSE external clock source
Electrical characteristics
HSE crystal/ceramic resonator oscillator
The HSE clock can be supplied with a 1 to 24 MHz crystal/ceramic resonator oscillator. All the information given in this paragraph is based on characterization results with specified typical external components. In the application, the resonator and the load capacitors have to be placed as close as possible to the oscillator pins in order to minimize output distortion and start-up stabilization time. Refer to the crystal resonator manufacturer for more details
(frequency, package, accuracy, etc.).
.
Symbol
Table 78. HSE crystal/ceramic resonator oscillator
Parameter Conditions Min. Typ.
Max.
Unit
I f
HSE
R
F
C
L1,
C
L2
(2)
DD(HSE)
External high speed oscillator frequency
Feedback resistor
Recommended load capacitance
(3)
HSE oscillator power consumption
1
220
16
(1)
20
6 (startup)
2 (stabilized)
MHz k pF mA g m t
SU(HSE)
(4)
Oscillator transconductance
Startup time V
DD
is stabilized
5
2.8
mA/V ms
1. In case f
HSE
is configured as a direct clock for the SMED logic the maximum frequency can be 24 MHz.
2. The oscillator needs two load capacitors, CL1 and CL2, to act as load for the crystal. The total load capacitance (Cload) is (CL1 * CL2)/ (CL1 + CL2). If CL1 = CL2, Cload = CL1 / 2. Some oscillators have built-in load capacitors, CL1 and CL2.
3. The oscillator selection can be optimized in terms of supply current using a high quality resonator with small Rm value.
4. t
SU(HSE)
is the start-up time measured from the moment it is enabled (by software) to a stabilized 16 MHz oscillation is reached. This value is measured for a standard crystal resonator and it can vary significantly with the crystal manufacturer.
DocID027870 Rev 1 97/126
126
Electrical characteristics
Figure 21. HSE oscillator circuit diagram
STLUX
The crystal characteristics have to be checked with Equation 3 :
Equation 3 g m
» g mCritic where g mCritic
is calculated with the crystal parameters as follows:
Equation 4 g mCritic
= (2 * * f
HSE
)
2
* R m
(2C
O
+ C)
2 and where:
R m
: motional resistance (d)
L m
C m
C
O
: shunt capacitance
C
L1
= C
L2
= C: grounded external capacitance
98/126 d. Refer to the application crystal specification.
DocID027870 Rev 1
STLUX Electrical characteristics
12.3.4 Internal clock sources and timing characteristics
HSI RC oscillator
Subject to general operating conditions for V
DD
and T
A
.
Symbol Parameter
Table 79. HSI RC oscillator
Conditions f
HSI
Frequency
ACC
HSI
Accuracy of HSI oscillator
(factory calibrated)
(2)
V
DD
= 3.3 V
T
A
= 25 ºC
V
DD
= 3.3 V
-40 ºC T
A
105 ºC
V
DD
= 5 V
-40 ºC T
A
105 ºC t
SU(HSI)
HSI oscillator wake-up time including calibration
1. Data based on characterization results, not tested in production.
2. Variation referred to f
HSI
nominal value.
Min.
(1)
Typ. Max.
Unit
16 MHz
-1%
-4%
-4%
1
+1%
+4%
+4%
%
µs
LSI RC oscillator
Subject to general operating conditions for V
DD
and T
A
.
Symbol Parameter
Table 80. LSI RC oscillator
Conditions f
LSI
Frequency
ACC
LSI
Accuracy of LSI oscillator t
SU(LSI)
LSI oscillator wake-up time
1. Guaranteed by design, not tested in production.
3.3 V V
DD
-40 ºC T
A
5 V
105 ºC
Min.
(1)
-10%
Typ.
153.6
Unit kHz
7
10% %
µs
PLL internal source clock
Symbol
Table 81. PLL internal source clock
Parameter Conditions f
IN f
OUT t lock
Input frequency
PLL lock time
(2)
Output frequency
3.3 V V
-40 ºC T
DD
A
5 V
105 ºC
1. Data based on characterization results, not tested in production.
2. PLL maximum input frequency 16 MHz.
Min.
(1)
Typ.
Max.
16
96
200
Unit
MHz
µs
DocID027870 Rev 1 99/126
126
Electrical characteristics STLUX
Flash program and memory/data E
2
PROM memory
General conditions: T
A
= -40 °C to 105 °C.
Symbol
Table 82. Flash program memory/data E
2
PROM memory
Parameter Conditions Min.
(1)
Max.
Unit t
PROG
Standard programming time (including erase) for byte/word/block (1 byte/4 bytes/128 bytes)
Fast programming time for 1 block (128 bytes)
6
3
6.6
3.3
ms t
ERASE
N
WE
Erase time for 1 block (128 bytes)
Erase/write cycles
(2)
(program memory)
(data memory)
T
A
= 25 °C
T
A
= 85 °C
T
A
= 105 °C
10 K
100 K
35 K
3 3.3
ms
Cycles
I t
RET
DDPRG
Data retention (program memory) after 10 K erase/write cycles at T
A
= 25 °C
Data retention (program memory) after 10 K erase/write cycles at T
A
= 25 °C
Data retention (data memory) after 100 K erase/write cycles at T
A
= 85 °C
Data retention (data memory) after 35 K erase/write cycles at T
A
= 105 °C
Supply current during program and erase cycles
T
T
T
T
RET
RET
= 105 °C
RET
RET
= 85 °C
= 85 °C
= 105 °C
-40 ºC T
A
105 ºC
15
11
15
6
2
Years mA
1. Data based on characterization results, not tested in production.
2. The physical granularity of the memory is 4 bytes, so cycling is performed on 4 bytes even when a write/erase operation addresses a single byte.
100/126 DocID027870 Rev 1
STLUX Electrical characteristics
12.3.6 I/O port pin characteristics
Subject to general operating conditions for V
DD input pins should not be left floating.
and T
A unless otherwise specified. Unused
Symbol
Table 83. Voltage DC characteristics
Description Min.
(1)
Typ.
V
IL
V
IH
V
OL1
V
OL2
V
OL3
V
OH1
V
OH2
V
OH3
H
VS
R
PU
Input low voltage
Input high voltage
(2)
Output low voltage at 3.3 V
(3)
,
(4)
Output high voltage at 5 V
Hysteresis input voltage
Pull-up resistor
(8)
Output low voltage high sink at 3.3 V / 5 V (2)
, (6)
,
Output high voltage high sink at 3.3 V / 5 V
, (7)
,
0.7 * V
V
DD
-0.3
DD
- 0.4
V
DD
- 0.5
V
DD
- 0.6
0.1 * V
30
DD
45
0.3 * V
V
DD
0.4
(5)
0.5
60
DD
1. Data based on characterization result, not tested in production.
2. All signals are not 5 V tolerant (input signals can't be exceeded V
DDX
(V
DDX
= V
DD
, V
DDA
).
3. A high sink selectable by high speed configuration; the parameter applicable to signals: GPIO0 [5:0]
(product depending).
4. The parameter applicable to signals: GPIO1 [5:0]/PWM [5:0] (product depending).
5. Electrical threshold voltage not yet characterized at -40 ºC.
6. The parameter applicable to the signal: SWIM.
7. The parameter applicable to the signal: DIGIN [0]/CCO_clk.
8. Applicable to any digital inputs.
Unit
V k
DocID027870 Rev 1 101/126
126
Electrical characteristics STLUX
Symbol
Table 84. Current DC characteristics
Description Min. Typ. Max.
(1)
Unit
I
OL1
I
OL2
I
OLhs1
I
OLhs2
I
OH1
I
OH2
I
OHhs1
I
OHhs2
I
LKg
I
_Inj
I_
Inj
Standard output low level current at 3.3 V and V
OL1
(2)
,
(3)
Standard output low level current at 5 V and V
High sink output low level current at 3.3 V and V
,
(4)
,
(5)
High sink output low level current at 5 V and V
OL3
,
Standard output high level current at 3.3 V and V
OH1
Standard output high level current at 5 V and V
High sink output high level current at 3.3 V and V
,
,
High sink output high level current at 5 V and V
,
Input leakage current digital - analog V
SS
V
IN
V
DD
(6)
Injection current (7) , (8)
Total injection current (sum of all I/O and control pins)
1.5
3
5
7.75
1.5
3
5
7.75
± 1
± 4
± 20
1. Data based on characterization result, not tested in production.
2. A high sink selectable by high speed configuration; the parameter applicable to signals: GPIO0 [5:0] (product depending).
3. The parameter applicable to signals: GPIO1 [5:0]/PWM [5:0] (product depending).
4. The parameter applicable to the signal: SWIM.
5. The parameter applicable to the signal: DIGIN [0]/CCO_clk.
6. Applicable to any digital inputs.
7. Maximum value must never be exceeded.
8. Negative injection current on the ADCIN [7:0] signals (product depending) have to avoid since impact the ADC conversion accuracy.
mA
µA mA
Symbol
Table 85. Operating frequency characteristics
Description Min.
Typ.
Max.
(1)
Unit f
IL1 f
IH1 f
IH2 f
OL1 f
OL2 f
OH1 f
OH2
Digital input signal operating frequency
(2)
,
(3)
Analog input signal operating frequency
(5)
,
(6)
,
(4)
High speed input signal operating frequency (7) , (8)
Standard output signal operating frequency with 50 pF max. load
High sink output signal operating frequency with 50 pF max. load
High speed output signal operating frequency with 50 pF max. load
High speed output signal operating frequency with 50 pF max. load
12
24
128
2
10
12
32
1. Data based on characterization result, not tested in production.
2. A high sink selectable by high speed configuration; parameter applicable to signals: GPIO0 [5:0] (product depending).
3. The parameter applicable to the signal: SWIM.
4. The parameter applicable to signals: DIGIN [5:1] (product depending).
5. The parameter applicable to signals: GPIO0 [3:2] when configured as HSE_Oscin/Oscout.
6. The parameter applicable to any analog signals: ADCIN [7:0], CPP [3:0] and CPM3 (product depending).
7. The parameter applicable to signals: GPIO1 [5:0]/PWM [5:0] (product depending).
8. The parameter applicable to the signal: DIGIN [0]/CCO_clk.
MHz
102/126 DocID027870 Rev 1
STLUX Electrical characteristics
12.3.7 Typical output level curves
This section shows the typical output voltage level curves measured on a single output pin for the three pad family present in the STLUX family.
Standard pad
This pad is associated to the following signals: DIGIN [5:1], SWIM, GPIO0 [3:0], CPP [3:0],
CPM3 and ADCIN [7:0] when available.
Figure 22. V
OH
standard pad at 3.3 V
Figure 23. V
OL
standard pad at 3.3 V
DocID027870 Rev 1 103/126
126
Electrical characteristics
Figure 24. V
OH
standard pad at 5 V
STLUX
Figure 25. V
OL
standard pad at 5 V
104/126 DocID027870 Rev 1
STLUX Electrical characteristics
Fast pad
This pad is associated to the PWM [5:0] signals if the external pin is available.
Figure 26. V
OH
fast pad at 3.3 V
Figure 27. V
OL
fast pad at 3.3 V
DocID027870 Rev 1 105/126
126
Electrical characteristics
Figure 28. V
OH
fast pad at 5 V
STLUX
Figure 29. V
OL
fast pad at 5 V
106/126 DocID027870 Rev 1
STLUX Electrical characteristics
High speed pad
This pad is associated to the DIGIN [0] signals.
Figure 30. V
OH
high speed pad at 3.3 V
Figure 31. V
OL
high speed pad at 3.3 V
DocID027870 Rev 1 107/126
126
Electrical characteristics
Figure 32. V
OH
high speed pad at 5 V
STLUX
Figure 33. V
OL
high speed pad at 5 V
108/126 DocID027870 Rev 1
STLUX Electrical characteristics
Subject to general operating conditions for V
DD
and T
A
unless otherwise specified.
Symbol
Table 86. NRST pin characteristics
Parameter Conditions Min.
(1)
V
IL(NRST)
V
IH(NRST)
V
OL(NRST)
R
PU(NRST) t
IFP(NRST) t
INFP(NRST) t
OP(NRST)
NRST input high level voltage
NRST output low level voltage
NRST pull-up resistor
(2)
NRST input filtered pulse (3)
I
OL
= 2 mA
1. Data based on characterization results, not tested in production.
2. The RPU pull-up equivalent resistor is based on a resistive transistor.
3. Data guaranteed by design, not tested in production.
-0.3
0.7 x V
DD
30
500
15
Typ.
Max.
40
0.3 x V
DD
V
DD
+ 0.3
0.5
60
75
Unit
V k ns
µs
12.3.9 I
2
C interface characteristics
Symbol
Table 87. I 2 C interface characteristics
Standard mode Fast mode
(1)
Parameter
Min.
(2)
Min.
Max.
Unit t w(SCLL) t w(SCLH) t su(SDA) t h(SDA) t r(SDA)
t r(SCL) t f(SDA)
t f(SCL) t h(STA) t su(STA)
SCL clock low time
SCL clock high time
SDA setup time
SDA data hold time
SDA and SCL rise time (V
DD
= 3.3 to 5 V)
(4)
SDA and SCL fall time (V
DD
START condition hold time
Repeated START condition setup time
4.7
4.0
250
0
(3)
4.0
4.7
1000
300
1.3
0.6
100
0.6
0.6
900
300
300
µs ns
µs t su(STO)
STOP condition setup time 4.0
t w(STO:STA)
STOP to START condition time (bus free) 4.7
C b
Capacitive load for each bus line
(5)
50
1. f
MASTER
, must be at least 8 MHz to achieve maximum fast I
2
C speed (400 kHz).
2. Data based on standard I 2 C protocol requirement, not tested in production.
0.6
1.3
50
3. The maximum hold time of the start condition has only to be met if the interface does not stretch the low time.
4. I 2 C multifunction signals require the high sink pad configuration and the interconnection of 1 K pull-up resistances.
5. 50 pF is the maximum load capacitance value to meet the I
2
C std timing specifications.
µs
µs pF
DocID027870 Rev 1 109/126
126
Electrical characteristics STLUX
12.3.10 10-bit SAR ADC characteristics
Subject to general operating conditions for V
DDA specified.
, f
MASTER
, and T
A
unless otherwise
Symbol
Table 88. ADC characteristics
Parameter Conditions Min. Typ.
Max.
Unit
N
R
ADCIN f
ADC
V
IN1
V
IN2
V ref t
S t
STAB t t
CONV1
CONV2
Resolution
ADC input impedance
ADC Clock frequency
Conversion voltage range for gain x1
Conversion voltage range for gain x4 (4)
ADC main reference voltage
(5)
Sampling time
Wakeup time from ADC standby
Single conversion time including sampling time
Continuous conversion time including sampling time f
ADC
= 6 MHz f
ADC
= 6 MHz f
ADC
= 6 MHz
1
1
0
0
10
1.250
0.50
30
2.42
3
6
(1)
1.25
(2)
,
(3)
0.3125
bit
M
MHz
V
1. Frequency generated selecting the PLL source clock.
2. Maximum input analog voltage cannot exceed V
DDA
.
3. Exceeding the maximum voltage on the ADCIN [7:0] signals (product depending) for the related conversion scale must be avoided since the ADC conversion accuracy can be impacted.
4. Product depending.
5. ADC reference voltage at T
A
= 25 °C.
µs
110/126 DocID027870 Rev 1
STLUX Electrical characteristics
ADC accuracy characteristics at V
DD
/V
DDA
3.3 V
Symbol
Table 89. ADC accuracy characteristics at V
DD
/
VDDA
3.3 V
Parameter Conditions
(1)
Typ.
(2)
Min.
(3)
Max.
Unit
|E
T
| Total unadjusted error
(4)
,
(5)
,
(6)
|E
O
|
,
,
|E
G
| Gain error(
,
(7)
E
O+G
,
(8)
E
O+G
,
(9)
E
O+G
,
(10)
|E
D
| Differential linearity error
,
|E
L
| Integral linearity error
|E
T
|
Total unadjusted error (4) , (5)
,
|E
O
|
,
,
|E
G
| Gain error
,
E
O+G
E
O+G
,
E
O+G
,
|E
D
| Differential linearity error
,
|E
L
|
,
,
f f
ADC
ADC
= 6 MHz gain 1
= 6 MHz gain 4
(11)
2.8
0.3
0.4
0.5
1.4
2.8
0.3
0.4
0.5
1.4
-8.5
-11
-14.3
-12.7
-16.7
-19.2
9.3
11
11.3
15.5
18.8
18.8
LSB
1. Measured with RAIN < 10 k (RAIN external series resistance interconnected between the AC signal generator and the
ADC input pin).
2. Temperature operating: T
A
= 25 °C.
3. Data based on characterization results, not tested in production.
4. ADC accuracy vs. negative injection current. Injecting negative current on any of the analog input pins should be avoided as this reduces the accuracy of the conversion being performed on another analog input. It is recommended a Schottky diode (pin to ground) to be added to standard analog pins which may potentially inject the negative current. Any positive injection current within the limits specified for I or V
IN2
INJ(PIN) and
IINJ(PIN)
in the I/O port pin characteristic section does not affect the ADC accuracy. The ADC accuracy parameters may be also impacted exceeding the ADC maximum input voltage V
.
IN1
5. Results in manufacturing test mode.
6. Data aligned with trimming voltage parameters.
7. Gain error evaluation with the two point method.
8. Temperature operating range: 0 ºC T
A
85 ºC.
9. Temperature operating range: -25 ºC T
A
105 ºC.
10. Temperature operating range: -40 ºC T
A
105 ºC.
11. Product depending.
DocID027870 Rev 1 111/126
126
Electrical characteristics STLUX
ADC accuracy characteristics at V
DD
/V
DDA
5 V
Symbol
Table 90. ADC accuracy characteristics at V
DD
/
VDDA
5 V
Parameter Conditions
(1)
Typ.
(2)
Min.
(3)
Max.
Unit
|E
T
| Total unadjusted error
(4)
,
(5)
,
(6)
|E
O
| Offset error
,
|E
G
| Gain error
, (7)
E
O+G
Offset + gain error
,
(8)
E
O+G
Offset + gain error
,
(9)
E
O+G
Offset + gain error
,
(10)
|E
D
| Differential linearity error
,
|E
L
|
,
|E
T
|
,
,
|E
O
| Offset error
,
|E
G
| Gain error
,
E
O+G
Offset + gain error
E
O+G
Offset + gain error
E
O+G
Offset + gain error
|E
D
| Differential linearity error
,
|E
L
|
,
f f
ADC
ADC
= 6 MHz gain 1
= 6 MHz gain 4
(11)
TBD
0.5
0.4
0.8
2.0
TBD
1.2
0.2
0.8
2.0
-8.3
-10.9
-13.8
-12.2
-16.4
-18.8
8.9
10.9
10.9
15.3
18.5
18.5
LSB
1. Measured with RAIN < 10 k (RAIN external series resistance interconnected between the AC signal generator and the
ADC input pin).
2. Temperature operating: T
A
= 25 °C.
3. Data based on characterization results, not tested in production.
4. ADC accuracy vs. negative injection current. Injecting negative current on any of the analog input pins should be avoided as this reduces the accuracy of the conversion being performed on another analog input. It is recommended a Schottky diode (pin to ground) to be added to standard analog pins which may potentially inject negative current. Any positive injection current within the limits specified for I
INJ(PIN)
and
IINJ(PIN)
in the I/O port pin characteristic section does not affect the ADC accuracy. The ADC accuracy parameters may be also impacted exceeding the ADC maximum input voltage V or V
IN2
.
IN1
5. Results in manufacturing test mode.
6. Data aligned with trimming voltage parameters.
7. Gain error evaluation with the two point method.
8. Temperature operating range: 0 ºC T
A
85 ºC.
9. Temperature operating range: -25 ºC T
A
105 ºC.
10. Temperature operating range: -40 ºC T
A
105 ºC.
11. Product depending.
112/126 DocID027870 Rev 1
STLUX Electrical characteristics
ADC equivalent input circuit
shows the ADC equivalent input circuit.
Figure 34. ADC equivalent input circuit
Note: Gain x1 ADC input analog voltage range is from 0 up to 1.25 V.
Gain x4 ADC input analog voltage range is from 0 up to 312.5 mV (product depending).
Maximum input analog voltage cannot exceed VDDA.
ADC input impedance > 1 M .
The ADCIN [7:0] input pins (if available) are provided by the ESD protection diodes.
DocID027870 Rev 1 113/126
126
Electrical characteristics
ADC conversion accuracy
Figure 35. ADC conversion accuracy
STLUX
114/126
ADC accuracy parameter definitions:
E
T
= total unadjusted error: maximum deviation between the actual and the ideal transfer curves.
E
O
= offset error: deviation between the first actual transition and the first ideal one.
E
OG
= offset + gain error (1-point gain): deviation between the last ideal transition and the last actual one.
E
G
= gain error (2-point gain): defined so that E
OG
= E
O the deviation of the characteristic slope).
+ E
G
(parameter correlated to
E
D
= differential linearity error: maximum deviation between actual steps and the ideal one.
E
L
= integral linearity error: maximum deviation between any actual transition and the end-point correlation line.
DocID027870 Rev 1
STLUX Electrical characteristics
Symbol
Table 91. Analog comparator characteristics (1)
Parameter Conditions Min.
(2)
Typ.
Unit
V
V
CPP
CPM3
Comparator input voltage range
Comparator 3 external input voltage range
-40 ºC T
A
105 ºC 0
0
1.23
1.23
(3)
(4)
V
V
C
IN
V offset t
COMP
Input capacitance
Comparator offset error
Comparison delay time
3
15
50
(5)
,
(6)
1. The comparator logic accuracy parameters may be also impacted exceeding the VCPP and VCPM3 maximum input voltage.
2. Data based on characterization results, not tested in production.
3. Maximum analog input voltage cannot exceed V
DDA
.
4. The comparator 3 can be configured with the external reference voltage signal CPM3.
5. The overdrive voltage is ± 50 mV.
6. This parameter doesn't consider the delay time of comparator signal synchronization stages and SMED logic.
pF mV ns
Symbol Parameter
Table 92. DAC characteristics
Conditions Min.
(1)
N
V full scale
V offset
V dac
LSB
INL
Resolution
DAC full scale
DAC offset
DAC out voltage
Integral non linearity
-40 ºC T
A
105 ºC
1. Data based on characterization results, not tested in production.
1.2
V offset
Typ.
4
1.26
4
V full scale
82
0.12
Unit bit
V mV mV mV
LSB
Equation 5
DocID027870 Rev 1 115/126
126
Electrical characteristics
Equation 6 where:
Vf ullscale
= V fullscale
(sample, T)
V offset
= Voffset (sample, T)
INL = INL (sample, n)
STLUX
Electrostatic discharges (3 positive then 3 negative pulses separated by 1 second) are applied to the pins of each sample according to each pin combination. The sample size depends on the number of supply pins in the device (3 parts * (n + 1) supply pin).
Symbol
Table 93. ESD absolute maximum ratings
Ratings Conditions
Maximum value
Unit
V
ESD(HBM)
V
ESD(CDM)
V
ESD(MM)
Electrostatic discharge voltage
(human body model)
Electrostatic discharge voltage
(charge device model)
Electrostatic discharge voltage
(machine model)
T
A
= 25 °C, conforming to
JEDEC/JESD22-A114E
T
A
= 25 °C, conforming to
ANSI/ESD STM 5.3.1 ESDA
T
A
= 25 °C, conforming to
JEDEC/JESD-A115-A
2000
500
200
V
Data based on characterization results, not tested in production.
Two complementary static tests are required on 10 parts to assess the latch-up performance.
A supply overvoltage (applied to each power supply pin) and a current injection (applied to each input, output and configurable I/O pin) are performed on each sample. This test conforms to the EIA/JESD 78 IC latch-up standard.
Symbol
LU
Table 94. Electrical sensitivity
Parameter Conditions
Static latch-up class T
A
= 105 °C
Level
A
116/126 DocID027870 Rev 1
STLUX Thermal characteristics
STLUX functionality cannot be guaranteed when the device operating exceeds the maximum chip junction temperature (T
Jmax
).
T
Jmax
, in degrees Celsius, may be calculated using
:
Equation 7
T
Jmax
= T
Amax
+ PD max
x
JA
) where:
T
Amax is the maximum ambient temperature in °C
J
A
is the package junction to ambient thermal resistance in °C/W
P
Dmax
is the sum of P
INTmax and P
I/Omax
(P
Dmax
= P
INTmax
+ PI/O max)
P
INTmax power.
is the product of I
DD
and V
DD
, expressed in watts. This is the maximum chip internal
P
I/Omax
P
I/Omax
represents the maximum power dissipation on output pins where:
= (V
OL
* I
OL
) + [(V
DD
- V
OH
) * I
OH
], taking into account the actual V
OL
/I
OL and V
OH
/I
OH
of the I/Os at low and high level.
Table 95. Package thermal characteristics
Symbol Parameter Value Unit
JA
JA
JA
TSSOP38 - Thermal resistance junction to ambient
(1)
VFQFPN32 - Thermal resistance junction to ambient
TSSOP28 - Thermal resistance junction to ambient
80
26
80
1. Thermal resistance is based on the JEDEC JESD51-2 with the 4-layer PCB in a natural convection environment.
°C/W
°C/W
°C/W
DocID027870 Rev 1 117/126
126
Package information STLUX
In order to meet environmental requirements, ST offers these devices in different grades of
ECOPACK ® packages, depending on their level of environmental compliance. ECOPACK ® specifications, grade definitions and product status are available at: www.st.com
.
ECOPACK ® is an ST trademark.
14.1 TSSOP38 package information
Figure 36. TSSOP38 package outline
118/126 DocID027870 Rev 1
0117861_C
STLUX Package information
Table 96. TSSOP38 package mechanical data (1)
Dimensions (mm)
Symbol
Min.
Typ.
Max.
A
A1
A2 b c
D
(2)
E
E1
(2) e
L
L1
0.05
0.80
0.17
0.09
9.60
6.20
4.30
0.45
1.00
9.70
6.40
4.40
0.50
0.60
1.00
1.20
0.15
1.05
0.27
0.20
9.80
6.60
4.50
0.75
k aaa
0 8
0.10
1. TSSOP stands for “ Thin Shrink Small Outline Package ” .
2.
Dimensions
“
D
”
and
0.15 mm per side.
“
E1
” do not include the mold flash or protrusions. The mold flash or protrusions shall not exceed
DocID027870 Rev 1 119/126
126
Package information
Figure 37. VFQFPN32 package outline
STLUX
120/126 DocID027870 Rev 1
STLUX Package information
Table 97. VFQFPN32 package mechanical data (1)
Dimensions (mm)
Symbol
Min.
Typ.
Max.
A
A1
A3 b
D
D2
E
E2 e
L ddd
0.80
0
0.18
4.85
3.40
4.85
3.40
0.30
0.90
0.02
0.20
0.25
5.00
3.45
5.00
3.45
0.50
0.40
1.00
0.05
3.50
0.55
0.50
0.08
0.30
5.15
3.50
5.15
1. VFQFPN stands for “Thermally Enhanced Very thin Fine pitch Quad Flat Package No lead”.
Very thin profile: 0.80 A 1.00 mm.
Details of the terminal 1 are optional but must be located on the top surface of the package by using either a mold or marked features.
Package outline exclusive of any mold flash dimensions and metal burrs.
DocID027870 Rev 1 121/126
126
Package information
14.3 TSSOP28 package information
Figure 38. TSSOP28 package outline
STLUX
122/126 DocID027870 Rev 1
STLUX Package information
Table 98. TSSOP28 package mechanical data (1)
Dimensions (mm)
Symbol
Min.
Typ.
Max.
A
A1
A2 b c
D
(2)
E
E1
(3) e
L
L1 k aaa
0.05
0.80
0.19
0.09
9.60
6.20
4.30
0.45
0
1.00
9.70
6.40
4.40
0.65
0.60
1.00
1.20
0.15
1.05
0.30
0.20
9.80
6.60
4.50
0.75
8
0.10
1. TSSOP stands for “Thin Shrink Small Outline Package”.
2. Dimension “D” does not include mold flash, protrusions or gate burrs. Mold flash, protrusions or gate burrs shall not exceed 0.15 mm per side.
3. Dimension “E1” does not include interlead flash or protrusions. Interlead flash or protrusions shall not exceed 0.25 mm per side.
DocID027870 Rev 1 123/126
126
STLUX development environment STLUX
The STLUX385A development environment is a suite of tools that helps developing applications guiding the user through the whole prototyping process, from the initial idea to the on-board proof of concept. It also helps beginners facing to the STLUX385A technology to get familiar with it and start developing applications as soon as possible. Analogue and system engineers can easily model the application and state machines (SMED) behavior bypassing the need to generate software code.
The development environment is composed of the following tools:
Peripheral libraries: open source drivers necessary to drive each hardware block.
Examples software: set of software and hardware examples showing how to exploit the
SMEDs functionality.
Development board: board featuring STLUX and exposing all pins for external easy access. Order code: STEVAL-ILL068V1.
SMED configurator: powerful graphical tool which enables the user to interact directly with the SMED without any software.
Compiler: STLUX supports 2 compilers: IAR Embedded Workbench
®
and Raisonance
Ride7.
– IAR Embedded Workbench. The IAR Embedded Workbench IAR-EWSTM8 is a software development tool with highly optimizing the C and C++ compiler for the
STM8 CPU device. The workbench supports the ST-LINK and STice debug probes using the SWIM interface (USB/SWIM).
– Raisonance with the C compiler and the integrated development environment
(Ride7), which provides start-to-finish control of application development including the code editing, compilation, optimization and debugging.
– The Ride7 supports the RLink in-circuit debugger/programmer using the SWIM interface (USB/SWIM).
Figure 39. STLUX development tools workflow
124/126 DocID027870 Rev 1
STLUX Order codes
Order code
STLUX385A
STLUX385ATR
STLUX383A
STLUX383ATR
STLUX325A
STLUX325ATR
STLUX285A
STLUX285ATR
Table 99. Ordering information
Package
TSSOP38
TSSOP38
VFQFPN32
TSSOP28
Packaging
Tube
Tape and reel
Tube
Tape and reel
Tube
Tape and reel
Tube
Tape and reel
Date
13-May-2015
Table 100. Document revision history
Revision Changes
1 Initial release.
DocID027870 Rev 1 125/126
126
STLUX
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2015 STMicroelectronics – All rights reserved
126/126 DocID027870 Rev 1
Download
Advertisement