參數(shù)資料
型號(hào): ATMEGA6450V-8AI
廠商: Atmel
文件頁(yè)數(shù): 38/85頁(yè)
文件大?。?/td> 0K
描述: IC AVR MCU FLASH 64K 1.8 100TQFP
產(chǎn)品培訓(xùn)模塊: megaAVR Introduction
標(biāo)準(zhǔn)包裝: 90
系列: AVR® ATmega
核心處理器: AVR
芯體尺寸: 8-位
速度: 8MHz
連通性: SPI,UART/USART,USI
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 68
程序存儲(chǔ)器容量: 64KB(32K x 16)
程序存儲(chǔ)器類型: 閃存
EEPROM 大?。?/td> 2K x 8
RAM 容量: 4K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 100-TQFP
包裝: 托盤
配用: ATSTK600-TQFP100-ND - STK600 SOCKET/ADAPTER 100-TQFP
ATSTK504-ND - STARTER KIT AVR EXP MOD 100P LCD
PIC16(L)F1824/1828
DS41419C-page 260
Preliminary
2010-2011 Microchip Technology Inc.
25.5.2 SLAVE RECEPTION
When the R/W bit of a matching received address byte
is clear, the R/W bit of the SSP1STAT register is
cleared. The received address is loaded into the
SSP1BUF register and acknowledged.
When the overflow condition exists for a received
address, then not Acknowledge is given. An overflow
condition is defined as either bit BF bit of the
SSP1STAT register is set, or bit SSPOV bit of the
SSP1CON1 register is set. The BOEN bit of the
SSP1CON3 register modifies this operation. For more
information see Register 25-4.
An MSSP1 interrupt is generated for each transferred
data byte. Flag bit, SSP1IF, must be cleared by soft-
ware.
When the SEN bit of the SSP1CON2 register is set,
SCL will be held low (clock stretch) following each
received byte. The clock must be released by setting
the CKP bit of the SSP1CON1 register, except
sometimes in 10-bit mode. See Section 25.2.3 “SPI
Master Mode” for more detail.
25.5.2.1 7-bit Addressing Reception
This section describes a standard sequence of events
for the MSSP1 module configured as an I2C Slave in
7-bit Addressing mode. Figure 25-14 and Figure 25-15
are used as a visual reference for this description.
This is a step by step process of what typically must
be done to accomplish I2C communication.
1.
Start bit detected.
2.
S bit of SSP1STAT is set; SSP1IF is set if inter-
rupt on Start detect is enabled.
3.
Matching address with R/W bit clear is received.
4.
The slave pulls SDA low sending an ACK to the
master, and sets SSP1IF bit.
5.
Software clears the SSP1IF bit.
6.
Software
reads
received
address
from
SSP1BUF clearing the BF flag.
7.
If SEN = 1; Slave software sets CKP bit to
release the SCL line.
8.
The master clocks out a data byte.
9.
Slave drives SDA low sending an ACK to the
master, and sets SSP1IF bit.
10. Software clears SSP1IF.
11. Software reads the received byte from
SSP1BUF clearing BF.
12. Steps 8-12 are repeated for all received bytes
from the Master.
13. Master sends Stop condition, setting P bit of
SSP1STAT, and the bus goes idle.
25.5.2.2 7-bit Reception with AHEN and DHEN
Slave device reception with AHEN and DHEN set
operate the same as without these options with extra
interrupts and clock stretching added after the 8th fall-
ing edge of SCL. These additional interrupts allow the
slave software to decide whether it wants to ACK the
receive address or data byte, rather than the hard-
ware. This functionality adds support for PMBus that
was not present on previous versions of this module.
This list describes the steps that need to be taken by
slave software to use these options for I2C communi-
cation. Figure 25-16 displays a module using both
address and data holding. Figure 25-17 includes the
operation with the SEN bit of the SSP1CON2 register
set.
1.
S bit of SSP1STAT is set; SSP1IF is set if inter-
rupt on Start detect is enabled.
2.
Matching address with R/W bit clear is clocked
in. SSP1IF is set and CKP cleared after the 8th
falling edge of SCL.
3.
Slave clears the SSP1IF.
4.
Slave can look at the ACKTIM bit of the
SSP1CON3 register to determine if the SSP1IF
was after or before the ACK.
5.
Slave reads the address value from SSP1BUF,
clearing the BF flag.
6.
Slave sets ACK value clocked out to the master
by setting ACKDT.
7.
Slave releases the clock by setting CKP.
8.
SSP1IF is set after an ACK, not after a NACK.
9.
If SEN = 1 the slave hardware will stretch the
clock after the ACK.
10. Slave clears SSP1IF.
11. SSP1IF set and CKP cleared after 8th falling
edge of SCL for a received data byte.
12. Slave looks at ACKTIM bit of SSP1CON3 to
determine the source of the interrupt.
13. Slave reads the received data from SSP1BUF
clearing BF.
14. Steps 7-14 are the same for each received data
byte.
15. Communication is ended by either the slave
sending an ACK = 1, or the master sending a
Stop condition. If a Stop is sent and Interrupt on
Stop Detect is disabled, the slave will only know
by polling the P bit of the SSPSTAT register.
Note: SSP1IF is still set after the 9th falling edge
of SCL even if there is no clock stretching
and BF has been cleared. Only if NACK is
sent to Master is SSP1IF not set
相關(guān)PDF資料
PDF描述
ATMEGA6450-16AI IC AVR MCU FLASH 64K 5V 100TQFP
ATMEGA645-16MI IC AVR MCU FLASH 64K 5V 64QFN
ATMEGA645-16AI IC AVR MCU FLASH 64K 5V 64TQFP
AT80251G2D-3CSUM IC 8051 MCU ROMLESS 40DIP
PIC18F6493-I/PT IC PIC MCU FLASH 8KX16 64TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATmega6450V-8AU 功能描述:8位微控制器 -MCU AVR 64K FLASH 2K EE 4K SRAM ADC 1.8V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA6450V-8AUR 功能描述:8位微控制器 -MCU AVR 64KB FLSH 2KB EE 4KB SRAM-8MHz, IND RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATmega645-16AI 功能描述:8位微控制器 -MCU AVR 64K FLASH 2K EE 4K SRAM ADC RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATmega645-16AU 功能描述:8位微控制器 -MCU 64kB Flash 2kB EEPROM 54 I/O Pins RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA645-16AUR 功能描述:8位微控制器 -MCU AVR 64KB FLSH 2KB EE 4KB SRAM-16MHz, 5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT