Programming Model
MOTOROLA
Serial Peripheral Interface Modules (SPI 1 and SPI 2)
18-7
18.3.2 Transmit (TX) Data Registers
The SPI transmit data registers are write-only data registers that form the top word of the 8
×
16 TXFIFOs
for each SPI module. The TXFIFO can be written to as long as it is not full, even when the exchange
(XCH) bit in the corresponding SPI control register (CONTROLREG1 or CONTROLREG2) is set. This
allows user write access to the TXFIFO during an SPI data exchange process. Writes to these registers are
ignored when the SPI module is disabled (SPIEN bit of the corresponding SPI control register is cleared).
TXDATAREG1
TXDATAREG2
SPI 1 Tx Data Register
SPI 2 Tx Data Register
Addr
0x00213004
0x00219004
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
TYPE
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0000
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DATA
TYPE
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0000
Table 18-5. SPI 1 Tx Data Register and SPI 2 Tx Data Register Description
Name
Description
Reserved
Bits 31–16
Reserved—These bits are reserved and should read 0.
DATA
Bits 15–0
DATA
—Holds the top word of data loaded into the FIFO. Data written to this register can be 8 or 16
bits. The number of bits actually transmitted is determined by the BIT_COUNT field of the
corresponding SPI control register. If this field contains more bits than the number specified by
BIT_COUNT, the extra bits are ignored. For example, to transfer 10 bits of data, a 16-bit word must
be written to this register. Bits 9-0 are shifted out and bits 15-10 are ignored. When the SPI module is
operating in slave mode, ‘0’s are shifted out when the FIFO is not full.
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...