Siemens ERTEC 200P-2 Manual page 336

Enhanced real-time ethernet controller
Table of Contents

Advertisement

The SPI module can be controlled by ARM926 or by the GDMA controller. Access from
the external host over the host interface is also possible, but interrupts are not supported
in this case. The module FIFO interrupt is not activated or deactivated until 4 entries have
been made (in line with the transfer direction).
As the FIFO submodule for GDMA operation cannot be disabled, a module modification
is required for independent GDMA operation (no ARM926 activity). For the receiver, the
internal SPI module signal 'SPI1/2_SSPRXDMA, corresponding to RNE: Receive FIFO
not empty' is sent to the module border to display the receive FIFO status for the GDMA.
For the transmitter, the interrupt signal 'SPI1/2_SSPTXINTR, corresponding to the state:
Transmit FIFO is half full or less' is used to display the transmit FIFO status for the
GDMA.
SPI1/2_SSPRXDMA:
The RX FIFO contains at least one character and is not empty. As the SPI cannot
know when the last character was read in, the GDMA must operate in SINGLE-
byte access mode (AHB). 1 to 65536 characters can therefore be transferred per
DMA request; the job consists of a transfer entry.
SPI1/2_SSPTXINTR:
The SSPTXINTR interrupt (Transmit FIFO is half full or less) must be enabled for
operation. The TX FIFO is at least half empty and therefore has space for 4 char-
acters. The GDMA must operate in INCR4-byte access mode (AHB) to ensure that
there is no FIFO overrun. If the transfer length is not modulo 4, the remaining
characters are transferred by the GDMA controller with the INCR burst
byte (undefined length). 1 to 65536 characters can therefore be transferred per
DMA request; the job consists of a transfer entry.
The following SPI interrupts are connected to the ARM interrupt controller (IRQ13-16)
(2.3.2.14):
SPI1/2_SSPINTR
SPI1/2_SSPRORINTR
For byte-specific operation of the SPI1/2 interfaces by ARM926, the following internal
status from the SPI modules is sent to the ARM interrupt controller (ARM-ICU) (IRQ28-
31, see 2.3.2.14):
SPI1/2_RNE
SPI1/2_TFE
The status information are used from the internal SPI-IP status register SSPSR. This
ensures the timing required for steady redundant communication between IM modules.
The SPI1/2 interfaces share the external pins with GPIOs / XHIF. The SPI1/2 interfaces
are only available if the GPIO control registers are programmed accordingly or the rele-
vant SPI interface is set as the boot medium with the boot pins. In this case, the boot
loader must enable the SPI interface in the internal ROM with the required GPIO control
register configuration.
Each SPI1/2 interface supports the following external signals:
SFRMOUT (Output): Serial Frame Output (Master)
SCLKOUT (Output): Serial Clock Output (Master)
Copyright © Siemens AG 2016. All rights reserved
Technical data subject to change
Group interrupt
Overrun error interrupt
Receive FIFO not empty (corresponds to SPI1/2_SSPRXDMA)
Transmit FIFO empty
336
ERTEC 200P-2 Manual
Version 1.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ertec 200p

Table of Contents