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

X  

PIC16F872/SP Datasheet(PDF) 68 Page - Microchip Technology

Part # PIC16F872/SP
Description  28-Pin, 8-Bit CMOS FLASH Microcontroller
PDF  160 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F872/SP Datasheet(HTML) 68 Page - Microchip Technology

Back Button PIC16F872/SP Datasheet HTML 64Page - Microchip Technology PIC16F872/SP Datasheet HTML 65Page - Microchip Technology PIC16F872/SP Datasheet HTML 66Page - Microchip Technology PIC16F872/SP Datasheet HTML 67Page - Microchip Technology PIC16F872/SP Datasheet HTML 68Page - Microchip Technology PIC16F872/SP Datasheet HTML 69Page - Microchip Technology PIC16F872/SP Datasheet HTML 70Page - Microchip Technology PIC16F872/SP Datasheet HTML 71Page - Microchip Technology PIC16F872/SP Datasheet HTML 72Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 160 page
background image
PIC16F872
DS30221A-page 68
Preliminary
© 1999 Microchip Technology Inc.
i)
The MSSP module shifts in the ACK bit from the
slave device, and writes its value into the
SSPCON2 register ( SSPCON2<6>).
j)
The MSSP module generates an interrupt at the
end of the ninth clock cycle by setting the SSPIF
bit.
k)
The user generates a STOP condition by setting
the STOP enable bit PEN in SSPCON2.
l)
Interrupt is generated once the STOP condition
is complete.
9.2.8
BAUD RATE GENERATOR
In I2C Master mode, the reload value for the BRG is
located in the lower 7 bits of the SSPADD register
(Figure 9-10). When the BRG is loaded with this value,
the BRG counts down to 0 and stops until another
reload has TACKEN place. The BRG count is decre-
mented twice per instruction cycle (TCY), on the Q2 and
Q4 clock.
In I2C Master mode, the BRG is reloaded automatically.
If Clock Arbitration is taking place for instance, the BRG
will be reloaded when the SCL pin is sampled high
(Figure 9-11).
FIGURE 9-10: BAUD RATE GENERATOR
BLOCK DIAGRAM
FIGURE 9-11: BAUD RATE GENERATOR TIMING WITH CLOCK ARBITRATION
SSPM<3:0>
BRG Down Counter
CLKOUT
FOSC/4
SSPADD<6:0>
SSPM<3:0>
SCL
Reload
Control
Reload
SDA
SCL
SCL deasserted but slave holds
DX-1
DX
BRG
SCL is sampled high, reload takes
place, and BRG starts its count.
03h
02h
01h
00h (hold off)
03h
02h
reload
BRG
value
SCL low (clock arbitration)
SCL allowed to transition high
BRG decrements
(on Q2 and Q4 cycles)



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