参数资料
型号: MC68HC705G1FU
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQFP64
封装: QFP-64
文件页数: 95/124页
文件大小: 732K
代理商: MC68HC705G1FU
MOTOROLA
8-6
MC68HC05G1
SERIAL PERIPHERAL INTERFACE
8
8.3
Functional Description
A block diagram of the serial peripheral interface is shown in Figure 8-3. In a master conguration,
the master start logic receives an input from the CPU (in form of a write to the SPI rate generator)
and originates the serial clock (SCK) based on the internal processor clock. This clock is also used
internally to control the state controller as well as the 8-bit shift register. As a master device, data
is parallel loaded into the 8-bit shift register (from internal bus) during a write cycle and then shifted
out serially to the MOSI pin for application to the slave device(s). During a read cycle, data is
applied serially from a slave device via the MISO pin to the 8-bit shift register. After the 8-bit shift
register is loaded, its data is parallel transferred to the read buffer and then is made available to
the internal data bus during a CPU read cycle.
In a slave conguration, the slave start logic receives a logic low (from a master device) at the SS
pin and serial clock input (from the same master device) at the SCK pin. Thus, the slave is
synchronized with the master. Data from the master is received serially at the slave MOSI pin and
loads the 8-bit shift register. After the 8-bit shift register is loaded, its data is parallel transferred to
the read buffer and then is made available to the internal data bus during a CPU cycle. During a
write cycle, data is parallel loaded into the 8-bit shift register from the internal data bus and then
shifted out serially to the MISO pin for application to the master device.
Figure 8-4 illustrates the MOSI, MISO, and SCK master-slave interconnections. Note that in
Figure 8-4 the master SS pin is tied to a logic high and the slave SS pin is a logic low. Figure 8-1
provides a larger system connection for these same pins. Note that in Figure 8-1, all SS pins are
connected to a port pin of a master/slave device. In this case any of the devices can be a slave.
8.4
SPI Registers
These are three registers in the serial parallel interface which provide control, status, and data
storage functions. These registers are the serial peripheral control register (SPCR, location $2A),
serial peripheral status register (SPSR, location $2B), and serial peripheral data I/O register
(SPDR, location $2C) are described in the following paragraphs.
8.4.1
Serial Peripheral Control Register (SPCR)
The serial peripheral control register bits are denes as follows:
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on Reset
$2A
SPIE
SPE
MSTR
CPOL
CPHA
SPR1
SPR0
00-0 uuuu
TPG
68
相关PDF资料
PDF描述
MC68HC05G1B 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP56
MC68HC705JB2DW 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDSO20
MC68HC705JB2P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP20
MC68HC705JB4P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP28
MC68HC705K1CDW 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PDSO16
相关代理商/技术参数
参数描述
MC68HC705J1A 制造商:Freescale Semiconductor 功能描述:
MC68HC705J1ACDW 功能描述:IC MCU 4MHZ 1.2K OTP 20-SOIC RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:HC05 其它有关文件:STM32F101T8 View All Specifications 特色产品:STM32 32-bit Cortex MCUs 标准包装:490 系列:STM32 F1 核心处理器:ARM? Cortex?-M3 芯体尺寸:32-位 速度:36MHz 连通性:I²C,IrDA,LIN,SPI,UART/USART 外围设备:DMA,PDR,POR,PVD,PWM,温度传感器,WDT 输入/输出数:26 程序存储器容量:64KB(64K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):2 V ~ 3.6 V 数据转换器:A/D 10x12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:36-VFQFN,36-VFQFPN 包装:托盘 配用:497-10030-ND - STARTER KIT FOR STM32497-8853-ND - BOARD DEMO STM32 UNIV USB-UUSCIKSDKSTM32-PL-ND - KIT IAR KICKSTART STM32 CORTEXM3497-8512-ND - KIT STARTER FOR STM32F10XE MCU497-8505-ND - KIT STARTER FOR STM32F10XE MCU497-8304-ND - KIT STM32 MOTOR DRIVER BLDC497-6438-ND - BOARD EVALUTION FOR STM32 512K497-6289-ND - KIT PERFORMANCE STICK FOR STM32MCBSTM32UME-ND - BOARD EVAL MCBSTM32 + ULINK-MEMCBSTM32U-ND - BOARD EVAL MCBSTM32 + ULINK2更多... 其它名称:497-9032STM32F101T8U6-ND
MC68HC705J1ACP 功能描述:IC MCU 4MHZ 1.2K OTP 20-DIP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:HC05 其它有关文件:STM32F101T8 View All Specifications 特色产品:STM32 32-bit Cortex MCUs 标准包装:490 系列:STM32 F1 核心处理器:ARM? Cortex?-M3 芯体尺寸:32-位 速度:36MHz 连通性:I²C,IrDA,LIN,SPI,UART/USART 外围设备:DMA,PDR,POR,PVD,PWM,温度传感器,WDT 输入/输出数:26 程序存储器容量:64KB(64K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:10K x 8 电压 - 电源 (Vcc/Vdd):2 V ~ 3.6 V 数据转换器:A/D 10x12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:36-VFQFN,36-VFQFPN 包装:托盘 配用:497-10030-ND - STARTER KIT FOR STM32497-8853-ND - BOARD DEMO STM32 UNIV USB-UUSCIKSDKSTM32-PL-ND - KIT IAR KICKSTART STM32 CORTEXM3497-8512-ND - KIT STARTER FOR STM32F10XE MCU497-8505-ND - KIT STARTER FOR STM32F10XE MCU497-8304-ND - KIT STM32 MOTOR DRIVER BLDC497-6438-ND - BOARD EVALUTION FOR STM32 512K497-6289-ND - KIT PERFORMANCE STICK FOR STM32MCBSTM32UME-ND - BOARD EVAL MCBSTM32 + ULINK-MEMCBSTM32U-ND - BOARD EVAL MCBSTM32 + ULINK2更多... 其它名称:497-9032STM32F101T8U6-ND
MC68HC705J1ACPE 功能描述:8位微控制器 -MCU HCO5 CORE+1.2K RAM + EPR 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
MC68HC705J2CDW 制造商:Motorola Inc 功能描述: 制造商:Motorola Inc 功能描述:MicroController, 8-Bit, 20 Pin, Plastic, SOP