Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN1797 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN1797
Description  STR71x UART COMMUNICATION WITH A PC USING RS232
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1797 Datasheet(HTML) 5 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
 5 / 9 page
background image
5/9
STR71x UART COMMUNICATION WITH A PC USING RS232
2.4 UART CONFIGURATION
The peripheral is configured using the UART Control Register (CR), and the Baud Rate Reg-
ister (BRR).
As in this application a polling strategy is used, UART interrupts are disabled. Also FIFOs and
loop back mode are disabled.
In the application, data length can be 8 bits or 9 bits (parity bit included). Parity must be odd or
even parity if you select 7 bit mode or 8 bit mode with parity is selected. Select No Parity if 8
bit mode is selected, stop bits can be 1, 1.5 or 2 stop bits.
2.4.1 Baud rate selection
Then you must select the baud rates. We should always have the same baud rates in the PC
and in the UART.
The baud rates are calculated as follows:
Baudrate = fPCLK1 / (16*BRR), BRR = fPCLK1 / (16*Baudrate)
For example, in our application, we will use 9600 as baud rate, and the fPCLK1 is 8 MHz.



Html Pages

1 2 3 4 5 6 7 8 9


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