STM8/128-MCKIT STMicroelectronics, STM8/128-MCKIT Datasheet

EVAL KIT MOTOR CONTROL STM8S

STM8/128-MCKIT

Manufacturer Part Number
STM8/128-MCKIT
Description
EVAL KIT MOTOR CONTROL STM8S
Manufacturer
STMicroelectronics
Series
STM8Sr

Specifications of STM8/128-MCKIT

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
STM8S2xx
Primary Attributes
Brushless DC (BLDC) & AC Induction (ACIM) Motors
Secondary Attributes
Joystick & LCD User Interface
Processor To Be Evaluated
STM8S
Data Bus Width
8 bit
Operating Supply Voltage
2.95 V to 5.5 V
Silicon Manufacturer
ST Micro
Silicon Core Number
STM8
Features
Motor Control Applications, The Inverter Is Driven Using The Space Vector PWM Modulation Technique
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
497-10032
Introduction
The STM8S2xx evaluation board STM8/128-
EVAL is designed as a complete development
platform for STMicroelectronic's STM8 core-
based STM8S2xx microcontroller with
CAN2.0A/B compliant interface, I
UART channels with smartcard, IrDA and LIN
support, internal 2 Kbyte data Flash and
128 Kbyte code Flash, SWIM debugging support.
The full range of hardware features on the board
is able to help you evaluate all peripherals
(including motor control, CAN, MicroSD card,
smartcard, UART, LIN, IrDA) and develop your
own applications. Extension headers make it
possible to easily connect a daughter board or
wrapping board for your specific application.
Features
August 2008
Two 5 V power supply options: power jack or
daughter board
Audio play and record
64 or 128 Mbyte MicroSD card
Both A&B type smartcard support
64 Kbit I
2 channels of RS-232 communication
IrDA transceiver
2 channels of LIN communication
CAN2.0A/B compliant connection
Inductor motor control connector
SWIM and STice debug support
122x32 dot-matrix serial interface LCD module
Joystick with 4-direction control and selector
Reset, Wakeup, Tamper and User button
4 LEDs
Extension connector for daughter board or
wrapping board.
2
C EEPROM
2
C, SPI, two
Rev 2
Figure 1.
STM8/128-EVAL evaluation board
User manual
STM8/128-EVAL
evaluation board
UM0482
www.st.com
1/41
41

Related parts for STM8/128-MCKIT

STM8/128-MCKIT Summary of contents

Page 1

... Introduction The STM8S2xx evaluation board STM8/128- EVAL is designed as a complete development platform for STMicroelectronic's STM8 core- based STM8S2xx microcontroller with CAN2.0A/B compliant interface, I UART channels with smartcard, IrDA and LIN support, internal 2 Kbyte data Flash and 128 Kbyte code Flash, SWIM debugging support. ...

Page 2

Contents Contents 1 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 Power supply ...

Page 3

... UM0482 3 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Appendix A STM8/128-EVAL IO assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Contents 3/41 ...

Page 4

... Hardware layout and configuration 1 Hardware layout and configuration The STM8/128-EVAL evaluation board is designed around the STM8S2xx microcontroller in an 80-pin TQFP package. The hardware block diagram between STM8S2xx and peripherals (LCD, I bus, smartcard, MicroSD card and motor control) and features on the actual evaluation board. ...

Page 5

... UM0482 Figure 3. STM8/128-EVAL evaluation board top layout CN3 BNC connector U14 IrDA U1 STM8S2xx CN8 CAN CN13 (2) USART1 CN15 (2) USART2 CN6 5V power CN9 U8 MicroSD card MIC 1. RV1 is connected to AIN9 instead of AIN8 as mentioned on the silkscreen. 2. CN13 and CN15 correspond to UART1 and UART3, instead of USART1 and USART2, as mentioned on the silkscreen. ...

Page 6

... Hardware layout and configuration Figure 4. STM8/128-EVAL evaluation board bottom layout CN12 smartcard 6/41 UM0482 ...

Page 7

... JP3 Measures the consumption of both VDD and VDDA. JP2 Default setting: Fitted The LED LD5 is lit when the STM8/128-EVAL evaluation board is powered from the 5V supply, and LD6 is also lit when the 3.3 V power regulator U3 is present. 1.2 Clock source One clock source is available on the STM8/128-EVAL evaluation board for STM8S2xx: ● ...

Page 8

... Hardware layout and configuration 1.3 Reset source The reset signal of STM8/128-EVAL evaluation board is low active and the reset sources include: ● Reset button B1 ● Debugging Tools from connector CN4 ● Daughter board from CN5 The reset pin PA0 of STM8S2XX is connected either to Reset button GND by setting the jumper JP1 as described in Table 2 ...

Page 9

