Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16C765/P Datasheet(PDF) 77 Page - Microchip Technology

Part # PIC16C765/P
Description  8-Bit CMOS Microcontrollers with USB
PDF  158 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16C765/P Datasheet(HTML) 77 Page - Microchip Technology

Back Button PIC16C765/P Datasheet HTML 73Page - Microchip Technology PIC16C765/P Datasheet HTML 74Page - Microchip Technology PIC16C765/P Datasheet HTML 75Page - Microchip Technology PIC16C765/P Datasheet HTML 76Page - Microchip Technology PIC16C765/P Datasheet HTML 77Page - Microchip Technology PIC16C765/P Datasheet HTML 78Page - Microchip Technology PIC16C765/P Datasheet HTML 79Page - Microchip Technology PIC16C765/P Datasheet HTML 80Page - Microchip Technology PIC16C765/P Datasheet HTML 81Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 77 / 158 page
background image
© 1999 Microchip Technology Inc.
Advanced Information
DS41124A-page 77
PIC16C745/765
11.1
USART Baud Rate Generator (BRG)
The BRG supports both the asynchronous and syn-
chronous modes of the USART. It is a dedicated 8-bit
baud rate generator. The SPBRG register controls the
period of a free running 8-bit timer. In asynchronous
mode, bit BRGH (TXSTA<2>) also controls the baud
rate. In synchronous mode, bit BRGH is ignored.
Table 11-1 shows the formula for computation of the
baud rate for different USART modes which only apply
in master mode (internal clock).
Given the desired baud rate and FINT, the nearest inte-
ger value for the SPBRG register can be calculated
using the formula in Table 11-1. From this, the error in
baud rate can be determined.
It may be advantageous to use the high baud rate
(BRGH = 1) even for slower baud clocks. This is
because the FINT/(16(X + 1)) equation can reduce the
baud rate error in some cases.
Writing a new value to the SPBRG register causes the
BRG timer to be reset (or cleared). This ensures the
BRG does not wait for a timer overflow before output-
ting the new baud rate.
11.1.1
SAMPLING
The data on the RC7/RX/DT pin is sampled three times
near the center of each bit time by a majority detect cir-
cuit to determine if a high or a low level is present at the
RX pin.
TABLE 11-1:
BAUD RATE FORMULA
SYNC
BRGH = 0 (Low Speed)
BRGH = 1 (High Speed)
0
1
(Asynchronous) Baud Rate = FINT/(64(SPBRG+1))
(Synchronous) Baud Rate = FINT/(4(SPBRG+1))
Baud Rate= FINT/(16(SPBRG+1))
NA
TABLE 11-2:
BAUD RATES FOR SYNCHRONOUS MODE
Desired
Baud
4 MHz
6 MHz
24 MHz
Actual
Baud
% of
Error
SPBRG
Actual
Baud
% of
Error
SPBRG
Actual
Baud
% of
Error
SPBRG
300


1200


2400


4800
4807.69
0.16
207


9600
9615.38
0.16
103
9615.38
0.16
155

19200
19230.77
0.16
51
19230.77
0.16
77

38400
38461.54
0.16
25
38461.54
0.16
38
38461.54
0.16
155
57600
58823.53
2.12
16
57692.31
0.16
25
57692.31
0.16
103
115200
125000.00
8.51
7
115384.62
0.16
12
115384.62
0.16
51
230400
250000.00
8.51
3
250000.00
8.51
5
230769.23
0.16
25
460800
500000.00
8.51
1
500000.00
8.51
2
461538.46
0.16
12
921600
 1000000.00
8.51
5



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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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