UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable...

43
October 2012 Doc ID 023725 Rev 1 1/43 UM1578 User manual Demonstration and development platform for applications based on touch sensing microcontrollers Introduction The STMT-BOX TM platform is designed as a complete demonstration and development platform for STMicroelectronics touch sensing microcontrollers. It includes three independent boards that can be connected together as shown in Figure 1. A display board, see Chapter 2: STMT-BOX display board. The STMT-BOX display board is designed around an STM32F103x microcontroller. The board features peripherals such as USB full speed, color LCD with resistive touch panel, buzzer and two user LEDs. The interface with touch and isolation board is performed through one 40-pin connector. A second 20-pin connector is available to connect an extension board. The STMT-BOX display board also embeds an ST- LINK/V2 in-circuit debugger and programmer for the display microcontroller or touch microcontroller. An isolation board, see Chapter 3: STMT-BOX isolation board. The STMT-BOX isolation board is an optional board which can be connected between the display board and the touch keypad board. All the connector signals are galvanic isolated by digital isolator chips. This isolation board can be used during the development cycle to measure and adjust capacitive sensing parameters with a limited influence on the capacitive sensing signals to be measured. A touch keypad board, see Chapter 4: STMT-BOX STM8TL53 touch keypad board. The STMT-BOX STM8TL53 touch keypad board features 7 icon touchkeys, 2 touchkeys simulating a linear sensor, and 10 touchkeys organized as a numeric pad. It allows demonstrating the features and performance of the STM8-based touch sensing STM8TL53 microcontroller for designers willing to implement a similar touch sensing technology in their application. Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031 (2) STM8TL53BOX/P01 (3) (1): Board title (2): PCB number (3): PCB name STMT-BOX ISOLATION (1) MB1032 (2) STMTBOX/ISO1 (optional) (3) STMT-BOX DISPLAY (1) MB1033 (2) STMTBOX/DISP (3) www.st.com www.BDTIC.com/ST

Transcript of UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable...

Page 1: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

October 2012 Doc ID 023725 Rev 1 1/43

UM1578User manual

Demonstration and development platform for applications based ontouch sensing microcontrollers

IntroductionThe STMT-BOXTM platform is designed as a complete demonstration and development platform for STMicroelectronics touch sensing microcontrollers. It includes three independent boards that can be connected together as shown in Figure 1.

● A display board, see Chapter 2: STMT-BOX display board.

The STMT-BOX display board is designed around an STM32F103x microcontroller. The board features peripherals such as USB full speed, color LCD with resistive touch panel, buzzer and two user LEDs. The interface with touch and isolation board is performed through one 40-pin connector. A second 20-pin connector is available to connect an extension board. The STMT-BOX display board also embeds an ST-LINK/V2 in-circuit debugger and programmer for the display microcontroller or touch microcontroller.

● An isolation board, see Chapter 3: STMT-BOX isolation board.

The STMT-BOX isolation board is an optional board which can be connected between the display board and the touch keypad board. All the connector signals are galvanic isolated by digital isolator chips.

This isolation board can be used during the development cycle to measure and adjust capacitive sensing parameters with a limited influence on the capacitive sensing signals to be measured.

● A touch keypad board, see Chapter 4: STMT-BOX STM8TL53 touch keypad board.

The STMT-BOX STM8TL53 touch keypad board features 7 icon touchkeys, 2 touchkeys simulating a linear sensor, and 10 touchkeys organized as a numeric pad. It allows demonstrating the features and performance of the STM8-based touch sensing STM8TL53 microcontroller for designers willing to implement a similar touch sensing technology in their application.

Figure 1. STMT-BOX touch keypad

Table 1. Applicable tools

Type Applicable tools

Development tools STMT_BOX

MS31269V1

STMT-BOX STM8TL53 TOUCH KEYPAD (1)

MB1031 (2)

STM8TL53BOX/P01 (3)

(1): Board title(2): PCB number(3): PCB nameSTMT-BOX ISOLATION (1)

MB1032 (2)

STMTBOX/ISO1 (optional) (3)

STMT-BOX DISPLAY (1)

MB1033 (2)

STMTBOX/DISP (3)

www.st.com

www.BDTIC.com/ST

Page 2: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Contents UM1578

2/43 Doc ID 023725 Rev 1

Contents

1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.2 Demonstration firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.3 Ordering code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2 STMT-BOX display board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.1 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.1.1 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.1.2 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.1.3 Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.1.4 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.1.5 Buzzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.1.6 Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.1.7 Voltage supported by connector signals . . . . . . . . . . . . . . . . . . . . . . . . 11

2.2 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

2.2.1 User USB MINI-B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

2.2.2 ST-LINK/V2 programming connector CN2 . . . . . . . . . . . . . . . . . . . . . . . 12

2.2.3 ST-LINK/V2 USB type B connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . 13

2.2.4 Extension board connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

2.2.5 Isolation/touch board connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . 14

2.2.6 High density JTAG/SWD connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . 14

3 STMT-BOX isolation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.1 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.2 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3.3 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4 STMT-BOX STM8TL53 touch keypad board . . . . . . . . . . . . . . . . . . . . . 19

4.1 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

4.1.1 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.1.2 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.1.3 Touchkeys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.1.4 LED display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.1.5 Communication interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

www.BDTIC.com/ST

Page 3: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Contents

Doc ID 023725 Rev 1 3/43

4.1.6 Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.1.7 Test point on RF_IN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.2 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.2.1 USB MINI-B connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.2.2 SWIM connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

4.2.3 Display/isolation board connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . 23

Appendix A Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

A.1 Display board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

A.2 Isolation board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

A.3 Touch keypad board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Appendix B STMT-BOX STM8TL53 touch keypad board MCU IO assignment . 36

Appendix C STMT-BOX display MCU IO assignment . . . . . . . . . . . . . . . . . . . . . 38

Appendix D Display//isolation/touch connector signals assignment . . . . . . . . 40

5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

www.BDTIC.com/ST

Page 4: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

List of tables UM1578

4/43 Doc ID 023725 Rev 1

List of tables

Table 1. Applicable tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Table 2. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Table 3. SWD jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Table 4. USB MINI-B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Table 5. USB MINI-B connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Table 6. Extension board connector CN4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Table 7. High density JTAG/SWD debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Table 8. Power supply related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Table 9. Communication interface related resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Table 10. USB MINI-B connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Table 11. SWIM connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Table 12. STMT-BOX STM8TL53 touch keypad board MCU IO assignment. . . . . . . . . . . . . . . . . . . 36Table 13. STMT-BOX STM8TL53 touch keypad board MCU IO assignment. . . . . . . . . . . . . . . . . . . 38Table 14. Display/isolation/touch connector signals assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Table 15. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

www.BDTIC.com/ST

Page 5: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 List of figures

Doc ID 023725 Rev 1 5/43

List of figures

Figure 1. STMT-BOX touch keypad. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 3. STMT-BOX display board top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Figure 4. STMT-BOX display board bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Figure 5. JP1-JP5 settings to connect SWD to on board control MCU . . . . . . . . . . . . . . . . . . . . . . . 10Figure 6. JP1-JP5 settings to connect SWD to touch MCU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 7. USB MINI-B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 8. USB MINI-B connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 9. High density JTAG/SWD debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 10. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 11. STMT-BOX isolation board top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 12. STMT-BOX isolation board bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Figure 13. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Figure 14. STMT-BOX STM8TL53 touch keypad board top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Figure 15. STMT-BOX STM8TL53 touch keypad board bottom layout . . . . . . . . . . . . . . . . . . . . . . . . 20Figure 16. USB MINI-B connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Figure 17. STMT-BOX display, power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Figure 18. STMT-BOX display, MCU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Figure 19. STMT-BOX display, ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Figure 20. STMT-BOX display, voltage translators and connectors . . . . . . . . . . . . . . . . . . . . . . . . . . 27Figure 21. STMT-BOX display, LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Figure 22. STMT-BOX isolation, connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Figure 23. STMT-BOX isolation, communication ports galvanic isolation . . . . . . . . . . . . . . . . . . . . . . 30Figure 24. STMT-BOX isolation, debug ports galvanic isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Figure 25. STMT-BOX STM8TL53 touch keypad, touch keypad board . . . . . . . . . . . . . . . . . . . . . . . 32Figure 26. STMT-BOX STM8TL53 touch keypad, MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Figure 27. STMT-BOX STM8TL53 touch keypad, key and LED matrix. . . . . . . . . . . . . . . . . . . . . . . . 34Figure 28. STMT-BOX STM8TL53 touch keypad, power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

www.BDTIC.com/ST

Page 6: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Overview UM1578

6/43 Doc ID 023725 Rev 1

1 Overview

1.1 Features● Display board (STMT-BOX display)

– Core: STM32F103CBT6 microcontroller

– Embedded ST-LINK/V2

– Two 5 V power supply options: ST-LINK/V2 USB connector or user USB connector

– 240 x 320 TFT color LCD with touch capability

– Reset pushbutton

– 2 blue user LEDs and one buzzer

– Connector for isolation/touch board

– Connector for extension board

– USB full speed user connector

– Voltage translators supporting touch keypad board powered from 1.65 V to 3.6 V

● Isolation board (STMT-BOX isolation)

– Connectors for display board and touch keypad board.

– Galvanic isolation for USART, SPI, I2C, interrupt input, digital output, SWIM and SWD signals

– Touch application voltage supported from 2.7 V to 3.6 V

● Touch keypad board (STMT-BOX STM8TL53 touch keypad)

– Core: STM8TL53C4U6 touch sensing microcontroller

– Three 5 V power supply options: USB, 5 V supplied from display board, or battery

– 1.65 V to 3.6 V on-board voltage regulator

– Power supply consumption measurement capability

– 19 touchkeys

– 22 blue LEDs to report touchkeys status

– SWIM interface for debug support

– Display/isolation board connector

– SPI/USART/I2C communication capability

1.2 Demonstration firmwareFor easy demonstration of the device peripherals in standalone mode, a demonstration firmware is preloaded in the display board STM32F103x Flash memory and in the touch board STM8TL53 Flash memory.

This demonstration firmware allows visualizing touchkey buttons status together with the values of the associated sensing parameters (signals and detection threshold).

In addition the STM8TL53 parameters can be monitored and tuned by using the STM-STUDIO application. The parameter values can be visualized by connecting the touch keypad board to a computer and by using either the display board or an ST-LINK/V2.

