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 0x0D.
12
AT73C213
2744B–PMAAC–11-Apr-08
相关PDF资料
AT73C221-EK BOARD EVAL FOR AT73C221
AT73C224-EK1 KIT EVALUATION FOR AT73C224
AT73C239-EK KIT EVAL FOR AT73C239
AT73C240-EK1 KIT EVALUATION FOR AT73C240
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
相关代理商/技术参数
AT73C214 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Power Management and Battery Charger for Wireless Devices
AT73C214J 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Power Management and Battery Charger for Wireless Devices
AT73C221 功能描述:其他电源管理 NGD MONOLITHIC NUMERIC IC RoHS:否 制造商:Texas Instruments 输出电压范围: 输出电流:4 mA 输入电压范围:3 V to 3.6 V 输入电流: 功率耗散: 工作温度范围:- 40 C to + 110 C 安装风格:SMD/SMT 封装 / 箱体:VQFN-48 封装:Reel
AT73C221-EK 功能描述:开发板和工具包 - ARM AT73C221 EVALUATION BOARD RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
AT73C221J 功能描述:电池管理 Monolithic numeric RoHS:否 制造商:Texas Instruments 电池类型:Li-Ion 输出电压:5 V 输出电流:4.5 A 工作电源电压:3.9 V to 17 V 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:VQFN-24 封装:Reel
AT73C223-A 功能描述:电池管理 NGD, Monolithic Numeric IC RoHS:否 制造商:Texas Instruments 电池类型:Li-Ion 输出电压:5 V 输出电流:4.5 A 工作电源电压:3.9 V to 17 V 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:VQFN-24 封装:Reel
AT73C224 功能描述:电池管理 Monolithic numeric RoHS:否 制造商:Texas Instruments 电池类型:Li-Ion 输出电压:5 V 输出电流:4.5 A 工作电源电压:3.9 V to 17 V 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:VQFN-24 封装:Reel
AT73C224-A 功能描述:电池管理 NGD, Monolithic Numeric IC RoHS:否 制造商:Texas Instruments 电池类型:Li-Ion 输出电压:5 V 输出电流:4.5 A 工作电源电压:3.9 V to 17 V 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:VQFN-24 封装:Reel