Generation modes
FIFO Single replay mode
The FIFO single mode does a continuous data replay using the on-board memory as a FIFO buffer and transferring data continuously from
PC memory. One can generate the data on-line or load data continuously from disk.
Card mode
The card mode has to be set to the correct mode SPC_REP_FIFO_SINGLE.
Register
SPC_CARDMODE
SPC_REP_FIFO_SINGLE
Length of FIFO mode
In general FIFO mode can run forever until it is stopped by an explicit user command or one can program the total length of the transfer by
two counters Loop and Segment size
Register
SPC_SEGMENTSIZE
SPC_LOOPS
The total amount of samples per channel that is replayed can be calculated by [SPC_LOOPS * SPC_SEGMENTSIZE]. Please stick to the below
mentioned limitations of these registers.
Difference to standard single mode
The standard modes and the FIFO modes do not differ very much from the programming point of view. In fact one can even use the FIFO
mode to get the same behaviour as the standard mode. The buffer handling that is shown in the next chapter is the same for both modes.
Length of replay.
In standard mode the replay (memory size) length is defined before the start and is limited to the installed on-board memory whilst in FIFO
mode the replay length can either be defined or it can run continuously until user stops it.
Value
Direction
Description
9500
read/write
Defines the used operating mode, a read command will return the currently used mode.
800h
Continuous data replay from PC memory. Complete on-board memory is used as FIFO buffer.
Value
Direction
Description
10010
read/write
Length of segments to replay.
10020
read/write
Number of segments to replay in total. If set to zero the FIFO mode will run continuously until it is
stopped by the user.
(c) Spectrum GmbH
FIFO Single replay mode
77
Need help?
Do you have a question about the M2i.60xx and is the answer not in the manual?