TMP92CF30
2009-06-12
92CF30-470
(6)
SPI Receive Data Register (SPIRD)
The SPIRD0 and SPIRD1 registers are used for reading the received data.
SPIRD0 Register
7 6 5 4 3 2 1 0
Bit
Symbol RXD7 RXD6 RXD5 RXD4 RXD3 RXD2 RXD1 RXD0
Read/Write R
Reset State
0
0
0
0
0
0
0
0
Function
Receive data bits [7:0]
SPIRD0
(0834H)
15 14 13 12 11 10 9 8
Bit Symbol
RXD15
RXD14
RXD13
RXD12 RXD11 RXD10 RXD9 RXD8
Read/Write R
Reset
State
0 0 0 0 0 0 0 0
(0835H)
Function
Receive data bits [15:8]
SPIRD1 Register
7 6 5 4 3 2 1 0
Bit
Symbol RXD7 RXD6 RXD5 RXD4 RXD3 RXD2 RXD1 RXD0
Read/Write R
Reset
State
0 0 0 0 0 0 0 0
Function
Receive data bits [7:0]
SPIRD1
(0836H)
15
14
13
12
11
10
9 8
Bit Symbol
RXD15
RXD14
RXD13
RXD12 RXD11 RXD10 RXD9 RXD8
Read/Write R
Reset
State
0 0 0 0 0 0 0 0
(0837H)
Function
Receive data bits [15:8]
Figure 3.17.13 SPIRD Register
This register is used for reading the received data. Please check the state of the RFUL or
REND bit before starting a read operation.
Since the receive data registers can contain data of up to four bytes, it can support read
operations that are performed by using four-byte instructions, such as the parallel
operation of the SPI and DMA.
When reading the data, the receive data at the address 834 should be the first to be read.
(There are some exceptions.)
There are several restrictions of the data reading methods (i.e., instructions to be used).
For mode details, please refer to the following table.
UNIT-mode Reception
(FIFO Disabled)
Sequential-mode Reception
(FIFO Enabled)
Receive Data
Read Size
Instruction
Example
1-byte
reception
unit16
=
0
2-byte reception
unit16
=
1
1-byte
reception
unit16
=
0
2-byte
reception
unit16
=
1
ld a,(0x834)
○
○
Prohibited Prohibited
1-byte read
ld a,(0x835)
•
○
Prohibited Prohibited
2-byte read
ld wa,(0x834)
♦
*1
○
○
○
4-byte read
ld xwa,(0x834)
♦
*2
♦
*3
○
○
○
: Only the valid data are read when the CPU is reading.
♦
: Valid data
+
invalid data are read when the CPU is reading. Invalid data must be deleted later.
•
: Only the invalid data are read when the CPU is reading.
*1: Address 834 = Valid data, address 835 = Invalid data,
*2: Address 834 = Valid data, address 835 = Invalid data, address 836 = Invalid data, address 837 = Invalid data
*3: Address 834 = Valid data, address 835 = Valid data, address 836 = Invalid data, address 837 = Invalid data
Содержание TLCS-900/H1 Series
Страница 1: ...TOSHIBA Original CMOS 32 Bit Microcontroller TLCS 900 H1 Series TMP92CF30FG Semiconductor Company ...
Страница 650: ...TMP92CF30 2009 06 12 92CF30 648 7 Package Dimensions LQFP176 P 2020 0 40F TOP VIEW BOTTOM VIEW Detail view of A 25 1 A ...
Страница 652: ...TMP92CF30 2009 06 12 92CF30 650 ...