TOSHIBA
TMPR3904F Rev. 2.0
188
In the reading-out by the DMA transfer, when receiving data of 4 bytes or 8 bytes are sent to the
receive FIFO buffer (when the write pointer (0-7) becomes 4 and 0), a DMA request is
generated and the receiving data are written in to the memory.
Specify the interrupt mode, DMA mode and DMA direction using the three SDMAE, TDIE and
RDIE bits. Transmit and Receive cannot be simultaneously set to DMA when in the DMA
mode.
The DMA controller settings must be dual address mode, external transfer request, and low-
level mode.
Table 12-4 Register bit setting and transmit/receive operation
SDMA
E
TDIE RDIE
Transmit
Receive
0
0
0
TDIS polling
RDIS polling
0
0
1
TDIS polling
Interrupt (RDIS = 1)
0
1
0
Interrupt (TDIS=1)
RDIS polling
0
1
1
Interrupt (TDIS=1)
Interrupt (RDIS=1)
1
0
0
Setting prohibited
1
0
1
Interrupt (TDIS=1)
Read DMA (SDMA,RDIS=1)
1
1
0
Write DMA (SDMA,TDIS=1)
Interrupt (RDIS=1)
1
1
1
Setting prohibited
12.4.11 Hand shake function
By handshaking the CTS-RTS, the data transfer by the frame is made certain. This function is
valid when the HSE of the line mode register is 1.
When the CTS* pin becomes high level in transfer operation, the transfer is halted until the
CTS* pin becomes low after the completion of the currently conducted data transfer. At this
time also, however, next data are requested of the CPU by an interrupt or a DMA request.
When the receiving of one-frame data is completed in a receive operation, the RTS* pin is set to
high to request of the transferring side for a temporary halt of transfer. By changing the RTS*
pin to low when the receiving preparation is done, the transfer resumes.
Summary of Contents for TMPR3904F
Page 1: ...Users Manual 32bit RISC Microprocessor TX39 family TMPR3904F Rev 2 0 Jan 12 1998 ...
Page 2: ......
Page 9: ...Users Manual 01 1 INTRODUCTION 1 1 Overview ...
Page 11: ...Users Manual 03 1 3 Kind of accessing by the TX3904 ...
Page 12: ...Users Manual 04 1 4 Precautions in the TMPR3904F specification Don t set Don t use ...
Page 13: ...Users Manual 05 Do not use ...
Page 14: ...Users Manual 06 ...
Page 15: ...Users Manual 7 2 FEATURES n n n n n n n n n n n n n ...
Page 16: ...Users Manual 8 ...
Page 18: ...Users Manual 10 ...
Page 19: ...Users Manual 11 4 PINS 4 1 Positions of Pins ...
Page 20: ...Users Manual 12 ...
Page 21: ...Users Manual 13 4 2 Functions of Pins ...
Page 22: ...Users Manual 14 ...
Page 23: ...Users Manual 15 ...
Page 24: ...Users Manual 16 ...
Page 26: ...Users Manual 18 5 2 Register Map ...
Page 27: ...Users Manual 19 ...
Page 28: ...Users Manual 20 ...
Page 30: ...Users Manual 22 5 3 2 PIO2 and PIO1 ...
Page 32: ...Users Manual 24 5 3 4 Connection of external bus master 5 3 5 INT 7 0 active status clear ...
Page 33: ...Users Manual 25 5 3 6 INT 7 0 active status set up ...
Page 34: ...Users Manual 26 ...
Page 123: ...TOSHIBA TMPR3904F Rev 2 0 115 26 ...
Page 169: ...TOSHIBA TMPR3904F Rev 2 0 161 26 ...
Page 203: ...TOSHIBA TMPR3904F Rev 2 0 195 ...
Page 230: ......