数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN969 数据表(PDF) 6 Page - STMicroelectronics

部件名 AN969
功能描述  SCI COMMUNICATION BETWEEN ST7 AND PC
PDF  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN969 数据表(HTML) 6 Page - STMicroelectronics

Back Button AN969 Datasheet HTML 2Page - STMicroelectronics AN969 Datasheet HTML 3Page - STMicroelectronics AN969 Datasheet HTML 4Page - STMicroelectronics AN969 Datasheet HTML 5Page - STMicroelectronics AN969 Datasheet HTML 6Page - STMicroelectronics AN969 Datasheet HTML 7Page - STMicroelectronics AN969 Datasheet HTML 8Page - STMicroelectronics AN969 Datasheet HTML 9Page - STMicroelectronics AN969 Datasheet HTML 10Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 6 / 10 page
background image
6/10
SCI COMMUNICATION BETWEEN ST7 AND PC
Note: ETPR and ERPR can be used to finetune the baud rate. When ETPR and ERPR con-
tain any value other than 0, the BRR register is disabled and the baud rates are given by the
formula:
TX = fCPU/(16*EPTR*PR*TR) RX = fCPU/(16*ERPR*PR*RR)
where EPTR and ERPR = 1 to 255.
3.2.3 Word length
The word length is selected by the M bit in the SCICR1 register.
In the application, data length is always 8 bits, but the user can force a second stop bit. This
is done using a 9-bit word length and setting the 9th bit (T8 bit of SCICR1). When receiving
data, R8 bit will always be set (reception of 2 stop bits).
Special bits (PCE,PS,PIE) are also available to use the SCI with parity (not used in this appli-
cation). Refer to the datasheet for more information.
3.2.4 Selecting reception and transmission modes
The selection is made using the SCICR2 register.
Transmission is enabled or disabled depending on the value of the TE bit of SCICR2 (TE = 1,
transmission enabled). When disabled, the TDO pin is free for general purpose I/O.
Reception is enabled or disabled depending on the value of the RE bit of SCICR2 (RE = 1, re-
ception enabled). When disabled, the RDI pin is is free for general purpose I/O.
When reception is disabled, no data must be sent to the ST7. If data are to be received at this
time, the RE bit must be set. Otherwise a wrong byte might be detected when going back into
reception mode.
70
R8
T8
SCID
M
WAKE
PCE
PS
PIE
70
TIE
TCIE
RIE
ILIE
TE
RE
RWU
SBK



Html Pages

1 2 3 4 5 6 7 8 9 10


数据表 下载

Go To PDF Page


链接网址



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