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

X  

MCP19116-E/MJ Datasheet(PDF) 74 Page - Microchip Technology

Part # MCP19116-E/MJ
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-E/MJ Datasheet(HTML) 74 Page - Microchip Technology

Back Button MCP19116-E/MJ Datasheet HTML 70Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 71Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 72Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 73Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 74Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 75Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 76Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 77Page - Microchip Technology MCP19116-E/MJ Datasheet HTML 78Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 246 page
background image
MCP19116/7
DS20005479B-page 74
 2015-2016 Microchip Technology Inc.
10.4
USART Synchronous Master
Mode
In Synchronous Master mode, the data is transmitted
in a half-duplex manner (i.e., transmission and recep-
tion do not occur at the same time). When transmitting
data, the reception is inhibited and vice versa. Syn-
chronous mode is entered by setting bit SYNC
(TXSTA<4>).
In
addition,
enable
bit
SPEN
(RCSTA<7>) is set in order to configure the
GPB6/TX/CK/AN7 and the GPB7/RX/DT/CCD I/O pins
to CK (clock) and DT (data) lines, respectively. The
Master mode indicates that the processor transmits
the master clock on the CK line. The Master mode is
entered by setting bit CSRC (TXSTA<7>).
10.4.1
SYNCHRONOUS MASTER
TRANSMIT MODE
Synchronous Master Transmit mode works similarly to
Asynchronous Transmit mode, see Section 10.3.1
“Asynchronous Transmit Mode”. In Synchronous
Transmit mode, the first data byte is shifted out on the
next available rising edge of the CK line. Data out is
stable relative to the falling edge of the synchronous
clock.
Clearing enable bit TXEN (TXSTA<5>) during a trans-
mission causes the transmission to be aborted and
resets the transmitter. The DT and CK pins revert to
high-impedance. If either bit CREN (RCSTA<4>) or bit
SREN (RCSTA<5>) is set during a transmission, the
transmission is aborted and the DT pin reverts to a
hi-impedance state (for a reception). The CK pin
remains an output if bit CSRC (TXSTA<7>) is set
(internal clock).
The transmitter logic, however, is not reset, although it
is disconnected from the pins. In order to reset the
transmitter, the user has to clear bit TXEN. If bit SREN
is set (to interrupt an on-going transmission and
receive a single word), then after the single word is
received, bit SREN is cleared and the serial port
reverts back to transmitting, since bit TXEN is still set.
The
DT
line
immediately
switches
from
high-impedance Receive mode to transmit and start
driving. To avoid this, it is recommended that the bit
TXEN be cleared.
Steps to follow when setting up a Synchronous Master
Transmission:
1.
Initialize the SPBRG register for the appropriate
baud rate.
2.
Enable the synchronous master serial port by
setting bits SYNC, SPEN and CSRC.
3.
If interrupts are desired, set enable bit TXIE.
4.
If 9-bit transmission is desired, set bit TX9.
5.
Enable the transmission by setting bit TXEN.
6.
If 9-bit transmission is selected, the ninth bit
should be loaded in bit TX9D.
7.
Start transmission by loading data to the TXREG
register.
8.
If using interrupts, ensure that GIE and PEIE
(bits 7 and 6) of the INT-CON register are set.
FIGURE 10-1: SYNCHRONOUS TRANSMISSION
bit 0
bit 1
bit 7/8
Word 1
Q1Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1Q2Q3 Q4Q1Q2 Q3 Q4Q1 Q2 Q3 Q4
Q3 Q4 Q1 Q2 Q3Q4 Q1Q2 Q3 Q4 Q1 Q2Q3 Q4Q1 Q2 Q3 Q4 Q1Q2 Q3 Q4 Q1 Q2 Q3 Q4
bit 2
bit 0
bit 1
bit 7
DT pin
CK pin
Write to
TXREG reg
TXIF bit
(Interrupt Flag)
TXEN bit
'1'
'1'
Word 2
TRMT bit
Write Word 1
Write Word 2
Note: Sync Master mode; SPBRG = '0'. Continuous transmission of two 8-bit words.



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