NO:
W90P710 Programming Guide
VERSION:
2.1
PAGE:
62
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed,
distributed or reproduced without permission from Winbond.
Table No.: 1200-0003-07-A
Figure 5-3 GDMA operations
Start
Set destination address
Set transfer count
Set control register
Should be at the nature boundary of TW S
24-bit (maximum is 16M-1), each count represents:
i. 8 bits when 8-bit transfer.
ii. 16 bits when 16-bit transfer.
iii. 32 bits when 32-bit transfer.
iv. 8*4, 16*4, or 32*4 bits when burst mode enabled.
The mode, direction, fixing, bust,
bus lock, transfer width, block
mode, interrupt are set here.
Clear [TC]
Transfer complete ?
End
Clean control register
Set source address
If the SOFTR EQ was not self-clean in the
previous GD M A transfer, it should be cleaned
before next GDM A transfer request.
Should be at the nature boundary of TW S
Y es
No
5.4.2 Transfer Count
The value in register GDMA_TCNT is the transfer count, not the byte count. Normally, the
number of final transferred bytes is calculated by the following equation.
Transferred bytes = [GDMA_TCNT] * Transfer width /* burst mode is disabled */
For example, supposes that [GDMA_TCNT] = 16 and the transfer width is half-word (16-bit). The
number of transferred bytes should be 16 * 2 = 32. But if the burst mode is enabled, the above
equation will be changed as below.