For more information and to download the latest version available, please refer to the STMT-BOX demonstration software available on www.st.com.

www.BDTIC.com/ST

Page 7: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Overview

Doc ID 023725 Rev 1 7/43

1.3 Ordering code

Table 2. Device summary

Part number Order code

STMT-BOX STMT-BOX01

www.BDTIC.com/ST

Page 8: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX display board UM1578

8/43 Doc ID 023725 Rev 1

2 STMT-BOX display board

2.1 Hardware layout and configurationSTMT-BOX display board is designed around an STM32F103CBT6 microcontroller (128Kbyte Flash memory 48-pin QFP package). The hardware block diagram in Figure 2 illustrates the connection between STM32F103CBT6 and peripherals (Color LCD with touch keypad, USB FS connector, Buzzer, reset button and embedded ST-LINK/V2). Figure 3 and Figure 4 will help you locate these features on the actual boards.

Figure 2. Hardware block diagram

MS31280V1

Extension connector

Touch / isolation connector

Voltage translator

SW

IM

SW

D

I2C1

SP

I2

US

AR

T1

I2C1

SP

I2

US

AR

T1

STM32F103CBT6 Control MCU

US

AR

T2

TFT LCD with resistive touch panel

SP

I1

User USB connector

USB

JTAG/SWDconnector

1

2

3

SW

D

SWD/JTAG

SWD

Jumper JP1-JP5

STM32F103C8T6 ST-LINK/V2

Buzzer

Reset button

Display board

ST-LINK/V2 USB

connectorUSB SWD

SWIM

www.BDTIC.com/ST

Page 9: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX display board

Doc ID 023725 Rev 1 9/43

Figure 3. STMT-BOX display board top layout

Figure 4. STMT-BOX display board bottom layout

MS31281V1

TFT LCD with resistive touch

panel

LD3 ST-LINK/V2 COM

LD4 power

LD2 user LED (PB1)

LD1 user LED (PB0)

MS31282V1

LD4 power LED

LS1 buzzer

CN4extension connector

JP1-JP5 SWD Jumpers

CN5 touch/isolation connector

U2display MCU

U3ST-LINK/V2

MCU

CN1 MINI-B USB FS connector

B1 reset button

CN3 ST-LINK/V2 MINI-B USB

connector

CN7 JTAG/SWD connector

LD1 user LED (PB0)

LD2 user LED (PB1)

LD3 ST-LINK/V2 COM

www.BDTIC.com/ST

Page 10: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX display board UM1578

10/43 Doc ID 023725 Rev 1

2.1.1 Development and debug support

The version 2 of the ST-LINK called ST-LINK/V2 is embedded on STMT-BOX display board.

A specific driver needs to be installed on your PC to communicate with the embedded ST-LINK/V2. The install shield called ST-LINK_V2_USBdriver.exe is available on the web. To download and install this driver, please refer to software and development tools page for STM32 family available on www.st.com.

Note: Launching the STToolset wizard that includes STVD and STVP software will automatically take care of this driver installation.

The embedded ST-LINK/V2 is connected to the PC via a MINI-B USB cable connected to connector CN3.The bicolor LED LD3 (COM) indicates the status of the communication as follows:

● Slow blinking Red/Off: at power-on before USB initialization

● Fast blinking Red/Off: after the first correct communication between PC and ST-LINK/V2 (USB device enumeration process)

● Red LED On: When initialization between PC and ST-LINK/V2 is successfully finished

● Green LED On: After successful touch communication initialization

● Blinking Red/Green: during communication with touch

● Red On: Communication finished and OK

● Orange On: Communication failure

The embedded ST-LINK/V2 can be used to download and debug code on touch board using SWD or SWIM interface present on CN5 connector. The embedded ST-LINK/V2 can also be used to download and debug a code on display board MCU (U2) via SWD. When using the SWD, the selection of the device is handled by the jumpers (JP1-JP5). All jumpers should be fitted on pin1-2 or pin2-3 at the same time.

Figure 5. JP1-JP5 settings to connect SWD to on board control MCU

Table 3. SWD jumpers

Jumper Description

JP1:T_NRST

JP2:T_JTCK

JP3:T_JTMSJP4:T_SWDIO_IN

JP5:AIN_1

JP1-JP5 are used to connect SWD to the on-board microcontroller MCU when jumpers are set as shown in Figure 5 (1).

1. Default setting

JP1-JP5 are used to connect SWD to touch MCU when jumpers are set as shown in Figure 6.

MS31283V1

1

3

2JP5

1

3

2JP2

1

3

2JP1

1

3

2JP3

1

3

2JP4

www.BDTIC.com/ST

Page 11: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX display board

Doc ID 023725 Rev 1 11/43

Figure 6. JP1-JP5 settings to connect SWD to touch MCU

Note: An external SWD tool can be connected to CN7 to download and debug the STM32F103CBT6 (U2) code.

2.1.2 Power supply

The STMT-BOX display board is designed to be powered by a 5 V DC power supply from one of the following two sources:

● 5 V DC power supply with 500 mA limitation delivered by CN1 MINI-B USB connector (USB 5 V power supply source on silkscreen (USB)).

● 5 V DC power supply with 500 mA limitation delivered by CN3, the MINI-B USB connector of ST-LINK/V2 (USB 5 V power supply source on silkscreen (ST-LINK/V2)).

LED LD4 lighting confirms the presence of a 5 V power supply correctly applied to the STMT-BOX display board.

2.1.3 Reset sources

Both the display MCU board and the touch MCU board can be reset by the embedded ST-LINK/V2. You can also use the reset button B1 located on the right edge of the display board to reset the whole system except for the ST-LINK/V2 MCU which is reset only at board power-on.

2.1.4 USB

The STMT-BOX display board supports USB2.0 compliant full speed communication via a MINI-B USB connector (CN1). The board can be powered by this USB connection at 5 V DC with 500 mA current limitation.

2.1.5 Buzzer

A buzzer is driven by PB4 of the display board MCU (U2) used as timer 3 alternate function channel 1.

2.1.6 Displays

The 240x320 TFT color LCD with resistive touch panel is connected to SPI1 interface of the display board MCU (U2). In addition, 2 general purpose blue LEDs (LD1 and LD2) are available.

2.1.7 Voltage supported by connector signals

In order to support wide range voltage (1.65 V to 3.6 V) signals on touch keypad board, all signals on isolation/touch board connector are voltage translated from 3.3 V to touch voltage level by voltage translator. They include the SWIM, SWD, SPI2, USART1 and I2C1 signals as well as the wakeup signals to/from the touch keypad board.

MS31284V1

JP5JP2JP1JP3JP4

1

3

2

1

3

2

1

3

2

1

3

2

1

3

2

www.BDTIC.com/ST

Page 12: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX display board UM1578

12/43 Doc ID 023725 Rev 1

The SPI1, USART2 and system signals available on the extension board connector only support 3.3 V.

Note: If the isolation board is used between display board and touch board, voltage level range of these signals is reduced to 2.7 V to 3.6 V because isolation chip Si8420BB-D-IS does not support voltage below 2.7 V.

2.2 Connector

2.2.1 User USB MINI-B connector CN1

Figure 7. USB MINI-B connector CN1

2.2.2 ST-LINK/V2 programming connector CN2

The connector CN2 is used only for embedded ST-LINK/V2 programming during board manufacturing. It is not populated by default and not for end user.

Table 4. USB MINI-B connector CN1

Pin number Description

1 VBUS (power supply)

2 DM

3 DP

4 ID

5 GND

MS31276V1

Front view

www.BDTIC.com/ST

Page 13: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX display board

Doc ID 023725 Rev 1 13/43

2.2.3 ST-LINK/V2 USB type B connector CN3

The USB connector CN3 is used to connect the embedded ST-LINK/V2 to PC.

Figure 8. USB MINI-B connector CN3

2.2.4 Extension board connector CN4

A 20-pin female connector CN4 is used to connect an extension board. The pin assignment is shown in Table 6.

Table 5. USB MINI-B connector CN3

Pin number Description

1 VBUS (power supply)

2 DM

3 DP

4 ID

5 GND

MS31276V1

Front view

Table 6. Extension board connector CN4

Pin No.Signal direction

(display board)Display board signal name

1 Output 3.3V

2 Ground Ground

3 Not connected

4 Not connected

5 Output SPI1_MOSI(PA7)

6 Input SPI1_MISO (PA6)

7 Output SPI1_SCK(PA5)

8 Output EXT_SPI1_CS (PB3)

9 Not connected

10 Not connected

www.BDTIC.com/ST

Page 14: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX display board UM1578

14/43 Doc ID 023725 Rev 1

2.2.5 Isolation/touch board connector CN5

A 40-pin female connector CN5 is used to connect a touch board or an isolation board. The pin assignment is shown in Appendix D.

2.2.6 High density JTAG/SWD connector CN7

Figure 9. High density JTAG/SWD debugging connector CN7

11 Output EXT_RESET (PC13)

12Output on RESET thenInput after

EXT_nStop (PB7)

13 Not connected

14 Output EXT_nSwake (PB6,TIM4_CH1)

15 Input EXT_Hwake (PA0 and PA1)

16 Output USART2_TX (PA2)

17 Not connected

18 Input USART2_RX (PA3)

19 Not connected

20 Ground Ground

Table 6. Extension board connector CN4

Pin No.Signal direction

(display board)Display board signal name

Table 7. High density JTAG/SWD debugging connector CN7

Pin number Description

1 3.3V

2 TMS/SWDAT

3 GND

4 TCK/SWCLK

5 GND

6 TDO/SWO

7 KEY

MS31285V1

9 7 5 3 1

10 8 6 4 2

Top view

www.BDTIC.com/ST

Page 15: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX display board

Doc ID 023725 Rev 1 15/43

8 TDI

9 GND

10 RESET

Table 7. High density JTAG/SWD debugging connector CN7

Pin number Description

www.BDTIC.com/ST

Page 16: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX isolation board UM1578

16/43 Doc ID 023725 Rev 1

3 STMT-BOX isolation board

3.1 Hardware layout and configurationThe hardware block diagram shown in Figure 10 illustrates the signal isolation between touch board and display board (SWIM,SWD.USART1,I2C1,SPI2). Figure 11 and Figure 12 will help you locate these features on the actual boards.

Figure 10. Hardware block diagram

