English
Language : 

MC68HC11PH8 Datasheet, PDF (121/264 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
6.6.5 S2SR1 — MI BUS status register 1
SCI2/MI status 1 (S2SR1)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0054 Ñ Ñ RDRF2 Ñ OR2 NF2 Ñ Ñ 1100 0000
The bits in S2SR1 indicate certain conditions in the MI BUS hardware and are automatically
cleared by special acknowledge sequences. The receive related flag bits in S2SR1 (RDRF2, OR2
and NF2) are cleared by a read of this register followed by a read of the transmit/receive data
register. However, only those bits that were set when S2SR1 was read will be cleared by the
subsequent read of the transmit/receive data register.
RDRF2 — Receive data register full flag 2
1 (set) – Contents of the receiver serial shift register have been transferred to
the receiver data register.
6
0 (clear) – Contents of the receiver serial shift register have not been
transferred to the receiver data register.
This bit is set when the contents of the receiver serial shift register have been transferred to the
receiver data register.
The EOF (end-of-frame) during an MI BUS pull-field is a continuous square wave, which will result
in multiple RDRFs. This may be dealt with in any of the following ways:
– By clearing the RIE2 mask, ignoring unneeded RDRF2s, initiating a push
field, waiting for TDRE2† and then clearing the RDRF2;
– By clearing the RE2 bit when a pull field is complete, followed by setting the RE2
bit after the TDRE2† flag associated with the next push field is asserted;
– By disabling the MI BUS.
OR2 — Bit error 2
1 (set) – A bit error has been detected.
0 (clear) – No bit error has been detected.
This bit is set when a push field bit value on the MI BUS does not match the bit value that was
sent. This is known as an MI BUS bit error. OR2 does not generate an interrupt request in MI BUS
mode.
† Note that TDRE2 and TC2 will both behave in the same way as during normal SCI
transmissions. The MI BUS will still be receiving when the TC2 bit becomes set, hence any
queued transmission will not start until the current pull field has finished.
See also Section 5.6.4.
MC68HC11PH8
MOTOROLA INTERCONNECT BUS (MI BUS)
TPG
MOTOROLA
6-11