參數(shù)資料
型號: MC68HSC05C8AP
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4.1 MHz, MICROCONTROLLER, PDIP40
封裝: PLASTIC, DIP-40
文件頁數(shù): 76/116頁
文件大小: 781K
代理商: MC68HSC05C8AP
Serial Peripheral Interface (SPI)
MC68HC05C8A MC68HCL05C8A MC68HSC05C8A Data Sheet, Rev. 5.1
62
Freescale Semiconductor
The SPI data register (SPDR) is double buffered on read, but not on write. If a write is performed during
data transfer, the transfer occurs uninterrupted, and the write will be unsuccessful. This condition will
cause the write collision (WCOL) status bit in the SPSR to be set. After a data byte is shifted, the SPIF
flag of the SPSR is set.
In the master mode, the SCK pin is an output. It idles high or low, depending on the CPOL bit in the SPCR,
until data is written to the shift register, at which point eight clocks are generated to shift the eight bits of
data and then SCK goes idle again.
In a slave mode, the slave select start logic receives a logic low at the SS pin and a clock at the SCK pin.
Thus, the slave is synchronized with the master. Data from the master is received serially at the MOSI
line and loads the 8-bit shift register. After the 8-bit shift register is loaded, its data is parallel transferred
to the read buffer. During a write cycle, data is written into the shift register, then the slave waits for a clock
train from the master to shift the data out on the slave’s MISO line.
Figure 10-3 illustrates the MOSI, MISO, SCK, and SS master-slave interconnections.
Figure 10-3. Serial Peripheral Interface Master-Slave Interconnection
10.5 SPI Registers
This subsection describes the three registers in the SPI which provide control, status, and data storage
functions. These registers are:
Serial peripheral control register (SPCR)
Serial peripheral status register (SPSR)
Serial peripheral data I/O register (SPDR)
I/O PORT
SPDR ($000C)
SPI SHIFT REGISTER
PD3/MOSI
PD2/MISO
PD4/SCK
MASTER MCU
SLAVE MCU
SS
PD5
相關(guān)PDF資料
PDF描述
MC9S12KG64CPV 16-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP112
MC9S12KG64VPV 16-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP112
MAC7122MPV50 32-BIT, FLASH, 50 MHz, MICROCONTROLLER, PQFP112
M38039FFHWG 8-BIT, FLASH, 8.4 MHz, MICROCONTROLLER, PBGA64
MPC740ARX200TX 32-BIT, 200 MHz, RISC PROCESSOR, CBGA255
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HSC705C8ACFB 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 304 BYTES RAM - Bulk
MC68HSC705C8ACP 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68HSC705C8ACS 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACDW 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACP 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 64 BYTES RAM - Bulk