Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN969 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN969
Description  SCI COMMUNICATION BETWEEN ST7 AND PC
PDF  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN969 Datasheet(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


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