Figure 11. STMT-BOX isolation board top layout

MS31277V1

Display board

Galvanic isolation

Touch keypad board

SW

IM

SW

D

US

AR

T1

I2C1

SP

I2

SW

IM

SW

D

US

AR

T1

I2C1

SP

I2

Isolation board

Display boardpower domain

Touch board power domain

MS31278V1

CN1Connector for display board

www.BDTIC.com/ST

Page 17: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX isolation board

Doc ID 023725 Rev 1 17/43

Figure 12. STMT-BOX isolation board bottom layout

3.2 Power supplyThe STMT-BOX isolation board has two power supply domains:

● One domain is powered by 3.3 V delivered from the display board on CN1

● The second domain is either powered by VDD delivered from the touch keypad board on CN2, or by an external battery connected between TP1 and TP7.

Power supplies and signals on these domains are galvanically isolated by Si8420 digital isolators.

Note: With battery supply, CN2, TP2 and TP1 on STM8TL53 touch keypad board must remain unused

The above restriction only applies when STMT-BOX isolation board second power supply domain is powered by an external battery connected between TP1 (5 V) and TP7 (touch GND). This is because in that case the battery also supplies the touch board (STMT-BOX touch).

On touch keypad board, VDD power supply ranges from 1.65 V to 3.6 V. However all isolation board signals have a reduced voltage level range (2.7 V to 3.6 V) due to the presence of an isolation chip (Si8420BB-D-IS) requiring a minimum power supply voltage of 2.7 V.

MS31279V1

CN1Connector for display board

CN2Connector for touch keypad board

CN1Connector for display board

www.BDTIC.com/ST

Page 18: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX isolation board UM1578

18/43 Doc ID 023725 Rev 1

3.3 ConnectorsThe isolation board is connected to the display board and the touch board through the CN1 40-pin connector and the CN2 40-pin connector, respectively. The pin assignment is shown in Appendix D.

www.BDTIC.com/ST

Page 19: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX STM8TL53 touch keypad board

Doc ID 023725 Rev 1 19/43

4 STMT-BOX STM8TL53 touch keypad board

4.1 Hardware layout and configurationThe STMT-BOX STM8TL53 touch keypad board (MB1031) is designed around the STM8TL53 (48-pin QFN) packaged device. The hardware block diagram in Figure 13 illustrates the connection between STM8TL53C4U6 MCU and external circuitry (touchkeys, LEDs and display board connector). Figure 14 and Figure 15 will help you locating these features on the actual evaluation board.

Figure 13. Hardware block diagram

Figure 14. STMT-BOX STM8TL53 touch keypad board top layout

MS31273V1

STM8TL53

SPI / I2C / USART / SWIM

ProxSense GPIO19 touch keys

1.65V to 3.6V adjustable regulator

Display / Isolation board connector

LEDs matrix

MS31274V1

K1 to K19 touchkeys

www.BDTIC.com/ST

Page 20: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX STM8TL53 touch keypad board UM1578

20/43 Doc ID 023725 Rev 1

Figure 15. STMT-BOX STM8TL53 touch keypad board bottom layout

4.1.1 Power supply

The STMT-BOX STM8TL53 touch keypad board is designed to be powered by a 5 V DC power supply from one of the following sources:

● 5 V DC power supply with 500 mA limitation delivered by CN2 MINI-B USB connector (USB 5 V power supply source on silkscreen (USB)).

● 5 V DC power supply delivered by CN3 display/isolation board connector.

● 4 V to 5 V battery connected between TP2 and TP1.

● 4 V to 5 V battery connected between TP1 and TP7 of STMT-BOX isolation board when used.

LED LD1 lighting confirms the presence of a 5 V power supply correctly applied to the STMT-BOX STM8TL53 touch keypad board.

The power supply is configured by setting the related jumpers JP1, JP2 as described in Table 8:

MS31275V1

LD2 to LD23Touchkeys LEDs

U2STM8TL53 touch controller

CN3display / isolationboard connector

CN2Power supply

JP2VDD selection

JP1IDD measurement

CN1SWIM connector

Table 8. Power supply related jumpers

Jumper Description

JP1

JP1 is used to measure MCU current consumption using multi-meter connected to these two pins when the jumper is removed

Default setting: Fitted

JP2

VDD power supply has a fixed voltage of 3.3 V when JP2 is fitted (Default setting).

VDD power supply voltage is adjustable from 1.65 V to 3.3 V when JP2 is not fitted. The voltage is adjusted with RV1 potentiometer.

www.BDTIC.com/ST

Page 21: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX STM8TL53 touch keypad board

Doc ID 023725 Rev 1 21/43

Test points are available to measure power supply voltages:

● TP1 and TP5 for GND

● TP2 for 5 V voltage power supply

● TP3 for VDD voltage power supply

Note: The VDD power supply range has the particularity to be reduced on isolation board compared to touch board or display board:

- VDD ranges from 1.65 V to 3.6 V on display board or touch board

- VDD ranges from 2.7 V to 3.6 V on isolation board (due to isolation chip Si8420BBD-IS requiring a minimum supply voltage of 2.7 V)

Consequently, when isolation board is connected between display and touch boards, please pay particular attention to JP2 jumper and RV1 potentiometer settings:

- if jumper JP2 is not fitted, RV1 potentiometer must be adjusted so that VDD operating voltage remains in the range 2.7 V to 3.6 V.

- if the jumper JP2 is fitted, VDD voltage is fixed and equal to 3.3 V and RV1 potentiometer setting has no effect.

4.1.2 Reset source

The reset signal of STMT-BOX STM8TL53 touch keypad board is active low and the reset sources include:

● Debugging tool from SWIM connector CN1

● Display/isolation board (STMT-BOX display) connector CN3

4.1.3 Touchkeys

19 touchkeys are available on the board. The touchkeys are connected to 4 receivers (Rx0a to Rx3a) and 5 transmitters (Rx5a to Rx9a acting as transmitters) with 1KΩ serial resistor for ESD immunity improvement. The touchkeys are divided in 3 groups as below:

● 7 touchkeys arranged in a circle

● 10 touchkeys arranged in numeric pad

● 2 touchkeys simulating a linear senor (Minus and Plus)

4.1.4 LED display

A total of 22 blue color LEDs arranged in a matrix are connected to PB0 to PB6 as data lines and PD3 to PD7 as scan lines. The LEDs are used to report touchkey status.

4.1.5 Communication interface

An optional SPI, USART or I2C communication interface is connected to the display/isolation board connector CN3.

The selection of SPI or USART or I2C communication interface is configured by setting the related resistors R37 to R40, R42 and R44 as described in Table 9:

www.BDTIC.com/ST

Page 22: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX STM8TL53 touch keypad board UM1578

22/43 Doc ID 023725 Rev 1

4.1.6 Development and debug support

The two debug connectors available on STMT-BOX STM8TL53 touch keypad board are:

1. CN1, standard 4-pins SWIM interface connector.

2. CN3, SAMTEC 40-pin connector. SWIM and RESET signals are present on this connector allowing touch MCU debug by ST-LINK/V2 embedded on display board.

4.1.7 Test point on RF_IN

One Keystone's SMT test point (TP4) is connected to RF_IN of STM8TL53 for debugging.

4.2 Connector

4.2.1 USB MINI-B connector CN2

Figure 16. USB MINI-B connector CN2

Table 9. Communication interface related resistor

Resistor Description

R42, R44 soldered. R37, R38, R39, R40 removed. SPI as communication interface.

R37, R38 soldered. R39, R40, R42, R44 removed. USART as communication interface.

R39, R40 soldered. R37, R38, R42, R44 Removed.

I2C as communication interface(Default setting).

Table 10. USB MINI-B connector CN2

Pin number Description

1 5 V DC power supply

2 Not connected

3 Not connected

4 Not connected

5 GND

MS31276V1

Front view

www.BDTIC.com/ST

Page 23: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX STM8TL53 touch keypad board

Doc ID 023725 Rev 1 23/43

4.2.2 SWIM connector CN1

4.2.3 Display/isolation board connector CN3

A 40-pin male connector CN3 is used to connect with display board or isolation board. The pin assignment is shown in Appendix D.

Table 11. SWIM connector CN1

Pin number Description

1 VDD

2 SWIM

3 GND

4 RST

www.BDTIC.com/ST

Page 24: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Schematic UM1578

24/43 Doc ID 023725 Rev 1

Appendix A Schematic

A.1 Display board

Figure 17. STMT-BOX display, power supply

11

22

33

44

DD

CC

BB

AA

STMicroelec

tronics

Title:

Number:

Rev:

Sheet of

B.1

Date:

9/20

/201

2MB1

033

15

STMTB

OX/DISP

, Pow

er

Vin

3Vo

ut2

1

U9 LD11

17S3

3TR

+5V

C31

10uF

+3V3

D4BA

T60JFILM

D5BA

T60JFILM

U5V

U5V_

ST_L

INK

R69

1K

8MHz

Clock

NRST

_IN

I2C1

_SCL

I2C1

_SDA

SWIM

_OUT

SWIM

_RST

_OUT

SWIM

_PU_

CTRL

ISO_

EN

TB_S

wake

SWDI

O_EN

nSW

DIO_

OUT

SWCL

K_TA

R

SPI2_C

S

SPI2_S

CKSP

I2_M

OSI

USAR

T1_T

X

SWCL

K_EN

n

SWDI

O_IN

SWO

SWIM

_IN

SWIM

_RST

_IN

SPI2_M

ISO

USAR

T1_R

X

TB_H

wake

SPI1_S

CK

SPI1_M

ISO

SPI1_M

OSI

EXT_

RESE

TEX

T_Hw

ake

EXT_

SPI1_C

S

EXT_

nStop

USAR

T2_T

XUS

ART2

_RX

EXT_

nSwa

ke

RESE

T#

U_Co

nnector

Connector.S

chDo

c

EXT_

Hwake

TB_H

wake

USAR

T2_T

XUS

ART2

_RX

LCD_

SPI1_C

S

SPI1_S

CK

SPI1_M

ISO

SPI1_M

OSI

I2C2

_SDA

I2C2

_SCL

SPI2_C

S

SPI2_S

CK

SPI2_M

ISO

SPI2_M

OSI

TB_S

wake

USAR

T1_T

XUS

ART1

_RX

EXT_

SPI1_C

S

BL_C

TRL

EXT_

nSwa

ke

EXT_

