MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
163
Preliminary—Subject to Change Without Notice
TCD.citer
= TCD.biter = 2
TCD.slast =
-32
TCD.dlast_sga = -32
This would generate the following sequence of events:
1. First hardware (ipd_req) request for channel service
2. The channel is selected by arbitration for servicing
3. dma_engine writes: TCD.done = 0, TCD.start = 0, TCD.active = 1
4. dma_engine reads: channel TCD data from local memory to internal register file
5. The source to destination transfers are executed as follows:
a.
read_byte(0x1000), read_byte(0x1001), read_byte(0x1002), read_byte(0x1003)
b.
write_word(0x2000) ->
first iteration of the minor loop
c.
read_byte(0x1004), read_byte(0x1005), read_byte(0x1006), read_byte(0x1007)
d.
write_word(0x2004) ->
second iteration of the minor loop
e.
read_byte(0x1008), read_byte(0x1009), read_byte(0x100a), read_byte(0x100b)
f.
write_word(0x2008) ->
third iteration of the minor loop
g.
read_byte(0x100c), read_byte(0x100d), read_byte(0x100e), read_byte(0x100f)
h.
write_word(0x200c) ->
last iteration of the minor loop
6. dma_engine writes: TCD.saddr = 0x1010, TCD.daddr = 0x2010, TCD.citer = 1
7. dma_engine writes: TCD.active = 0
8. The channel retires ->
one iteration of the major loop
The DMA goes idle or services next channel.
9. Second hardware (ipd_req) requests channel service
10. The channel is selected by arbitration for servicing
11. dma_engine writes: TCD.done = 0, TCD.start = 0, TCD.active = 1
12. dma_engine reads: channel TCD data from local memory to internal register file
13. The source to destination transfers are executed as follows:
a.
read_byte(0x1010), read_byte(0x1011), read_byte(0x1012), read_byte(0x1013)
b.
write_word(0x2010) ->
first iteration of the minor loop
c.
read_byte(0x1014), read_byte(0x1015), read_byte(0x1016), read_byte(0x1017)
d.
write_word(0x2014) ->
second iteration of the minor loop
e.
read_byte(0x1018), read_byte(0x1019), read_byte(0x101a), read_byte(0x101b)
f.
write_word(0x2018) ->
third iteration of the minor loop
g.
read_byte(0x101c), read_byte(0x101d), read_byte(0x101e), read_byte(0x101f)
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...