STM8A/128-EVAL STMicroelectronics, STM8A/128-EVAL Datasheet

no-image

STM8A/128-EVAL

Manufacturer Part Number
STM8A/128-EVAL
Description
8 BITS MICROCONTR
Manufacturer
STMicroelectronics
Series
STM8Ar
Type
MCUr
Datasheets

Specifications of STM8A/128-EVAL

Contents
Board
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
STM8A

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STM8A/128-EVAL
Manufacturer:
ST
0
Part Number:
STM8A/128-EVAL
Manufacturer:
ST
Quantity:
20 000
UM0944
User manual
STM8A/128-EVAL
evaluation board
Introduction
The STM8A/128-EVAL evaluation board is designed as a complete development platform
for STMicroelectronic's STM8 core-based STM8Axx microcontroller with CAN2.0A/B
2
compliant interface, I
C, SPI, two 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 helps you to 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 daughterboard or
wrapping board for your specific application.
Figure 1.
STM8A/128-EVAL evaluation board
May 2010
Doc ID 17489 Rev 1
1/44
www.st.com

Related parts for STM8A/128-EVAL

STM8A/128-EVAL Summary of contents

Page 1

... Introduction The STM8A/128-EVAL evaluation board is designed as a complete development platform for STMicroelectronic's STM8 core-based STM8Axx microcontroller with CAN2.0A/B compliant interface, I internal 2 Kbyte data Flash and 128 Kbyte code Flash, SWIM debugging support. The full range of hardware features on the board helps you to evaluate all peripherals (including motor control, CAN, MicroSD card, smartcard, UART, LIN, IrDA) and develop your own applications ...

Page 2

Contents Contents 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 3

... UM0944 3.12 QST connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.13 Daughterboard extension connectors CN1 and CN5 . . . . . . . . . . . . . . . . 23 4 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Appendix A STM8A/128-EVAL IO assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Doc ID 17489 Rev 1 Contents 3/44 ...

Page 4

... Smartcard connector CN12 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 19. RS-232 connector CN13 and CN15 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Table 20. QST connector CN16 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Table 21. Daughterboard extension connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Table 22. Daughterboard extension connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Table 23. STM8A/128-EVAL pin functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Table 24. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4/44 Doc ID 17489 Rev 1 UM0944 ...

Page 5

... UM0944 List of figures Figure 1. STM8A/128-EVAL evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Figure 3. STM8A/128-EVAL evaluation board top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Figure 4. STM8A/128-EVAL evaluation board bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 5. STice debugging connector CN2 (top view Figure 6. Analog input connector CN3 (bottom view Figure 7. SWIM debugging connector CN4 (top view Figure 8 ...

Page 6

... Features 1 Features The STM8A/128-EVAL evaluation board features: Two 5 V power supply options: power jack or daughterboard Audio play and record 64 Mbyte or 128 Mbyte MicroSD card Both A&B type smartcard support 2 64 Kbit I C EEPROM 2 channels of RS-232 communication IrDA transceiver 2 channels of LIN communication CAN2 ...

Page 7

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

Page 8

... Hardware layout and configuration Figure 3. STM8A/128-EVAL evaluation board top layout CN3 BNC connector U14 IrDA U1 STM8Axx CN8 CAN CN13 (2) USART1 CN15 (2) USART2 CN6 5V power U8 CN9 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 9

... UM0944 Figure 4. STM8A/128-EVAL evaluation board bottom layout CN12 smartcard Hardware layout and configuration Doc ID 17489 Rev 1 9/44 ...

Page 10

... JP3 Measures the consumption of both VDD and VDDA. JP2 Default setting: Fitted The LED LD5 is lit when the STM8A/128-EVAL evaluation board is powered from the 5 V supply, and LD6 is also lit when the 3.3 V power regulator U3 is present. 2.2 Clock source One clock source is available on the STM8A/128-EVAL evaluation board for STM8Axx: X1, 24 MHz crystal with socket for STM8Axx microcontroller It can be removed from the socket when the internal RC clock is used ...

Page 11

... UM0944 2.3 Reset source The reset signal of STM8A/128-EVAL evaluation board is low active and the reset sources include: Reset button B1 Debugging Tools from connector CN4 Daughterboard from CN5 The reset pin PA0 of STM8Axx is connected either to Reset button GND by setting the jumper JP1 as described in Table 2 ...

Page 12

... Default setting: not fitted. 2.7 RS-232 Two D-type 9-pin connectors CN13 (UART1) and CN15 (UART3) are available on the STM8A/128-EVAL evaluation board. The USART1 connector is connected to channel 3 of the multiplexer U17, while the USART2 connector is connected to channel 1 of the multiplexer U18. Note: ...

Page 13

... LIN Two D-type 9-pin LIN connectors CN11 (LIN1) and CN14 (LIN2) are available on the STM8A/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 be selected by setting jumpers JP11 and JP12 ...

Page 14

... Hardware layout and configuration 2.10 Smartcard STMicroelectronics smartcard interface chip ST8024 is used on STM8A/128-EVAL board for asynchronous 3 V and 5 V smartcards. It performs all supply protection and control functions based on the connections with STM8Axx listed in Table 8. Connection between ST8024 and STM8Axx Jumper 5V/3V ...

Page 15

... UM0944 2.14 Development and debug support The debug connectors available on the STM8A/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 CN4, ERNI 4-pin connector for SWIM debugging CN17, 2 ...

Page 16

Connectors 3 Connectors 3.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 17

UM0944 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 18

... Your STM8A/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) 3.5 Audio jack CN7 A 3.5 mm mono audio jack CN7 is available on the STM8A/128-EVAL board. The speaker U5 is bypassed when an earphone is plugged into CN7. 18/ ...

Page 19

UM0944 3.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 3.7 MicroSD connector CN9 Figure 10. ...

Page 20

Connectors 3.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 21

UM0944 3.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 22

Connectors 3.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 23

... Daughterboard extension connectors CN1 and CN5 Two 50-pin male headers CN1 and CN5 can be used to connect a daughterboard or standard wrapping board to the STM8A/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 daughterboards for several evaluations boards ...

Page 24

... +3V3 - 50 GND - 1. The power, ground and reset pins are marked in gray. 24/44 How to disconnect function block on STM8A/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 25

... PD2 MC connector pin27 6 PD4 MC connector pin33 8 PD6 UART3_RX 10 GND - 12 PA0 RESET# button How to disconnect component on STM8A/128-EVAL board - - Keep JP9 on open, remove R75. Remove R91. Remove R39. PA0 available on pin 12. Remove X1 from socket. Remove R90 Remove R13. Remove R15. Remove R69. ...

Page 26

... PB1 MC connector pin17 GND - 1. The power, ground and reset pins are marked in gray. 26/44 How to disconnect component on STM8A/128-EVAL board Remove X1 from socket. Disconnect STM8A/128-EVAL evaluation board from motor power drive board. Remove R90. - Remove R12. - Remove R14 Remove R74. - Remove R44. ...

Page 27

... UM0944 4 Schematics This section provides the design schematics for the STM8A/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 Audio peripherals, see Motor control, see ...

Page 28

Schematics Figure 16. Microcontroller connections 28/44 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 Doc ID 17489 Rev 1 UM0944 ...

Page 29

UM0944 Figure 17. MCU Doc ID 17489 Rev 1 Schematics 29/44 ...

Page 30

Schematics Figure 18. LCD, joystick, CAN and 10K R53 10K R52 10K R51 10K R50 10K R49 30/ EEPROM connections 100nF C29 100nF C28 100nF C27 100nF C26 100nF C25 Doc ID 17489 Rev ...

Page 31

UM0944 Figure 19. Multiplexer Doc ID 17489 Rev 1 Schematics 31/44 ...

Page 32

Schematics Figure 20. Audio peripherals 32/ Doc ID 17489 Rev 1 UM0944 2 ...

Page 33

UM0944 Figure 21. Motor control Doc ID 17489 Rev 1 Schematics 33/44 ...

Page 34

Schematics 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 35

UM0944 Figure 23. QST connector Doc ID 17489 Rev 1 Schematics 35/44 ...

Page 36

Schematics Figure 24. LIN connectors 36/44 Doc ID 17489 Rev 1 UM0944 ...

Page 37

UM0944 Figure 25. UART and IrDA connectors Doc ID 17489 Rev 1 Schematics 37/44 ...

Page 38

Schematics Figure 26. Smartcard connections 38/44 Doc ID 17489 Rev 1 UM0944 ...

Page 39

UM0944 Figure 27. Power supply GND 1 2 Doc ID 17489 Rev 1 Schematics 39/44 ...

Page 40

... VREF- PF0 AIN10 PB7 AIN7 PB6 AIN6 PB5 AIN5 PB4 AIN4 PB3 AIN3 PB2 AIN2 Doc ID 17489 Rev 1 STM8A/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 ...

Page 41

... UM0944 Table 23. STM8A/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 42

... STM8A/128-EVAL IO assignment Table 23. STM8A/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 42/44 Main Alternate function PE2 ...

Page 43

UM0944 Revision history Table 24. Document revision history Date 14-May-2010 Revision 1 Initial release. Doc ID 17489 Rev 1 Revision history Changes 43/44 ...

Page 44

... 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