nStop

I2C1

_SCL

I2C1

_SDA

RESE

T#

SWDA

TSW

CLK

EXT_

RESE

T

MCO

LCD_

INT

U_MCU

MCU

.SchDo

c

LCD_

SPI1_C

SSP

I1_S

CK

SPI1_M

ISO

SPI1_M

OSI

RESE

T#

I2C2

_SDA

I2C2

_SCL

BL_C

TRL

LCD_

INT

U_LC

DLC

D.Sc

hDoc

TP1

5V PAD

TP2

3V3 PA

D

C32

10uF

SWCL

KSW

DAT

RESE

T#

NRST

_IN

SWDI

O_OU

T

SWCL

K_TA

RSW

DIO_

IN

SWIM

_IN

SWIM

_RST

_IN

SWIM

_OUT

SWIM

_RST

_OUT

MCO

SWIM

_PU_

CTRL

SWDI

O_EN

n

SWCL

K_EN

nSW

O

ISO_

EN

USAR

T1_T

XUS

ART1

_RX

U_ST

_LIN

KST

_LIN

K.SC

HDOC

1 2

LD4

597-6001-607F-RE

D

TP4

GND

www.BDTIC.com/ST

Page 25: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Schematic

Doc ID 023725 Rev 1 25/43

Figure 18. STMT-BOX display, MCU

11

22

33

44

DD

CC

BB

AA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

2MB10

332

5

STM

TBOX/DISP, M

CU

VBAT

1

PC13

2

PC14-O

SC32_IN

3

PC15

-OSC

32_O

UT

4

OSC

_IN

5

OSC

_OUT

6

/RST

7

VSS

A8

VDDA

9

PA0-WKUP

10

PA1

11

PA2-U2_

TX12

PA3-U2_RX 13

PA4 14

PA5-S1_CK 15

PA6-S1_MISO 16

PA7-S1_MOSI 17

PB0 18

PB1 19

PB2/BOOT1 20

PB10 21

VSS_1 23

VDD_1 24

PB12

25

PB11 22

PB13-S2_CK

26PB

14-S2_MISO

27PB

15-S2_MOSI

28PA

829

PA9-U1_

TX30

PA10

-U1_

RX

31PA

11-U

SB_D

M32

PA12

-USB

_DP

33PA

13-SWDAT

34VSS

_235

VDD_2

36

PA14-SWCLK37 PA1538 PB339 PB440 PB541 PB642 PB743 BOOT044 PB845 PB946 VSS_347 VDD_348

U2

STM32F1

03CBT6

+3V3

RST

+3V3

41

32

X1

MC306-G-06Q

-32.768 (m

anufacturer K

DS)[N

/A]

C3

6.8pF

C2

6.8pF

R8

0

R6

0

C4

100nF

D1

BAT6

0JFILM

R9

270

RST

EXT_

Hwake

TB_H

wake

R10

1KR11

1KR12

1K

TB_H

wake

USA

RT2

_TX

USA

RT2

_RX

LCD_S

PI1_

CS

SPI1_S

CK

SPI1_M

ISO

SPI1_M

OSI

R14

510

R13

510

+3V3

I2C2_

SDA

+3V3 I2

C2_SC

L

SPI2_C

SSP

I2_S

CK

SPI2_M

ISO

SPI2_M

OSI

TB_S

wake

USA

RT1

_TX

USA

RT1

_RX

+3V3

TB_H

wake

EXT_SPI1_CS

BL_CTRLEXT_nSwakeEXT_nStop

I2C1_SCLI2C1_SDA

R1

100K

+3V3

RES

ET#

SWDAT

SWCLK

EXT_

RES

ET

12

LD2

597-6601-607F

12

LD1

597-6601-607F

D2

BAT6

0JFILM

USB

_DM

USB

_DP

R2

1K5

R4

10

USB

R5

100K

VCC

1

D-

2

D+

3

ID4

GND

5

SHEL

L0

CN1

5075BMR-05-SM

U5V

R3

10

MCO

R7

1K

VDD

1

GND

2

LS1

KMTG

1102

USB

_DM

USB

_DP

B1

PL3-BC

LCD_INT

R16

[N/A]

R15

4K7

+3V3

I/O1

1

GND

2

I/O2

3I/O

24

Vbu

s5

I/O1

6U1

USB

LC6-2P

6 (optional)

U5V

Res

et

MCU

+3V3

C5

100nF

C6

100nF

C7

100nF

C8

100nF

C1

100nF

+3V3

R70

10K

R71

36K

3

2

1T6 9013

U5V

+3V3 R73

[N/A]

R72

10K

+3V3

R24

[N/A]

+3V3

R80

0

R87

0R88

0

Hig

h D

ensi

ty J

TAG

/SW

D c

onne

ctor

KEY

12345678910

CN7

FTSH

-105-01-L-DV

TMS/SW

DAT

TCK/SWCLK

RST

TMS/SW

DAT

TCK/SWCLK

+3V3

TDO/SWO

TDI

TDO/SWO

R91

10K

R92

0TD

I

R93

0

www.BDTIC.com/ST

Page 26: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Schematic UM1578

26/43 Doc ID 023725 Rev 1

Figure 19. STMT-BOX display, ST-LINK/V2

11

22

33

44

DD

CC

BB

AA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

2MB10

333

5

STM

TBOX/DISP, S

TLINK/V2

VBAT

1

PC13

2

PC14

3

PC15

4

OSC

_IN

5

OSC

_OUT

6

/RST

7

VSS

A8

VDDA

9

PA0

10

PA1

11

U2_

TX12

U2_RX 13

U2_CK 14

S1_CK 15

S1_MISO 16

S1_MOSI 17

PB0 18

PB1 19

PB2/BOOT1 20

PB10 21

VSS_1 23

VDD_1 24

PB12

25

PB11 22

S2_C

K26

S2_M

ISO

27S2

_MOSI

28PA

829

PA9

30PA

1031

PA11

32PA

1233

JTMS

34VSS

_235

VDD_2

36

JTCK37 JTDI38 JTDO39 JNRST40 PB541 PB642 PB743 BOOT044 PB845 PB946 VSS_347 VDD_348

U3

STM32F1

03C8T

6

12

X2

8MHz

+3V3

STL_

USB

_DM

STL_

USB

_DP

STM_R

ST

T_JTCK

T_JT

CK

T_JTDOT_JTDI

T_JT

MS

STM_JTM

S_SW

DIO

STM_JTCK_SWCLK

LED_S

TLIN

K

OSC

_IN

OSC

_OUT

T_NRSTT_JRST

LED_S

TLIN

K

AIN

_1

+3V3

+3V3

+3V3

+3V3

+3V3

AIN

_1

STL_

USB

_DM

STL_

USB

_DP

+3V3

ST-LIN

K M

CU U

SB

STM_JTM

S_SW

DIO

STM_JTC

K_S

WCLK

+3V3

U5V

_ST_

LINK

T_SW

DIO

_IN

T_SW

O

12

34

5

CN2

JTAG

+3V3

U5V

_ST_

LINK

+3V3

R18

100

R19

100

R23

0

C16

100nF

I/O1

1

GND

2

I/O2

3I/O

24

Vbu

s5

I/O1

6U4

USB

LC6-2P

6 (optional)

U5V

_ST_

LINK

R34

0R35

0

VCC

1

D-

2

D+

3

ID4

GND

5

SHEL

L0

CN3

5075BMR-05-SM

SWCLK

SWDAT

32

1

JP1

RES

ET#

NRST

_IN

T_NRST

32

1

JP3

SWDIO

_OUT

32

1

JP2 3

21

JP4

SWCLK

_TAR

T_JT

CK

T_JT

MS

SWDAT

SWDAT

SWDIO

_IN

T_SW

DIO

_IN

SWIM_INSWIM_RST_IN

SWIM_OUT

SWIM_RST_OUT

MCO

SWIM_IN

SWIM_IN

SWIM_IN

SWIM_OUT

SWIM_OUT

+3V3

R31

4K7

R28

4K7

21

3 4

Green

Red

LD3

597-7703-607F

SWIM

_PU_C

TRL

SWDIO

_ENn

SWCLK_ENn

SWO

R27

4K7

+3V3

R29

4K7

ISO_E

N

R26

0R25

100K

R17

100K

R30

100K

R20

4K7

R21

4K7

R22

[N/A]

C9

100nF

C10

100nF

C11

100nF

C12

100nF

C15

100nF

R32

10K

R33

36K

32

1T1 9013

+3V3

R37

1K5

R36

100K

C13

20pF

C14

20pF

32

1 JP5

T_VDD

+3V3

R44

10K

R43

1K

USA

RT1

_TX

USA

RT1

_RX

R89

[N/A

]

R90

[N/A

]

C34

[N/A]

www.BDTIC.com/ST

Page 27: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Schematic

Doc ID 023725 Rev 1 27/43

Figure 20. STMT-BOX display, voltage translators and connectors

11

22

33

44

DD

CC

BB

AA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

2MB10

334

5

STM

TBOX/DISP, V

oltage

tran

slators & con

nectors

12

34

56

78

910

1112

1314

1516

1718

1920

2122

2324

2526

2728

2930

3132

3334

3536

3738

3940

CN5

SSM-120-L-D

H

NRST

_IN

I2C1_SC

LI2C1_

SDA

+3V3

SWIM

_OUT

SWIM

_RST

_OUT

SWIM

_PU_C

TRL

ISO_E

N

TB_S

wake

T_VDD

+5V

OE

48

A1

47B1

2

A2

46B2

3

A3

44B3

5

A4

43B4

6

A5

41B5

8

A6

40B6

9

A7

38B7

11

A8

37B8

12

OE

25

A1

36B1

13

A2

35B2

14

A3

33B3

16

A4

32B4

17

A5

30B5

19

A6

29B6

20

A7

27B7

22

A8

26B8

23

DIR

24

VCCB

18VCCB

7

GND

4

GND

10

GND

15

GND

21

DIR

1

VCCA

42VCCA

31

GND

45GND

39GND

34GND

28

U6

SN74LV

C16T2

45

+3V3

T_VDD

T_VDD

C_S

WDIO

_ENn

C_S

WDIO

_ENn

C_S

WDIO

_OUT

C_S

WDIO

_OUT

C_S

PI2_

CS

C_S

PI2_

SCK

C_S

PI2_

MOSI

C_U

SART1

_TX

C_S

WCLK

_ENn

SWDIO

_ENn

SWDIO

_OUT

SWCLK

_TAR

SPI2_C

S

C_S

PI2_

CS

SPI2_S

CK

C_S

PI2_

SCK

SPI2_M

OSI

C_S

PI2_

MOSI

USA

RT1

_TX

C_U

SART1

_TX

SWCLK

_ENn

C_S

WCLK

_ENn

SWDIO

_IN

C_S

WDIO

_IN

C_S

WO

C_S

WIM

_IN

C_S

WIM

_RST

_IN

C_S

PI2_

MISO

C_U

SART1

_RX

C_T

B_H

wake

C_S

WDIO

_IN

SWO

C_S

WO

SWIM

_IN

C_S

WIM

_IN

SWIM

_RST

_IN

C_S

WIM

_RST

_IN

SPI2_M

ISO

C_S

PI2_

MISO

USA

RT1

_RX

C_U

SART1

_RX

TB_H

wake

C_T

B_H

wake

C_S

WCLK

_TAR

C_S

WCLK

_TAR

2

13

G SD

TR2

BSN

20

2

13

G SD

TR3

BSN

20

R46

4K7

R45

4K7

T_VDD

+3V3

R48

4K7

R47

4K7

12

34

56

78

910

1112

1314

1516

1718

1920

CN4

SSM-110-L-D

h

+3V3

SPI1_S

CK

SPI1_M

ISO

SPI1_M

OSI

EXT_

RES

ET

EXT_

Hwake

EXT_

nStop

USA

RT2

_TX

USA

RT2

_RX

EXT_

nSwake

SWIM

_PU_C

TRL

3

2

1

T3 9013

T_VDD

R39

10K

R38

10K

R41

680

R40

10K

C_T

B_R

ESET

C_N

RST

_IN

1OEn

1

1A2

GND

41Y

6VCC

8U5A

74LV

C2G

125

2OEn

7

2A5

GND

42Y

3VCC

8U5B

74LV

C2G

125

C20

100nF

C21

100nF

C19

100nF

C17

100nFT_VDD

C_S

WDIO

_ENn

C_S

WCLK

_ENn

T_VDD

C18

100nF

VCCA

1

A1

2

A2

3

GND

4DIR

5B2

6B1

7VCCB

8U7

SN74

LVC2T

45DCUT+3

V3

C_T

B_S

wake

C25

100nF

C24

100nF

C_T

B_S

wake

T_VDD

Target Boa

rd Con

nector

Extens

ion Boa

rd Con

nector

C22

100nF

C23

100nF

3

2

1

T2 9012

R74

10K

+3V3

SWIM

_PU_C

TRL

C33

100nF

TP3

T_VDD PAD

RES

ET#

D3

BAT6

0JFILM

+3V3 R42

4K7

R82

1KEX

T_SP

I1_C

S

2

13

G SD

TR1

BSN

20

T_VDD

R83

4K7 2

13

G SD

TR4

BSN

20

C_N

RST

_IN

C_T

B_R

ESET

www.BDTIC.com/ST

Page 28: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Schematic UM1578

28/43 Doc ID 023725 Rev 1

Figure 21. STMT-BOX display, LCD

11

22

33

44

DD

CC

BB

AA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

2

PD0

PD1

PD2

PD3

PD4

PD5

PD6

PD7

PD8

PD9

PD10

PD11

PD12

PD13

PD14

PD15

PD16

PD17

RP1

10K

C26

4.7uF/10V

RP2

10K

RP3

10K

RP4

10K

RP5

10K

PD0

PD1

PD2

PD3

PD4

PD5

PD6

PD7

PD8

PD9

PD10

PD11

PD12

PD13

PD14

PD15

PD16

PD17

R50

4K7

R49

4K7

R52

4K7

R51

4K7

MB10

335

5

STM

TBOX/DISP, L

CD

C27

100nF

Enable

1

DotClk

2

HSY

NC

3

VSY

NC

4

CS

5

SCL

6

SDI

7

RS

8

WR

9

RD

10

RES

ET11

PD0

12

PD1

13

PD2

14

PD3

15

PD4

16

PD5

17

PD6

18

PD7

19

PD8

20

PD9

21

PD10

22

PD11

23

PD12

24

PD13

25

PD14

26

PD15

27

PD16

28

PD17

29VDD

30

VCI

31

VCI

32

NC

33NC

34NC

35

IM3

36IM

237

IM1

38IM

039

SDO

40

GND

41

LEDA

42

LEDK1

43

LEDK2

44

LEDK3

45

LEDK4

46

Y-

47

X-

48

Y+

49

X+

50GND

51

CN6

MR028-51

X+

Y-

Y+

X-

R59

4K7

R56

4K7

R57

4K7

R58

75R60

75R62

75R63

75

LCD_S

PI1_

CS

SPI1_S

CK

SPI1_M

ISO

SPI1_M

OSI

C28

10uF

L1 BEA

D

C29

100nF

L2 BEA

D

+3V3

RES

ET#

Y-

1

INT

2

A0/Data Out

3

SCLK

4

SDAT

5

VCC

6

Data in

7

IN0

8IN

19

GND

10

IN2

11IN

312

X+

13

Vio

14

Y+

15X-

16

U8

STMPE

811Q

TRI2C device address:0x82

I2C2_

SDA

I2C2_SC

L

+3V3

+3V3

X+

Y-

Y+

X-

3

4 5

G

S D

1 2 6

T5 FDC60

6PR53

1K

R55

4K7

BL_

CTR

L

R54

1K R64

4K7

R65

4K7

+3V3

LCD_INT

R66

0

C30

100nF

R67

100K

R68

10K

R79

10K

+3V3

+3V3

R61

[N/A]

R75

4K7

R78

[N/A]R76

[N/A]R77

[N/A]

+3V3

+3V3

3

2

1 T4 9012

R81

0

R84

100K

R85

100K

R86

100K

MRE0

28-8347G

-51P

-TP-A

MR028-9325-51P

-TP-A

Module In

terface IM

[3:0]

===

====

====

====

====

====

====

====

932

5 SPI 010(ID

)

834

7G S

PI 110(ID

)

www.BDTIC.com/ST

Page 29: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Schematic

Doc ID 023725 Rev 1 29/43

A.2 Isolation board

Figure 22. STMT-BOX isolation, connectors

11

22

33

44

DD

CC

BB

AA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

21

3

C_S

WIM

_IN

C_SW

O

C_SW

IM_IN

C_SW

IM_P

U_C

TRL

C_SW

IM_O

UT

C_SW

IM_R

ST_IN

C_SW

IM_R

ST_O

UT

C_SW

DIO

_IN

C_SW

DIO

_OUT

C_SW

DIO

_ENn

C_SW

CLK

C_SW

CLK_E

Nn

C_RE

SET

C_NRS

T_IN

T_SW

IM_IN

T_SW

IM_R

ST_IN

T_SW

DIO

_IN

T_SW

CLK

T_RE

SET

T_SW

IM_O

UT

T_SW

IM_R

ST_O

UT

T_SW

DIO

_OUT

T_SW

O

T_NRS

T_IN

Debug isolation.SchD

ocC

_SPI

_CS

12

34

56

78

910

1112

1314

1516

1718

1920

2122

2324

2526

2728

2930

3132

3334

3536

3738

3940

CN1

SSM-120-L-D

H

C_SP

I_CS

C_SP

I_SC

KC_

I2C_

SCL

C_USA

RT_R

X

C_TB

_Swake

C_SP

I_MISO

C_SP

I_MOSI

C_I2C_

SDA

C_USA

RT_T

X

C_TB

_Hwake D

ispl

ay b

oard

sid

e co

nnec

tor

P101

3-2*

20VG

F-17

2-1A

C_SW

IM_IN

C_SW

IM_R

ST_IN

C_SW

DIO

_ENn

C_SW

DIO

_IN

C_SW

DIO

_OUT

C_SW

OC_

NRS

T_IN

C_3.3V

C_SW

IM_O

UT

C_SW

IM_R

ST_O

UT

C_SW

IM_P

U_C

TRL

C_SW

CLK

C_SW

CLK_E

Nn

ISO_E

N

C_RE

SET

12

34

56

78

910

1112

1314

1516

1718

1920

2122

2324

2526

2728

2930

3132

3334

3536

3738

3940

CN2

TSM-120-03-S-DH-A

Targ

et b

oard

sid

e co

nnec

tor

C_RS

T_OUT

C_S

WIM

_RST

_IN

C_S

WIM

_PU

_CTR

L

C_S

WD

IO_I

N

C_S

WD

IO_E

Nn

C_S

WC

LKC

_SW

CLK

_EN

n

C_R

ESET

C_S

WIM

_OU

T

C_S

WIM

_RST

_OU

T

C_S

WD

IO_O

UT

C_S

WO

C_N

RST

_IN

C_SP

I_SC

KC_

SPI_CS

C_SP

I_MOSI

C_SP

I_MISO

C_I2C_

SCL

C_I2C_

SDA

C_USA

RT_T

XC_

USA

RT_R

X

C_TB

_Swake

C_TB

_Hwake

T_SP

I_CS

T_SP

I_SC

KT_

SPI_MOSI

T_USA

RT_T

X

T_TB

_Swake

T_SP

I_MISO

T_USA

RT_R

X

T_TB

_Hwake

T_I2C_

SCL

T_I2C_

SDA

Designator

Comm isolation.SchD

oc

C_S

PI_S

CK

C_S

PI_M

OSI

C_I

2C_S

CL

C_I

2C_S

DA

C_U

SAR

T_TX

C_T

B_Sw

ake

C_U

SAR

T_R

X

C_T

B_H

wak

e

T_SW

IM_I

N

T_SW

IM_R

ST_I

N

T_SW

DIO

_IN

T_SW

CLK

T_R

ESET

T_SW

IM_O

UT

T_SW

IM_R

ST_O

UT

T_SW

DIO

_OU

T

T_SW

O

T_N

RST

_IN

C_S

PI_M

ISO

T_SP

I_C

ST_

SPI_

SCK

T_SP

I_M

OSI

T_I2

C_S

CL

T_I2

C_S

DA

T_U

SAR

T_TX

T_TB

_Sw

ake

T_U

SAR

T_R

X

T_TB

_Hw

ake

T_SP

I_M

ISO

C_3.3V

ISO_E

N

TP1

5V PAD

T_SP

