V DMA BLOCK: HSDMA (High-Speed DMA)
B-V-2-2
EPSON
S1C33L03 FUNCTION PART
I/O Pins of HSDMA
Table 2.1 lists the I/O pins used for HSDMA.
Table 2.1 I/O Pins of HSDMA
Pin name
I/O
Function
Function select bit
K50/#DMAREQ0
I
Input port / High-speed DMA request 0
CFK50(D0)/K5 function select register(0x402C0)
K51/#DMAREQ1
I
Input port / High-speed DMA request 1
CFK51(D1)/K5 function select register(0x402C0)
K53/#DMAREQ2
I
Input port / High-speed DMA request 2
CFK53(D3)/K5 function select register(0x402C0)
K54/#DMAREQ3
I
Input port / High-speed DMA request 3
CFK54(D4)/K5 function select register(0x402C0)
P04/SIN1/
#DMAACK2
I/O I/O port / Serial IF Ch.1 data input /
#DMAACK2 output (Ex)
CFEX4(D4)/Port function extension register(0x402DF)
P05/SOUT1/
#DMAEND2
I/O I/O port / Serial IF Ch.1 data output /
#DMAEND2 output (Ex)
CFEX5(D5)/Port function extension register(0x402DF)
P06/#SCLK1/
#DMAACK3
I/O I/O port / Serial IF Ch.1 clock input/output /
#DMAACK3 output (Ex)
CFEX6(D6)/Port function extension register(0x402DF)
P07/#SRDY1/
#DMAEND3
I/O I/O port / Serial IF Ch.1 ready input/output /
#DMAEND3 output (Ex)
CFEX7(D7)/Port function extension register(0x402DF)
P15/EXCL4/
#DMAEND0
I/O I/O port / 16-bit timer 4 event counter input (I) /
#DMAEND0 output (O)
CFP15(D5)/P1 function select register(0x402D4)
P16/EXCL5/
#DMAEND1
I/O I/O port / 16-bit timer 5 event counter input (I) /
#DMAEND1 output (O)
CFP16(D6)/P1 function select register(0x402D4)
P32/#DMAACK0
I/O I/O port / #DMAACK0 output
CFP32(D2)/P3 function select register(0x402DC)
P33/#DMAACK1
I/O I/O port / #DMAACK1 output
CFP33(D3)/P3 function select register(0x402DC)
(I): Input mode, (O): Output mode, (Ex): Extended function
#DMAREQx (DMA request input pin)
This pin is used to input a DMA request signal from an external peripheral circuit. One data transfer
operation is performed by this trigger (either the rising edge or the falling edge of the signal can be selected).
The #DMAREQ0 to #DMAREQ3 pins correspond to channel 0 to channel 3, respectively.
In addition to this external input, software trigger or an interrupt factor can be selected for the HSDMA
trigger factor using the register in the interrupt controller.
#DMAACKx (DMA acknowledge signal output pin for single-address mode)
This signal is output to indicate that a DMA request has been acknowledged by the DMA controller.
In single-address mode, the I/O device that is the source or destination of transfer outputs data to the external
bus or takes in data from the external data synchronously with this signal.
The #DMAACK0 to #DMAACK3 pins correspond to channel 0 to channel 3, respectively.
This signal is not output in dual-address mode.
#DMAENDx (End-of-transfer signal output pin)
This signal is output to indicate that the number of data transfer operations that is set in the control register
have been completed. The #DMAEND0 to #DMAEND3 pins correspond to channel 0 to channel 3,
respectively.
Method for setting HSDMA I/O pins
As shown in Table 2.1, the pins used for HSDMA are shared with input ports and I/O ports. At cold start, all
of these are set as input and I/O port pins (function select register = "0"). According to the signals to be used,
set the corresponding pin function select bit by writing "1". At hot start, the register retains the previous status
before a reset.
The #DMAEND3, #DMAACK3, #DMAEND2 and #DMAACK2 outputs are the extended functions of the
P04 to P07 ports. When using these signals, the extended function bit (CFEX[7:4]) must be set to "1".
In addition, setup of the #DMAEND0 pin or #DMAEND1 pin further requires setting the I/O port's I/O
control bit IOC15 (D5) or IOC16 (D6) / P1 I/O control register (0x402D6) by writing "1" in order to direct
the pin for output. If this pin is directed for input, it functions as a 16-bit programmable timer's event counter
input and cannot be used to output the #DMAENDx signal. At cold start, this pin is set for input. At hot start,
it retains the previous status.
Summary of Contents for CMOS 32-Bit Single Chip Microcomputer S1C33L03
Page 4: ......
Page 14: ......
Page 15: ...S1C33L03 PRODUCT PART ...
Page 16: ......
Page 147: ...S1C33L03 FUNCTION PART ...
Page 148: ......
Page 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Page 150: ......
Page 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Page 164: ......
Page 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Page 264: ......
Page 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Page 416: ......
Page 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Page 436: ......
Page 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Page 494: ......
Page 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Page 532: ......
Page 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Page 580: ......