6-7
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
6.5.3.
Ping-Pong Transfer
In ping-pong transfer mode, the DMAC performs basic transfers repeatedly while switching
between the primary data structure and alternate data structure. The data structures are referred
alternately, and DMA transfer is terminated when the control data with cycle_ctrl set to 0x0 is
referred. A transfer completion interrupt occurs each time a transfer using a data structure is
completed.
Transfer using primary data structure
Transfer using alternate data structure
(cycle_ctrl = 0x3, 2R = 4, N = 6)
Task A
Task B
Task C
Task D
Task E
Termination
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer request
DMA transfer
completion interrupt
DMA transfer
completion interrupt
DMA transfer
completion interrupt
DMA transfer
completion interrupt
DMA transfer
completion interrupt
(cycle_ctrl = 0x3, 2R = 4, N = 12)
(cycle_ctrl = 0x3, 2R = 4, N = 5)
(cycle_ctrl = 0x3, 2R = 2, N = 2)
(cycle_ctrl = 0x3, 2R = 4, N = 7)
(cycle_ctrl = 0x0)
Figure 6.5.3.1 Ping-Pong Transfer Operation Example
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...