ml7084-001 Oki Semiconductor, ml7084-001 Datasheet - Page 51

no-image

ml7084-001

Manufacturer Part Number
ml7084-001
Description
4ch Voip Codec
Manufacturer
Oki Semiconductor
Datasheet
Operational Description
[Transmitting side]
1) Activated
2) Operating
3) Stop
4) Error processing (transmit error)
5) Activation interval
Valid read period:
[Receiving side]
1) Activated
OKI Semiconductor
DEC_OUTON “0”, SC_CH1EN “0” → “1”
The speech codec is activated within a maximum of 250 μs after SC_CH1EN has been set to "1".
The encoder is activated in the already initialized condition and starts encoding the CH1 transmit data
immediately after the speech codec is activated.
The data encoded in the encoding segment Tn_CH1 is read out within the valid read period RE_SCn by the
MCU. This operation is repeated until stopping. (n = 1, 2, 3, 4, ...)
Set SC_CH1EN “1” → “0”, DEC_OUTON “1” → “0”.
Encoding after stop is invalid.
Within a maximum of 250 μs after SC_CH1EN has been set to "0", the encoder stops writing data into the
transmit buffer.
An example of transmit error occurrence is shown in valid read period RE_SC5.
If reading of data is not finished within the valid read period, TXERR_CH1 becomes "1".
The state of TXERR_CH1 is maintained during and after the next valid read period until immediately before the
frame during which data is normally read from the transmit buffer is terminated.
Even when the data read-out is not finished, the data in the transmit buffer will be updated as usual.
An interval of 10.0 ms or more is necessary after the speech codec has stopped before it is activated again.
Complete the data read-out from the transmit buffer within 9.0 ms from the falling edge of FR0B or after
FR_CH1 changes from “0” to “1”.
DEC_OUTON “0”, SC_CH1EN “0” → “1”
The speech codec is activated within a maximum of 250 μs after SC_CH1EN has been set to "1".
The decoder performs initialization and outputs silence data after a speech codec is started.
If the first receive data has been written and the tWAIT wait time has elapsed, the decoder can set the decode
output control register (DEC_OUTON) to “1”(tWAIT = 2.0 ms).
After setting DEC_OUTON to “1”, the decoder outputs silence data for about 3.75 (+tDECON) ms, and then
starts decode output.
However, if the PLC function has been disabled, the decoder starts decode output tDECON ms after setting
DEC_OUTON to “1”. Note that by setting in the internal data memory for controlling the decode output start
offset time (DEC_ONTIM), the decode output start offset time (tDECON) can be adjusted between 0.0 and 32
ms.
(tDECON: initial value = 0 ms; unit of setting: 125 μs; allowable range of setting : 0.0 to 32 ms)
Note:
To set DEC_OUTON to “1” simultaneously with SC_CH1EN = “1” (starting a speech codec), set in advance so
that the internal data memory for controlling the decode output start offset time (DEC_ONTIM) is between
0010h (2.0 ms) and 0100h (32 ms). Upon completion of writing the first receive data and a lapse of the above
offset time after starting a speech codec, the decoder starts decode output.
FEDL7224-001FULL-01
ML7224-001TC
51/225

Related parts for ml7084-001