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

X  

PIC16F15213T-I/ST bảng dữ liệu(PDF) 227 Page - Microchip Technology

tên linh kiện PIC16F15213T-I/ST
Giải thích chi tiết về linh kiện  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 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

PIC16F15213T-I/ST bảng dữ liệu(HTML) 227 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 223Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 224Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 225Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 226Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 227Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 228Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 229Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 230Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 231Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 227 / 439 page
background image
2.
Set the RXxPPS register to select the RXx input pin.
3.
Clear the ANSEL bit for the RXx pin (if applicable).
4.
Enable the serial port by setting the SPEN bit. The SYNC bit must be cleared for asynchronous operation.
5.
If interrupts are desired, set the RCxIE bit of the PIEx register and the GIE and PEIE bits of the INTCON
register.
6.
Enable 9-bit reception by setting the RX9 bit.
7.
Enable address detection by setting the ADDEN bit.
8.
Enable reception by setting the CREN bit.
9.
The RCxIF Interrupt Flag bit will be set when a character with the ninth bit set is transferred from the RSR to
the receive buffer. An interrupt will be generated if the RCxIE interrupt enable bit is also set.
10. Read the RCxSTA register to get the Error flags. The ninth data bit will always be set.
11. Get the received eight Least Significant data bits from the receive buffer by reading the RCxREG register.
Software determines if this is the device’s address.
12. If an overrun occurred, clear the OERR flag by clearing the CREN receiver enable bit.
13. If the device has been addressed, clear the ADDEN bit to allow all received data into the receive buffer and
generate interrupts.
Figure 24-5. Asynchronous Reception
Rev. 10-000 117A
2/8/201 7
RXx/DTx
pin
Start
bit
bit 0
Word 1
bit 7/8 Stop
bit
Start
bit
bit 0
bit 7/8 Stop
bit
Start
bit
bit 0
bit 7/8 Stop
bit
Word 3
Word 2
Rcv Shift Reg
Rcv Buffer Reg
Word 1
RCxREG
Word 2
RCxREG
RCIDL
Read
RCxREG
OERR Flag
CREN
(software clear)
RCxIF
(Interrupt flag)
Note: This timing diagram shows three bytes appearing on the RXx input. The OERR flag is set because the
RCxREG
register is not read before the third word is received.
24.2
Clock Accuracy with Asynchronous Operation
The factory calibrates the internal oscillator block output (INTOSC). However, the INTOSC frequency may drift as
VDD or temperature changes, and this directly affects the asynchronous baud rate. Two methods may be used to
adjust the baud rate clock, but both require a reference clock source of some kind.
The first (preferred) method uses the OSCTUNE register to adjust the INTOSC output. Adjusting the value in the
OSCTUNE register allows for fine resolution changes to the system clock source.
The other method adjusts the value in the Baud Rate Generator. This can be done automatically with the Auto-Baud
Detect feature (see 24.3.1. Auto-Baud Detect). There may not be fine enough resolution when adjusting the Baud
Rate Generator to compensate for a gradual change in the peripheral clock frequency.
PIC16F15213/14/23/24/43/44
EUSART - Enhanced Universal Synchronous Asyn...
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 227



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