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

Back Button PIC16F15213T-I/ST Datasheet HTML 234Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 235Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 236Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 237Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 238Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 239Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 240Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 241Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 242Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 238 / 439 page
background image
24.4.1.7 Receive Overrun Error
The receive FIFO buffer can hold two characters. An overrun error will be generated if a third character, in its entirety,
is received before the FIFO is accessed. When this happens the Overrun Error (OERR) bit is set. The characters
already in the FIFO buffer can be read but no additional characters will be received until the error is cleared. The
error must be cleared by either clearing the CREN bit or by resetting the EUSART by clearing the SPEN bit.
24.4.1.8 Receiving 9-Bit Characters
The EUSART supports 9-bit character reception. When the 9-Bit Receive Enable (RX9) bit is set, the EUSART will
shift nine bits into the RSR for each character received. The RX9D bit is the ninth and Most Significant data bit of the
top unread character in the receive FIFO. When reading 9-bit data from the receive FIFO buffer, the RX9D data bit
must be read before reading the eight Least Significant bits from the RCxREG register.
24.4.1.9 Synchronous Host Reception Setup
1.
Initialize the SPxBRGH:SPxBRGL register pair and set or clear the BRG16 bit, as required, to achieve the
desired baud rate.
2.
Select the receive input pin by writing the appropriate values to the RxyPPS and RXxPPS registers. Both
selections may enable the same pin.
3.
Select the clock output pin by writing the appropriate values to the RxyPPS and TXxPPS registers. Both
selections may enable the same pin.
4.
Clear the ANSEL bit for the RXx pin (if applicable).
5.
Enable the synchronous host serial port by setting the SYNC, SPEN and CSRC bits.
6.
Ensure that the CREN and SREN bits are cleared.
7.
If interrupts are desired, set the RCxIE bit of the PIEx register and the GIE and PEIE bits of the INTCON
register.
8.
If 9-bit reception is desired, set the RX9 bit.
9.
Start reception by setting the SREN bit, or for continuous reception set the CREN bit.
10. The RCxIF Interrupt Flag bit will be set when reception of a character is complete. An interrupt will be
generated if the RCxIE enable bit was set.
11. Read the RCxSTA register to get the ninth bit (if enabled) and determine if any error occurred during reception.
12. Read the 8-bit received data by reading the RCxREG register.
13. If an overrun error occurs, clear the error by either clearing the CREN bit or by clearing the SPEN bit which
resets the EUSART.
Figure 24-11. Synchronous Reception (Host Mode, SREN)
Rev. 10-000 121A
2/13/201 7
RXx/DTx pin
bit 0
TXx/CKx pin
SCKP =
0
TXx/CKx pin
SCKP =
1
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
bit 7
Write to SREN
SREN bit
CREN bit
‘
0’
RCxIF
(
Interrupt)
Read
RCxREG
‘
0’
PIC16F15213/14/23/24/43/44
EUSART - Enhanced Universal Synchronous Asyn...
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 238



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