STLUX385 Digital controller for lighting and power supply applications with 6 programmable PWM generators, 96 MHz PLL, DALI Datasheet preliminary data Features Core Max f : 16 MHz CPU TSSOP38 Advanced STM8 core with Harvard architecture and 3-stage pipeline Extended instruction set 2 Memories I C master/slave fast-slow speed rate Flash and EEPROM with read while write DALI ballast target device interface (RWW) and error correction code (ECC) Analog to digital converter (ADC) capability 10-bit, 8 multiplexed channels, sequencing Program memory: 32 Kbytes Flash data functionality retention 15 years at 85 C after 10 kcycles Operational amplifier to extend dynamic at 25 C range and resolution to 12-bit equivalent Data memory: 1 Kbyte true data EEPROM Independent channel gain value data retention: 15 years at 85 C after 100 configurations: x1.6 or x6.4 kcycles at 85 C Analog comparators RAM: 2 Kbytes 4 analog comparators with internal Clock management programmable reference voltage Low power crystal resonator oscillator with generated by 4 internal programmable 4-bit external clock input DACs Internal, user-trimmable 16 MHz RC and 1 analog comparator with additional low power 153.6 KHz RC oscillators external reference voltage Internal 96 MHz PLL Comparator cycle time: 50 ns max Clock security system with clock monitor Repetitive conversion Interrupt management I/Os Nested interrupt controller with 32 interrupt 12 I/Os multifunction signals vectors Highly robust I/O design, immune against Three interrupt priority levels current injection Up to 12 external interrupt request lines on Operating temperature 2 vectors -25 C to 105 C Programmable NMI interrupt sources Peripherals specific product Description 6 SMEDs (state machine event driven) independent PWM programmable pulse The STLUX385 is a digital controller for lighting signal generators and power supply applications featuring 6 programmable PWM generators, 96 MHz PLL, Communication interfaces gain-programmable ADC and DALI interface. UART asynchronous: sw flow-control operating mode February 2013 Doc ID 024169 Rev 2 1/10 This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to www.st.com 10 change without notice. Introduction STLUX385 1 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: 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 2/10 Doc ID 024169 Rev 2