Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

AN3259 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN3259
Description  RS232 communications with a terminal using the STM8S-DISCOVERY
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3259 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN3259 Datasheet HTML 3Page - STMicroelectronics AN3259 Datasheet HTML 4Page - STMicroelectronics AN3259 Datasheet HTML 5Page - STMicroelectronics AN3259 Datasheet HTML 6Page - STMicroelectronics AN3259 Datasheet HTML 7Page - STMicroelectronics AN3259 Datasheet HTML 8Page - STMicroelectronics AN3259 Datasheet HTML 9Page - STMicroelectronics AN3259 Datasheet HTML 10Page - STMicroelectronics AN3259 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 25 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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