I2C MODE" />
鍙冩暩(sh霉)璩囨枡
鍨嬭櫉锛� ATMEGA324P-B15AZ
寤犲晢锛� Atmel
鏂囦欢闋佹暩(sh霉)锛� 26/70闋�
鏂囦欢澶у皬锛� 0K
鎻忚堪锛� IC MCU 8BIT 32KB FLASH 44TQFP
妯欐簴鍖呰锛� 1,500
绯诲垪锛� AVR® ATmega
鏍稿績铏曠悊鍣細 AVR
鑺珨灏哄锛� 8-浣�
閫熷害锛� 16MHz
閫i€氭€э細 I²C锛孲PI锛孶ART/USART
澶栧湇瑷�(sh猫)鍌欙細 娆犲妾㈡脯/寰╀綅锛孭OR锛孭WM锛學DT
杓稿叆/杓稿嚭鏁�(sh霉)锛� 32
绋嬪簭瀛樺劜鍣ㄥ閲忥細 32KB锛�16K x 16锛�
绋嬪簭瀛樺劜鍣ㄩ鍨嬶細 闁冨瓨
EEPROM 澶�?銆�?/td> 1K x 8
RAM 瀹归噺锛� 2K x 8
闆诲 - 闆绘簮 (Vcc/Vdd)锛� 2.7 V ~ 5.5 V
鏁�(sh霉)鎿�(j霉)杞�(zhu菐n)鎻涘櫒锛� A/D 8x10b
鎸暕鍣ㄥ瀷锛� 鍏�(n猫i)閮�
宸ヤ綔婧害锛� -40°C ~ 125°C
灏佽/澶栨锛� 44-TQFP
鍖呰锛� 甯跺嵎 (TR)
鍏跺畠鍚嶇ū锛� ATMEGA324P-B15AZ-ND
PIC16(L)F1826/27
DS41391D-page 244
2011 Microchip Technology Inc.
25.4
I2C
MODE OPERATION
All MSSPx I2C communication is byte oriented and
shifted out MSb first. Six SFR registers and 2 interrupt
flags interface the module with the PIC microcon-
troller and user software. Two pins, SDAx and SCLx,
are exercised by the module to communicate with
other external I2C devices.
25.4.1
BYTE FORMAT
All communication in I2C is done in 9-bit segments. A
byte is sent from a Master to a Slave or vice-versa, fol-
lowed by an Acknowledge bit sent back. After the 8th
falling edge of the SCLx line, the device outputting
data on the SDAx changes that pin to an input and
reads in an acknowledge value on the next clock
pulse.
The clock signal, SCLx, is provided by the master.
Data is valid to change while the SCLx signal is low,
and sampled on the rising edge of the clock. Changes
on the SDAx line while the SCLx line is high define
special conditions on the bus, explained below.
25.4.2
DEFINITION OF I2C TERMINOLOGY
There is language and terminology in the description
of I2C communication that have definitions specific to
I2C. That word usage is defined below and may be
used in the rest of this document without explanation.
This table was adapted from the Philips I2C
specification.
25.4.3
SDAX AND SCLX PINS
Selection of any I2C mode with the SSPxEN bit set,
forces the SCLx and SDAx pins to be open-drain.
These pins should be set by the user to inputs by set-
ting the appropriate TRIS bits.
25.4.4
SDAX HOLD TIME
The hold time of the SDAx pin is selected by the
SDAHT bit of the SSPxCON3 register. Hold time is the
time SDAx is held valid after the falling edge of SCLx.
Setting the SDAHT bit selects a longer 300 ns mini-
mum hold time and may help on buses with large
capacitance.
TABLE 25-2:
I2C BUS TERMS
Note:
Data is tied to output zero when an I2C
mode is enabled.
TERM
Description
Transmitter
The device which shifts data out
onto the bus.
Receiver
The device which shifts data in
from the bus.
Master
The device that initiates a transfer,
generates clock signals and termi-
nates a transfer.
Slave
The device addressed by the mas-
ter.
Multi-master
A bus with more than one device
that can initiate data transfers.
Arbitration
Procedure to ensure that only one
master at a time controls the bus.
Winning arbitration ensures that
the message is not corrupted.
Synchronization Procedure to synchronize the
clocks of two or more devices on
the bus.
Idle
No master is controlling the bus,
and both SDAx and SCLx lines are
high.
Active
Any time one or more master
devices are controlling the bus.
Addressed
Slave
Slave device that has received a
matching address and is actively
being clocked by a master.
Matching
Address
Address byte that is clocked into a
slave that matches the value
stored in SSPxADD.
Write Request
Slave receives a matching
address with R/W bit clear, and is
ready to clock in data.
Read Request
Master sends an address byte with
the R/W bit set, indicating that it
wishes to clock data out of the
Slave. This data is the next and all
following bytes until a Restart or
Stop.
Clock Stretching When a device on the bus hold
SCLx low to stall communication.
Bus Collision
Any time the SDAx line is sampled
low by the module while it is out-
putting and expected high state.
鐩搁棞(gu膩n)PDF璩囨枡
PDF鎻忚堪
MS3110F14-19S CONN RCPT 19POS WALL MNT W/SCKT
VI-B7H-IX-F1 CONVERTER MOD DC/DC 52V 75W
MS3116F14-19SY CONN PLUG 19POS STRAIGHT W/SCKT
XR17D158IV IC UART PCI BUS OCTAL 144LQFP
VI-B7H-IW-F4 CONVERTER MOD DC/DC 52V 100W
鐩搁棞(gu膩n)浠g悊鍟�/鎶€琛�(sh霉)鍙冩暩(sh霉)
鍙冩暩(sh霉)鎻忚堪
ATMEGA324P-B15MZ 鍔熻兘鎻忚堪:8浣嶅井鎺у埗鍣� -MCU 32KB FLASH AUTO 125Deg revision B RoHS:鍚� 鍒堕€犲晢:Silicon Labs 鏍稿績:8051 铏曠悊鍣ㄧ郴鍒�:C8051F39x 鏁�(sh霉)鎿�(j霉)绺界窔瀵害:8 bit 鏈€澶ф檪閻橀牷鐜�:50 MHz 绋嬪簭瀛樺劜鍣ㄥぇ灏�:16 KB 鏁�(sh霉)鎿�(j霉) RAM 澶у皬:1 KB 鐗囦笂 ADC:Yes 宸ヤ綔闆绘簮闆诲:1.8 V to 3.6 V 宸ヤ綔婧害鑼冨湇:- 40 C to + 105 C 灏佽 / 绠遍珨:QFN-20 瀹夎棰ㄦ牸:SMD/SMT
ATMEGA324PB-AN 鍔熻兘鎻忚堪:IC MCU 8BIT 32KB FLASH 44TQFP 鍒堕€犲晢:microchip technology 绯诲垪:AVR? ATmega 鍖呰:鎵樼洡 闆朵欢鐙€鎱�(t脿i):鍦ㄥ敭 鏍稿績铏曠悊鍣�:AVR 鏍稿績灏哄:8-浣� 閫熷害:20MHz 閫f帴鎬�:I2C锛孲PI锛孶ART/USART 澶栬ō(sh猫):娆犲妾㈡脯/寰╀綅锛孭OR锛孭WM锛學DT I/O 鏁�(sh霉):39 绋嬪簭瀛樺劜瀹归噺:32KB锛�16K x 16锛� 绋嬪簭瀛樺劜鍣ㄩ鍨�:闁冨瓨 EEPROM 瀹归噺:1K x 8 RAM 瀹归噺:2K x 8 闆诲 - 闆绘簮锛圴cc/Vdd锛�:1.8 V ~ 5.5 V 鏁�(sh霉)鎿�(j霉)杞�(zhu菐n)鎻涘櫒:A/D 8x10b 鎸暕鍣ㄩ鍨�:鍏�(n猫i)閮� 宸ヤ綔婧害:-40掳C ~ 105掳C锛圱A锛� 灏佽/澶栨:44-TQFP 渚涙噳鍟嗗櫒浠跺皝瑁�:44-TQFP 妯欐簴鍖呰:160
ATMEGA324PB-ANR 鍔熻兘鎻忚堪:IC MCU 8BIT 32KB FLASH 44TQFP 鍒堕€犲晢:microchip technology 绯诲垪:AVR? ATmega 鍖呰:鍓垏甯讹紙CT锛� 闆朵欢鐙€鎱�(t脿i):鍦ㄥ敭 鏍稿績铏曠悊鍣�:AVR 鏍稿績灏哄:8-浣� 閫熷害:20MHz 閫f帴鎬�:I2C锛孲PI锛孶ART/USART 澶栬ō(sh猫):娆犲妾㈡脯/寰╀綅锛孭OR锛孭WM锛學DT I/O 鏁�(sh霉):39 绋嬪簭瀛樺劜瀹归噺:32KB锛�16K x 16锛� 绋嬪簭瀛樺劜鍣ㄩ鍨�:闁冨瓨 EEPROM 瀹归噺:1K x 8 RAM 瀹归噺:2K x 8 闆诲 - 闆绘簮锛圴cc/Vdd锛�:1.8 V ~ 5.5 V 鏁�(sh霉)鎿�(j霉)杞�(zhu菐n)鎻涘櫒:A/D 8x10b 鎸暕鍣ㄩ鍨�:鍏�(n猫i)閮� 宸ヤ綔婧害:-40掳C ~ 105掳C锛圱A锛� 灏佽/澶栨:44-TQFP 渚涙噳鍟嗗櫒浠跺皝瑁�:44-TQFP 妯欐簴鍖呰:1
ATMEGA324PB-AU 鍔熻兘鎻忚堪:IC MCU 8BIT 32KB FLASH 44TQFP 鍒堕€犲晢:microchip technology 绯诲垪:AVR? ATmega 鍖呰:鏁h 闆朵欢鐙€鎱�(t脿i):鍦ㄥ敭 鏍稿績铏曠悊鍣�:AVR 鏍稿績灏哄:8-浣� 閫熷害:20MHz 閫f帴鎬�:I2C锛孲PI锛孶ART/USART 澶栬ō(sh猫):娆犲妾㈡脯/寰╀綅锛孭OR锛孭WM锛學DT I/O 鏁�(sh霉):39 绋嬪簭瀛樺劜瀹归噺:32KB锛�16K x 16锛� 绋嬪簭瀛樺劜鍣ㄩ鍨�:闁冨瓨 EEPROM 瀹归噺:1K x 8 RAM 瀹归噺:2K x 8 闆诲 - 闆绘簮锛圴cc/Vdd锛�:1.8 V ~ 5.5 V 鏁�(sh霉)鎿�(j霉)杞�(zhu菐n)鎻涘櫒:A/D 8x10b 鎸暕鍣ㄩ鍨�:鍏�(n猫i)閮� 宸ヤ綔婧害:-40掳C ~ 85掳C锛圱A锛� 灏佽/澶栨:44-TQFP 渚涙噳鍟嗗櫒浠跺皝瑁�:44-TQFP 妯欐簴鍖呰:160
ATMEGA324PB-AUR 鍔熻兘鎻忚堪:IC MCU 8BIT 32KB FLASH 44TQFP 鍒堕€犲晢:microchip technology 绯诲垪:AVR? ATmega 鍖呰:甯跺嵎锛圱R锛� 闆朵欢鐙€鎱�(t脿i):鍦ㄥ敭 鏍稿績铏曠悊鍣�:AVR 鏍稿績灏哄:8-浣� 閫熷害:20MHz 閫f帴鎬�:I2C锛孲PI锛孶ART/USART 澶栬ō(sh猫):娆犲妾㈡脯/寰╀綅锛孭OR锛孭WM锛學DT I/O 鏁�(sh霉):39 绋嬪簭瀛樺劜瀹归噺:32KB锛�16K x 16锛� 绋嬪簭瀛樺劜鍣ㄩ鍨�:闁冨瓨 EEPROM 瀹归噺:1K x 8 RAM 瀹归噺:2K x 8 闆诲 - 闆绘簮锛圴cc/Vdd锛�:1.8 V ~ 5.5 V 鏁�(sh霉)鎿�(j霉)杞�(zhu菐n)鎻涘櫒:A/D 8x10b 鎸暕鍣ㄩ鍨�:鍏�(n猫i)閮� 宸ヤ綔婧害:-40掳C ~ 85掳C锛圱A锛� 灏佽/澶栨:44-TQFP 渚涙噳鍟嗗櫒浠跺皝瑁�:44-TQFP 妯欐簴鍖呰:2,000