Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

PIC16F1946 Scheda tecnica(PDF) 266 Page - Microchip Technology

Il numero della parte PIC16F1946
Spiegazioni elettronici  64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt XLP Technology
PDF  448 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  MICROCHIP [Microchip Technology]
Homepage  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1946 Scheda tecnica(HTML) 266 Page - Microchip Technology

Back Button PIC16F1946 Datasheet HTML 262Page - Microchip Technology PIC16F1946 Datasheet HTML 263Page - Microchip Technology PIC16F1946 Datasheet HTML 264Page - Microchip Technology PIC16F1946 Datasheet HTML 265Page - Microchip Technology PIC16F1946 Datasheet HTML 266Page - Microchip Technology PIC16F1946 Datasheet HTML 267Page - Microchip Technology PIC16F1946 Datasheet HTML 268Page - Microchip Technology PIC16F1946 Datasheet HTML 269Page - Microchip Technology PIC16F1946 Datasheet HTML 270Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 266 / 448 page
background image
PIC16(L)F1946/1947
DS41414C-page 266
Preliminary
 2010-2011 Microchip Technology Inc.
24.5.4 SLAVE MODE 10-BIT ADDRESS
RECEPTION
This section describes a standard sequence of events
for the MSSPx module configured as an I2C Slave in
10-bit Addressing mode.
Figure 24-19 is used as a visual reference for this
description.
This is a step by step process of what must be done by
slave software to accomplish I2C communication.
1.
Bus starts Idle.
2.
Master sends Start condition; S bit of SSPxSTAT
is set; SSPxIF is set if interrupt on Start detect is
enabled.
3.
Master sends matching high address with R/W
bit clear; UA bit of the SSPxSTAT register is set.
4.
Slave sends ACK and SSPxIF is set.
5.
Software clears the SSPxIF bit.
6.
Software
reads
received
address
from
SSPxBUF clearing the BF flag.
7.
Slave loads low address into SSPxADD,
releasing SCLx.
8.
Master sends matching low address byte to the
Slave; UA bit is set.
9.
Slave sends ACK and SSPxIF is set.
10. Slave clears SSPxIF.
11. Slave reads the received matching address
from SSPxBUF clearing BF.
12. Slave loads high address into SSPxADD.
13. Master clocks a data byte to the slave and
clocks out the slaves ACK on the 9th SCLx
pulse; SSPxIF is set.
14. If SEN bit of SSPxCON2 is set, CKP is cleared
by hardware and the clock is stretched.
15. Slave clears SSPxIF.
16. Slave reads the received byte from SSPxBUF
clearing BF.
17. If SEN is set the slave sets CKP to release the
SCLx.
18. Steps 13-17 repeat for each received byte.
19. Master sends Stop to end the transmission.
24.5.5 10-BIT ADDRESSING WITH ADDRESS
OR DATA HOLD
Reception using 10-bit addressing with AHEN or
DHEN set is the same as with 7-bit modes. The only
difference is the need to update the SSPxADD register
using the UA bit. All functionality, specifically when the
CKP bit is cleared and SCLx line is held low are the
same. Figure 24-20 can be used as a reference of a
slave in 10-bit addressing with AHEN set.
Figure 24-21 shows a standard waveform for a slave
transmitter in 10-bit Addressing mode.
Note:
Updates to the SSPxADD register are not
allowed until after the ACK sequence.
Note:
If the low address does not match, SSPxIF
and UA are still set so that the slave soft-
ware can set SSPxADD back to the high
address. BF is not set because there is no
match. CKP is unaffected.



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