
Serial Peripheral Interface (SPI)
MPC8260 PowerQUICC II Family Reference Manual, Rev. 2
Freescale Semiconductor
38-9
with LEN=7 (data size=8), the following data is selected:
msb
ghij_klmn__opqr_stuv
lsb
the data string is selected:
msb
ghij_klmn__opqr_stuv
lsb
with REV=0, the string transmitted, a byte at a time with lsb first is:
first
nmlk_jihg__vuts_rqpo
last
with REV=1, the string is byte reversed and transmitted, a byte at a time, with lsb
first:
first
ghij_klmn__opqr_stuv
last
Example 3
with LEN=0xC (data size=13), the following data is selected:
msb
ghij_klmn__xxxr_stuv
lsb
the data string selected is:
msb
r_stuv__ghij_klmn
lsb
with REV=0, the string transmitted, a byte at a time with lsb first is:
first
nmlk_jihg__vuts_r
last
with REV=1, the string is half-word reversed:
msb
nmlk_jihg__vuts_r
lsb
and transmitted a byte at a time with lsb first:
first
r_stuv_ghij_klmn
last
38.4.2
SPI Event/Mask Registers (SPIE/SPIM)
The SPI event register (SPIE) generates interrupts and reports events recognized by the SPI. When an
event is recognized, the SPI sets the corresponding SPIE bit. Clear SPIE bits by writing a 1—writing 0 has
no effect. Setting a bit in the SPI mask register (SPIM) enables and clearing a bit masks the corresponding
interrupt. Unmasked SPIE bits must be cleared before the CP clears internal interrupt requests.
Figure 38-7
shows both registers.
Table 38-3
describes the SPIE/SPIM fields.
0
1
2
3
4
5
6
7
Field
—
MME
TXE
—
BSY
TXB
RXB
Reset
0000_0000
R/W
R/W
Addr
0x0x11AA6 (SPIE); 0x0x11AAA (SPIM)
Figure 38-7. SPIE/SPIM—SPI Event/Mask Registers
Table 38-3. SPIE/SPIM Field Descriptions
Bits
Name
Description
0–1
—
Reserved, should be cleared.
2
MME
Multimaster error. Set when SPISEL is asserted externally while the SPI is in master mode.
3
TXE
Tx error. Set when an error occurs during transmission.
4
—
Reserved, should be cleared.
5
BSY
Busy. Set after the first character is received but discarded because no Rx buffer is available.
Содержание MPC8250
Страница 90: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 lxxxviii Freescale Semiconductor...
Страница 94: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 I 4 Freescale Semiconductor...
Страница 118: ...Overview MPC8260 PowerQUICC II Family Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 236: ...Reset MPC8260 PowerQUICC II Family Reference Manual Rev 2 5 14 Freescale Semiconductor...
Страница 274: ...60x Signals MPC8260 PowerQUICC II Family Reference Manual Rev 2 7 18 Freescale Semiconductor...
Страница 540: ...IEEE 1149 1 Test Access Port MPC8260 PowerQUICC II Family Reference Manual Rev 2 13 8 Freescale Semiconductor...
Страница 548: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 IV 8 Freescale Semiconductor...
Страница 704: ...Serial Communications Controllers SCCs MPC8260 PowerQUICC II Family Reference Manual Rev 2 20 26 Freescale Semiconductor...
Страница 770: ...SCC BISYNC Mode MPC8260 PowerQUICC II Family Reference Manual Rev 2 23 20 Freescale Semiconductor...
Страница 808: ...SCC Ethernet Mode MPC8260 PowerQUICC II Family Reference Manual Rev 2 25 24 Freescale Semiconductor...
Страница 848: ...Serial Management Controllers SMCs MPC8260 PowerQUICC II Family Reference Manual Rev 2 27 36 Freescale Semiconductor...
Страница 972: ...ATM Controller and AAL0 AAL1 and AAL5 MPC8260 PowerQUICC II Family Reference Manual Rev 2 30 52 Freescale Semiconductor...
Страница 1062: ...ATM AAL1 Circuit Emulation Service MPC8260 PowerQUICC II Family Reference Manual Rev 2 31 46 Freescale Semiconductor...
Страница 1072: ...ATM AAL2 MPC8260 PowerQUICC II Family Reference Manual Rev 2 32 10 Freescale Semiconductor...
Страница 1122: ...Inverse Multiplexing for ATM IMA MPC8260 PowerQUICC II Family Reference Manual Rev 2 33 20 Freescale Semiconductor...
Страница 1178: ...Inverse Multiplexing for ATM IMA MPC8260 PowerQUICC II Family Reference Manual Rev 2 33 76 Freescale Semiconductor...
Страница 1224: ...Fast Ethernet Controller MPC8260 PowerQUICC II Family Reference Manual Rev 2 35 28 Freescale Semiconductor...
Страница 1242: ...FCC HDLC Controller MPC8260 PowerQUICC II Family Reference Manual Rev 2 36 18 Freescale Semiconductor...
Страница 1302: ...Register Quick Reference Guide MPC8260 PowerQUICC II Family Reference Manual Rev 2 A 4 Freescale Semiconductor...
Страница 1318: ...Reference Manual Rev 1 Errata MPC8260 PowerQUICC II Family Reference Manual Rev 2 B 16 Freescale Semiconductor...
Страница 1356: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 Index 28 Freescale Semiconductor U U Index...