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) 225 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) 225 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 221Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 222Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 225 / 439 page
background image
characters and the start of a third character before software must start servicing the EUSART receiver. The FIFO and
RSR registers are not directly accessible by software. Access to the received data is via the RCxREG register.
24.1.2.1 Enabling the Receiver
The EUSART receiver is enabled for asynchronous operation by configuring the following three control bits:
• The Continuous Receive Enable (CREN) bit is set to ‘1’ to enables the receiver circuitry of the EUSART
• The EUSART Mode Select (SYNC) bit is set to ‘0’ to configure the EUSART for asynchronous operation
• The Serial Port Enable (SPEN) bit is set to ‘1’ to enable the EUSART interface
All other EUSART control bits are assumed to be in their default state.
The user must set the RXxPPS register to select the RXx/DTx I/O pin and set the corresponding TRIS bit to configure
the pin as an input.
Important:  If the RX/DT function is on an analog pin, the corresponding ANSEL bit must be cleared for
the receiver to function.
24.1.2.2 Receiving Data
The receiver data recovery circuit initiates character reception on the falling edge of the first bit. The first bit, also
known as the Start bit, is always a zero. The data recovery circuit counts one-half bit time to the center of the Start
bit and verifies that the bit is still a zero. If it is not a zero, then the data recovery circuit aborts character reception
without generating an error, and resumes looking for the falling edge of the Start bit. If the Start bit zero verification
succeeds, then the data recovery circuit counts a full bit time to the center of the next bit. The bit is then sampled by
a majority detect circuit and the resulting ‘0’ or ‘1’ is shifted into the RSR. This repeats until all data bits have been
sampled and shifted into the RSR. One final bit time is measured and the level sampled. This is the Stop bit, which
is always a ‘1’. If the data recovery circuit samples a ‘0’ in the Stop bit position, then a framing error is set for this
character, otherwise the framing error is cleared for this character. See 24.1.2.4. Receive Framing Error for more
information on framing errors.
Immediately after all data bits and the Stop bit have been received, the character in the RSR is transferred to the
EUSART receive FIFO, and the EUSART Receive Interrupt Flag (RCxIF) bit of the PIRx register is set. The top
character in the FIFO is transferred out of the FIFO by reading the RCxREG register.
Important:  If the receive FIFO is overrun, no additional characters will be received until the Overrun
condition is cleared. See 24.1.2.4. Receive Framing Error for more information.
24.1.2.3 Receive Interrupts
The EUSART Receive Interrupt Flag (RCxIF) bit of the PIRx register is set whenever the EUSART receiver is
enabled and there is an unread character in the receive FIFO. The RCxIF Interrupt Flag bit is read-only, it cannot be
set or cleared by software.
RCxIF interrupts are enabled by setting all of the following bits:
• RCxIE, Interrupt Enable bit of the PIEx register
• PEIE, Peripheral Interrupt Enable bit of the INTCON register
• GIE, Global Interrupt Enable bit of the INTCON register
The RCxIF Interrupt Flag bit will be set when there is an unread character in the FIFO, regardless of the state of
interrupt enable bits.
24.1.2.4 Receive Framing Error
Each character in the receive FIFO buffer has a corresponding framing error Status bit. A framing error indicates that
a Stop bit was not seen at the expected time. The framing error status is accessed via the Framing Error (FERR) bit.
The FERR bit represents the status of the top unread character in the receive FIFO. Therefore, the FERR bit must be
read before reading the RCxREG register.
PIC16F15213/14/23/24/43/44
EUSART - Enhanced Universal Synchronous Asyn...
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 225



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