2001 Jun 19
59
Philips Semiconductors
Product specification
80C51 Ultra Low Power (ULP) telephony controller
P83CL882
6.9.4
D
ATA RECEPTION
A message is received as a block of one or more data
bytes. When enabled, the receiver starts sampling MIN
and tries to detect a Manchester pattern. As soon as
3 consecutive Manchester bits are detected the receiver
clock is locked (MRL = 1) and the receiver starts scanning
the incoming data for the programmed Manchester
preamble pattern. When the modem recognizes the
preamble pattern, bit MRP is set to a logic 1.
If a non-Manchester bit is detected before finding the
preamble pattern then MRL is reset and MRE is set to
a logic 1.Thesynchronisationprocesshastorestart.If the
preamble pattern has been detected the receiver starts to
Manchester decode the incoming data bits and shifts them
into an internal register. After 8 bits the contents of the
internal register are copied to MBUF and the MRF bit is set
to a logic 1. The received byte can be read from MBUF
while receiving continues in the internal register. If a
non-Manchester bit is received during data reception then
MRE is set to a logic 1 and MRL and MRP are reset. The
receiver has to resynchronize before receiving new data.
Whenever one of the bits MRF, MRE, MRP and MRL is set
the MRI bit is also set and a MSK receive interrupt is
generated. This means that when a MSK receive interrupt
occurs the 4 status bits have to be polled by software.
The bit MRL allows the software to decide very quickly
whether an occupied channel contains Manchester coded
data or not. The MRP bit is used to find the start of data
transmission in a message that is repeated over and over
again. MRE is used to detect a Manchester error, which is
a violation of the Manchester coding rule that the received
level should change in the middle of a bitcell. The MRF bit
indicates that the data in MBUF is ready to be read by the
software.
During data reception the minimum time between two
settings of MRF (each one generating an MRI interrupt) is:
baud rate
Figure 27 shows an example of the data reception timing
diagram.
t
min
-----------8
=
MGU222
MIN
data
37
no Manchester
code: speech
no Manchester
code: speech
data
AA
data
AD
data
1F
data
37
80C51
access
MRI
MRL
MRP
MRE
MRF
write
MREN = 1
clear
RTI
clear
RTI
clear
RTI
read
MBUF
1F
read
MBUF
37
RX_MUTE should be generated
by microcontroller upon interrupt
RX_MUTE should be cleared by
microcontroller at end of message
Fig.27 Data reception timing diagram.