Home
UM0817 User Manual
Contents
1. Table 3 CN3 pinout Morris Pin name 5 Main function Alternate function 1 13 Vdda S power supply 2 14 Vssa S Analog ground 3 15 PB7 lO Port B7 Analog input 7 4 16 PB6 Port B6 Analog input 6 5 17 PB5 Port B5 Analog input 5 6 18 PB4 lO Port B4 Analog input 4 7 19 PB3 Port Analog input 3 8 20 PB2 lO Port B2 Analog input 2 9 21 PB1 lO Port B1 Analog input 1 10 22 PBO IO Port BO Analog input 0 11 23 PE7 lO Port E7 Analog input 8 12 24 PE6 lO Port E6 Analog input 9 2 Table 4 CN4 pinout al Pin name E Main function Alternate function 1 37 lO Port Timer 1 break Input 2 38 PE2 lO Port E2 2 data 3 39 PE1 lO Port E1 2 clock 4 40 PEO lO Port EO Configurable clock output 5 41 PDO LED lO Port DO Timer 3 channel 2 6 42 PD1 SWIM lO Port D1 SWIM data interface 7 43 PD2 lO Port D2 Timer 3 channel 1 8 44 PD3 IO Port Timer 2 channel 2 9 45 PD4 lO Port D4 Timer 2 channel 1 10 46 PD5 IO Port 05 UART2 data transmit 11 47 PD6 IO Port D6 UART2 data receive 12 48 PD7 lO Port D7 Top level interrupt 12 17 Doc ID 16361 Rev 1 4 Electrical schematics Figure 11 STM8S DISCOVERY U ST LINK U MCU ST LINKSSCHDOC MCU SchDoc RESET lt _ gt RESET ST LINK SWIM lt 2 ST LINK SWIM
2. _ luF 100nF 28 ca 25 ca en en e i 5 51 3 TS PAD Title STMSS Discovery MCU Number MB867 Rev 5 Date 8 24 2009 Sheet2 of d 1 2 3 4 25 e21129 3 19291 CI 900 29 Figure 13 STM8S DISCOVERY ST Link SWIM only z x z 5 TECE as VDD 25 SSIS lt M 43V3 AG F G a 2 a a suele ale esee STM32F103C8T6 R12 Pur uu uu 680 A 125 D 220 47 20 pF IN SWIM 3 4 43V3 ag 8 43V3 SWIM RST IN R9 220 SWIM RST RIA V aT ERR ONT 9 2 5 _2 s T 13 VSS 2 ____85 JTMS 5 5 SWIM PULLUP gt 33 USB DP VDD CN7 056 5 AD USB DM osc our 6 1 OSCJIN EUM 31 UTHX l RIO StM Ast 7 SCOUT PAIO A UT 2 43V3 gt RST PAQ 90 UL 3 00 3 TSSA 5 ST LINK LED 10083 V3 aN 10 S MOSI T JIMS Header 4 105 52 LJ1MS 25 651 zs eine T JTCK U2TX D E ES URTX 18 og 9 PBI2 9 3 5 Dun p n A eX ege9ege aya 2 x lt I
3. 13 5 Revision history 16 2 17 Doc ID 16361 Rev 1 ky UM0817 Quick start Quick start It is very simple to get started using the STM8S DISCOVERY evaluation board just follow these four steps 1 2 3 4 Connect the STM8S DISCOVERY board to a PC with a USB cable Press the TS1 button Observe LED LD1 blinking Press the TS1 button to change blinking speed Connect to www st com stm8s discovery and follow the tutorial The STM8S DISCOVERY evaluation board helps you to develop and share your own application You can discover more of the STM8S features by downloading and executing the proposed programs in the project list Doc ID 16361 Rev 1 3 17 Hardware and layout 0 0817 2 4 17 Hardware and layout The STM8S DISCOVERY evaluation board is designed around the STM8S105C6 microcontroller in an LQFP48 package It has two distinct sections that may be separated the STM8S105C6 module and the ST Link module Figure 2 illustrates the connections between the STM8S105C6 and its peripherals ST LINK touch sensing button LED and connectors Figure 3 helps you to locate these features on the STM8S DISCOVERY board as well as the potential point of separation for more details refer to Section 2 2 2 Using the ST Link on other applications Figure 2 Hardware block diagram USB STLINK 3V3 5V
4. 9 ayo gt gt eal cl 5 5 5 2 5 SWIM T ET CNS JHH 85 43V3 STM E STM JTCK 3 STM JTDO Hy JTAG MCU 1 2 ST LINK LED 310 RED R20 VDD CN6 ART 4 7 VCC f a U4 1 LED GS LD1117 3V3 43V3 SHELL Vin SHELL 1 connector zi C19 STMicroelectronics ATF 47uF 104P 104P 104p 104P Title STMSS Discovery ST LINK SWIM only USB Number MB867 Rev A1 PCB SCH 6 25 2009 5 Z SOINN 25 e21129 3 Revision history UM0817 5 16 17 Revision history Table 5 Document revision history Date Revision Changes 05 Oct 2009 1 Initial release Doc ID 16361 Rev 1 0 0817 Please Read Carefully 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 Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described
5. 19291 CI ZIEL STMicroelectronics Title STMSS Discovery Number MB867 5 Date 5 6 2009 21800 25 e21129 3 19291 CI Figure 12 STM8S DISCOVERY MCU R7 10K N A Extension connector 1 2 3 4 1 CNI CN2 NRST PAI PES 1 22 li i B UE VCAP PC4 2 DD EA d pj VDD jl PCE PS PAS 1 PAG Hom Header 6X2H Lefi Header 6X2H Ri ght CN3 VDDA PE3 PE2 12 PB7 A PB6 PEI A A PEO PBS S 6 PDO B 6 PDI 2 4 PB2 PD2 2 8 PD3 PBI 5 a PD4 G PDS PE7 18 PEG PD6 i dE PD7 lt SEU Header 6X2H Down Header 6X2H Top 21800 CI zx 1 10nF Ul 8 85105 6 6 16MHz NRST 1 NRST PGI zd 3 OSCINPAI 2 OSCOUT PA2 20pF 4 5 PC6 3 Vssio_1 Vss VDD 6 Veap I 7 PES 65 Vddio 1 Active shield PC3 20pF PA3 Dub 4 5 Sanonta g SSRERRERRREE solder bridge ESD resistor dose to MCU pad S ion EE E ES ae ol 4 e VDDA voDI BEAD 06 1 g lt Touch Sensing diameter 8mm Lc
6. UM0817 J User Manual STM8S DISCOVERY evaluation board Introduction STM8S DISCOVERY is a quick start evaluation board which helps you to discover the STM8 features and to develop and share your own application It is based STM8S105C6T6 and includes an embedded debugger ST LINK and a touch sensing button Numerous applications are available Features STM8S105C microcontroller Powered by USB cable between PC and STM8S DISCOVERY Selectable power of 5 V or 3 3 V Embedded ST Link for STM8S USB interface for programming and debugging SWIM debug support Touch Sensing button TS1 User LED LD1 Extension header for all I Os Wrapping area for users own application Figure 1 STM8S DISCOVERY evaluation board October 2009 Doc ID 16361 Rev 1 1 17 www st com Contents UM0817 Contents 1 Quick Start MM 3 2 Hardware and 4 2 1 STM8S105C6 microcontroller 6 2 2 Rasa he ae ne eu EE FE a IEN 8 2 2 1 Using the ST Eink 84 We ed eee x EY 8 2 2 2 Using the ST Link on other applications 8 2 3 Power supply and power selection 9 2 44 Single touch sensing 10 3 Daughter board connection 11 4 Electrical schematics
7. features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability 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 2009 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 ky Doc ID 16361 Rev 1 17 17
8. SWIM STM8S105C6 Eval board GPIO s LD1 TS1 000000 Wrapping area 5016 Footprint Doc ID 16361 Rev 1 UM0817 Hardware and layout Figure 3 layout USB connector e ee ee ST Link JTAG me ee E ss USB data transfer LED 5 Ha x Nu Nu MN m m mn ST LINK core Lr mum SWIM connector mmu mumu EZ OS Possible separation point meo LED LD1 Power supply jumper me ee ee eee ee External Osc 16 MHz ee ee 5 85105 6 eo m t 8 0009009 Touch sensing button TS1 m mooococ 0 B 2 _ Wrapping area 000000 __ 0000 m 0000060 0000069 0000 5016 footprint 0000 0000060 60000 0000060 60000 Doc ID 16361 Rev 1 57 Hardware and layout UM0817 2 1 6 17 STM8S105C6 microcontroller Figure 4 STM8S105C6 package The STM8S105C6 8 bit microcontroller offers e 32 Kbytes of Flash program memory and e 1 Kbyte tru
9. e data EEPROM LQFP48 7x7 This device provides the following benefits Reduced system cost Integrated true data EEPROM for up to 300 write erase cycles A High system integration level internal clock oscillators brown out reset watchdog Performance and robustness 16 MHz CPU clock frequency Up to 38 I Os on a 48 pin package including 16 high sink outputs Robust immune against current injection ndependent watchdogs with separate clock source Flexible clock control 4 master clocks HSI LSI HSE and external HSE Clock security system A family of products for applications with 2 95 V to 5 5 V operating supply Short development cycles Applications scalability across common family product architecture with compatible pinout memory map and modular peripherals Full documentation and a wide choice of development tools Standard S W library for firmware development quick start Numerous application notes and firmware examples available Product longevity A Advanced core and peripherals made in state of the art technology Low power modes wait active halt halt A Auto wake up timer for active halt Permanently active low consumption Other features Nested interrupt controller with 32 interrupts Up to 37 external interrupts on 6 vectors 2 16 bit general purpose timers with 2 3 CAPCOM channels OC PWM Advanced c
10. g ST Link SWIM RC e gt S ex The driver for ST Link is installed automatically when the USB is connected For more information about ST Link debugging and programming features refer to the software and debug documentation For information about the SWIM protocol refer to UM0470 Using the ST Link on other applications You can connect your ST Link to other applications in 2 ways e Byremoving the solder bridges This way uses the ST Link without breaking the PCB Unsolder the two solder bridges SB1 and SB2 under the SWIM connector See Figure 7 You can re solder the two bridges at a later date thus keeping the STM8S DISCOVERY usable e Byremoving it from your board This way constitutes a good alternative to programming the STM8 devices in other applications See Figure 8 Figure 7 ST Link alternative E B tutt 14 s Remove SB1 and SB2 solder bridges gt 0600000 000000 E Doc ID 16361 Rev 1 ky 0 0817 Hardware and layout 2 3 Figure 8 Separated ST Link module STM8S105C6 eval board Warning By removing this module you will lose power supply on the STM8S105C6 evaluation board In consequence you will not be able to program and use the STM8S105C6 evaluation board without a SWIM cable and an external power supply To reconnect y
11. herein No license express or implied by estoppel or otherwise to any intellectual property rights is granted under this document If any part of this document 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 products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third 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 IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS 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 AUTOMOTIVE GRADE 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
12. nformation about touch sensing please refer to AN2927 Doc ID 16361 Rev 1 ky UM0817 Daughter board connection 3 Daughter board connection Four 12 pin male headers CN1 CN2 CN3 and CN4 are connected to the STM8S105C6 microcontroller See the following tables for pin assignments Table 1 CN1 pinout Piinumser eun 8 Main function Alternate function Cn1 chip 2 1 1 NRST lO Reset 2 2 OSCIN PA1 lO Port A1 3 3 OSCOUT PA2 Port A2 4 4 Vssio 1 S ground 5 5 Vss S Digital ground 6 6 VCAP S 1 8 regulator capacitor 7 7 Vdd S Digital power supply 8 8 Vddio 1 S supply 9 9 lO Port 10 10 4 lO Port A4 11 11 PA5 lO Port A5 12 12 PA6 lO Port A6 Table 2 CN2 pinout i ea ND Pin name Main function Alternate function 1 25 PE5 lO Port E5 SPI master slave 2 26 PCI TSI IO Port C1 2 3 27 PC2 TS1 load 10 Port C2 Timer 1 channel2 4 28 lO Timer 1 channel 3 5 29 lO Port C4 Timer 1 channel 4 6 30 PC5 lO Port C5 SPI clock 7 31 Vssio 2 S ground 8 32 Vddio 2 S power supply 9 33 PC6 lO Port C6 SPI master out slave in 10 34 PC7 lO Port C7 SPI master in slave out 11 35 PGO lO Port GO 12 36 PG1 lO G1 Doc ID 16361 Rev 1 1147 Daughter board connection UM0817
13. ontrol 16 bit 4 CAPCOM channels complementary outputs dead time insertion and flexible synchronization 8 bit basic timer with 8 bit prescaler UART with clock output for synchronous operation Smartcard IrDA LIN interface up to 8 Mbit s J2C interface up to 400 Kbit s Analog to digital converter 10 bit 1 LSB ADC with up to 10 multiplexed channels Doc ID 16361 Rev 1 ky UM0817 Hardware and layout Figure 5 STM8S105C6 block diagram Reset block XTAL 1 16 MHz Clock controller Single wire debug interf Up to 32 Kbytes progam Master slave Flash autosynchro LIN master 1 Kbytes SPI emul data EEPROM 400 Kbit s 8 Mbit s 16 bit advanced control timer TIM 1 16 bit general purpose timers TIM2 TIM3 1 2 4 kHz beep For more information see the complete STM8S documentation Doc ID 16361 Rev 1 7 17 Hardware and layout UM0817 2 2 2 2 1 Note 2 2 2 8 17 ST Link The ST Link provides a USB interface for programming and debugging using a single wire interface module SWIM The ST Link module of the STM8S DISCOVERY evaluation board also supplies 5 V and 3 3 V to the STM8S105C6 module Using the ST Link Figure 6 Typical configuration Hardware requirements USB cable type B Computer with Windows 2000 XP or Vista OS om Software requirement IC BS Programming tool chain supportin
14. our STM8S105C6 use connector CNn see Section 3 Daughter board connection Power supply and power selection The power supply is provided by a USB connector Jumper JP1 selects the VDD value 5 V or regulated 3 3 V see Figure 9 Figure 9 Power selection 3 VDD 5V Doc ID 16361 Rev 1 9 17 Hardware and layout UM0817 2 4 10 17 Single touch sensing A touch sensing button TS1 is available on the STM8S DISCOVERY evaluation board see Figure 10 Figure 10 Touch sensing schematic shield PC2 l PCI ei Y SB3 584 pe e gue x ESD resistor dase toMCU pad 585 NY 10K o Toudh Sensing diameter 5mm EX PC3 151 IS PAD To disable the touch sensing interface and to use PC1 PC2 as standard I O you need to unsolder the 2 1 connection and solder 2 3 connection on 584 and 583 you also need to unsolder the R2 resistor RC acquisition principle The RC acquisition method detects a human touch on key touch sensor TS1 by measuring the small variation of the touch electrode capacitance C2 Electrode capacitance C2 is periodically charged and discharged through a fixed resistor R2 The capacitance value depends on the following parameters electrode area A relative dielectric constant of the insulator eR the relative permittivity of air e0 and the distance between the two electrodes For more i
Download Pdf Manuals
Related Search
Related Contents
Nikon 9350 User's Manual "取扱説明書" Microhmmètre InstallatIons- und BetrIeBsanleItung PRS-300 Guide de l`utilisateur Consultation de la table des matières 取扱説明書 警告 警告 BLM 3.1.2.37 User`s Guide Only Lexmark X340 and X342n MFP 7003-XXX Service Manual Graco 3A0103E User's Manual Copyright © All rights reserved.
Failed to retrieve file