參數(shù)資料
型號: 89S8252
廠商: Atmel Corp.
英文描述: 8-Bit Microcontroller with 8K Bytes Flash
中文描述: 8位具有8K字節(jié)的閃存,微控制器
文件頁數(shù): 15/31頁
文件大?。?/td> 455K
代理商: 89S8252
AT89S8252
4-119
The interconnection between master and slave CPUs with
SPI is shown in the following figure. The SCK pin is the
clock output in the master mode but is the clock input in the
slave mode. Writing to the SPI data register of the master
CPU starts the SPI clock generator, and the data written
shifts out of the MOSI pin and into the MOSI pin of the
slave CPU. After shifting one byte, the SPI clock generator
stops, setting the end of transmission flag (SPIF). If both
the SPI interrupt enable bit (SPIE) and the serial port inter-
rupt enable bit (ES) are set, an interrupt is requested.
The Slave Select input, SS/P1.4, is set low to select an
individual SPI device as a slave. When SS/P1.4 is set high,
the SPI port is deactivated and the MOSI/P1.5 pin can be
used as an input.
There are four combinations of SCK phase and polarity
with respect to serial data, which are determined by control
bits CPHA and CPOL. The SPI data transfer formats are
shown in Figures 8 and 9.
Figure 7.
SPI Master-Slave Interconnection
8-BIT SHIFT REGISTER
MASTER
CLOCK GENERATOR
SPI
MISO
8-BIT SHIFT REGISTER
SLAVE
MISO
MOSI MOSI
SCK
SCK
SS
SS
V
CC
MSB
LSB
MSB
LSB
Figure 8.
SPI transfer Format with CPHA = 0
*Not defined but normally MSB of character just received
相關(guān)PDF資料
PDF描述
8M052489 8m Class DC to AC Inverter
8T26A 8-Channel, 10-Bit ADC with I2C Compatible Interface in 20-Lead TSSOP; Package: TSSOP; No of Pins: 20; Temperature Range: Industrial
8T95 8-Channel, 10-Bit ADC with I2C Compatible Interface in 20-Lead TSSOP; Package: TSSOP; No of Pins: 20; Temperature Range: Industrial
8T96 High Speed Hex 3-State Buffers/Inverters
8T97 High Speed Hex 3-State Buffers/Inverters
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
89S8252-24JC 制造商: 功能描述: 制造商:undefined 功能描述:
89S825324JI 制造商: 功能描述: 制造商:undefined 功能描述:
89S8253-24JI 制造商: 功能描述: 制造商:undefined 功能描述:
89S9310FS 制造商: 功能描述: 制造商:undefined 功能描述:
89SF1604G3N 制造商:Integrated Device Technology Inc 功能描述:FLASH NVRAM CTL - Boxed Product (Development Kits)