I_CS

T_SP

I_SC

KT_

I2C_

SCL

T_USA

RT_T

X

T_TB

_Hwake

T_SW

IM_IN

T_SW

IM_R

ST_IN

T_SW

DIO

_IN

T_SW

DIO

_OUT

T_SW

OT_

NRS

T_IN

T_USA

RT_R

X

T_TB

_Swake

T_SP

I_MISO

T_SP

I_MOSI

T_I2C_

SDA

T_SW

IM_O

UT

T_SW

IM_R

ST_O

UT

T_SW

CLK

T_RE

SET

T_NR

ST_O

UT

NC_3

.3V

NC_ISO

_EN

C_GND

C_GND

T_GND

T_GND

R17 0

C_T_

VDD

C_T_

VDD

R18

0

T_VDD

T_3.3V

T_VDD

R24

0

T_SW

IM_P

U_C

TRL

T_SW

DIO

_ENn

T_SW

CLK_

ENn

C_5V

TP6 C_

GND

C_GND

T_GND

TP7 T_

GND

F206

A-2*

20MGF-A

MB1

032STMTB

OX/ISO1, Con

nectors

www.BDTIC.com/ST

Page 30: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Schematic UM1578

30/43 Doc ID 023725 Rev 1

Figure 23. STMT-BOX isolation, communication ports galvanic isolation

11

22

33

44

55

66

77

88

DD

CC

BB

AA

STM

icroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

2

C_S

PI_S

CK

C_S

PI_M

ISO

C_U

SART_R

X

C_S

PI_C

S

T_S

PI_S

CK

T_G

ND

C_G

ND

T_3

.3V

C_3

.3V

C_3

.3V

C_G

ND

T_3

.3V

T_G

ND

T_S

PI_M

ISO

T_U

SART_R

X

T_S

PI_C

S

C_U

SART_T

X

C_S

PI_M

OSI

T_U

SART_T

X

T_G

ND

C_G

ND

T_3

.3V

C_3

.3V

T_S

PI_M

OSI

C_T

B_S

wake

T_G

ND

C_G

ND

T_3

.3V

C_3

.3V

T_T

B_S

wake

C_T

B_H

wake

T_T

B_H

wake

C_3

.3V

C_G

ND

Sx1

VDD

8

GND

4

Tx

3

Rx

2

U21

A

PCA96

00DP

Sy7

Ty

5

Ry

6

U21

B

PCA96

00DP

C_G

ND

C_3

.3V

C_3

.3V

C_G

ND

T_G

ND

T_3

.3V

T_G

ND

T_3

.3V

R13

180

C_3

.3V

T_G

ND

R14

10K

T_3

.3V

T_3

.3V

C_G

ND

C_3

.3V

C_I2C

_SDA

T_I2C

_SDA

R15

180

C_3

.3V

T_G

ND

T_3

.3V

R16

10K

T_3

.3V

C_I2C

_SCL

T_I2C

_SCL

1OEn

1

1A2

GND

41Y

6VCC

8U22

A

74LVC2G

125

2OEn

7

2A5

GND

42Y

3VCC

8U22

B

74LVC2G

125

SPI & USA

RT

IO I2C

C25

100nF

C_G

ND

C_3

.3V

C24

100nF

C26

100nF

C27

100nF

C28

100nF

C29

100nF

C32

100nF

T_3

.3V

C31

100nF

C33

100nF

C34

100nF

C35

100nF

C36

100nF

C37

100nF

T_G

ND

C30

100nF

C38

100nF

R25

10K

C_G

ND

TP4

[N/A]

TP5

[N/A]

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U18

Si8420BB-D

-IS

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U19

Si8420BB-D

-IS

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U16

Si8420BB-D

-IS

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U17

Si8420BB-D

-IS

A2

3B2

6

VDD2

8

GND2

5

U11

B

Si8420BB-D

-IS

VDD1

1

A1

2

GND1

4

B1

7

U20

A

Si8420BB-D

-IS

A2

3B2

6

VDD2

8

GND2

5

U20

B

Si8420BB-D

-IS

VDD1

1

A1

2

GND1

4

B1

7

U23

A

Si8420BB-D

-IS A2

3B2

6

VDD2

8

GND2

5

U23

B

Si8420BB-D

-IS

MB10

322

3

STMTBOX/IS

O1, Com

mun

ication po

rts ga

lvan

ic isolation

www.BDTIC.com/ST

Page 31: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Schematic

Doc ID 023725 Rev 1 31/43

Figure 24. STMT-BOX isolation, debug ports galvanic isolation

11

22

33

44

55

66

77

88

DD

CC

BB

AA

STM

icroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

B.1

Date:

9/20

/201

2

C_S

WDIO

_OUT

C_R

ESE

T

C_S

WIM

_RST

_IN

C_S

WDIO

_IN

C_S

WO

C_S

WDIO

_ENn

C_S

WIM

_RST

_OUT

R6

10K

R3

4K7

R2

4K7

C1

100nF

R7

10K

R5

0

Unu

sed1O

E1

A2

GND

3Y

4VCC

5U3

74LVC1G

126

1OE

1

A2

GND

3Y

4VCC

5U6

74LVC1G

126

T_S

WIM

_RST

_IN

T_3

.3V

T_S

WDIO

_OUT

T_G

ND

C_G

ND

T_G

ND

T_3

.3V

C_3

.3V

R11

4.7K

C_3

.3V

C_S

WCLK

C_S

WCLK_E

Nn

T_3

.3V

T_S

WCLK

T_G

ND

C_G

ND

T_G

ND

T_3

.3V

C_3

.3V

R12

4.7K

C_3

.3V

C_3

.3V

C_G

ND

T_3

.3V

T_G

ND

T_S

WDIO

_IN

T_S

WO

1OE

1

A2

GND

3Y

4VCC

5U8

74LVC1G

126

C_S

WIM

_OUT

C_S

WIM

_PU_C

TRL

T_G

ND

C_G

ND

T_3

.3V

C_3

.3V

C_G

NDR10

22K

T_G

ND

T_3

.3V

R9

680

1OEn

1

1A2

GND

41Y

6VCC

8U10

A

74LVC2G

125

T_3

.3V

T_G

ND

T_S

WIM

_OUT

R8

22K

C_3

.3V

T_G

ND

T_G

ND

T_G

ND

T_G

ND

T_G

ND

T_3

.3V

T_3

.3V

T_3

.3V

T_3

.3V

C_3

.3V

C_3

.3V

C_3

.3V

C_3

.3V

C_3

.3V

C_G

ND

C_G

ND

C_G

ND

C_G

ND

C_3

.3V

C_G

ND

T_S

WIM

_RST

_OUT

C_S

WIM

_IN

T_3

.3V

T_G

ND

T_S

WIM

_IN

R1

4.7K

C_3

.3V

C_N

RST

_IN

C2

100nF

T_G

ND

T_3

.3V

T_3

.3V

T_R

ESE

T

T_N

RST

_IN

1OEn

1

1A2

GND

41Y

6VCC

8U1A

74LVC2G

125

2OEn

7

2A5

GND

42Y

3VCC

8U1B

74LVC2G

125

1OEn

1

1A2

GND

41Y

6VCC

8U14

A

74LVC2G

125

2OEn

7

2A5

GND

42Y

3VCC

8U14

B

74LVC2G

125

SWD

SWIM

R19

0 1OEn

1

1A2

GND

41Y

6VCC

8U5A

74LVC2G

125

2OEn

7

2A5

GND

42Y

3VCC

8U5B

74LVC2G

125

C_3

.3V

C_G

ND

C_3

.3V

R22

4K7

R23

4K7

C_3

.3V

TP2

[N/A]

Unu

sed

R20

4K7

R21

4K7

TP3

[N/A]

T_3

.3V

T_3

.3V

T_3

.3V

T_G

ND

2OEn

7

2A5

GND

42Y

3VCC

8U10

B

74LVC2G

125

C11

100nF

C_G

ND

C_3

.3V

C10

100nF

C12

100nF

C13

100nF

C14

100nF

C15

100nF

C16

100nF

C18

100nF

T_3

.3V

C17

100nF

C19

100nF

C20

100nF

C21

100nF

C22

100nF

C23

100nF

T_G

ND

C4

100nF

C_G

ND

C_3

.3V

C3

100nF

C6

100nF

T_3

.3V

C5

100nF

C7

100nF

C8

100nF

C9

100nF

T_G

ND

T_3

.3V

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U12

Si8420BB-D

-IS

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U13

Si8420BB-D

-IS

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U15

Si8420BB-D

-IS

VDD1

1

A1

2

A2

3

GND1

4GND2

5

B2

6

B1

7

VDD2

8U9

Si8420BB-D

-IS

VDD1

1

A1

2

GND1

4

B1

7

U2A

Si8420BB-D

-IS

A2

3B2

6

VDD2

8

GND2

5

U2B

Si8420BB-D

-IS

VDD1

1

A1

2

GND1

4

B1

7

U7A

Si8420BB-D

-IS

A2

3B2

6

VDD2

8

GND2

5

U7B

Si8420BB-D

-IS

VDD1

1

A1

2

GND1

4

B1

7

U11

A

Si8420BB-D

-IS

R26

4K7

R4

4K7

T_3

.3V

Not fitted

MB10

323

3

STMTBOX/IS

O1, Deb

ug ports galva

nic isolation

www.BDTIC.com/ST

Page 32: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Schematic UM1578

32/43 Doc ID 023725 Rev 1

A.3 Touch keypad board

Figure 25. STMT-BOX STM8TL53 touch keypad, touch keypad board

11

22

33

44

55

66

77

88

DD

CC

BB

AA

STM

icroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

C.1

(PC

B.S

CH

)Date:

9/20

/201

2M

B10

311

4

STM

8TL5

3BO

X/P

01, T

ouch

Key

pad

boar

d

LED_R

ow1

LED_R

ow2

LED_R

ow3

LED_R

ow4

LED_C

ol1

LED_C

ol2

LED_C

ol3

LED_C

ol4

LED_R

ow5

KEY

_Col1

KEY

_Col2

KEY

_Col3

KEY

_Col4

KEY

_Row

1KEY

_Row

2KEY

_Row

3KEY

_Row

4

LED_C

ol5

KEY

_Col5

U_S

TM8T

L53

STM8T

L53.SchD

oc

LED_R

ow1

LED_R

ow2

LED_R

ow3

LED_R

ow4

LED_R

ow5

LED_C

ol1

LED_C

ol4

LED_C

ol2

LED_C

ol3

KEY

_Row

1KEY

_Row

2KEY

_Row

3KEY

_Row

4

KEY

_Col1

KEY

_Col2

KEY

_Col3

KEY

_Col4

LED_C

ol5

KEY

_Col5

U_K

EY&LE

DMatrix

KEY

&LE

DMatrix

.SchDoc

U_P

ower

Power.SchDoc

www.BDTIC.com/ST

Page 33: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Schematic

Doc ID 023725 Rev 1 33/43

Figure 26. STMT-BOX STM8TL53 touch keypad, MCU

11

22

33

44

DD

CC

BB

AA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

C.1

(PC

B.S

CH

)Date:

9/20

/201

2M

B10

312

4

STM

8TL5

3BO

X/P

01, M

CU

VDD_M

CU

KEY

_Col1

C7

100nF_

X7R

PXS_

CRx0

a13

PXS_

CRx0

b14

PXS_

CRx1

a15

PXS_

CRx1

b16

PXS_

CRx2

a17

PXS_

CRx2

b18

PXS_

CRx3

a19

PXS_

CRx3

b20

PXS_

CRx4

a21

PXS_

CRx4

b22

PXS_

CRx5

a23

PXS_

CRx5

b24

PXS_

CRx6

a25

PXS_

CRx6

b26

PXS_

CRx7

a27

PXS_

CRx7

b28

PXS_

CRx8

a29

PXS_

CRx8

b30

PXS_

CRx9

a31

PXS_

CRx9

b32

PD0/PXS_Tx0 33PD1/PXS_Tx1 34PD2/PXS_Tx2 35PD3/PXS_Tx3 36PD4/PXS_Tx4 39PD5/PXS_Tx5 40PD6/PXS_Tx6 41PD7/PXS_Tx7 42

PB0/PXS_Tx8 43PB1/PXS_Tx9 44PB2/PXS_Tx10 45PB3/PXS_Tx11 46PB4/PXS_Tx12 47PB5/PXS_Tx13 48PB6/PXS_Tx14 1

PA0/SW

IM/BEE

P2

PA1/SP

I_NSS

3

PA2/SP

I_SC

K4

PA3/SP

I_MISO

5

PA4/SP

I_MOSI

6

PA5/NRST

10

PA6/PX

S_TR

IG11

PA7/PX

S_RFIN

12

VDDA/VDD7

VSSA/VSS8

VReg9

VSSIO37

VDDIO38

U2

STM8T

L53C

4U6

R31

1KR30

1KR29

1KR22

1K

R36

1KR34

1KR35

1KR33

1K

R32

1K

LED_C

ol1

LED_C

ol2

LED_C

ol3

LED_C

ol4

LED_R

ow1

LED_R

ow2

LED_R

ow3

LED_R

ow4

KEY

_Row

1KEY

_Row

2KEY

_Row

3KEY

_Row

4

KEY

_Col1

KEY

_Col2

KEY

_Col3

KEY

_Col4

SPI_NSS

SPI_SC

K

SWIM

RES

ET

RFIN

C9

100nF_

X7R

C8

1uF_

X5R

C13

1uF_

X5R

VDD_M

CU

KEY

_Col2

KEY

_Col3

KEY

_Col4

KEY

_Row

1KEY

_Row

2KEY

_Row

3KEY

_Row

4

LED_R

ow1

LED_R

ow2

LED_R

ow3

LED_R

ow4

LED_C

ol1

LED_C

ol2

LED_C

ol3

LED_C

ol4

TP4

[N/A]

VDD

1SW

IM2

GND

3RST

4

CN1

TSM-104-01-L-SH

-A

KEY

_Col5

KEY

_Col5

LED_R

ow5

LED_R

ow5

12

34

56

78

910

1112

1314

1516

1718

1920

2122

2324

2526

2728

2930

3132

3334

3536

3738

3940

CN3

TSM-120-02-L-DH-A

SPI_NSS

SPI_SC

KI2C_S

CL

USA

RT_

TX

TB_S

wake

SPI_MISO

SPI_MOSI

I2C_S

DA

USA

RT_

RX

TB_H

wake

E5V

VDD

TB_S

wake

TB_H

wake

VDD

SW

IM c

onne

ctor

Con

trol b

oard

con

nect

or

P101

4-1*

04VG

F-12

9-1A

C14

100pF_

X7R

SWIM

SWIM

_OUT

SWIM

_IN

SWIM

_RES

ET_O

UT

SWIM

_RES

ET_IN

T_RE

SET

NRS

T_IN

NRS

T_OUT

RES

ET

C17

10nF

_X7R

LED_C

ol5

LED_C

ol5

SWDIO

_ENn

SWDIO

_OUT

SWDIO

_IN

SWO

SWCLK

SWCLK

_ENn

SWIM

_PU_C

TRL

I2C_S

DA

I2C_S

CL

SPI_MISO

USA

RT_

TX

USA

RT_

RX

SPI_MOSI

R44

0

R37

[N/A]

R42

[N/A

]

R38

[N/A]

R39

0

R40

0

R43

4.7K

VDD

R41

4.7K

VDD

TBD

TBD

TBD

TBD

3V3

P101

3-2*

20VG

F-14

8-1A

www.BDTIC.com/ST

Page 34: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Schematic UM1578

34/43 Doc ID 023725 Rev 1

Figure 27. STMT-BOX STM8TL53 touch keypad, key and LED matrix

11

22

33

44

55

66

77

88

DD

CC

BB

AA

STM

icroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

C.1

(PC

B.S

CH

)Date:

9/20

/201

2M

B10

313

4

ST

M8T

L53B

OX

/P01

, KE

Y &

LE

D M

atrix

+5V

3

1

2T7

2STR12

15

3

1

2 T12

2STR22

30

R15

10K

R26

1K

R25

1K

LED_R

ow1

+5V

+5V

31

2T6

2STR12

15

3

1

2 T11

2STR22

30

R11

10K

R24

1K

R23

1K

LED_R

ow2

+5V

+5V

3

1

2T5

2STR12

15

3

1

2 T10

2STR22

30

R10

10K

R21

1K

R20

1K

LED_R

ow3

+5V

+5V

3

1

2T4

2STR12

15

3

1

2 T9

2STR22

30

R9

10K

R19

1K

R18

1K

LED_R

ow4

+5V

+5V

3

1

2T3

2STR12

15

3

1

2 T8

2STR22

30

R8

10K

R17

1K

R16

1K

LED_R

ow5

+5V

3

1

2T15

2STR12

15R57

10K

LED_C

ol1

3

1

2T14

2STR12

15R46

10K

3

1

2T13

2STR12

15R45

10K

3

1

2T2

2STR12

15R5

10K

LED_C

ol4

LED_C

ol2

LED_C

ol3

lED_C

ol1

lED_C

ol2

lED_C

ol3

lED_C

ol4

LED_R

ow1

LED_R

ow2

LED_R

ow3

LED_R

ow4

LED_R

ow5

R61

100

1 2

LD22

597-6601-607F

KEY_R

ow1

12

K5

electrode

12

K2

electrode

12

K4

electrode

12

K1

electrode

12

K19

electrode

12

K10

electrode

12

K7

electrode

12

K6

electrode

12

K3

electrode

12

K17

electrode

12

K14

electrode

12

K9

electrode

12

K8

electrode

12

K15

electrode

12

K16

electrode

12

K18

electrode

12

K13

electrode

12

K12

electrode

12

K11

electrode

KEY_R

ow2

KEY_R

ow3

KEY_R

ow4

KEY_C

ol5

KEY_C

ol1

KEY_C

ol2

KEY_C

ol3

KEY_C

ol4

R54

100

1 2

LD17

597-6601-607F

R51

100

1 2

LD13

597-6601-607F

R13

100

1 2

LD5

597-6601-607F

R62

100

1 2

LD23

597-6601-607F

R55

100

1 2

LD16

597-6601-607F

R50

100

1 2

LD12

597-6601-607F

R28

100

1 2

LD8

597-6601-607F

R60

100

1 2LD

21

597-6601-607F

R56

100

1 2

LD18

597-6601-607F

R49

100

1 2

LD9

597-6601-607F

R6

100

1 2

LD2

597-6601-607F

R59

100

1 2

LD20

597-6601-607F

R53

100

1 2

LD15

597-6601-607F

R52

100

1 2

LD14

597-6601-607F

R7

100

1 2

LD3

597-6601-607F

R58

100

1 2

LD19

597-6601-607F

R48

100

1 2

LD11

597-6601-607F

R47

100

1 2

LD10

597-6601-607F

GND-LED

GND-LED

GND-LED

GND-LED

GND-LED

L1 BEAD

R14

100

1 2

LD6

597-6601-607F

R12

100

1 2

LD4

597-6601-607F

R27

100

1 2

LD7

597-6601-607F

3

1

2T1

2STR12

15R4

10K

GND-LED

LED_C

ol5

lED_C

ol5

www.BDTIC.com/ST

Page 35: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Schematic

Doc ID 023725 Rev 1 35/43

Figure 28. STMT-BOX STM8TL53 touch keypad, power supply

12

34

DCBA

STMicroelec

tron

ics

Title:

Num

ber:

Rev:

Sheet of

C.1

(PC

B.S

CH

)Date:

9/20

/201

2

1 2

LD1

Red

MB

1031

44

D2

BAT6

0JFILM

VDD

D1

BAT6

0JFILM

JP2

TSM-102-01-L-SH

-A

STM

8TL5

3BO

X/P

01, P

ower

VCC

1

D-

2

D+

3

ID4

GND

5

SHEL

L0

CN2

0675

0312

30

U5V

E5V

+5V

R2

110_1%

R1

182_1%

1 3

2RV1

3361P-1-501G

LF

+5V

R3

2K

JP1

TSM-102-01-L-SH

-AVDD_M

CU

US

B-M

INI-t

ypeB

TP3 50

15TP

2 5015

TP1 50

15TP

5 5015

Vin

3Vou

t2

EXP

4

1

U1

LD11

17ST

R

C2

10uF

C1

10uF

P101

4-1*

02VG

F-12

9-1A

P101

4-1*

02VG

F-12

9-1A

C3

47uF

C4

100nF_

X7R

H1Hole-R8D

3d3

H2Hole-R8D

3d3

