Output flag register, Input flag register, Sdb update – Sundance SMT335E User Manual
Page 23

Version 1.5
Page 23 of 53
SMT335E SMT375E User Manual
Output Flag Register
SDBA_OUTPUTFLAG 0x034C0000
SDBB_OUTPUTFLAG 0x035C0000
31–24 23–16 15–8
7–0
OTRIGGER
R,00000000 RW,10000000 R,00000000
R,10000000
Input Flag Register
SDBA_INPUTFLAG 0x03440000
SDBB_INPUTFLAG 0x03540000
31–24 23–16 15–8
7–0
ITRIGGER
R,00000000 R,10000000 R,00000000
RW,10000000
Field Description
OTRIGGER Outgoing
FIFO
trigger. Set to 128 after reset.
ITRIGGER Incoming
FIFO
trigger. Set to 128 after reset.
OFLAG in the SDB status register will be 1 when there are at least OTRIGGER
spaces available in the output FIFO. OTRIGGER must be programmed with a value
between 1 and 255.
IFLAG in the SDB status register will be 1 when there are at least ITRIGGER words
in the input FIFO. This register must be programmed with a value between 1 and
255.
CLRIF and CLROF do not affect OTRIGGER or ITRIGGER.
SDB update
You should be aware that revisions of the SDB before V3.0.6 have a significantly
different processing of the status flags and a different address is used to program the
SDB flag levels for input and output. When upgrading from versions before V3.0.6,
you will need to change the code for flag programming and accessing the status bits.
You should use version V3.3.6 or above because previous versions could generate
spurious interrupts on input.