STLUX385
Digital controller for lighting and power supply applications with 6
programmable PWM generators, 96 MHz PLL, DALI
Datasheet − preliminary data
Features
■
■
■
■
■
■
Core
– Max fCPU: 16 MHz
– Advanced STM8 core with Harvard
architecture and 3-stage pipeline
– Extended instruction set
TSSOP38
Memories
– Flash and EEPROM with read while write
(RWW) and error correction code (ECC)
capability
– Program memory: 32 Kbytes Flash; data
retention 15 years at 85 °C after 10 kcycles
at 25 °C
– Data memory: 1 Kbyte true data EEPROM;
data retention: 15 years at 85 °C after 100
kcycles at 85 °C
– RAM: 2 Kbytes
– I2C master/slave fast-slow speed rate
– DALI ballast target device interface
■
■
Clock management
– Low power crystal resonator oscillator with
external clock input
– Internal, user-trimmable 16 MHz RC and
low power 153.6 KHz RC oscillators
– Internal 96 MHz PLL
– Clock security system with clock monitor
Analog to digital converter (ADC)
– 10-bit, 8 multiplexed channels, sequencing
functionality
– Operational amplifier to extend dynamic
range and resolution to 12-bit equivalent
– Independent channel gain value
configurations: x1.6 or x6.4
Analog comparators
– 4 analog comparators with internal
programmable reference voltage
generated by 4 internal programmable 4-bit
DACs
– 1 analog comparator with additional
external reference voltage
– Comparator cycle time: 50 ns max
– Repetitive conversion
Interrupt management
– Nested interrupt controller with 32 interrupt
vectors
– Three interrupt priority levels
– Up to 12 external interrupt request lines on
2 vectors
– Programmable NMI interrupt sources
■
Peripherals specific product
– 6 SMEDs (state machine event driven)
independent PWM programmable pulse
signal generators
Description
Communication interfaces
– UART asynchronous: sw flow-control
operating mode
February 2013
■
I/Os
– 12 I/Os multifunction signals
– Highly robust I/O design, immune against
current injection
Operating temperature
– -25 °C to 105 °C
The STLUX385 is a digital controller for lighting
and power supply applications featuring 6
programmable PWM generators, 96 MHz PLL,
gain-programmable ADC and DALI interface.
Doc ID 024169 Rev 2
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to
change without notice.
1/10
www.st.com
10
Introduction
1
STLUX385
Introduction
The core of the STLUX385 is the enhanced STM8 MCU, providing increased power
processing while maintaining the advantages of the CISC architecture, a 24-bit linear
addressing mode, 8-bit data bus and an optimized architecture for low power applications.
The microcontroller includes an in-circuit debug module with a hardware interface (SWIM
single wire) which allows non-intrusive application debugging and ultra-fast Flash
programming code.
The device has an embedded low power, low voltage, single voltage 32 Kbytes of non
volatile program memory and true 1 Kbyte RWW data EEPROM with Error Correction Code
(ECC).
The STLUX385 microcontroller provides the following benefits:
●
●
2/10
Very high reliability and memory endurance
–
More than 15 years of operating life time
–
More than 15 years of data retention for program and Data Memory after cycling
Flexible peripherals to form a powerful engine capable of driving all types of switch
mode converters. It covers the topologies in the field of lighting and power
management starting from simple buck converters for LED driving, boost for power
factor correction, half-bridge resonant converters for dimmable fluorescent tube lamp
ballasts, up to full bridge control in HID lamp ballasts
–
Fast analog comparators (50 ns max propagation delay)
–
96 MHz PLL for high output signal resolution
–
Six independent SMED (state machine - event driven) units - programmable signal
generators
–
Programmable connection box to interconnect SMEDs and other peripherals into
complex timer blocks
–
10-bit, 8 multiplexed channels ADC with operational amplifier to extend resolution
to 12-bit
–
DALI hardware communication cell
Doc ID 024169 Rev 2
STLUX385
2
Block diagram
Block diagram
Figure 1.
Internal block diagram
LSI int. Oscillator
153.6Khz
Clock Controller
HSI int. Oscillator
16Mhz
PLL 96Mhz
HSE ext. Oscillator
1-24Mhz
POR
Clock controller
Power Management
MVR
MLVD
LVR
DLVD
Reset control unit
MSC
(Miscellaneous reg.)
GPIO0
P
0
I
O
M
U
X
Reset Controller
I2C
4Analog Comparators
4 DAC (4 bit) unit
UART
6 Digital input lines
SMED Con-Box
DALI
Smed0 Pwm0
Smed1 Pwm1
Address and Data Bus
STM8
Core
I
n
t.
P
1
I
O
M
U
X
Smed2 Pwm2
Smed3 Pwm3
B
u
s
SWIM & DM
(debug module)
Smed4 Pwm4
Smed5 Pwm5
GPIO1
ITC
(Interrupt Ctrl)
10 bit ADC + OA
8 channels
AWU
(Auto-wakeup)
2KB ROM
BootRom
WWDG
(Window Watchdog)
32KB FLASH
Program area
IWDG
(Indep. Watchdog)
1KB E PROM
Data area
System Timer
2KB RAM
GIPD170120131832FSR
Doc ID 024169 Rev 2
3/10
Pinout and pin description
STLUX385
3
Pinout and pin description
3.1
Pinout
Figure 2.
TSSOP38 pinout
GPIO1[0]/PWM[0]
1
38
ADCIN[0]
DIGIN[0]/CCO_Clk
2
37
ADCIN[1]
DIGIN1
3
36
ADCIN[2]
GPIO1[1]/PWM[1]
4
35
ADCIN[3]
GPIO1[2]/PWM[2]
5
34
ADCIN[4]
DIGIN[2]
6
33
ADCIN[5]
DIGIN[3]
7
32
ADCIN[6]
GPIO1[5]/PWM[5]
8
31
ADCIN[7]
SWIM
9
30
VSSA
NRST
10
29
VDDA
VDD
11
28
CPP[0]
VSS
12
27
CPP[1]
VOUT
13
26
CPM3
GPIO0[4]/Dali_TX
14
25
CPP[2]
GPIO0[5]/Dali_RX
15
24
CPP[3]
GPIO1[4]/PWM[4]
16
23
GPIO0[1]/Uart_RX
DIGIN[4]
17
22
GPIO0[0]/Uart_TX
DIGIN[5]
18
21
GPIO0[3]/I2C_scl/HseOscin/Uart_RX
GPIO1[3]/PWM[3]
19
20
GPIO0[2]/I2C_sda/HseOscout/Uart_TX
GIPD170120131835FSR
4/10
Doc ID 024169 Rev 2
STLUX385
Pinout and pin description
3.2
Pin description
Table 1.
Pin description
Pin
Type
Pin name
Main function
Alternate
function 1
Alternate
function 2
Alternate
function 3
1
I/O
GPIO1[0]/PWM[0]
SMED PWM
channel 0
General purpose
I/O 10
-
-
2
I/O
DIGIN[0]/CCO_clk
Digital input 0
Configurable
clock output
signal (CCO)
-
-
3
I
DIGIN[1]
Digital input 1
-
-
-
4
I/O
GPIO1[1]/PWM[1]
SMED PWM
channel 1
General purpose
I/O 11
-
-
5
I/O
GPIO1[2]/PWM[2]
SMED PWM
channel 2
General purpose
I/O 12
-
-
6
I
DIGIN[2]
Digital input 2
-
-
-
7
I
DIGIN[3 ]
Digital input 3
-
-
-
8
I/O
GPIO1[5]/PWM[5]
SMED PWM
channel 5
General purpose
I/O 15
-
-
9
I/O
SWIM
SWIM data
interface
-
-
-
10
I/O
NRST
Reset
-
-
-
11
PS
VDD
Digital and I/O
power supply
-
-
-
12
PS
VSS
Digital and I/O
ground
-
-
-
13
PS
VOUT
1.8 V regulator
capacitor
-
-
-
14
I/O
GPIO0[4]/Dali_tx
General purpose
I/O 04
DALI data
transmit
-
-
15
I/O
GPIO0[5]/Dali_rx
General purpose
I/O 05
DALI data
receive
-
-
16
I/O
GPIO1[4]/PWM[4]
SMED PWM
channel 4
General purpose
I/O 14
-
-
17
I
DIGIN[4]
Digital input 4
-
-
-
18
I
DIGIN[5]
Digital input 5
-
-
-
19
I/O
GPIO1[3]/PWM[3]
SMED PWM
channel 3
General purpose
I/O 13
-
-
20
I/O
GPIO0[2]/I2C_sda/
HseOscout/Uart_tx
General purpose
I/O 02
I2C data
Output crystal
oscillator
signal
UART data
transmit
number
Doc ID 024169 Rev 2
5/10
Pinout and pin description
Table 1.
Pin
number
6/10
STLUX385
Pin description (continued)
Type
Pin name
Main function
Alternate
function 1
Alternate
function 2
Alternate
function 3
UART data
receive
21
I/O
GPIO0[3]/I2C_scl/
HseOscin/Uart_rx
General purpose
I/O 03
I2C clock
Input crystal
oscillator
signal / input
frequency
signal
22
I/O
GPIO0[0]/Uart_tx
General purpose
I/O 00
UART data
transmit
-
-
23
I/O
GPIO0[1]/Uart_rx
General purpose
I/O 01
UART data
receive
-
-
24
I
CPP[3]
Positive analog
comparator input 3
-
-
-
25
I
CPP[2]
Positive analog
comparator input 2
-
-
-
26
I
CPM3
Negative analog
comparator input 3
-
-
-
27
I
CPP[1]
Positive analog
comparator input 1
-
-
-
28
I
CPP[0]
Positive analog
comparator input 0
-
-
-
29
PS
VDDA
Analog power
supply
-
-
-
30
PS
VSSA
Analog ground
-
-
-
31
I
ADCIN[7]
Analog input 7
-
-
-
32
I
ADCIN[6]
Analog input 6
-
-
-
33
I
ADCIN[5]
Analog input 5
-
-
-
34
I
ADCIN[4]
Analog input 4
-
-
-
35
I
ADCIN[3]
Analog input 3
-
-
-
36
I
ADCIN[2]
Analog input 2
-
-
-
37
I
ADCIN[1]
Analog input 1
-
-
-
38
I
ADCIN[0]
Analog input 0
-
-
-
Doc ID 024169 Rev 2
STLUX385
4
Package mechanical data
Package mechanical data
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.
Table 2.
TSSOP38 mechanical data
mm.
Dim.
Min.
Typ.
A
Max.
1.20
A1
0.05
A2
0.80
b
0.17
0.27
c
0.09
0.20
D
9.60
9.70
9.80
E
6.20
6.40
6.60
E1
4.30
4.40
4.50
e
L
1.00
1.05
0.50
0.45
L1
k
0.15
0.60
0.75
1.00
0
aaa
8
0.10
Doc ID 024169 Rev 2
7/10
Package mechanical data
Figure 3.
STLUX385
TSSOP8 package drawing
0117861_C
8/10
Doc ID 024169 Rev 2
STLUX385
5
Revision history
Revision history
Table 3.
Document revision history
Date
Revision
Changes
18-Jan-2013
1
Initial release.
08-Feb-2013
2
Updated features and description on the cover page.
Doc ID 024169 Rev 2
9/10
STLUX385
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2013 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
10/10
Doc ID 024169 Rev 2
很抱歉,暂时无法提供与“STLUX385”相匹配的价格&库存,您可以联系我们找货
免费人工找货