Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F15213T-I/ST Datasheet(PDF) 224 Page - Microchip Technology

Part # PIC16F15213T-I/ST
Description  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213T-I/ST Datasheet(HTML) 224 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 220Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 224 / 439 page
background image
A special 9-bit Address mode is available for use with multiple receivers. See 24.1.2.7. Address Detection for more
information on the Address mode.
24.1.1.7 Asynchronous Transmission Setup
1.
Initialize the SPxBRGH:SPxBRGL register pair and the BRGH and BRG16 bits to achieve the desired baud
rate (see 24.3. EUSART Baud Rate Generator (BRG)).
2.
Select the transmit output pin by writing the appropriate value to the RxyPPS register.
3.
Enable the asynchronous serial port by clearing the SYNC bit and setting the SPEN bit.
4.
If 9-bit transmission is desired, set the TX9 control bit. That will indicate that the eight Least Significant data
bits are an address when the receiver is set for address detection.
5.
Set SCKP bit if inverted transmit is desired.
6.
Enable the transmission by setting the TXEN control bit. This will cause the TXxIF interrupt bit to be set.
7.
If interrupts are desired, set the TXxIE interrupt enable bit of the PIEx register.
8.
An interrupt will occur immediately provided that the GIE and PEIE bits of the INTCON register are also set.
9.
If 9-bit transmission is selected, the ninth bit will be loaded into the TX9D data bit.
10. Load 8-bit data into the TXxREG register. This will start the transmission.
Figure 24-3. Asynchronous Transmission
Rev. 10-000 115A
2/7/201 7
Write to TXxREG
BRG Output
(Shift Clock)
TXx/CKx pin
TXxIF bit
(Transmit Buffer
Reg Empty Flag)
TRMT bit
(Transmit Shift
Reg Empty Flag)
Start bit
bit 0
bit 1
bit 7/8
Stop bit
1 TCY
Word 1
Word 1
Figure 24-4. Asynchronous Transmission (Back-to-Back)
Rev. 10-000 116A
2/7/201 7
Write to TXxREG
BRG Output
(Shift Clock)
TXx/CKx pin
TXxIF bit
(Transmit Buffer
Reg Empty Flag)
TRMT bit
(Transmit Shift
Reg Empty Flag)
Start bit
bit 0
bit 1
bit 7/8
Stop bit
1 TCY
Word 1
Start bit
bit 0
Word 2
Word 1
Word 2
24.1.2
EUSART Asynchronous Receiver
The Asynchronous mode is typically used in RS-232 systems. A simplified representation of the receiver is shown
in Figure 24-2. The data is received on the RXx/DTx pin and drives the data recovery block. The data recovery
block is actually a high-speed shifter operating at 16 times the baud rate, whereas the serial Receive Shift Register
(RSR) operates at the bit rate. When all eight or nine bits of the character have been shifted in, they are immediately
transferred to a two character First-In-First-Out (FIFO) memory. The FIFO buffering allows reception of two complete
PIC16F15213/14/23/24/43/44
EUSART - Enhanced Universal Synchronous Asyn...
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 224



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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