công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC18F4331T-E/SP bảng dữ liệu(PDF) 221 Page - Microchip Technology

tên linh kiện PIC18F4331T-E/SP
Giải thích chi tiết về linh kiện  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PDF  392 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4331T-E/SP bảng dữ liệu(HTML) 221 Page - Microchip Technology

Back Button PIC18F4331T-E/SP Datasheet HTML 217Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 218Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 219Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 220Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 221Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 222Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 223Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 224Page - Microchip Technology PIC18F4331T-E/SP Datasheet HTML 225Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 221 / 392 page
background image
 2010 Microchip Technology Inc.
DS39616D-page 221
PIC18F2331/2431/4331/4431
20.2
EUSART Baud Rate Generator
(BRG)
The BRG is a dedicated 8-bit or 16-bit generator, that
supports both the Asynchronous and Synchronous
modes of the EUSART. By default, the BRG operates
in 8-bit mode. Setting the BRG16 bit (BAUDCON<3>)
selects 16-bit mode.
The SPBRGH:SPBRG register pair controls the period
of a free-running timer. In Asynchronous mode, bits
BRGH (TXSTA<2>) and BRG16 also control the baud
rate. In Synchronous mode, bit BRGH is ignored.
Table 20-1 shows the formula for computation of the
baud rate for different EUSART modes, which only
apply in Master mode (internally generated clock).
Given the desired baud rate and FOSC, the nearest
integer value for the SPBRGH:SPBRG registers can be
calculated using the formulas in Table 20-1. From this,
the error in baud rate can be determined. An example
calculation is shown in Example 20-1. Typical baud
rates and error values for the various Asynchronous
modes are shown in Table 20-2. It may be
advantageous to use the high baud rate (BRGH = 1),
or the 16-bit BRG, to reduce the baud rate error or
achieve a slow baud rate for a fast oscillator frequency.
Writing a new value to the SPBRGH:SPBRG registers
causes the BRG timer to be reset (or cleared). This
ensures the BRG does not wait for a timer overflow
before outputting the new baud rate.
20.2.1
POWER-MANAGED MODE
OPERATION
The system clock is used to generate the desired baud
rate. However, when a power-managed mode is
entered, the clock source may be operating at a
different frequency than in PRI_RUN mode. In Sleep
mode, no clocks are present and in PRI_IDLE, the
primary clock source continues to provide clocks to the
Baud Rate Generator. However, in other power-
managed modes, the clock frequency will probably
change. This may require the value in SPBRG to be
adjusted.
If the system clock is changed during an active receive
operation, a receive error or data loss may result. To
avoid this problem, check the status of the RCIDL bit
and make sure that the receive operation is Idle before
changing the system clock.
20.2.2
SAMPLING
The data on the RC7/RX/DT/SDO pin is sampled three
times by a majority detect circuit to determine if a high
or a low level is present at the RX pin.
TABLE 20-1:
BAUD RATE FORMULAS
Configuration Bits
BRG/EUSART Mode
Baud Rate Formula
SYNC
BRG16
BRGH
00
0
8-Bit/Asynchronous
FOSC/[64 (n + 1)]
00
1
8-Bit/Asynchronous
FOSC/[16 (n + 1)]
01
0
16-Bit/Asynchronous
01
1
16-Bit/Asynchronous
FOSC/[4 (n + 1)]
10
x
8-Bit/Synchronous
11
x
16-Bit/Synchronous
Legend: x
= Don’t care, n = value of SPBRGH:SPBRG register pair



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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