Copyright © Siemens AG 2016. All rights reserved
117
ERTEC 200P-2 Manual
Technical data subject to change
Version 1.0
The GDMA RAM has additionaly EDC bits (7 Bit for a 32Bit word, 1Bit error correctable,
2Bit error recognizable). If an EDC error is detected, in the SCRB Register 'EDC_EVENT'
(see chap. 2.3.10.9.22
) the appropriate reason is stored (GDMA-1B: 1Bit-Error corrected
or GDMA-2B: 2Bit-Error recognized) and the Interrupt 'EDC_Event' IRQ48 is generated
(see chap. 2.3.2.14). The EDC Event Register is reseted by writing the register with '0h'.
After reset the initialisation of the EDC-Bits isn't done by hardware. This must be done by
software. After this initialisation the SW must finally set 'GDMA_INIT_DONE = 1b'in the
SCRB-Register 'EDC_INIT_DONE' (see chap. 2.3.10.9.22
X
).
2.3.4.1.7 Interrupts
The DMA controller has two interrupt request outputs. These signals are high active
pulse. The length of the interrupt request pulse is at least 2 and at most 5 AHB clock
cycles.
The GDMA controller incorporates no local interrupt controller of its own.
The two interrupt requests are:
DMA Interrupt Request (DMA_IRQ) - generated in the following cases:
Job is finished and bit “Interrupt Request Generation Enable” (INTR_EN) in the
Job Control register is set to “1”. When Interrupt request is generated, a “job fin-
ished” bit is set in the Interrupt State register (GDMA_IRQ_STATUS). This status
register must be read by the interrupt controller to figure out which job has caused
the interrupt. The register is cleared by writing a “1” to the related bit position.
A monitored error occurs at the DMA controller and bit “Error Interrupt Enable”
(ERR_INT_EN) in the GDMA Main Control register is set to “1”. In this case the
relevant error bit in the GDMA Error Interrupt State register is set to “1”. This status
register must be read by the interrupt controller to figure out which type of error
has caused the interrupt. The register is cleared by writing a “1” to the related bit
position.
The monitored types of error are:
DMA Destination Address error - Assumed when a wrong destination address,
pointing to the DMA registers or the DMA RAM, is programmed. The relevant error
bit in the GDMA_ERR_IRQ_STATUS register is ERR_DST_ADDR.
AHB Master Interface error - Assumed when an error response occurs at the AHB
Master
Interface.
The relevant error bit in the GDMA_ERR_IRQ_STATUS register is ERR_AHB.
HW Job Start error - Assumed when HW starts a job again, before it is finished.
The relevant error bit in the GDMA_ERR_IRQ_STATUS register is
ERR_JOB_START.
Not allowed write access to the AHB Slave - Assumed when a different transfer
size other than Word is used during a write access. The relevant error bit in the
GDMA_ERR_IRQ_STATUS register is ERR_AHBSLV_WRITE.
2.3.4.2 ERTEC 200P GDMA Use Cases
2.3.4.2.1 Using the Job Start and HW_REQ Signal List
There are 2 ways to implement a HW-triggered DMA transfer.
Содержание ERTEC 200P
Страница 1: ...ERTEC 200P 2 Enhanced Real Time Ethernet Controller Manual ...
Страница 309: ...Copyright Siemens AG 2016 All rights reserved 309 ERTEC 200P 2 Manual Technical data subject to change Version 1 0 ...
Страница 492: ...Copyright Siemens AG 2016 All rights reserved 492 ERTEC 200P 2 Manual Technical data subject to change Version 1 0 ...