Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

PIC16F720-E/ML Datasheet(PDF) 151 Page - Microchip Technology

No. de pieza PIC16F720-E/ML
Descripción Electrónicos  20-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  244 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MICROCHIP [Microchip Technology]
Página de inicio  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F720-E/ML Datasheet(HTML) 151 Page - Microchip Technology

Back Button PIC16F720-E/ML Datasheet HTML 147Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 148Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 149Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 150Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 151Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 152Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 153Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 154Page - Microchip Technology PIC16F720-E/ML Datasheet HTML 155Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 151 / 244 page
background image
 2010 Microchip Technology Inc.
DS41430A-page 151
PIC16F/LF720/721
17.2.4
ADDRESSING
Once the SSP module has been enabled, it waits for a
Start condition to occur. Following the Start condition,
the 8 bits are shifted into the SSPSR register. All incom-
ing bits are sampled with the rising edge of the clock
line (SCL).
17.2.4.1
7-bit Addressing
In 7-bit Addressing mode (Figure 17-10), the value of
register SSPSR<7:1> is compared to the value of reg-
ister SSPADD<7:1>. The address is compared on the
falling edge of the eighth clock (SCL) pulse. If the
addresses match, and the BF and SSPOV bits are
clear, the following events occur:
• The SSPSR register value is loaded into the
SSPBUF register.
• The BF bit is set.
•An ACK pulse is generated.
• SSP Interrupt Flag bit, SSPIF of the PIR1 register,
is set (interrupt is generated if enabled) on the
falling edge of the ninth SCL pulse.
17.2.4.2
10-bit Addressing
In 10-bit Address mode, two address bytes need to be
received by the slave (Figure 17-11). The five Most
Significant bits (MSbs) of the first address byte specify
if it is a 10-bit address. The R/W bit of the SSPSTAT
register must specify a write so the slave device will
receive the second address byte. For a 10-bit address,
the first byte would equal ‘1111 0 A9 A8 0’, where
A9 and A8 are the two MSbs of the address.
The sequence of events for 10-bit address is as follows
for reception:
1.
Load SSPADD register with high byte of address.
2.
Receive first (high) byte of address (bits SSPIF,
BF and UA of the SSPSTAT register are set).
3.
Read the SSPBUF register (clears bit BF).
4.
Clear the SSPIF flag bit.
5.
Update the SSPADD register with second (low)
byte of address (clears UA bit and releases the
SCL line).
6.
Receive low byte of address (bits SSPIF, BF and
UA are set).
7.
Update the SSPADD register with the high byte
of address. If match releases SCL line, this will
clear bit UA.
8.
Read the SSPBUF register (clears bit BF).
9.
Clear flag bit SSPIF.
If data is requested by the master, once the slave has
been addressed:
1.
Receive repeated Start condition.
2.
Receive repeat of high byte address with R/W = 1,
indicating a read.
3.
BF bit is set and the CKP bit is cleared, stopping
SCL and indicating a read request.
4.
SSPBUF is written, setting BF, with the data to
send to the master device.
5.
CKP is set in software, releasing the SCL line.
17.2.4.3
Address Masking
The Address Masking register (SSPMSK) is only
accessible while the SSPM bits of the SSPCON
register are set to ‘1001’. In this register, the user can
select which bits of a received address the hardware
will compare when determining an address match. Any
bit that is set to a zero in the SSPMSK register, the
corresponding bit in the received address byte and
SSPADD register are ignored when determining an
address match. By default, the register is set to all
ones, requiring a complete match of a 7-bit address or
the lower eight bits of a 10-bit address.



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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