參數(shù)資料
型號: AT89LP428-20JU
廠商: Atmel
文件頁數(shù): 147/149頁
文件大?。?/td> 0K
描述: MCU 8051 4K FLASH SPI 32PLCC
產品培訓模塊: MCU Product Line Introduction
標準包裝: 32
系列: 89LP
核心處理器: 8051
芯體尺寸: 8-位
速度: 20MHz
連通性: SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數(shù): 30
程序存儲器容量: 4KB(4K x 8)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 512 x 8
RAM 容量: 768 x 8
電壓 - 電源 (Vcc/Vdd): 2.4 V ~ 5.5 V
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 32-LCC(J 形引線)
包裝: 管件
97
3654A–MICRO–8/09
AT89LP428/828
17.5
SPI Registers
Notes:1. Set up the clock mode before enabling the SPI: set all bits needed in SPCR except the SPE bit, then set SPE.
2. Enable the master SPI prior to selecting the slave device (SS low).
Table 17-2.
SPDR – SPI Data Register
SPDR Address = EAH
Reset Value= 00H (after cold reset)
unchanged (after warm reset)
Not Bit Addressable
SPD7
SPD6
SPD5
SPD4
SPD3
SPD2
SPD1
SPD0
Bit
76543210
Writes to SPDR load the transmit buffer. In Master mode, a write also starts a transfer if the master is currently idle.
In Slave mode, if data is not loaded to SPDR the SPI will echo the last byte received on the next transfer. Reads
from SPDR return the value of the receive buffer, which is the last byte received. If SPDR is not read before
completion of the next transfer, the old value will be lost.
Table 17-3.
SPCR – SPI Control Register
SPCR Address = E9H
Reset Value = 0000 0000B
Not Bit Addressable
TSCK
SPE
DORD
MSTR
CPOL
CPHA
SPR1
SPR0
Bit
765432
10
Symbol
Function
TSCK
SCK Clock Mode. When TSCK = 0, the SCK baud rate is based on the system clock, divided by the SPR
1-0 ratio.When
TSCK = 1, the SCK baud rate is based on the Timer 1 overflow rate, divided by the SPR1-0 ratio.
SPE
SPI Enable. SPI = 1 enables the SPI channel and connects SS, MOSI, MISO and SCK to pins P1.4, P1.5, P1.6, and
P1.7. SPI = 0 disables the SPI channel.
DORD
Data Order. DORD = 1 selects LSB first data transmission. DORD = 0 selects MSB first data transmission.
MSTR
Master/Slave Select. MSTR = 1 selects Master SPI mode. MSTR = 0 selects slave SPI mode.
CPOL
Clock Polarity. When CPOL = 1, SCK is high when idle. When CPOL = 0, SCK of the master device is low when not
transmitting. Please refer to Figure 23-9 on SPI clock phase and polarity control.
CPHA
Clock Phase. The CPHA bit together with the CPOL bit controls the clock and data relationship between master and
slave. Please refer to Figure 23-9 on SPI clock phase and polarity control.
SPR0
SPR1
SPI Clock Rate Select. These two bits control the SCK rate of the device configured as master. SPR1 and SPR0 have no
effect on the slave. The relationship between SCK and the oscillator frequency, f
OSC., is as follows:
SPR1
SPR0
SCK (TSCK = 0)
SCK (TSCK = 1)
00
f
OSC/4
fT1OVF/4
01
f
OSC/8
f
T1OVF/8
10
f
OSC/32
fT1OVF/32
11
f
OSC/64
fT1OVF/64
相關PDF資料
PDF描述
ATMEGA48V-10MU IC AVR MCU 4K 10MHZ 1.8V 32-QFN
ATMEGA48-20MU IC AVR MCU 4K 20MHZ 5V 32-QFN
ATMEGA48V-10AU IC AVR MCU 4K 10MHZ 1.8V 32TQFP
ATMEGA48-20AU IC AVR MCU 4K 20MHZ 5V 32TQFP
ATTINY2313-20MU IC MCU AVR 2K FLASH 20-QFN
相關代理商/技術參數(shù)
參數(shù)描述
AT89LP428-20MH 功能描述:8位微控制器 -MCU SingleCycle 8051 4K ISP Flash 2.4V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP428-20PU 功能描述:8位微控制器 -MCU SingleCycle 8051 4K ISP Flash 2.4V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP51-20AU 功能描述:8位微控制器 -MCU Single Cycle 8051 4K ISP FL RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP51-20JU 功能描述:8位微控制器 -MCU Single Cycle 8051 4K ISP FL RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP51-20MU 功能描述:8位微控制器 -MCU Single Cycle 8051 4K ISP FL RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT