Siemens ERTEC200 Manual page 87

Enhanced real-time ethernet controller
Table of Contents

Advertisement

(DMAC0ConfReg)
Channel Config (*)
Description
Control Bits.
31
START/ABORT
30
Reserved
29
INTR_ENABLE (****)
28..27
SYNCHRONIZATION 00: None
26..24
23..22
S_ADDR_MODE
21..19
S_DMA_REQU
18..16
S_WIDTH
15..14
D_ADDR_MODE
13..11
D_DMA_REQU
10..8
D_WIDTH
7..4
D_DELAY(***)
3..0
S_DELAY(***)
*: Byte count and destination width (D_Width) must match up. If Halfword is selected in D_Width, then bit 0 is ignored by
byte count (considered to be "0"). If Word is selected in D_Width, then bit 1:0 is ignored by byte count (considered to be
"00").
**: The DMA is started with 'Start/Abort = 1' and stopped during operation with 'Start/Abort = 0'. The DMA has to be
started by setting bit 31 to '1'. The remaining bits are locked while the DMA is in operation. If the DMA has been
stopped, it requires at least 2 clocks (50 MHz) before it can be restarted.
***: With the delay counter, there is a wait time until the next request if the target (UART, SPI 1) is too slow.
With the following settings, the specified delay values must be maintained. Otherwise, the DMA will incorrectly process
the relevant request signal and will access the corresponding I/O module too soon:
- Synchronization = Destination + D_DMA_Requ = SSP_SSPTXDMA:
- Synchronization = Destination + D_DMA_Requ = UART_UARTTXINTR:
- Synchronization = Source + S_DMA_Requ = SSP_SSPRXDMA:
- Synchronization = Source + S_DMA_Requ = UART_UARTRXINTR:
****: When synchronization is used, the interrupt takes place only after the target request has been activated again.
When D_Delay is used, the interrupt takes place only after the delay of the last write access.
Copyright © Siemens AG 2007. All rights reserved.
Technical data subject to change
W/R
Addr.: 0x8000_000C
Write:
0: Stop Transfer
1: Start Transfer
Read:
0: Transfer completed or stopped
1: Transfer not yet complete
Reserved
1: Enable interrupt
01: Destination
10: Source
11: Both
Reserved
00: Increment source address
01: Decrement source address
10: Keep source address
11: Reserved
000:
SSP_SSPRXDMA
001:
SSP_SSPTXDMA
010:
UART_UARTRXINTR
011:
UART_UARTTXINTR
Rest:
not used
000:
8 bit
001:
16 bit
010:
32 bit
Rest: not permitted
00: Increment destination address
01: Decrement destination address
10: Keep destination address
11: Reserved (affect destination address incrementation)
000:
SSP_SSPRXDMA
001:
SSP_SSPTXDMA
010:
UART_UARTRXINTR
011:
UART_UARTTXINTR
Rest:
Not used
000:
8 bit
001:
16 bit
010:
32 bit
Rest: Not permitted
Write inactive delay counter: The DMA controller puts the specified number
of clocks (50 MHz) in between two write access operations.
Read inactive delay counter: The DMA controller puts the specified number
of clocks (50 MHz) in between two read access operations.
87
Default: 0x0000_0000
⇒ D_Delay >= 4
⇒ D_Delay >= 5
⇒ S_Delay >= 0
⇒ S_Delay >= 0
ERTEC 200 Manual
Version 1.1.0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents