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

Back Button PIC16F15213T-I/ST Datasheet HTML 233Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 237 / 439 page
background image
4.
Enable the synchronous host serial port by setting bits SYNC, SPEN and CSRC.
5.
Disable Receive mode by clearing the SREN and CREN bits.
6.
Enable Transmit mode by setting the TXEN bit.
7.
If 9-bit transmission is desired, set the TX9 bit.
8.
If interrupts are desired, set the TXxIE bit of the PIEx register and the GIE and PEIE bits of the INTCON
register.
9.
If 9-bit transmission is selected, the ninth bit will be loaded in the TX9D bit.
10. Start transmission by loading data to the TXxREG register.
Figure 24-10. Synchronous 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
24.4.1.5 Synchronous Host Reception
Data is received at the RXx/DTx pin. The RXx/DTx pin output driver is automatically disabled when the EUSART is
configured for synchronous host receive operation.
In Synchronous mode, reception is enabled by setting either the Single Receive Enable (SREN) bit or the Continuous
Receive Enable (CREN) bit.
When SREN is set and CREN is clear, only as many clock cycles are generated as there are data bits in a single
character. The SREN bit is automatically cleared at the completion of one character. When CREN is set, clocks are
continuously generated until CREN is cleared. If CREN is cleared in the middle of a character the CK clock stops
immediately and the partial character is discarded. If SREN and CREN are both set, then SREN is cleared at the
completion of the first character and CREN takes precedence.
To initiate reception, set either SREN or CREN. Data is sampled at the RXx/DTx pin on the trailing edge of the TX/CK
clock pin and is shifted into the Receive Shift Register (RSR). When a complete character is received into the RSR,
the RCxIF bit is set and the character is automatically transferred to the two character receive FIFO. The eight Least
Significant bits of the top character in the receive FIFO are available in RCxREG. The RCxIF bit remains set as long
as there are unread characters in the receive FIFO.
Note:  If the RX/DT function is on an analog pin, the corresponding ANSEL bit must be cleared for the receiver to
function.
24.4.1.6 Client Clock
Synchronous data transfers use a separate clock line, which is synchronous with the data. A device configured as a
client receives the clock on the TX/CK line. The TXx/CKx pin output driver is automatically disabled when the device
is configured for synchronous client transmit or receive operation. Serial data bits change on the leading edge to
ensure they are valid at the trailing edge of each clock. One data bit is transferred for each clock cycle. Only as many
clock cycles may be received as there are data bits.
Important:  If the device is configured as a client and the TX/CK function is on an analog pin, the
corresponding ANSEL bit must be cleared.
PIC16F15213/14/23/24/43/44
EUSART - Enhanced Universal Synchronous Asyn...
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 237



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