| Moteur de recherche de fiches techniques de composants électroniques |
|
AN3259 Fiches technique(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3259 Fiches technique(HTML) 7 Page - STMicroelectronics |
|
7 / 25 page ![]() AN3259 Application description Doc ID 17835 Rev 1 7/25 3.3 Application principle This application sets up a standard communication interface between the STM8S105C6T6 microcontroller and a terminal window running on a PC. Communications are performed thanks to STM8S UART using the RS232 protocol. Both terminal window and UART must be configured in the same way (see Appendix B: Configuring your terminal window). This document only describes the communications and data processing from the STM8S UART side. For more information about Windows HyperTerminal or similar software, refer to Microsoft® Help or suppliers web pages. 3.3.1 Running the application To run the application, perform the following steps: 1. Launch and configure a terminal window on your PC (see Appendix B: Configuring your terminal window for an example regarding Windows HyperTerminal). 2. Compile and run the application firmware using the ST Visual Develop (STVD). 3. Connect your PC to the STM8S-DISCOVERY through an RS232 cable. 4. When the application has started, a menu is displayed on the Windows HyperTerminal (Figure 2.: Terminal window menu). It allows to: – Switch LD1 on or off. – Configure LD1 blinking speed. – Enable/disable the beeper and select the beep frequency) All the information displayed on this menu are sent by the STM8S microcontroller. When a key is struck on the HyperTerminal, the corresponding ASCII value is sent to the microcontroller and decoded. Figure 2. Terminal window menu |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |