參數資料
型號: ATMEGA324P-B15AZ
廠商: Atmel
文件頁數: 35/70頁
文件大?。?/td> 0K
描述: IC MCU 8BIT 32KB FLASH 44TQFP
標準包裝: 1,500
系列: AVR® ATmega
核心處理器: AVR
芯體尺寸: 8-位
速度: 16MHz
連通性: I²C,SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數: 32
程序存儲器容量: 32KB(16K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 1K x 8
RAM 容量: 2K x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
數據轉換器: A/D 8x10b
振蕩器型: 內部
工作溫度: -40°C ~ 125°C
封裝/外殼: 44-TQFP
包裝: 帶卷 (TR)
其它名稱: ATMEGA324P-B15AZ-ND
PIC16(L)F1826/27
DS41391D-page 252
2011 Microchip Technology Inc.
25.5.3
SLAVE TRANSMISSION
When the R/W bit of the incoming address byte is set
and an address match occurs, the R/W bit of the
SSPxSTAT register is set. The received address is
loaded into the SSPxBUF register, and an ACK pulse is
sent by the slave on the ninth bit.
Following the ACK, slave hardware clears the CKP bit
and the SCLx pin is held low (see Section 25.5.6
for more detail). By stretching the
clock, the master will be unable to assert another clock
pulse until the slave is done preparing the transmit
data.
The transmit data must be loaded into the SSPxBUF
register which also loads the SSPxSR register. Then
the SCLx pin should be released by setting the CKP bit
of the SSPxCON1 register. The eight data bits are
shifted out on the falling edge of the SCLx input. This
ensures that the SDAx signal is valid during the SCLx
high time.
The ACK pulse from the master-receiver is latched on
the rising edge of the ninth SCLx input pulse. This ACK
value is copied to the ACKSTAT bit of the SSPxCON2
register. If ACKSTAT is set (not ACK), then the data
transfer is complete. In this case, when the not ACK is
latched by the slave, the slave goes Idle and waits for
another occurrence of the Start bit. If the SDAx line was
low (ACK), the next transmit data must be loaded into
the SSPxBUF register. Again, the SCLx pin must be
released by setting bit CKP.
An MSSPx interrupt is generated for each data transfer
byte. The SSPxIF bit must be cleared by software and
the SSPxSTAT register is used to determine the status
of the byte. The SSPxIF bit is set on the falling edge of
the ninth clock pulse.
25.5.3.1
Slave Mode Bus Collision
A slave receives a Read request and begins shifting
data out on the SDAx line. If a bus collision is detected
and the SBCDE bit of the SSPxCON3 register is set,
the BCLxIF bit of the PIRx register is set. Once a bus
collision is detected, the slave goes Idle and waits to be
addressed again. User software can use the BCLxIF bit
to handle a slave bus collision.
25.5.3.2
7-bit Transmission
A master device can transmit a read request to a
slave, and then clock data out of the slave. The list
below outlines what software for a slave will need to
do
to
accomplish
a
standard
transmission.
Figure 25-17 can be used as a reference to this list.
1.
Master sends a Start condition on SDAx and
SCLx.
2.
S bit of SSPxSTAT is set; SSPxIF is set if inter-
rupt on Start detect is enabled.
3.
Matching address with R/W bit set is received by
the Slave setting SSPxIF bit.
4.
Slave hardware generates an ACK and sets
SSPxIF.
5.
SSPxIF bit is cleared by user.
6.
Software reads the received address from
SSPxBUF, clearing BF.
7.
R/W is set so CKP was automatically cleared
after the ACK.
8.
The slave software loads the transmit data into
SSPxBUF.
9.
CKP bit is set releasing SCLx, allowing the mas-
ter to clock the data out of the slave.
10. SSPxIF is set after the ACK response from the
master is loaded into the ACKSTAT register.
11. SSPxIF bit is cleared.
12. The slave software checks the ACKSTAT bit to
see if the master wants to clock out more data.
13. Steps 9-13 are repeated for each transmitted
byte.
14. If the master sends a not ACK; the clock is not
held, but SSPxIF is still set.
15. The master sends a Restart condition or a Stop.
16. The slave is no longer addressed.
Note 1:
If the master ACKs the clock will be
stretched.
2:
ACKSTAT is the only bit updated on the
rising edge of SCLx (9th) rather than the
falling.
相關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
相關代理商/技術參數
參數描述
ATMEGA324P-B15MZ 功能描述:8位微控制器 -MCU 32KB FLASH AUTO 125Deg revision B RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 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 連接性:I2C,SPI,UART/USART 外設:欠壓檢測/復位,POR,PWM,WDT I/O 數:39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數據轉換器:A/D 8x10b 振蕩器類型:內部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-TQFP 供應商器件封裝:44-TQFP 標準包裝:160
ATMEGA324PB-ANR 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設:欠壓檢測/復位,POR,PWM,WDT I/O 數:39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數據轉換器:A/D 8x10b 振蕩器類型:內部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-TQFP 供應商器件封裝:44-TQFP 標準包裝:1
ATMEGA324PB-AU 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:散裝 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設:欠壓檢測/復位,POR,PWM,WDT I/O 數:39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數據轉換器:A/D 8x10b 振蕩器類型:內部 工作溫度:-40°C ~ 85°C(TA) 封裝/外殼:44-TQFP 供應商器件封裝:44-TQFP 標準包裝:160
ATMEGA324PB-AUR 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:帶卷(TR) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設:欠壓檢測/復位,POR,PWM,WDT I/O 數:39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數據轉換器:A/D 8x10b 振蕩器類型:內部 工作溫度:-40°C ~ 85°C(TA) 封裝/外殼:44-TQFP 供應商器件封裝:44-TQFP 標準包裝:2,000