STM8T143 STMicroelectronics, STM8T143 Datasheet
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STM8T143
Available stocks
Related parts for STM8T143
STM8T143 Summary of contents
Page 1
... November 2011 SO8 (narrow) Table 1. Device summary Feature Operating supply voltage Supported interface Operating temperature Packages Doc ID 18315 Rev 3 STM8T143 UFDFPN8 ( mm) STM8T143 2 5.5 V Individual key state output Single wire data interface − +85 °C 8-pin SO 8-pin UFDFPN 1/62 www.st.com 1 ...
Page 2
... Pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4 STM8T ProxSense technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.1 Capacitive sensing overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Charge-transfer acquisition principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.3 Internal sampling capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.4 Electrode parasitic capacitance compensation (EPCC STM8T143 processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.1 Automatic electrode tuning (AET 5.2 Signal calculation and reference calibration . . . . . . . . . . . . . . . . . . . . . . . 16 5.3 Detection and release thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.4 Dynamic calibration (DYCAL 5.5 Environment control system (ECS 5.5.1 5 ...
Page 3
... STM8T143 7 Typical application diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 8 Design guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 8.1 Sensitivity adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 8.1.1 9 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.1.1 9.1.2 9.1.3 9.1.4 9.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.3.1 9.3.2 9.3.3 9.4 Regulator and reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 9.5 Capacitive sensing characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.6 Streaming mode characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 9.7 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 9.7.1 9.7.2 9.7.3 9.7.4 9.7.5 9.7.6 10 Package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 10.1 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 10.1.1 10.1.2 10.2 Package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 10.2.1 11 Ordering information ...
Page 4
... Contents 11.1 STM8T143 ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . 53 11.2 Orderable favorite device lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 11.3 In-factory option byte programming service . . . . . . . . . . . . . . . . . . . . . . . 54 11.4 Revision code on device markings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 12 STM8T143 programming tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 13 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4/62 Doc ID 18315 Rev 3 STM8T143 ...
Page 5
... STM8T143 List of tables Table 1. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Table 2. STM8T143 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Table 3. Option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 4. Option byte description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Table 5. Pin 1 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Table 6. Pin 8 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Table 7. Data streaming frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 8. Voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Table 9. Current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Table 10. Thermal characteristics Table 11. Operating characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Table 12. ...
Page 6
... SO8 narrow recommended footprint (dimensions in mm Figure 24. UFDFPN8-lead ultra thin fine pitch dual flat package (MLP) package outline . . . . . . . . . . 50 Figure 25. UFDFPN recommended footprint (dimensions in mm Figure 26. STM8T143 ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Figure 27. SO8 package marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Figure 28. UFDFPN8 package marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Figure 29. ...
Page 7
... Lastly, there is no need for a clear opening on the bezel to let light pass through. The STM8T143 is offered in 8-pin packages and features both touch and proximity sensing outputs. The STM8T143 touch pad can sense through almost any dielectric and thereby allows the electronics to be contained in a sealed enclosure. Note: ProxSense™ ...
Page 8
... Block diagram 2 Block diagram Figure 1. STM8T143 block diagram RC oscillator The 1-MHz RC oscillator is an internal fixed frequency oscillator used to supply the clock to the MCU system engine. Voltage regulator The voltage regulator has an internal comparison and feedback circuit that ensures the V voltage is kept stable and constant. The regulator requires an external smoothing REG capacitor ...
Page 9
... STM8T143 Advanced ProxSense engine The advanced ProxSense engine circuitry uses a charge-transfer method to detect capacitance changes. It features: ● An analog voltage comparator ● A programmable internal sampling capacitor ● A system that allows the ground parasistic capacitance to be compensated to improve the system sensitivity. This system is called electrode parasistic capacitance compensation (EPCC) ...
Page 10
... Pin descriptions 3 Pin descriptions Figure 2. SO8 pinout Figure 3. UFDFPN8 pinout 1. Control mode 2. Dual output mode 3. Data streaming mode 10/62 Doc ID 18315 Rev 3 STM8T143 ...
Page 11
... STM8T143 Table 2. STM8T143 pin descriptions Pin Mode no. Control mode 1 Dual output mode Data streaming mode Control mode 8 Dual output mode 1. S: power supply, SNS: capacitive sensing, OD: output open drain, PP: output push-pull, and I: input 2. Pin function depends on option byte configuration (please refer to 3. Requires a low equivalent series resistance (ESR), 1µ ...
Page 12
... STM8T touch sensing controller. Connecting the serial resistor ( the C X 12/62 Sensing electrode C X Lower capacitance Higher capacitance pin composed of a serial resistor R X pin improves ESD immunity even more. X Doc ID 18315 Rev 3 STM8T143 Figure 4 (see Figure 5). The sensing X ...
Page 13
... STM8T143 Figure 5. STM8T143 measuring circuitry 1. R must be placed as close as possible to the device. X The principle of charge transfer is to charge the electrode capacitance (C power supply. When internal sampling capacitance, referred until the voltage across the sampling capacitor C voltage (V ). The change in the electrode capacitance, caused by the presence or ...
Page 14
... STM8T ProxSense technology 4.3 Internal sampling capacitor To reduce the application cost and increase the device flexibitlity, the STM8T143 features several internal sampling capacitors to fit a wide range of applications. 4.4 Electrode parasitic capacitance compensation (EPCC) The implementation of an electrode pad in a system always induces parasitic capacitances through tracks and surrounding components ...
Page 15
... Debounce filter ● Host control input 5.1 Automatic electrode tuning (AET) AET is a sophisticated technology implemented in the STM8T143 device. It optimizes the performance of the device in a wide range of applications and environmental conditions. AET algorithm automatically adjusts the internal C optimise system performance. Please refer to: ● ...
Page 16
... STM8T143 processing Figure 7. Automatic electrode tuning (AET) 1. For the AET and gain target values, please refer to 5.2 Signal calculation and reference calibration The capacitance change, induced by the presence of a finger or a hand in the device detection area, is sensed by the variation in the number of charge transfer pulses composing the burst. The number of charge transfer pulses is called “ ...
Page 17
... The touch thresholds allow the touch sensitivity to be adapted to the panel thickness and the electrode sensitivity. ● The proximity thresholds allow the STM8T143 device to adapt to various surroundings and to tune the detection distance. The release threshold is a ratio of the the touch threshold noted (TTh). TTh is selected by the “ ...
Page 18
... STM8T143 processing Figure 8. Signal reference and detection threshold (not detailed AET HALT period after end of detection. AET_HALT 18/62 Doc ID 18315 Rev 3 STM8T143 ...
Page 19
... STM8T143 5.4 Dynamic calibration (DYCAL) The STM8T143 DYCAL process is based on a dynamic threshold and reference management which allows tracking of slow environmental changes even when the sensor is in touch state. A low threshold is used to detect the proximity of an object, with a higher threshold for touch detection. DYCAL is performed when a touch condition is detected for longer than a certain period (t operation is performed instantané ...
Page 20
... STM8T143 processing Figure example of how the system behaves with a water residue when it is managed by DYCAL. Figure 10. DYCAL operation with water residue AET HALT period after end of detection. AET_HALT Touch freeze threshold. Please refer to F filter formula for the T Th description ...
Page 21
... STM8T143 Figure example of how the system behaves with a water residue if the system is not managed by DYCAL. Figure 11. No DYCAL Doc ID 18315 Rev 3 STM8T143 processing 21/62 ...
Page 22
... The acquired signal value of the capacitive sensing channel increases or decreases according to environmental conditions such as temperature, power supply, moisture, and surrounding conductive objects. The STM8T143 includes a built-in digital infinite impulse response (IIR) filter capable of tracking slow changes in the environment called the environment control system (ECS) ...
Page 23
... The dashed lines in this case, detection is lost before the user exits the electrode detection area. The plain lines represent normal device processing with the ECS stop. Figure 13 represent the reference and thresholds if ECS is not halted. In Doc ID 18315 Rev 3 STM8T143 processing Figure 13. 23/62 ...
Page 24
... STM8T143 processing 5.5.3 Reference freeze and reference freeze timeout To prevent an object under detection from influencing the reference value, the ECS is halted as soon as a proximity detection happens: PTh < Δ(signal) < TTh. Consequently, the reference is frozen. In order to recover from a sudden environment change, the reference freeze ends after a maximum programmable delay called the “ ...
Page 25
... To track the environmental changes more accurately and to manage the detection occurrence more efficiently, different ECS filter K co-efficient values are set according to the signal range and detection state. filter K co-efficient value in different situations. Figure 15. ECS filter K constant management Figure 15: ECS filter K constant management Doc ID 18315 Rev 3 STM8T143 processing provides the 25/62 ...
Page 26
... STM8T143 processing 5.6 Debounce filter The purpose of the debounce filter mechanism is to reduce the effects of noise on the touch and proximity detection. Debouncing is applied to acquisition samples to filter undesired abrupt changes. The principle is to wait for several consecutive acquisitions with the signal on the same side of a threshold before reporting the change in detection state induced by this threshold crossing ...
Page 27
... STM8T143 6 Device operation The STM8T143 can be configured through a set of user-selectable one-time programmable (OTP) option bytes. These options can be used in their default (unconfigured) state or set for specific applications. For large orders, preconfigured devices are available (please refer to Section 11: Ordering The available options include: ● ...
Page 28
... Bit 1: Reserved, must be cleared Bit 0: Dual output/Control mode (see 0: Pin 8 in Control input mode 1: Pin 8 in Proximity output mode 28/62 Description Section 6.2.3: Data streaming Section 6.4: Power DYCAL Section 6.2.1: Dual output Doc ID 18315 Rev 3 Section 6.2.2: Control mode) mode) modes) Section 5.6: Debounce filter) mode) STM8T143 ...
Page 29
... STM8T143 Table 4. Option byte description (continued) Option byte no. Bits [7:5]: Touch detection threshold (TTh) 000: 40 001: 60 010: 100 011: 200 100: 360 101: 500 110: 700 111: 900 Bit [4:3]: Proximity detection threshold (PTh) 00: 4 OPT0 01: 8 10: 16 11: 32 Bit 2: Reserved, must be cleared ...
Page 30
... Device operation 6.2 Device operating modes The STM8T143 device provides three operating modes: ● Dual output mode ● Control mode ● Data streaming mode These modes are selected through the option bytes. 6.2.1 Dual output mode The device is configured by default in Control mode. The Dual output/Control mode bit allows the user to configure pin 8 of the device in Control input or Proximity output ...
Page 31
... STM8T143 6.2.2 Control mode In Control mode, pin 8 can be used to halt the conversion or to freeze the reference (refer to Section 5.4: Dynamic calibration Halt conversion control mode When the conversion is halted, the device is in low power consumption state (see device electrical characteristics). In this state, the CTRL pin can be used to manage the power consumption and/or control the acquisition to synchronize the sampling burst with external events ...
Page 32
... Each byte sent is preceeded by a START bit; a STOP bit follows every byte. 5. The STOP bit does not have a defined period. Figure 16. Data streaming frame Data streaming is initiated by the STM8T143. When data streaming is enabled, a frame is sent after each charge cycle. Therefore, the acquisition is not disturbed by the communication itself. 32/62 ...
Page 33
... STM8T143 Frame format The content of the data frame is described in Table 7. Data streaming frame Byte # 6.3 Output polarity The polarity can be chosen to define POUT and TOUT active state during a detection event such as high or low. When the device is configured in output active low, pin open drain configuration. ...
Page 34
... Device operation 6.4 Power modes The STM8T143 device offers four power modes which are specifically designed for battery applications: ● Normal power mode ● Low power mode 1 ● Low power mode 2 ● Low power mode 3 The difference between the four power modes is the t ...
Page 35
... STM8T143 7 Typical application diagram Figure 17. Typical application schematic for Control mode optional for added ESD protection X 2. Active low open drain output pin or push-pull active high 3. Keep track as short as possible optional for added IC stability VDD 5. Please refer to Table 9: Current characteristics Figure 18 ...
Page 36
... Figure 19. Typical application schematic for Data streaming mode optional for added ESD protection X 2. Open drain output pin 3. Keep track as short as possible optional for added IC stability VDD 5. Please refer to Table 9: Current characteristics 36/62 for the maximum output load drive current capability Doc ID 18315 Rev 3 STM8T143 ...
Page 37
... STM8T143 8 Design guidelines 8.1 Sensitivity adjustment Several factors impact device sensitivity: ● The sensing electrode material and size ● The touch panel material and thickness ● The board layout and in particular the sensing signal tracks ● The ground coupling of the object (finger or hand) and sensor ● ...
Page 38
... Unless otherwise specified, all typical curves are given only as design guidelines and are not tested. 9.1.4 Loading capacitor The loading conditions used for pin parameter measurement are shown in Figure 20. Pin loading conditions 38/ ° °C, and V A Output pin 50 pF Doc ID 18315 Rev 3 STM8T143 . They are DD Figure 20. ...
Page 39
... STM8T143 9.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 device reliability ...
Page 40
... Normal power mode Low power mode 1 Low power mode 2 Low power mode 3 Control halt mode 1. Tested in production. 2. Not applicable for Silicon revision 1, please refer to the STM8T143 errata sheet (STM8T143 device limitations). Note: Consumption does not depend on detection thresholds. 9.3.3 I/O pin characteristics Table 13. ...
Page 41
... STM8T143 Table 14. POUT/TOUT pin characteristics Symbol Guaranteed by characterization, not tested in production. Table 15. CTRL pin characteristics Symbol Guaranteed by characterization, not tested in production. ...
Page 42
... Gain target value B Gain target value C Gain target value D Gain Gain target value E Gain target value F Gain target value G Gain target value H 42/62 SAMPLING Parameter (3) Doc ID 18315 Rev 3 STM8T143 are guaranteed by period, and the debouncing Min Typ Max Unit (1) (1) 255 250 275 kHz ...
Page 43
... STM8T143 Table 17. General capacitive sensing characteristics (continued) Symbol Time after recalibration before optimal device sensitivity (see t RECAL Note: this value depends on the signal variation including noise level t Device startup time SU Detection debounce count (touch) DDC Detection debounce count (proximity) End of detection debounce count (touch) ...
Page 44
... Electrical characteristics Table 19. Implemented EPCC values (pF) General name Implemented capacitance values Maximum PCC capacitance value 1. Not applicable for current revision, please refer to the STM8T143 errata sheet (STM8T143 device limitations). Table 20. External sensing component characteristics Symbol C Equivalent electrode capacitance X C Equivalent touch capacitance ...
Page 45
... STM8T143 9.7 EMC characteristics Susceptibility and emission tests are performed on a sample basis during product characterization. Both the sample and its applicative hardware environment are mounted on a dedicated specific EMC board defined in the IEC61967-1 standard. 9.7.1 Functional EMS (electromagnetic susceptibility) While running in the above described environment the product is stressed by two electromagnetic events until a failure occurs. ● ...
Page 46
... JEDEC specifications, that means when a device belongs to class A it exceeds the JEDEC standard. Class B strictly covers all the JEDEC criteria (international standard). 46/62 Ratings = +25°C, conforming JESD22-A114 = +25°C, conforming JESD22-C101 Parameter = +25 ° +85 ° Doc ID 18315 Rev 3 Maximum Conditions Class value Conditions STM8T143 Unit (1) kV (1) Class A ...
Page 47
... STM8T143 10 Package characteristics 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® trademark. Doc ID 18315 Rev 3 Package characteristics ...
Page 48
... Doc ID 18315 Rev 45˚ c 0.25 mm GAUGE PLANE SO-A (1) inches Min Typ - - 0.0039 - 0.0492 - 0.0110 - 0.0067 - - - 0.1890 0.1929 0.2283 0.2362 0.1496 0.1535 - 0.0500 0.0098 - 0° - 0.0157 - - 0.0409 STM8T143 Max 0.0689 0.0098 - 0.0189 0.0091 0.0039 0.1969 0.2441 0.1575 - 0.0197 8° 0.0500 - ...
Page 49
... STM8T143 Figure 23. SO8 narrow recommended footprint (dimensions in mm) 1. Drawing is not to scale. Doc ID 18315 Rev 3 Package characteristics 49/62 ...
Page 50
... Doc ID 18315 Rev 3 STM8T143 UFDFPN-01 (1) inches Min Typ Max 0.0177 0.0217 0.0236 0.0000 0.0008 0.0020 0.0079 0.0098 0.0118 0.0748 0.0787 0.0827 0.0591 ...
Page 51
... STM8T143 Figure 25. UFDFPN recommended footprint (dimensions in mm) 1. Drawing is not to scale. Doc ID 18315 Rev 3 Package characteristics 51/62 ...
Page 52
... V , expressed in Watts. This is the maximum chip Σ(( )* and Parameter Doc ID 18315 Rev 3 x Θ ) Dmax INTmax I/Omax /I of the I/Os at low and high level in OH Value 130 120 STM8T143 Unit °C/W °C/W ...
Page 53
... TR: tape and reel 1. See explanation below of “in factory option byte programming service” 2. The STM8T143 OTP devices are available for development and production. These parts are blank devices with unconfigured option bytes (all option bits are set to ‘0’). STM8T 143 ...
Page 54
... Ordering information 11.2 Orderable favorite device lists The STM8T143 OTP devices listed below are available for development and production. These parts are blank devices with unconfigured option bytes (all option bits are set to ‘0’). Contact STMicroelectronics sales office for availability. For more information, please refer to ● ...
Page 55
... STM8T143 Figure 27. SO8 package marking Figure 28. UFDFPN8 package marking Doc ID 18315 Rev 3 Ordering information 55/62 ...
Page 56
... Ordering information STM8T143 programming service option list rev 2 (last update: Nov 2011) Customer name: Address: Contact name: Phone number: Output type (used only in CTRL mode – see Proximity output (1) Touch output Release threshold ratio (1) Gain target ...
Page 57
... STM8T143 12 STM8T143 programming tool Figure 29 shows the STM8T143 programming tool. To program the device option bytes the following materials are available: ● Programming socket board (STM8T1X1-SB). When connected to the programming dongle, this board allows the programming of SO8 or UFDFPN8 devices. ● A programming dongle (ST-TSLINK) and its associated programming software, STVP. ...
Page 58
... Table 15: CTRL pin characteristics: replaced all TBDs with values; added condition 25 °C; added footnote Section 9.5: Capacitive sensing 25 °C. Doc ID 18315 Rev 3 Changes Figure 1: STM8T143 block diagram, (POR), and updated Advanced ProxSense to fit a wide range capacitor: added ‘ processing: realigned bullet points according ...
Page 59
... MHz. OSC ratings: updated class, max value 2. pinout: updated pins 1 and 8. descriptions: updated layout and content. circuitry: changed “STM8T143” to processing: updated title; updated second (AET): text updated to Figure 7: Automatic electrode tuning calibration: removed thresholds: small text changes, Figure 8: Signal reference and detection ...
Page 60
... Table 7: Data Section diagram: moved after Section 6: mode: renamed 1. consumption: updated with new typ and 2. characteristics: removed characteristics: added “TOUT” to table 1. from “Typ” column. voltage: updated first condition. characteristics: removed “Test characteristics: added typ 3. and 4. STM8T143 Table 5: mode. 6. mode: mode: ...
Page 61
... Figure 23: SO8 narrow recommended footprint (dimensions in added. Figure 25: UFDFPN recommended footprint (dimensions in mm): added. 3 Figure 26: STM8T143 ordering information cont’d package and device configuration information; updated footnote Section 11.2: Orderable favorite device UFDFPN8 OTP device and added rev 2 UFDFPN8 OTP device. ...
Page 62
... 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 62/62 Please Read Carefully: © 2011 STMicroelectronics - All rights reserved STMicroelectronics group of companies www.st.com Doc ID 18315 Rev 3 STM8T143 ...