Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

OPTION_REG Scheda tecnica(PDF) 165 Page - Microchip Technology

Il numero della parte OPTION_REG
Spiegazioni elettronici  Digitally Enhanced Power Analog Controller with Integrated Synchronous Driver
PDF  222 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  MICROCHIP [Microchip Technology]
Homepage  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

OPTION_REG Scheda tecnica(HTML) 165 Page - Microchip Technology

Back Button OPTION_REG Datasheet HTML 161Page - Microchip Technology OPTION_REG Datasheet HTML 162Page - Microchip Technology OPTION_REG Datasheet HTML 163Page - Microchip Technology OPTION_REG Datasheet HTML 164Page - Microchip Technology OPTION_REG Datasheet HTML 165Page - Microchip Technology OPTION_REG Datasheet HTML 166Page - Microchip Technology OPTION_REG Datasheet HTML 167Page - Microchip Technology OPTION_REG Datasheet HTML 168Page - Microchip Technology OPTION_REG Datasheet HTML 169Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 165 / 222 page
background image
 2013 Microchip Technology Inc.
DS22331A-page 165
MCP19111
27.4.7
CLOCK STRETCHING
Clock stretching occurs when a device on the bus holds
the SCL line low, effectively pausing communication.
The slave may stretch the clock to allow more time to
handle data or prepare a response for the master
device. A master device is not concerned with
stretching, as anytime it is active on the bus and not
transferring data it is stretching. Any stretching done by
a slave is invisible to the master software and handled
by the hardware that generates SCL.
The CKP bit of the SSPCON1 register is used to control
stretching in software. Any time the CKP bit is cleared,
the module will wait for the SCL line to go low and then
hold it. Setting CKP will release SCL and allow more
communication.
27.4.7.1
Normal Clock Stretching
Following an ACK, if the R/W bit of the SSPSTAT is
set, causing a read request, the slave hardware will
clear CKP. This allows the slave time to update
SSPBUF with data to transfer to the master. If the SEN
bit of SSPCON2 is set, the slave hardware will always
stretch the clock after the ACK sequence. Once the
slave
is
ready;
CKP
is
set
by
software
and
communication resumes.
27.4.7.2
10-bit Addressing Mode
In 10-bit Addressing mode, when the UA bit is set, the
clock is always stretched. This is the only time the SCL
is stretched without CKP being cleared. SCL is
released immediately after a write to SSPADDx.
27.4.7.3
Byte NACKing
When AHEN bit of SSPCON3 is set; CKP is cleared by
the hardware after the 8th falling edge of SCL for a
received matching address byte. When DHEN bit of
SSPCON3 is set; CKP is cleared after the 8th falling
edge of SCL for received data.
Stretching after the 8th falling edge of SCL allows the
slave to look at the received address or data and
decide if it wants to ACK the received data.
27.4.8
CLOCK SYNCHRONIZATION AND
THE CKP BIT
Any time the CKP bit is cleared, the module will wait for
the SCL line to go low and then hold it. However,
clearing the CKP bit will not assert the SCL output low
until the SCL output is already sampled low. Therefore,
the CKP bit will not assert the SCL line until an external
I2C master device has already asserted the SCL line.
The SCL output will remain low until the CKP bit is set
and all other devices on the I2C bus have released
SCL. This ensures that a write to the CKP bit will not
violate the minimum high time requirement for SCL
(see Figure 27-15).
FIGURE 27-15:
CLOCK SYNCHRONIZATION TIMING
Note 1: The BF bit has no effect on if the clock will
be stretched or not. This is different than
previous versions of the module that
would not stretch the clock or clear CKP,
if SSPBUF was read before the 9th falling
edge of SCL.
2: Previous versions of the module did not
stretch the clock for a transmission if
SSPBUF was loaded before the 9th falling
edge of SCL. It is now always cleared for
read requests.
Note: Previous versions of the module did not
stretch the clock if the second address byte
did not match.
SDA
SCL
DX ‚ – 1
DX
WR
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
SSPCON1
CKP
Master device
releases clock
Master device
asserts clock



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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