
PSB 7280
Semiconductor Group
167
Data Sheet 1998-07-01
The JADE starts the above interrupt procedure once every frame (default: 10 ms),
except of the 16-kHz pass-through mode. In the 16-kHz pass-through mode the mailbox
cannot transfer the full data packet (320 or 336 bytes, depends on whether outband or
inband control is selected) at once. Only for this mode the above interrupt handshake
procedure is executed twice in one time frame. With the first “VocoderFinished”
256 bytes are transmitted in each direction, with the second run 64 bytes (outband
control) or 80 bytes (inband control) are transmitted.
The following steps are performed:
1. The JADE writes one frame of encoded audio data into the mailbox (most significant
byte first).
2. The JADE writes a backup of the “VocoderFinished” interrupt number performed in the
next step into the host accessible register 61
H
. This is only used for detection of a
missed interrupt when a slow host is connected, see text below.
3. The JADE generates a "VocoderFinished" interrupt at INT line to the host by writing a
value C0
H
or 80
H
(toggling) into IND interrupt status register at address 58
H
. The value
of this interrupt is each time toggling between C0
H
and 80
H
to ensure that a polling
host can consider a new “VocoderFinished”. For an interrupt driven host one should
just connect both numbers to the same interrupt service routine.
4. The host reads the compressed audio frame from the mailbox using the procedure
described in
Chapter 3.3.2.2
and may reset the INDB bit. The reset of the INDB bit is
not mandatory and may be skipped.
5. Start point in first frame
The host writes the compressed audio frame for the decoder into the mailbox using
the procedure described in
Chapter 3.3.2.2
.
6. The host generates an interrupt to the JADE by writing value 24
H
into INH interrupt
status register at address 50
H
.
7. The JADE reads the compressed audio data from the mailbox and acknowledges the
reception by resetting the INHB bit.
1)
2)
1)
To keep the interrupt load for the host as small as possible, the JADE does not generate an acknowledge
interrupt. It is guaranteed, that the INH interrupt 24
is serviced within a time of 125
μ
s, so if the host sends
the interrupt 24
H
soon enough, it is guaranteed, that the interrupt handshake procedure is completed before
the next “VocoderFinished” from the JADE appears. So, in this case the host does not need to check the status
of INHB.
If the host wants to apply other actions, e.g. reading or writing of the control/status block, it has to wait for the
INHB bit to be reset to 0. All these additional actions should be completed within the current time frame (default:
within 10 ms after the “VocoderFinished” interrupt). Otherwise special situations in the interrupt sequence have
to be considered by the host, see text below.
2)