S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
435
Chapter 15
Serial Peripheral Interface (S12SPIV5)
15.1
Introduction
The SPI module allows a duplex, synchronous, serial communication between the MCU and peripheral
devices. Software can poll the SPI status flags or the SPI operation can be interrupt driven.
15.1.1
Glossary of Terms
15.1.2
Features
The SPI includes these distinctive features:
•
Master mode and slave mode
•
Selectable 8 or 16-bit transfer width
•
Bidirectional mode
•
Slave select output
•
Mode fault error flag with CPU interrupt capability
•
Double-buffered data register
•
Serial clock with programmable polarity and phase
•
Control of SPI operation during wait mode
15.1.3
Modes of Operation
The SPI functions in three modes: run, wait, and stop.
Table 15-1. Revision History
Revision
Number
Revision Date
Sections
Affected
Description of Changes
V05.00
24 Mar 2005
- Added 16-bit transfer width feature.
SPI
Serial Peripheral Interface
SS
Slave Select
SCK
Serial Clock
MOSI
Master Output, Slave Input
MISO
Master Input, Slave Output
MOMI
Master Output, Master Input
SISO
Slave Input, Slave Output
Содержание MC9S12XS128
Страница 4: ...S12XS Family Reference Manual Rev 1 13 4 Freescale Semiconductor ...
Страница 58: ...Device Overview S12XS Family S12XS Family Reference Manual Rev 1 13 58 Freescale Semiconductor ...
Страница 150: ...Memory Mapping Control S12XMMCV4 S12XS Family Reference Manual Rev 1 13 150 Freescale Semiconductor ...
Страница 168: ...Interrupt S12XINTV2 S12XS Family Reference Manual Rev 1 13 168 Freescale Semiconductor ...
Страница 194: ...Background Debug Module S12XBDMV2 S12XS Family Reference Manual Rev 1 13 194 Freescale Semiconductor ...
Страница 364: ...Periodic Interrupt Timer S12PIT24B4CV1 S12XS Family Reference Manual Rev 1 13 364 Freescale Semiconductor ...
Страница 396: ...Pulse Width Modulator S12PWM8B8CV1 S12XS Family Reference Manual Rev 1 13 396 Freescale Semiconductor ...
Страница 506: ...Voltage Regulator S12VREGL3V3V1 S12XS Family Reference Manual Rev 1 13 506 Freescale Semiconductor ...
Страница 736: ...Ordering Information S12XS Family Reference Manual Rev 1 13 736 Freescale Semiconductor ...
Страница 737: ......