Datasheet
Table Of Contents
- List of Sections
- Table of Contents
- General Description
- Central Processing Unit (CPU)
- Pinout and Signal Description
- System Configuration
- Registers
- Operating Modes
- Resource Mapping
- Bus Control and Input/Output
- Resets and Interrupts
- Voltage Regulator (VREG)
- Flash EEPROM 256K
- EEPROM 4K
- Port Integration Module
- Clocks and Reset Generator (CRG)
- Pulse Width Modulator (PWM)
- Enhanced Capture Timer (ECT)
- Serial Communications Interface (SCI)
- Serial Peripheral Interface (SPI)
- Inter-IC Bus (IIC)
- MSCAN
- Analog to Digital Converter
- Byte Data Link Controller Module
- Contents
- Overview
- Features
- Block Diagram
- Register Map
- Functional Description
- Register Descriptions
- External Pin Descriptions
- Reset Initialization/Basic Operation
- Transmitting A Message
- Receiving A Message
- Transmitting An In-Frame Response (IFR)
- Receiving An In-Frame Response (IFR)
- Special BDLC Operations
- Modes of Operation
- Interrupt Operation
- Low Power Options
- Background Debug Module (BDM)
- Breakpoint (BKP) Module
- Revision History
- Glossary
- Literature Updates

Serial Peripheral Interface (SPI)
MC9S12DP256 — Revision 1.1
Serial Peripheral Interface (SPI)
SPI Control
Register 2 (SPICR2)
Read: anytime
Write: anytime; writes to unimplemented bits have no effect
MODFEN — Mode Fault Enable Bit
This bit when set allows the MODF flag to be set. If the MODF flag is
set, clearing the MODFEN does not clear the MODF flag. If the SPI is
enabled as master and the MODFEN bit is low, then the SS
is
available as a general purpose I/O.
When the SPI is enabled as a slave, the SS is available only as an
input regardless of the value of MODFEN.
1 = Enable setting the MODF error
0 = Disable the MODF error
BIDIROE — Output enable in the Bidirectional mode of operation
This bit along with the MSTR bit of SPCR1 is used to enable the
output buffer when the SPI is configured in bidirectional mode.
1 = Output buffer enabled
0 = Output buffer disabled
SPISWAI — SPI Stop in Wait Mode Bit
This bit is used for power conservation while in wait mode.
1 = Stop SPI clock generation when in wait mode
0 = SPI clock operates normally in wait mode
SPC0 — Serial Pin Control Bit 0
With the MSTR control bit, this bit enables bidirectional pin
configurations as shown in Table 77.
Address Offset: $0001
Bit 7 6 5 4 3 2 1 Bit 0
R 0 0 0
MODFEN BIDIROE
0
SPISWAI SPC0
W
Reset: 000 0 0 0 0 0
= Unimplemented or Reserved
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...