UM2339 STMICROELECTRONICS | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 26
Technical content
Datasheet sections
- 1 Features
- 2 Product marking
- 3 System requirements
- 4 Development toolchains
- 5 Demonstration software
- 6 Ordering information
- 7 Hardware layout and configurat ion
- 7.1 Mechanical drawing
- 7.2 Embedded ST-LINK/V2
- 7.2.2 Using the ST-LINK/V2 to prog ram/debug a STM8 device on a DIL8
- 7.2.3 Using the ST-LINK/V2 to program/debug an external STM8 device
- 7.2.4 Driver
- 7.2.5 ST-LINK/V2 firmware upgrade
- 7.3 Power supply (CN3)
- 7.4 LEDs (LD1 and LD2)
- 7.5 Push-button (B1)
- 7.6 IDD measurement (JP1)
operated by simply plugging it into a PC through a standard USB Type-A to Micro-B cable. Figure 1. STM8-SO8-DISCO (Top view)
- Picture is not contractual.
Appendix E Federal Communi cations Commission (FCC)
1 Features
- STM8S001J3M3 microcontroller featuring 8 Kbytes of Flash memory, 1 Kbyte of RAM and 128 bytes of Data EEPROM in an SO8 package
- STM8L001J3M3 microcontroller featuring 8 Kbytes of Flash memory including up to 2 Kbytes of Data EEPROM and 1.5 Kbytes of RAM in an SO8 package
- STM8L050J3M3 microcontroller featuring 8 Kbytes of Flash memory, 1 Kbyte of RAM and 256 bytes of Data EEPROM in an SO8 package
- 1 user Led
- 1 user push-button
- Individual and breakable STM8 SO8 to DIL8 module
- DIL8 socket to ease programming of the STM8 MCU
- On-board ST-LINK/V2 debugger/programmer
- Comprehensive free software libraries and examples
- Support of a wide choice of Integrated Development Environments (IDEs) including Cosmic, IAR™, Raisonance, i SYSTEM and STMicroelectronics
2 Product marking
Evaluation tools marked as ‘ES’ or ‘E’ are not yet qualified and therefore they are not ready to be used as reference design or in production. Any consequences deriving from such usage will not be at ST charge. In no event, ST will be liable for any customer usage of these engineering sample tools as reference design or in production. ‘E’ or ‘ES’ marking examples of location:
- On the targeted STM8 that is soldered on the board (for illustration of STM8 marking, refer to the section ‘Package information’ of the STM8 datasheet at www.st.com).
- Next to the evaluation tool ordering part number, that is stuck or silkscreen printed on the board
3 System requirements
- Windows® OS (7, 8 and 10)
- USB Type-A to Micro-B cable
4 Development toolchains
- STMicroelectronics: free STVD-STM8 (using Cosmic toolchain)
- IAR™: IAR-EWSTM8
- Cosmic: free IDEA
- Raisonance: RIDE-STM8
- iSYSTEM: winIDEA-STM8
5 Demonstration software
www.st.com/stm8-discovery web page.
6 Ordering information
To order the STM8-SO8-DISCO kit, refer to Table 1. Table 1. Ordering information
7 Hardware layout and configuration
evaluation, each STM8 device is mounted on individual and breakable SO8 to DIL8 module. Figure 2 helps users to locate the different features of the STM8-SO8-DISCO board. Figure 2. Top layout
7.1 Mechanical drawing
Figure 3. Mechanical drawing
7.2 Embedded ST-LINK/V2
- Program/debug one on-board STM8 device by selecting it using the corresponding solder bridges
- Program/debug a STM8 device mounted on a DIL8 module plugged to the socket U3
- Program/debug an external STM8 device mounted on a user application board using a cable connected to SWIM connector (CN1) The embedded ST-LINK/V2 supports only SWIM for STM8 devices. For information about debugging and programming features refer to ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 User manual (UM1075), which describes in details all the ST-LINK/V2 features.
7.2.1 Using the ST-LINK/ V2 to program/debug one on-board STM8 device
no external target must be connected to CN1. preferable to also configure others solder bridges.
7.2.2 Using the ST-LINK/ V2 to program/debug a STM8 device on a DIL8
Table 2. Selecting one on-board STM8 Table 3. DIL8 socket (U3) pinout
1 GPIO1/SWIM Serial wire interface module (SWIM)
2 GPIO2 Not connected
3 GND Ground
5 GPIO3/LED User LED
Note: When plugging the DIL8 module to th e socket, please pay attention to the pin 1.
7.2.3 Using the ST-LINK/ V2 to program/debug an external STM8 device
Note: This program/debug connector is only 3.3 V compliant.
7.2.4 Driver
ST-LINK/V2 must be installed. It can be downloaded from the www.st.com website. PC device manager may report the interface as ‘Unknown’. be updated in the device manager manually.
7.2.5 ST-LINK/V2 firmware upgrade
board and periodically, in order to stay up-to-date with the latest firmware version.
6 GPIO4 Not connected
7 GPIO5/BP User push-button
8 GPIO6 Not connected
Table 3. DIL8 socket (U3) pinout (continued) Table 4. External SWIM connector (CN1) pinout
1 NC Not connected
2 SWIM Serial wire interface module
3 VSS Ground
4 NRST Reset of STM8 device
7.3 Power supply (CN3)
7.4 LEDs (LD1 and LD2)
- Slow blinking Red/Off: at power-on before USB initialization
- Fast blinking Red/Off: after the first correct communication between the PC and ST-LINK/V2 (enumeration)
- Red LED On: when the initialization between the PC and ST-LINK/V2-1 is complete
- Green LED On: after a successful target communication initialization
- Blinking Red/Green: during communication with target
- Green On: communication finished and successful
- Orange On: Communication failure
7.5 Push-button (B1)
The use of the push-button depends on the STM8 device firmware. Table 5. User LED port assignment Table 6. User push-button port assignment
UM2339 Hardware layout and configuration
7.6 IDD measurement (JP1)
Jumper IDD (JP1) allows to measure the consumption of a STM8 device by removing the jumper and by connecting an ammeter:
- Jumper ON: STM8 device(s) is (are) powered (default).
- Jumper OFF: an ammeter must be connected to measure the STM8 device(s) current. If there is no ammeter, STM8 device(s) is (are) not powered. Note: By default all STM8 devices are powered. To isolate the power consumption of only one STM8 device, it is required to either cutout the non-required DIL8 modules or to cut all of them and insert the required DIL8 module in the socket U3.
Table 7. STM8S001J3M3 DIL8 module
1 GPIO1/SWIM 8 PC6/PD1/PD3/PD5
2 GPIO2 1P A 1 / P D 6
3 GND 2G r o u n d
4 VDD 4 Power supply
5 GPIO3 5 PA3/PB5
6 GPIO4 6 PB4
7 GPIO5 7 PC3/PC4/PC5
8 GPIO6 NC Not connected
Table 8. STM8L001J3M3 DIL8 module
1 GPIO1/SWIM 1 PA0/PC3/PC4
2 GPIO2 2 PA2/PA4/PA6
3 GND 3G r o u n d
5 GPIO3 5 PB3/PB5/PD0
6 GPIO4 6 PB6
7 GPIO5 7 PB7/PC0
8 GPIO6 8 PC1/PC2
Table 9. STM8L050J3M3 DIL8 module
1 GPIO1/SWIM 1 PA0/PA2/PC6
2 GPIO2 2P A 3
8 GPIO6 8 PC1/PC4/PC5
Appendix D Electrical schematics This section provides design schematics of the STM8-SO8-DISCO discovery board:
- Figure 4: STM8-SO8-DISCO board interconnections
- Figure 5: STM8S001J3M3 module
- Figure 6: STM8L001J3M3 module
- Figure 7: STM8L050J3M3 module
- Figure 8: Button, LED and programming socket
- Figure 9: ST-LINK/V2
18/26 UM2339 Rev 1 Figure 4. STM8-SO8-DISCO board interconnections TopTitle: Size: Reference: Sheet: ofA4 Revision: Project: STM8 SO8 Discovery MB1383A0 2 11-DEC-17 Default Date: Variant: T_SWIM U_ST-LinkV2_SWIM ST-LinkV2_SWIM.SchDoc U_Mechanical Mechanical.SchDoc STM8S001J3_USER_B STM8S001J3_USER_LED STM8S001J3_T_SWIM STM8L001J3_USER_B STM8L001J3_USER_LED STM8L001J3_T_SWIM STM8L050J3_USER_B STM8L050J3_USER_LED STM8L050J3_T_SWIM T_SWIM U_Button-Led-ProgSocket Button-Led-ProgSocket.SchDoc STM8L001J3_USER_B STM8L001J3_USER_LED STM8L001J3_T_SWIM U_STM8L001J3_Module STM8L001J3_Module.SchDoc STM8S001J3_USER_B STM8S001J3_USER_LED STM8S001J3_T_SWIM U_STM8S001J3_Module STM8S001J3_Module.SchDoc STM8L050J3_USER_B STM8L050J3_USER_LED STM8L050J3_T_SWIM U_STM8L050J3_Module STM8L050J3_Module.SchDoc
Figure 5. STM8S001J3M3 module
20/26 UM2339 Rev 1 Figure 6. STM8L001J3M3 module STM8L001J3 moduleTitle: Size: Reference: Sheet: ofA4 Revision: Project: STM8 SO8 Discovery MB1383A0 2 11-DEC-17 Default Date: Variant: VDD VDD 100nF STM8L001J3_USER_B STM8L001J3_USER_LED STM8L001J3_T_SWIM STM8L001J3M3 PA0/PC3/PC41 PA2/PA4/PA62 VSS3 VDD4 PB3/PB5/PD0 5 PB6 6 PB7/PC0 7 PC1/PC2 8 DIL8-LYCON N--7.40X1.83 44 5 5 6 6 7 7 8 8
Figure 7. STM8L050J3M3 module
22/26 UM2339 Rev 1 Figure 8. Button, LED and programming socket Button, LED and programming socketTitle: Size: Reference: Sheet: ofA4 Revision: Project: STM8 SO8 Discovery MB1383A0 2 11-DEC-17 Default Date: Variant: 510R R13 GREEN LD1 3V3_STLINK R15 100K R14 10pF SW_BLUE 1 3 44 5 5 6 6 7 7 8 8 STM8-MODULE-DIL8 -SOCKET VDD GND 100nF C12 1uF STM8S001J3_USER_B STM8S001J3_USER_LED STM8S001J3_T_SWIM USER STM8L001J3_USER_B STM8L001J3_USER_LED STM8L001J3_T_SWIM STM8L050J3_USER_B STM8L050J3_USER_LED STM8L050J3_T_SWIM T_SWIM BLUE HAT HW1 SB7 SB1 SB4 SB8 SB2 SB5 SB9 SB3 SB6
Figure 9. ST-LINK/V2
Federal Communications Commission (FCC) and Industry Canada (IC) Compliance UM2339 24/26 UM2339 Rev 1 Appendix E Federal Communications Commission (FCC) and Industry Canada (IC) Compliance This kit is designed to allow: 1. Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and 2. Software developers to wr ite software applications for use with the end product. This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required FCC equipment authorizations are first obtained. Operation is subject to the condition that this product not cause harmful interference to licensed radio stations and that this product accept harmful interference. Unless the assembled kit is designed to operate under part 15, part 18 or part 95 of 47 CFR, Chapter I (‘FCC Rules’), the operator of the kit must operate under the authority of an FCC license holder or must secure an experimental authorization under part 5 of this chapter.
Revision history
Table 10. Document revision history