
iiBusModuLes:high-sPeeddMa(hsdMa)
s1C33L17teChniCaLManuaL
ePson
ii-1-11
II
HSDMA
ii.1.3.4settingtheRegistersinsingle-addressMode
Make sure that the HSDMA channel is disabled (HSx_EN (D0/0x30112C + 0x10x) = 0) before setting the control
information.
hsx_en:Ch.xEnableBitintheHSDMACh.xEnableRegister(D0/0x30112C+0x10x)
addressmode
The address mode select bit DUALMx (D15/0x301122 + 0x10x) should be set to 0 (single-address mode).
This bit is set to 0 at initial reset.
duaLMx:Ch.xAddressModeSelectBitintheHSDMACh.xControlRegister(D15/0x301122+0x10x)
transfermode
A transfer mode should be set using DxMOD[1:0] (D[15:14]/0x30112A + 0x10x).
dxMod[1:0]:Ch.xTransferModeSelectBitsintheHSDMACh.xHigh-OrderDestinationAddressSetup
Register(D[15:14]/0x30112A+0x10x)
TableII.1.3.4.1TransferMode
dxMod1
1
0
dxMod0
1
0
1
0
Mode
Invalid
Blocktransfermode
Successivetransfermode
Singletransfermode
Refer to the explanation in Section II.1.3.3, “Setting the Registers in Dual-Address Mode.”
directionoftransfer
The direction of data transfer should be set using DxDIR (D14/0x301122 + 0x10x).
dxdiR:Ch.xTransferDirectionControlBitintheHSDMACh.xControlRegister(D14/0x301122+0x10x)
Memory write operations (data transfer from I/O device to memory) are specified by writing 1 and memory
read operations (data transfer from memory to I/O device) are specified by writing 0.
transferdatasize
standardmode(hsdMaadV(d0/0x30119C)=0,default)
DATSIZEx (D14/0x301126 + 0x10x) is used to set the unit size of data to be transferred.
A half-word size (16 bits) is assumed if this bit is 1 and a byte size (8 bits) is assumed if this bit is 0 (default).
datsiZex:Ch.xTransferDataSizeSelectBitintheHSDMACh.xHigh-OrderSourceAddressSetup
Register(D14/0x301126+0x10x)
advancedmode(hsdMaadV(d0/0x30119C)=1)
In advanced mode, WORDSIZEx (D0/0x301162 + 0x10x) is provided to select a word size (32 bits) in addi-
tion to a half-word size and byte size that can be selected using DATSIZEx (D14/0x301126 + 0x10x).
WoRdsiZex:Ch.xTransferDataSizeSelectBitintheHSDMACh.xControlRegisterforADVmode
(D0/0x301162+0x10x)
TableII.1.3.4.2TransferDataSizeSelectableinAdvancedMode
WoRdsiZex
1
0
transferdatasize
Word(32bits)
Half-word(16bits)
Byte(8bits)
datsiZex
X
1
0
DATSIZEx (D14/0x301126 + 0x10x) and WORDSIZEx (D0/0x301162 + 0x10x) are used to set the unit size
of data to be transferred.