... LIN Two D-type 9-pin LIN connectors CN11 (LIN1) and CN14 (LIN2) are available on the STM8/128-EVAL evaluation board. The LIN1 connector is connected to channel 4 of the multiplexer U17, while the LIN2 connector is connected to channel 0 of the multiplexer U18. Either master or slave operation mode is supported by both LIN connectors and can port of STM8S2xx ...

Page 10

... This is the default setting. 1.9 Motor control The STM8/128-EVAL evaluation board supports inductor motor control via a 34-pin connector CN10, which provides all required control and feedback signals to and from the motor power-driving board. Available signals on this connector include emergency stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature coming from the motor driving board and 6 channels of PWM control signals going to the motor driving circuit ...

Page 11

... The location of this resistor is indicated in page 1.10 Smartcard STMicroelectronics smartcard interface chip ST8024 is used on STM8/128-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with STM8S2XX listed in Table 8. Connection between ST8024 and STM8S2xx ...

Page 12

... Default status: fitted. 1.14 Development and debug support The debug connectors available on the STM8/128-EVAL evaluation board are: ● CN2, 120-pin SAMTEC connector that supports STice, the advanced emulation system from STMicroelectronics. The JP1 jumper must connect pin 2 together with pin 3 when STice is present, as described in ● ...

Page 13

UM0482 2 Connectors 2.1 STice connector CN2 Figure 5. STice debugging connector CN2 (top view) Table 11. STice debugging connector (CN2) pin description Pin number 1 PA0 3 PA2 5 GND PA3 11 PA5 13 PH0 15 ...

Page 14

Connectors Table 11. STice debugging connector (CN2) pin description (continued) Pin number PC7 53 PG1 55 PG3 57 PI0 PI2 63 PI4 65 PG5 67 PG7 69 PE3 71 PE1 73 PI6 75 PD0 ...

Page 15

... Your STM8/128-EVAL evaluation board can be powered from power supply via the external power supply jack (CN6) shown in positive. Figure 8. Power supply connector CN6 (front view) 2.5 Audio jack CN7 A 3.5mm Mono audio jack CN7 is available on the STM8/128-EVAL board. The speaker U5 is bypassed when an earphone is plugged into CN7 Description ...

Page 16

Connectors 2.6 CAN D-type 9-pin male connector CN8 Figure 9. CAN D-type 9-pins male connector CN8 (front view) Table 14. CAN D-type 9-pins male connector CN8 pin description Pin number 1,4,8 CANL 2.7 MicroSD connector CN9 Figure 10. ...

Page 17

UM0482 2.8 Motor control connector CN10 Figure 11. Motor control connector CN10 (top view) Table 16. Motor control connector CN10 pin description Description EMERGENCY STOP PWM-UH PWM-UL PWM-VH PWM-VL PWM-WH PWM-WL PHASE A CURRENT PHASE B CURRENT PHASE C CURRENT ...

Page 18

Connectors 2.9 LIN connectors CN11 and CN14 Figure 12. LIN connector CN11 (LIN1) and CN14 (LIN2) front view Table 17. LIN connector CN11 (LIN1) and CN14 (LIN2) pin connection Pin number GND ...

Page 19

UM0482 2.11 RS-232 connectors CN13 and CN15 Figure 14. RS-232 connectors CN13 and CN15 (top view) Table 19. RS-232 connector CN13 and CN15 pin description Pin number USART_RXD 3 USART_TXD 4 Connect to Pin 6 5 GND ...

Page 20

