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

Back Button 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 PIC16F15213T-I/ST Datasheet HTML 243Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 244Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 240 / 439 page
background image
24.4.2.4 Synchronous Client Reception Setup
1.
Set the SYNC and SPEN bits and clear the CSRC bit.
2.
Select the receive input pin by writing the appropriate value to the RXxPPS register.
3.
Select the clock input pin by writing the appropriate values to the TXxPPS register.
4.
Clear the ANSEL bit for both the TXx/CKx and RXx/DTx pins (if applicable).
5.
If interrupts are desired, set the RCxIE bit of the PIEx register and the GIE and PEIE bits of the INTCON
register.
6.
If 9-bit reception is desired, set the RX9 bit.
7.
Set the CREN bit to enable reception.
8.
The RCxIF bit will be set when reception is complete. An interrupt will be generated if the RCxIE bit was set.
9.
If 9-bit mode is enabled, retrieve the Most Significant bit from the RX9D bit.
10. Retrieve the eight Least Significant bits from the receive FIFO by reading the RCxREG register.
11. If an overrun error occurs, clear the error by either clearing the CREN bit or by clearing the SPEN bit which
resets the EUSART.
24.5
EUSART Operation During Sleep
The EUSART will remain active during Sleep only in the Synchronous Client mode. All other modes require the
system clock and therefore cannot generate the necessary signals to run the Transmit or Receive Shift registers
during Sleep.
Synchronous Client mode uses an externally generated clock to run the Transmit and Receive Shift registers.
24.5.1
Synchronous Receive During Sleep
To receive during Sleep, all the following conditions must be met before entering Sleep mode:
• RCxSTA and TXxSTA Control registers must be configured for Synchronous Client Reception (see
24.4.2.4. Synchronous Client Reception Setup).
• If interrupts are desired, set the RCxIE bit of the PIEx register and the GIE and PEIE bits of the INTCON
register.
• The RCxIF interrupt flag must be cleared by reading RCxREG to unload any pending characters in the receive
buffer.
Upon entering Sleep mode, the device will be ready to accept data and clocks on the RXx/DTx and TXx/CKx pins,
respectively. When the data word has been completely clocked in by the external device, the RCxIF Interrupt Flag bit
of the PIRx register will be set. Thereby, waking the processor from Sleep.
Upon waking from Sleep, the instruction following the SLEEP instruction will be executed. If the Global Interrupt
Enable (GIE) bit of the INTCON register is also set, then the Interrupt Service Routine (ISR) will be called.
24.5.2
Synchronous Transmit During Sleep
To transmit during Sleep, all the following conditions must be met before entering Sleep mode:
• The RCxSTA and TXxSTA Control registers must be configured for synchronous client transmission (see
24.4.2.2. Synchronous Client Transmission Setup).
• The TXxIF interrupt flag must be cleared by writing the output data to the TXxREG, thereby filling the TSR and
transmit buffer.
• The TXxIE interrupt enable bits of the PIEx register and PEIE of the INTCON register must be written to ‘1’.
• If interrupts are desired, set the GIE bit of the INTCON register.
Upon entering Sleep mode, the device will be ready to accept clocks on the TXx/CKx pin and transmit data on the
RXx/DTx pin. When the data word in the TSR register has been completely clocked out by the external device, the
pending byte in the TXxREG will transfer to the TSR and the TXxIF flag will be set. Thereby, waking the processor
from Sleep. At this point, the TXxREG is available to accept another character for transmission. Writing TXxREG will
clear the TXxIF flag.
Upon waking from Sleep, the instruction following the SLEEP instruction will be executed. If the Global Interrupt
Enable (GIE) bit is also set then the Interrupt Service Routine (ISR) will be called.
PIC16F15213/14/23/24/43/44
EUSART - Enhanced Universal Synchronous Asyn...
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 240



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