RCVDL56DPFL/SP, RCV56DPFL/SP, and RCV336DPFL/SP Designer’s Guide
1119
11-1
11. ADPCM VOICE COMPRESSION AND DECOMPRESSION
ADPCM compression (Rx-coding) of received, ADC digitized voice may be selected to minimize the memory required for
message storage. Silence detection and deletion may also be selected to further reduce the memory storage requirements.
ADPCM decompression (Tx-decoding) of stored/recorded compressed voice may be selected in order to either playback or
transmit messages. Silence interpolation may be enabled to interpolate any silence deleted during reception.
Data flow through the Rx-coder and Tx-decoder are shown in Figure 11-1 and Figure 11-2, respectively.
11.1 ADPCM RECEIVER (RX-CODER)
11.1.1 Mode
Selection
ADPCM Rx-coding is selected when Coder Enable (CDEN) is set in Receive Voice Mode [i.e., Transmit Single Tone,
Transmit Dual Tone, Dialing, or DTMF Receiver configuration (CONF = 80h, 83h, 81h, or 86h) and Receive Voice (RXV) is
set]. (See Table 11-1.)
Squelching the transmitter output by setting the TXSQ bit will prevent the TXA1 and TXA2 noise floor from being coupled
back into the RXA input when receiving voice samples in(either pass-through or ADPCM voice mode.
11.1.2 Operation
When Rx-coding is selected, received analog voice from the RXA input is sampled, converted to digital, digitally scaled,
compressed (coded), then passed to the 16-bit Voice Receive Buffer (VBUFR) where the speech samples can be read by
the host (Figure 11-1). Typical receive ADPCM voice mode operation is illustrated in Figure 11-3.
The host must select 2, 3, or 4 bits per sample compression with the Coder No. of Bits (CODBITS). With 2, 3, or 4 bits per
sample at the 7.2k Hz default programmable sample rate, the 16-bit coder output words are provided at 14.4k, 21.6k, or
28.8k bps (900, 1350, or 1800 16-bit words per second), respectively. The specific application will dictate a higher
bits/sample rate for best speech quality or a lower bits/sample rate for minimum storage requirements.
The Rx-coder writes 16-bit coded words to output register VBUFR then sets status bit RDBF. The IRQ output may be
enabled using the RDBIE bit to interrupt the host whenever the RDBF bit sets to indicate that VBUFR is full.
Receive FIFO Operation
The receiver FIFO is always enabled, similar to data mode, to allow reading in bursts if desired. Always read from RBUFFER
with the data coming in low-high order. The host must first read the status bits before reading the data. The low byte is ready
to be read when PE is set and the high byte is ready to be read when FE is set. The first voice sample is ready when both
SYNCD and PE are set.
11.2 ADPCM TRANSMITTER (TX-DECODER)
11.2.1 Mode
Selection
ADPCM Tx-decoding is selected when Decoder Enable (DCDEN) is set in Transmit Voice Mode [i.e., Transmit Single Tone,
Transmit Dual Tone, Dialing, or DTMF Receiver configuration (CONF = 80h, 83h, 81h, or 86h) and Transmit Voice (TXV) is
set]. (See Table 11-1.)
11.2.2 Operation
When TX-decoding is selected, compressed digital voice samples (coded words) received from the host through the 16-bit
Voice Transmit Buffer (VBUFT) are decompressed (decoded), digitally scaled, converted to analog, then routed to the TXA1
and TXA2 outputs (Figure 11-2). Typical transmit ADPCM voice mode operation is illustrated in Figure 11-4.
The host must select 2, 3, or 4 bits per sample decompression with the Decoder No. of Bits (DECBITS).
If enabled by the Silence Decoder Enable (SDCEN) bit, silence interpolation is performed to reconstruct deleted silence from
stored voice samples and white noise is inserted (see Section 10.3.2). The programmable white noise level may be set to
zero for absolute silence insertion.
The host supplies the decoder with the 16-bit coder output words by writing to VBUFT when TDBE is set.
Transmit FIFO Operation
Set FIFO = 1 to enable the transmit FIFO. Reset TEOF = 0. Write the low byte to TBUFFER. Set TEOF = 1 and then send
the first high byte to TBUFFER. This will sync the host data stream and the data pump. Continue transmitting the 16-bit
words in low-high order via TBUFFER while TXFNF = 1.
Содержание RC336DPFL
Страница 10: ...RCVDL56DPFL SP RCV56DPFL SP and RCV336DPFL SP Designer s Guide x 1119 This page is intentionally blank ...
Страница 160: ...RCVDL56DPFL SP RCV56DPFL SP and RCV336DPFL SP Designer s Guide 10 2 1119 This page is intentionally blank ...
Страница 166: ...RCVDL56DPFL SP RCV56DPFL SP and RCV336DPFL SP Designer s Guide 11 6 1119 This page is intentionally blank ...
Страница 184: ...RCVDL56DPFL SP RCV56DPFL SP and RCV336DPFL SP Designer s Guide 13 10 1119 This page is intentionally blank ...
Страница 191: ...RCVDL56DPFL SP RCV56DPFL SP and RCV336DPFL SP Designer s Guide 1119 15 1 15 RCV56DPFL SP DOWNLOADING To be added ...
Страница 192: ...RCVDL56DPFL SP RCV56DPFL SP and RCV336DPFL SP Designer s Guide 15 2 1119 This page is intentionally blank ...
Страница 193: ...INSIDE BACK COVER NOTES ...