8. SPI Interface
8.1
Architecture
The SPI is a three-wire bi-directional asynchronous serial link. It works only in slave mode. The
protocol is the following:
Figure 8-1.
SPI Architecture
SPI_CSB
SPI_CLK
rw a6 a5 a4 a3 a2 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0
SPI_DIN
d7 d6 d5 d4 d3 d2 d1 d0
SPI_DOUT
8.2
SPI Protocol
On SPI_DIN, the first bit is a read/write bit. 0 indicates a write operation, while 1 is for a read
operation. The seven following bits are used for the register address and the eight last ones are
the write data. For both address and data, the most significant bit is the first one.
In case of a read operation, SPI_DOUT provides the contents of the read register, MSB first.
The transfer is enabled by the CSB signal active low. When no operation is being carried out,
SPI_DOUT is set high impedance to allow sharing of MCU serial interface with other devices.
The interface is reset at every rising edge of SPI_CSB in order to come back to an idle state,
even if the transfer does not succeed. The SPI is synchronized with the serial clock SPI_CLK.
Falling edge latches SPI_DIN input and rising edge shifts SPI_DOUT output bits.
Note that MCLK must run during any SPI write access from address 0x00 to 0x11.
12
AT73C240
6464A–PMAAC–28-Apr-09
相关PDF资料
AT73C246-EK1 KIT EVALUATION FOR AT73C246
AT85DVK-07 KIT DEV FOR AT85C51SND3
AT85RFD-07 REFERENCE DESIGN FOR AT85C51SND3
AT88CK101BK8 BOARD KIT CRYPTO W/SOIC SKT
AT88CK101STK8 BOARD KIT CRYPTO W/SOIC&MICRO
AT88CK109BK8 BOARD KIT CRYPTO W/2 SOIC SKTS
AT88CK109STK3 KIT JAVAN BASE/SCKT BD/IC SAMPLE
AT88CK109STK8 KIT STARTER CRYPTO W/2 SOIC SKTS
相关代理商/技术参数
AT73C246 功能描述:多媒体杂项 NGD MONOLITHIC NUMERIC IC RoHS:否 制造商:Texas Instruments 类型: 通道数量: 转换速率:540 Mbps 分辨率: 封装 / 箱体:SOIC-16 封装:Tube
AT73C246-EK1 功能描述:电源管理IC开发工具 COMPLETE EVALUATION KIT RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
AT73C260B 功能描述:多媒体杂项 NGD MONOLITHIC NUMERIC IC RoHS:否 制造商:Texas Instruments 类型: 通道数量: 转换速率:540 Mbps 分辨率: 封装 / 箱体:SOIC-16 封装:Tube
AT73C500 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Chip Set Solution for Watt-Hour Meters
AT73C500-JC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Power Metering
AT73C501 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Chip Set Solution for Watt-Hour Meters
AT73C501-JC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Analog-to-Digital Converter, 16-Bit
AT73C502 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Chip Set Solution for Watt-Hour Meters