H4Hole-R8D

3d3

H3Hole-R8D

3d3

LO2 LO

GO ST

LO3 LO

GO ESD

LO1 Cartouche 2 couches

www.BDTIC.com/ST

Page 36: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX STM8TL53 touch keypad board MCU IO assignment UM1578

36/43 Doc ID 023725 Rev 1

Appendix B STMT-BOX STM8TL53 touch keypad board MCU IO assignment

Table 12. STMT-BOX STM8TL53 touch keypad board MCU IO assignment

Pin No. Pin Name MCU IO Assignment

1 PB6/ PXS_TX14

2 PA0(1)/SWIM/BEEP SWIM

3 PA1/SPI_NSS/[TIM3_CH1] SPI_NSS

4 PA2/SPI_SCK/USART_CK/[TIM3_CH2] SPI_SCK

5 PA3/SPI_MISO/USART_TX/I2C_SDA SPI_MISO/USART_TX/I2C_SDA

6 PA4/SPI_MOSI/USART_RX/I2C_SCL SPI_MOSI/USART_RX/I2C_SCL

7 VDD VDD

8 VSS GND

9 PXS_VREG

10 PA5/NRST(3) RESET

11 PA6/ PXS_TRIG/CLK_CCO TB_Swake

12 PA7/PXS_RFIN RFIN

13 PXS_RX0a KEY_Row1

14 PXS_RX0b

15 PXS_RX1a KEY_Row2

16 PXS_RX1b

17 PXS_RX2a KEY_Row3

18 PXS_RX2b

19 PXS_RX3a KEY_Row4

20 PXS_RX3b

21 PXS_RX4a

22 PXS_RX4b

23 PXS_RX5a KEY_Col1

24 PXS_RX5b

25 PXS_RX6a KEY_Col2

26 PXS_RX6b

27 PXS_RX7a KEY_Col3

28 PXS_RX7b

29 PXS_RX8a KEY_Col4

30 PXS_RX8b

31 PXS_RX9a KEY_Col5

www.BDTIC.com/ST

Page 37: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX STM8TL53 touch keypad board MCU IO assignment

Doc ID 023725 Rev 1 37/43

32 PXS_RX9b

33 PD0/PXS_TX0 TB_Hwake

34 PD1/PXS_TX1

35 PD2/PXS_TX2

36 PD3/PXS_TX3 LED_Col1

37 VSSIO GND

38 VDDIO VDD

39 PD4/PXS_TX4/TIM2_CH1 LED_Col2

40 PD5/PXS_TX5/TIM2_CH2 LED_Col3

41 PD6/PXS_TX6/TIM3_CH1 LED_Col4

42 PD7/PXS_TX7/TIM3_CH2 LED_Col5

43 PB0/PXS_TX8/TIM3_ETR LED_Row1

44 PB1(2)/PXS_TX9/ TIM2_ETR LED_Row2

45 PB2/PXS_TX10 LED_Row3

46 PB3/PXS_TX11 LED_Row4

47 PB4/PXS_TX12 LED_Row5

48 PB5/PXS_TX13

Table 12. STMT-BOX STM8TL53 touch keypad board MCU IO assignment

Pin No. Pin Name MCU IO Assignment

www.BDTIC.com/ST

Page 38: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

STMT-BOX display MCU IO assignment UM1578

38/43 Doc ID 023725 Rev 1

Appendix C STMT-BOX display MCU IO assignment

Table 13. STMT-BOX STM8TL53 touch keypad board MCU IO assignment

Pin No. Pin Name MCU IO Assignment

1 VBAT

2 PC13-ANTI_TAMP EXT_RESET

3 PC14-OSC32_IN OSC32_IN

4 PC15-OSC32_OUT OSC32_OUT

5 OSC_IN MCO_IN

6 OSC_OUT

7 NRST RESET#

8 VSSA

9 VDDA

10 PA0-WKUP EXT and TB_Hwake

11 PA1 EXT_Hwake

12 PA2 EXT_USART2_TX

13 PA3 EXT_USART2_RX

14 PA4 LCD_SPI1_CS

15 PA5 LCD_EXT_SPI1_SCK

16 PA6 LCD_EXT_SPI1_MISO

17 PA7 LCD_EXT_SPI1_MOSI

18 PB0 LED1_TIM

19 PB1 LED2_TIM

20 PB2 LCD_INT

21 PB10 EXPANDER_I2C2_SCL

22 PB11 EXPANDER_I2C2_SDA

23 VSS_1

24 VDD_1

25 PB12 TB_SPI2_CS

26 PB13 TB_SPI2_SCK

27 PB14 TB_SPI2_MISO

28 PB15 TB_SPI2_MOSI

29 PA8 TB_Swake_TIM

30 PA9 TB_USART1_TX

31 PA10 TB_USART1_RX

32 PA11 USB_ DM

www.BDTIC.com/ST

Page 39: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 STMT-BOX display MCU IO assignment

Doc ID 023725 Rev 1 39/43

33 PA12 USB_ DP

34 PA13 TMS/SWDAT

35 VSS_2

36 VDD_2

37 PA14 TCK/SWCLK

38 PA15 TB_Hwake/TDI

39 PB3 EXT_SPI1_CS/TDO

40 PB4 BUZZER_TIM

41 PB5 BACK_LIGHT_CTRL

42 PB6 EXT_nSwake

43 PB7 EXT_nStop

44 BOOT0

45 PB8 TB_I2C1_SCL

46 PB9 TB_I2C1_SDA

47 VSS_3

48 VDD_3

Table 13. STMT-BOX STM8TL53 touch keypad board MCU IO assignment

Pin No. Pin Name MCU IO Assignment

www.BDTIC.com/ST

Page 40: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Display//isolation/touch connector signals assignment UM1578

40/43 Doc ID 023725 Rev 1

Appendix D Display//isolation/touch connector signals assignment

Table 14. Display/isolation/touch connector signals assignment

Touch board

Signal direction

Isolation board (Optional) Display board

Pin No.

Signal name on CN3

Signal name on CN2

Signal name on CN1

Signal name on CN5

1 Ground Ground T_Ground C_Ground Ground

3 SWIM_OUT To display board T_SWIM_IN C_SWIM_IN C_SWIM_IN

5SWIM_RESET_OUT

To display boardT_SWIM_RESET_IN

C_SWIM_RESET_

IN

C_SWIM_RESET_

IN

7From display board to isolation board

Not connected C_SWDIO_ENn C_SWDIO_ENn

9 Ground Ground T_Ground C_Ground Ground

11 To display board T_SWDIO_IN C_SWDIO_IN C_SWDIO_IN

13 To touch board T_SWDIO_OUT C_SWDIO_OUT C_SWDIO_OUT

15 To display board T_SWO C_SWO C_SWO

17 To display board T_NRST_IN C_NRST_IN C_NRST_IN

19 Ground Ground T_Ground C_Ground Ground

21 Not connected Not connected Not connected

23 SPI_NSS To touch board T_SPI_CS C_SPI_CS C_SPI_CS

25 SPI_SCK To touch board T_SPI_SCK C_SPI_SCK C_SPI_SCK

27 I2C_SCL Bidir T_I2C_SCL C_I2C_SCL I2C_SCL

29 Ground Ground T_Ground C_Ground Ground

31 USART_RX To display board T_USART_RX C_USART_TX C_USART1_TX

33 Not connected Not connected Not connected

35 TB_Hwake To display board T_TB_Hwake C_TB_Hwake C_TB_Hwake

37From display board to isolation board

Not connected C_3.3V 3.3V

39 Ground Ground T_Ground C_Ground Ground

2 Not connected Not connected Not connected

4 SWIM_IN To touch board T_SWIM_OUT C_SWIM_OUT SWIM_OUT

6 SWIM_RESET_IN To touch boardT_SWIM_RESET_OUT

C_SWIM_RESET_OUT

SWIM_RESET_

OUT

8 T_RESET To touch board T_RESET C_RESET C_TB_RESET

10 Ground Ground T_Ground C_Ground Ground

www.BDTIC.com/ST

Page 41: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578 Display//isolation/touch connector signals assignment

Doc ID 023725 Rev 1 41/43

12From display board to isolation board

Not connectedC_SWIM_PU_CTRL

SWIM_PU_CTRL

14 To touch board T_SWCLK C_SWCLK SWCLK

16From display board to isolation board

Not connected C_SWCLK_ENn C_SWCLK_ENn

18 Not connected Not connected Not connected

20 Ground Ground T_Ground C_Ground Ground

22From isolation board to display board

Not connectedISO_EN

(to C_3.3V)ISO_EN

24 SPI_MISO To display board T_SPI_MISO C_SPI_MISO C_SPI_MISO

26 SPI_MOSI To touch board T_SPI_MOSI C_SPI_MOSI C_SPI_MOSI

28 I2C_SDA Bidir T_I2C_SDA C_I2C_SDA I2C_SDA

30 Ground Ground T_Ground C_Ground Ground

32 USART_TX To touch board T_USART_TX C_USART_RX C_USART1_RX

34 Not connected Not connected Not connected

36 TB_Swake To touch board T_TB_Swake C_TB_Swake C_TB_Swake

38 TB_VDD To display board T_VDDC_T_VDD

(to C_3.3V)T_VDD

40 5V To touch board5V PAD

(To TP1)Not connected 5V

Table 14. Display/isolation/touch connector signals assignment

Touch board

Signal direction

Isolation board (Optional) Display board

Pin No.

Signal name on CN3

Signal name on CN2

Signal name on CN1

Signal name on CN5

www.BDTIC.com/ST

Page 42: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

Revision history UM1578

42/43 Doc ID 023725 Rev 1

5 Revision history

Table 15. Document revision history

Date Revision Changes

19-Oct-2012 1 Initial release.

www.BDTIC.com/ST

Page 43: UM1578 User manual · Figure 1. STMT-BOX touch keypad Table 1. Applicable tools Type Applicable tools Development tools STMT_BOX MS31269V1 STMT-BOX STM8TL53 TOUCH KEYPAD (1) MB1031

UM1578

Doc ID 023725 Rev 1 43/43

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, 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 noliability 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 thisdocument 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 productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird 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 IMPLIEDWARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIEDWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWSOF 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 NOTRECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAININGAPPLICATIONS, 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 "AUTOMOTIVEGRADE" 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 voidany warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, anyliability 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.

© 2012 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

www.BDTIC.com/ST