전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN1797 데이터시트(PDF) 4 Page - STMicroelectronics

부품명 AN1797
상세설명  STR71x UART COMMUNICATION WITH A PC USING RS232
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1797 데이터시트(HTML) 4 Page - STMicroelectronics

  AN1797 Datasheet HTML 1Page - STMicroelectronics AN1797 Datasheet HTML 2Page - STMicroelectronics AN1797 Datasheet HTML 3Page - STMicroelectronics AN1797 Datasheet HTML 4Page - STMicroelectronics AN1797 Datasheet HTML 5Page - STMicroelectronics AN1797 Datasheet HTML 6Page - STMicroelectronics AN1797 Datasheet HTML 7Page - STMicroelectronics AN1797 Datasheet HTML 8Page - STMicroelectronics AN1797 Datasheet HTML 9Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 4 / 9 page
background image
4/9
STR71x UART COMMUNICATION WITH A PC USING RS232
2 RS232 COMMUNICATION WITH A PC
2.1 MAIN FEATURES
The electrical and protocol characteristics of the STR71x UART peripheral are different from
RS232. In RS232 communication, high level is typically +12 V and low level is typically -12 V,
while the UART peripheral works with TTL level (0, +5V).
The adaptation is done using a line adapter circuit (ex: ST3232), which transforms the logic
levels output by the digital system into RS232-compatible levels and vice versa.
2.2 PC CONFIGURATION
In this example, the PC will act as a terminal. The description below refers to the Windows en-
vironment. The Windows terminal application is called HyperTerminal.
Under Windows, open the “HyperTerminal” application. To configure it, go to the communica-
tion parameters menu. The options that you set in this menu must be the same as the ones
defined in your STR71x.
After selecting the right serial communication port, select the same baud rate as the one con-
figured in the microcontroller. Data word length will be 8 bits, but you can choose to use 1 or
2 stop bits. “Flow control” can be either Xon/Xoff or none.
The PC is then correctly configured.
2.3 GENERAL INITIALIZATION
The external clock works at 16 MHz.
In the STR71x, four UARTs are available. In this application only UART0 is used. Two pins of
the STR71x are used:
- the TX0 pin (Transmit Data Output, alternate function of P0.9).
- the RX0 pin (Receive Data Input, Input Tristate CMOS of P0.8).
The value of the Port 0 Data Register does not matter.



Html Pages

1 2 3 4 5 6 7 8 9


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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