The 9th SCLx pulse for any transferred" />
參數(shù)資料
型號: ATMEGA324P-B15MZ
廠商: Atmel
文件頁數(shù): 28/70頁
文件大?。?/td> 0K
描述: IC MCU 8BIT 32KB FLASH 44VQFN
標(biāo)準(zhǔn)包裝: 4,000
系列: AVR® ATmega
核心處理器: AVR
芯體尺寸: 8-位
速度: 16MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(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-VFQFN 裸露焊盤
包裝: 帶卷 (TR)
其它名稱: ATMEGA324P-B15MZ-ND
PIC16(L)F1826/27
DS41391D-page 246
2011 Microchip Technology Inc.
25.4.9
ACKNOWLEDGE SEQUENCE
The 9th SCLx pulse for any transferred byte in I2C is
dedicated as an Acknowledge. It allows receiving
devices to respond back to the transmitter by pulling
the SDAx line low. The transmitter must release con-
trol of the line during this time to shift in the response.
The Acknowledge (ACK) is an active-low signal, pull-
ing the SDAx line low indicated to the transmitter that
the device has received the transmitted data and is
ready to receive more.
The result of an ACK is placed in the ACKSTAT bit of
the SSPxCON2 register.
Slave software, when the AHEN and DHEN bits are
set, allow the user to set the ACK value sent back to
the transmitter. The ACKDT bit of the SSPxCON2 reg-
ister is set/cleared to determine the response.
Slave hardware will generate an ACK response if the
AHEN and DHEN bits of the SSPxCON3 register are
clear.
There are certain conditions where an ACK will not be
sent by the slave. If the BF bit of the SSPxSTAT regis-
ter or the SSPxOV bit of the SSPxCON1 register are
set when a byte is received.
When the module is addressed, after the 8th falling
edge of SCLx on the bus, the ACKTIM bit of the
SSPxCON3 register is set. The ACKTIM bit indicates
the acknowledge time of the active bus. The ACKTIM
Status bit is only active when the AHEN bit or DHEN
bit is enabled.
25.5
I2C
SLAVE MODE OPERATION
The MSSPx Slave mode operates in one of four
modes selected in the SSPxM bits of SSPxCON1 reg-
ister. The modes can be divided into 7-bit and 10-bit
Addressing mode. 10-bit Addressing modes operate
the same as 7-bit with some additional overhead for
handling the larger addresses.
Modes with Start and Stop bit interrupts operated the
same as the other modes with SSPxIF additionally
getting set upon detection of a Start, Restart, or Stop
condition.
25.5.1
SLAVE MODE ADDRESSES
The SSPxADD register (Register 25-6) contains the
Slave mode address. The first byte received after a
Start or Restart condition is compared against the
value stored in this register. If the byte matches, the
value is loaded into the SSPxBUF register and an
interrupt is generated. If the value does not match, the
module goes Idle and no indication is given to the soft-
ware that anything happened.
The SSPx Mask register (Register 25-5) affects the
address matching process. See Section 25.5.9
for more information.
25.5.1.1
I2C Slave 7-bit Addressing Mode
In 7-bit Addressing mode, the LSb of the received data
byte is ignored when determining if there is an address
match.
25.5.1.2
I2C Slave 10-bit Addressing Mode
In 10-bit Addressing mode, the first received byte is
compared to the binary value of ‘1 1 1 1 0 A9 A8 0’. A9
and A8 are the two MSb of the 10-bit address and
stored in bits 2 and 1 of the SSPxADD register.
After the acknowledge of the high byte the UA bit is set
and SCLx is held low until the user updates SSPxADD
with the low address. The low address byte is clocked
in and all 8 bits are compared to the low address value
in SSPxADD. Even if there is not an address match;
SSPxIF and UA are set, and SCLx is held low until
SSPxADD is updated to receive a high byte again.
When SSPxADD is updated the UA bit is cleared. This
ensures the module is ready to receive the high
address byte on the next communication.
A high and low address match as a write request is
required at the start of all 10-bit addressing communi-
cation. A transmission can be initiated by issuing a
Restart once the slave is addressed, and clocking in
the high address with the R/W bit set. The slave hard-
ware will then acknowledge the read request and pre-
pare to clock out data. This is only valid for a slave
after it has received a complete high and low address
byte match.
相關(guān)PDF資料
PDF描述
AT91SAM7S64C-MU-999 IC ARM7 MCU FLASH 64K 64QFN
LX128V-32FN208C IC SWITCH DIGITAL 208FPBGA
AT91SAM7S64C-AU-999 IC ARM7 MCU 32BIT 64K 64LQFP
LX128EV-5FN208I IC SWITCH DIGITAL 208FPBGA
LX128EV-32FN208C IC SWITCH DIGITAL 208FPBGA
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATMEGA324PB-AN 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:托盤 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-TQFP 供應(yīng)商器件封裝:44-TQFP 標(biāo)準(zhǔn)包裝:160
ATMEGA324PB-ANR 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-TQFP 供應(yīng)商器件封裝:44-TQFP 標(biāo)準(zhǔn)包裝:1
ATMEGA324PB-AU 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:散裝 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 85°C(TA) 封裝/外殼:44-TQFP 供應(yīng)商器件封裝:44-TQFP 標(biāo)準(zhǔn)包裝:160
ATMEGA324PB-AUR 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:帶卷(TR) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 85°C(TA) 封裝/外殼:44-TQFP 供應(yīng)商器件封裝:44-TQFP 標(biāo)準(zhǔn)包裝:2,000
ATMEGA324PB-MN 功能描述:IC MCU 8BIT 32KB FLASH 44VQFN 制造商:microchip technology 系列:AVR? ATmega 包裝:托盤 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-VFQFN 裸露焊盤 供應(yīng)商器件封裝:44-VQFN(7x7) 標(biāo)準(zhǔn)包裝:360