MMCCMB2107 Freescale, MMCCMB2107 Datasheet - Page 395

no-image

MMCCMB2107

Manufacturer Part Number
MMCCMB2107
Description
Manufacturer
Freescale
Datasheet

Specifications of MMCCMB2107

Lead Free Status / RoHS Status
Not Compliant
17.8.7 Error Conditions
17.8.7.1 Write Collision Error
17.8.7.2 Mode Fault Error
MMC2107 – Rev. 2.0
MOTOROLA
The SPI has two error conditions:
The WCOL flag in SPISR indicates that a serial transfer was in progress
when the MCU tried to write new data to SPIDR. Valid write times are
listed below (see
and t
A write during any other time causes a WCOL error. The write is disabled
to avoid writing over the data being transmitted. WCOL does not
generate an interrupt request because the WCOL flag can be read upon
completion of the transmission that was in progress at the time of the
error.
If the SS input of a master SPI goes low, it indicates a system error in
which more than one master may be trying to drive the MOSI and SCK
lines simultaneously. This condition is not permitted in normal operation;
it sets the MODF flag in SPISR. If the SPIE bit in SPICR1 is also set,
MODF generates an interrupt request.
Configuring the SS pin as a general-purpose output or a slave-select
output disables the mode fault function.
A mode fault clears the SPE and MSTR bits and the DDRSP bits of the
SCK, MISO, and MOSI (or MOMI) pins. This forces those pins to be
high-impedance inputs to avoid any conflict with another output driver.
Freescale Semiconductor, Inc.
For More Information On This Product,
I
):
Write collision error
Mode fault error
In master mode, a valid write is within t
In slave phase 0, a valid write within t
In slave phase 1, a valid write is within t
edge and before SS goes low), excluding the first two SPI clocks
after the last SCK edge (the beginning of t
Serial Peripheral Interface Module (SPI)
Go to: www.freescale.com
Figure 17-11
and
Figure 17-12
Serial Peripheral Interface Module (SPI)
I
(when SS is high).
I
T
(when SS is high).
or t
T
for definitions of t
is an illegal write).
I
(after the last SCK
Functional Description
Technical Data
T
395