参数资料
型号: MC68HC05C8AMFB
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP44
封装: QFP-44
文件页数: 74/116页
文件大小: 781K
代理商: MC68HC05C8AMFB
Serial Peripheral Interface (SPI)
MC68HC05C8A MC68HCL05C8A MC68HSC05C8A Data Sheet, Rev. 5.1
60
Freescale Semiconductor
10.3.3 Serial Clock (SCK)
The master clock is used to synchronize data movement both in and out of the device through its MOSI
and MISO lines. The master and slave devices are capable of exchanging a byte of information during a
sequence of eight clock cycles. Since SCK is generated by the master device, this line becomes an input
on a slave device.
As shown in Figure 10-1, four possible timing relationships may be chosen by using control bits CPOL
and CPHA in the serial peripheral control register (SPCR). Both master and slave devices must operate
with the same timing. The master device always places data on the MOSI line one-half cycle before the
clock edge (SCK), so the slave device can latch the data.
Two bits (SPR0 and SPR1) in the SPCR of the master device select the clock rate. In a slave device,
SPR0 and SPR1 have no effect on the SPI operation.
Figure 10-1. Data Clock Timing Diagram
10.3.4 Slave Select (SS)
The slave select (SS) input line is used to select a slave device. It has to be low prior to data transactions
and must stay low for the duration of the transaction.
The SS line on the master must be tied high. If it goes low, a mode fault error flag (MODF) is set in the
SPSR.
When CPHA = 0, the shift clock is the OR of SS with SCK. In this clock phase mode, SS must go high
between successive characters in an SPI message. When CPHA = 1, SS may be left low for several SPI
characters. In cases where there is only one SPI slave MCU, its SS line could be tied to VSS as long as
CPHA = 1 clock modes are used.
INTERNAL STROBE FOR DATA CAPTURE (ALL MODES)
MSB
6
54
32
1
0
SS
SCK
MISO/MOSI
相关PDF资料
PDF描述
MPC8250ACVRMIBX 32-BIT, 266 MHz, RISC PROCESSOR, PBGA516
MPC860TZQ50D4R2 32-BIT, 50 MHz, RISC PROCESSOR, PBGA357
MC908GZ48VFU 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP64
MC9S12GC32PCFA25 16-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP48
MC9S12KG128CPU 16-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
MC68HC05C9 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:TECHNICAL DATA
MC68HC05C9A 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFN 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers