Electronic Components Datasheet Search
  English  ▼

X  

MCP19116 Datasheet(PDF) 69 Page - Microchip Technology

Part # MCP19116
Description  Digitally Enhanced Power Analog Synchronous Low-Side PWM Controller with Improved 8k Word Core
PDF  246 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP19116 Datasheet(HTML) 69 Page - Microchip Technology

Back Button MCP19116 Datasheet HTML 65Page - Microchip Technology MCP19116 Datasheet HTML 66Page - Microchip Technology MCP19116 Datasheet HTML 67Page - Microchip Technology MCP19116 Datasheet HTML 68Page - Microchip Technology MCP19116 Datasheet HTML 69Page - Microchip Technology MCP19116 Datasheet HTML 70Page - Microchip Technology MCP19116 Datasheet HTML 71Page - Microchip Technology MCP19116 Datasheet HTML 72Page - Microchip Technology MCP19116 Datasheet HTML 73Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 69 / 246 page
background image
 2015-2016 Microchip Technology Inc.
DS20005479B-page 69
MCP19116/7
10.0 ADDRESSABLE USART
MODULE
The Addressable USART module described in this
document is designed into the PIC16F91x.
The features of that module include:
• Asynchronous and Synchronous modes:
- Asynchronous (full duplex)
- Synchronous - Master (half duplex)
- Synchronous - Slave (half duplex)
• 8- and 9-bit data operations
• Single and Continuous Receive modes
• Address detect
• Two-byte FIFOs for Transmit and Receive opera-
tions
• Majority bit detection in Asynchronous mode
• 8-bit Baud Rate generator with speed selection
- Fosc/16 or Fosc/64 for Asynchronous mode
- Fosc/4 for Synchronous mode
• Status bits for
- Framing Error
- Overrun Error
- Transmit Shift Register Status
In addition, the existing USART features are altered.
These features are changed as previous modules did
not exhibit the desired behavior. These alterations
include:
• Holding all USART state machines in Reset while
SPEN (RCSTA<7>) = 0
• Clarification on the TRMT (TXSTA<1>) status bit
10.1
Module Reset
When the SPEN (RCSTA<7>) is cleared, all USART
state machines are held in Reset. This allows for soft-
ware re-initialization of the module by toggling the
SPEN bit. This also causes all status bits to be reset.
All other R/W bits are available to the user, which
allows them to pre-configure the module prior to set-
ting the SPEN bit.
10.2
Pin Placement and Port
Interaction
The bidirectional TX/CK pin is located on GPB6. The
bidirectional RX/DT pin is located on GPB7. If
TRISC<6> and TRISC<7> are configured as inputs
(‘1’), the USART control will automatically reconfigure
the pin from input to output as needed.
10.3
USART Asynchronous mode
In
this
mode,
the
USART
uses
standard
non-return-to-zero (NRZ) format (one Start bit, eight or
nine data bits, and one Stop bit). The BRG is used to
derive the baud rate frequencies from the system
clock. The USART transmits and receives the LSB
first. The transmitter and receiver are functionally
independent, but use the same data format and baud
rate. The BRG produces a clock, either x4, x16 or x64
of the bit shift rate, depending on its configuration (see
Section 10.3.2, Asynchronous Receive Mode).
Parity is not supported by the hardware, but can be
implemented in software using the ninth data bit
option. Asynchronous mode is stopped during Sleep.
Asynchronous mode is selected by clearing the SYNC
(TXSTA<4>) bit.
10.3.1
ASYNCHRONOUS TRANSMIT
MODE
The USART transmitter block diagram is shown in
Figure 10-1. The heart of the transmitter is the transmit
(serial) shift register (TSR). The shift register obtains
its data from the read/write transmit buffer, TXREG.
The TXREG register is loaded with data via software.
The TSR register is not loaded until the Stop bit has
been transmitted from the previous load. As soon as
the Stop bit is transmitted, TSR is loaded with new
data from the TXREG register (if available). The trans-
mit register (TXREG) is double buffered. As the user
writes to TXREG, the data is transferred from the buf-
fer to the transmit shift register (TSR), thus freeing up
the buffer register.
The interrupt flag TXIF is set as long as the TXEN
(TXSTA<5>) bit is set and TXREG is empty, indicating
that the transmit buffer register (TXREG) is enabled
and free to accept another word. Flag bit TXIF
(Transmit Buffer Empty) is read-only and will be set,
regardless of the state of the TXIE bit, and cannot be
cleared in software. It will be reset only when new data
is loaded into TXREG.
Transmission is enabled by setting the enable bit
TXEN. The actual transmission will not occur until the
TXREG register has been loaded with data and the
BRG has produced a shift clock (Figure 10-2). The
transmission can also be started by first loading
TXREG and then setting the enable bit TXEN.
Normally, when transmission is first started, TSR is
empty. At that point, transfer to TXREG will result in an
immediate transfer to TSR, resulting in an empty
TXREG. A back-to-back transfer is thus possible
(Figure 10-3). Clearing the enable bit TXEN during a
transmission will cause the transmission to be aborted
and will reset the transmitter. As a result, the
GPB6/TX/CK/AN7 pin will revert to hi-impedance.



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