công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC18F4331-E/SP bảng dữ liệu(PDF) 213 Page - Microchip Technology

tên linh kiện PIC18F4331-E/SP
Giải thích chi tiết về linh kiện  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PDF  392 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4331-E/SP bảng dữ liệu(HTML) 213 Page - Microchip Technology

Back Button PIC18F4331-E/SP Datasheet HTML 209Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 210Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 211Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 212Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 213Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 214Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 215Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 216Page - Microchip Technology PIC18F4331-E/SP Datasheet HTML 217Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 213 / 392 page
background image
 2010 Microchip Technology Inc.
DS39616D-page 213
PIC18F2331/2431/4331/4431
19.3.1.1
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
(SCL) line. The value of register SSPSR<7:1> is
compared to the value of the SSPADD register. 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:
a)
The SSPSR register value is loaded into the
SSPBUF register.
b)
The Buffer Full bit, BF, is set.
c)
An ACK pulse is generated.
d)
SSP Interrupt Flag bit, SSPIF (PIR1<3>), is set
(interrupt is generated if enabled) on the falling
edge of the ninth SCL pulse.
In 10-Bit Addressing mode, two address bytes need to
be received by the slave (Figure 19-7). The five Most
Significant bits (MSbs) of the first address byte specify
if this is a 10-bit address. Bit R/W (SSPSTAT<2>) 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 Addressing mode is
as follows, with Steps 7-9 for slave-transmitter:
1.
Receive first (high) byte of address (SSPIF, BF
and UA bits are set).
2.
Update the SSPADD register with second (low)
byte of address (clears bit, UA, and releases the
SCL line).
3.
Read the SSPBUF register (clears bit, BF) and
clear flag bit, SSPIF.
4.
Receive second (low) byte of address (SSPIF,
BF and UA bits are set).
5.
Update the SSPADD register with the first (high)
byte of address. If match releases SCL line, this
will clear bit, UA.
6.
Read the SSPBUF register (clears bit, BF) and
clear flag bit, SSPIF.
7.
Receive Repeated Start condition.
8.
Receive first (high) byte of address (SSPIF and
BF bits are set).
9.
Read the SSPBUF register (clears bit, BF) and
clear flag bit, SSPIF.
TABLE 19-2:
DATA TRANSFER RECEIVED BYTE ACTIONS
Status Bits as Data
Transfer is Received
SSPSR
 SSPBUF
Generate ACK
Pulse
Set SSPIF Bit
(SSP interrupt occurs
if enabled)
BF
SSPOV
00
Yes
Yes
Yes
10
No
No
Yes
11
No
No
Yes
0
1
No
No
Yes
Note:
Shaded cells show the conditions where the user software did not properly clear the overflow condition.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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