
XII - RECEIVINGIN PARALLEL MODE
(continued)
XII.7- UARTMode
XII.7.1- Description
In UART modethe ST75C530/540extracts from the
received Characters the Data information only. It re-
ports,troughtheDUALRambuffer,onlydatainforma-
tioncharactervalidity.Themechanismisasfollows:
- As long as the ST75C530/540receives continu-
ous “1”nothing happens.
- When the ST75C530/540 receives the start bit
(“0”)itstartstocomputetheparity.Assoonasthe
number of data bit (defined by the FORM com-
mand) is received, the ST75C530/540writes the
received character into the DTRBFx buffer and
update the receiveStatus word DTRBSx.
- The Reported errors are :
Parityerror(lowestpriority): thereceivedparity
is not equalto the computedparity.Some bits,
inside the character,are erroneous.
Stop bit error (middle priority): the bitafter the
parity was not a stop bit (“1”). Note that if the
two stop bit formatwas selected, onlythe first
stop bit will be checked.
BreakDetection(highestpriority):thecharacteris
abreaksignalasdefinedinthetransmitsection.If
thedurationofthebreakislongerthanonechar-
acter,onlyonebreakbufferwill bereported.
XI.7.2- Status Word Format
DTRBSx in UART Mode
Pos.
Value
3 .. 0
0
1
Field
Definition
BUFF_LENG
Other
00
01
10
11
Buffer empty.
1 character received
(DTRBFx[0]).
Not allowed.
No error.
Parity error
Stop bit error
Break signal detected
BUFF_ERRS
5..4
XIII - VOCODERDATA EXCHANGE
XIII.1 - Overview
The ST75C530/540 can receive (or transmit)
coded voice from (to) the telephone line or the
audiointerface.Thereceiving modeis theCODER
mode while the transmitis the DECODER mode.
TwoformatsofVoicecompressionareprovided:Low
bitrateandADPCM.Inalltheformatsandspeedthe
managementoftheCodedVoiceisexactlythesame.
In any format a frameof all data equal to zerowill
besynthesised(DECODER)as a frameof silence.
XIII.2 - Vocoder Buffer
A buffer area is reserved in the DUAL ram to
exchange Voice between the ST75C530/540 and
theHostprocessor.Thisareaisusedeitherforrecord-
ing (CODER) or playing back (DECODER) the voice
signal.
The DUAL Ram area associated with the VO-
CODER is as follows:
Name
Address
$1C
$1D..$2E
$2F..$30
Description
VOCSTA
VOCDATA
VOCCORR
TheIT1interruptsignalis dedicatedtotheVocoder
BufferManagement.
Vocoder Buffer Status
Vocoder Buffer Data
Vocoder Buffer Corrector
XIII.3- Transmit(DECODER)
This mode is entered with the CONF DECODER
command.
If the ADPCM or Low bit rate withouterror correc-
tion mode (CONF_ERCOR = 0) are selected, the
userneedstofeedthevocoderbufferwith18bytes
of voice data, then set the VOCSTA byte with a
value differentfrom zero.
In thelow bitratewitherror mode(CONF_ERCOR
= 1), theuser needstofeedthe vocoderbufferwith
20 bytesof voicedata, then set the VOCSTAbyte
with a valuedifferent from zero.
Once the ST75C530/540 have read the buffer, it
clearstheVOCSTAbyteandraisetheIT1interrupt.
The IT1interrupt rate is as follows:
Mode
Interrupt
Time (ms)
Number of
Voice Samples
in the Buffer
(8kHz sampling)
36
48
72
240
ADPCM 32Kpbs
ADPCM 24Kpbs
ADPCM 16Kpbs
LowBitRateNominal
(with and without
error correction)
Low Bit Rate
Fast/SlowPlayback
Low Bit Rate Pause
4.5
6
9
30
Depends on
speed 15 to 45
0
Depends on
speed 120 to 360
-
Asilencecan begeneratedbywritingzeroto allthe
VOCDATA bytes (and VOCCORR bytes if
CONF_ERCOR = 1). The duration of the silence
will be the sameas the other frames of signal.
As the buffercontains always a completenumber
of samples representing the same duration, it is
easy to randomly advance forward/backwardin a
message.
If the user does not feed the Buffer within the
Interrupt time, the ST75C530/540 will signal this
errorbyrisingtheERR_VOCOintheSYSERRbyte
and rising the IT0 Interrupt. In this case the pre-
vious framewill be re-transmited.
ST75C530 - ST75C540
74/84