... Daughter board extension connectors CN1 and CN5 Two 50-pin male headers CN1 and CN5 can be used to connect a daughter board or standard wrapping board to the STM8/128-EVAL evaluation board. All GPI/Os are available on it. The space between the two connectors and the position of the power, GND and RESET pins (marked in gray in allows to develop common daughter boards for several evaluations boards ...

Page 21

... PH4 - +3V3 - 50 GND - 1. The power, ground and reset pins are marked in gray. How to disconnect function block on STM8/128-EVAL board - - - Keep S2 OFF and remove R102. Remove R76. Remove R96. Remove R101. - Remove R97 Keep S2 OFF and remove R59. Keep S1 OFF and remove R10. ...

Page 22

... Disconnect STM8/128-EVAL evaluation board from motor power drive board. Disconnect STM8/128-EVAL evaluation board from motor power drive board Keep JP13 open. Disconnect STM8/128-EVAL evaluation board from motor power drive board. Disconnect STM8/128-EVAL evaluation board from motor power drive board. Remove R91. - Keep JP1 open. UM0482 ...

Page 23

... Disconnect STM8/128-EVAL evaluation board from motor power drive board. Remove R90. - Remove R12. - Remove R14 Remove R74. - Remove R44. Remove R42. Disconnect STM8/128-EVAL evaluation board from motor power drive board. Remove R66 and C32. Disconnect STM8/128-EVAL evaluation board from motor power drive board Connectors 23/41 ...

Page 24

... Schematics 3 Schematics This section provides the design schematics for the STM8/128-EVAL board key features, to help you implement these features in your applications. Schematics are provided for: ● Microcontroller connections, see ● MCU, see Figure 17 ● LCD, joystick, CAN and I ● Multiplexer, see ● ...

Page 25

UM0482 Figure 16. Microcontroller connections LIN_EN_2 LIN_EN_1 LIN_Multiplexer_1 UART3_TX UART3_RX UART1_RX UART1_TX USART_Multiplexer_1 USART_Multiplexer_2 SmartCard_I/O SmartCard_RST SmartCard_RST SmartCard_3/5V SmartCard_3/5V SmartCard_OFF SmartCard_OFF SmartCard_CLK SmartCard_CLK SmartCard_CMDVCC SmartCard_CMDVCC Schematics 25/41 ...

Page 26

Schematics Figure 17. MCU 26/ UM0482 ...

Page 27

UM0482 Figure 18. LCD, joystick, CAN and 10K R53 10K R52 10K R51 10K R50 10K R49 2 C EEPROM connections 100nF C29 100nF C28 100nF C27 100nF C26 100nF C25 Schematics 8 SW1 10 7 ...

Page 28

Schematics Figure 19. Multiplexer 28/41 UM0482 ...

Page 29

UM0482 Figure 20. Audio peripherals 1 3 Schematics 2 29/41 ...

Page 30

Schematics Figure 21. Motor control 30/41 UM0482 ...

Page 31

UM0482 Figure 22. STice connector and extension connectors 120 118 116 114 112 110 108 106 104 102 100 PD7 82 PD5 80 PD3 78 PD1 76 PI7 ...

Page 32

Schematics Figure 23. QST connector 32/41 UM0482 ...

Page 33

UM0482 Figure 24. LIN connectors Schematics 33/41 ...

Page 34

Schematics Figure 25. UART and IrDA connectors 34/41 UM0482 ...

Page 35

UM0482 Figure 26. Smartcard connections Schematics 35/41 ...

Page 36

Schematics Figure 27. Power supply 36/41 GND 1 2 UM0482 ...

Page 37

... VREF- PF0 AIN10 PB7 AIN7 PB6 AIN6 PB5 AIN5 PB4 AIN4 PB3 AIN3 PB2 AIN2 STM8/128-EVAL IO assignment STM8/128-EVAL pin assignment RESET OSCIN OSCOUT VSS_DIG VSS_IO_1 VCAP VDD_DIG VDD_IO_1 MC_pin34/Measure Phase C / QST_pin7 UART1_RX UART1_TX Smartcard_CLK PH0 - LD4 PH1 - LD3 PH2 - LD2 PH3 - LD1 ...

Page 38

... STM8/128-EVAL IO assignment Table 23. STM8/128-EVAL pin functions (continued) Pin Pin name 33 PB1 / AIN1 34 PB0 / AIN0 35 PH4 / TIM1_ETR 36 PH5 / TIM1_CH3N 37 PH6 / TIM1_CH2N 38 PH7 / TIM1_CH1N 39 PE7 / AIN8 40 PE6 / AIN9 41 PE5 / SPI_NSS 42 PC0 / ADC_ETR 43 PC1 / TIM1_CH1 44 PC2 / TIM1_CH2 45 PC3 / TIM1_CH3 46 PC4 / TIM1_CH4 47 PC5 / SPI_SCK 48 VSSIO / VSSIO_2 ...

Page 39

... UM0482 Table 23. STM8/128-EVAL pin functions (continued) Pin Pin name 68 PE2 / I2C_SDA 69 PE1 / I2C_SCL 70 PE0 / MCO 71 PI6 / GP_IO17 72 PI7 / GP_IO18 73 PD0 / TIM3_CH2 74 PD1 / SWIM 75 PD2 / TIM3_CH1 76 PD3 / TIM2_CH2 77 PD4 / TIM2_CH1 78 PD5 / UART3_TX 79 PD6 / UART3_RX 80 PD7 / TLI Main Alternate function PE2 I2C_SDA PE1 ...

Page 40

... USART_RX changed to UART_RX in USART_TX changed to UART_TX in USART_CK changed to UART_CK in Table 22: changed alternate function for pins 7, 8, 15, 17, and 18. Table 23: changed pin name and alternate function for pins 9, 10,11,12,36-38,43-46, 75, 76, 77, 78,79. Modified STM8/128-EVAL pin assignment for pins 10, 11,12, 78, and 79. Changes Figure 3. Section 1.12 and Section 1 ...

Page 41

... UM0482 Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. ...

Related keywords