beautypg.com

Or t – Rainbow Electronics ATA5812 User Manual

Page 56

background image

56

ATA5811/ATA5812 [Preliminary]

4689B–RKE–04/04

If the TX/RX data buffer control logic detects the start bit, the data stream is written in
the TX/RX data buffer byte by byte. The start bit is part of the first data byte and must be
different from the bits of the preburst. If the preburst consists of a sequence of '00000...',
the start bit must be a 1. If the preburst consists of a sequence of '11111...', the start bit
must be a 0.

If the data stream consists of more than 16 bytes, a buffer overflow occurs and the
TX/RX data buffer control logic overwrites the bytes already stored in the TX/RX data
buffer. So it is very important to ensure that the data is read in time so that no buffer
overflow occurs in that case (see Figure 33 on page 45). There is a counter that indi-
cates the number of received bytes in the TX/RX data buffer (see section “Transceiver
Configuration”). If a byte is transferred to the microcontroller, the counter is decre-
mented, if a byte is received, the counter is incremented. The counter value is available
via the 4-wire serial interface.

An interrupt is issued, if the counter while counting forwards reaches the value defined
by the control bits IR0 and IR1 in control register 1.

Figure 48. Receiving Mode (TMODE = 0)

If the TX/RX data buffer control logic detects a bit error, an interrupt is issued and the
transceiver is set back to the start-up mode (see Figure 40 on page 50, Figure 41 on
page 51an
d Figure 49 on page 57).

Bit error: a) t

ee

< T

Lim_min

or T

Lim_max

< t

ee

< T

Lim_min_2T

or t

ee

> T

Lim_max_2T

b) Logical error (no edge detected in the bit center)

Note:

The byte consisting of the bit error will not be stored in the TX/RX data buffer. Thus it is
not available via the 4-wire serial interface.

Writing the control register 1, 4, 5 or 6 during receiving mode resets the TX/RX data
buffer control logic and the counter which indicates the number of received bytes. If the
bits OPM0 and OPM1 are still '1' after writing to a control register, the transceiver
changes to the start-up mode (start-up signal processing).

Demod_Out

Preburst

Start-

bit

0

0

0

0

0

0

0

0

0

1

1

0

0

0

0

0

0

1

1

1

1

0

Byte 1

Byte 2

Byte 3

0

1

1

0

1

0

1

1

0

0

TX/RX Data Buffer

Byte 1, Byte17, ...

Byte 2, Byte 18, ...

Byte 3, Byte 19, ...

Byte 4, Byte 20, ...

Byte 5, Byte 21, ...

Byte 7, Byte 23, ...

Byte 8, Byte 24, ...

Byte 9, Byte 25, ...

Byte 10, Byte 26, ...

Byte 11, Byte 27, ...

Byte 12, Byte 28, ...

Byte 13, Byte 29, ...

Byte 14, Byte 30, ...

Byte 15, Byte 31, ...

Byte 16, Byte 32, ...

Byte 6, Byte 22, ...

Bit check ok

1 0 1 0 0 0 0 0

1 1 1 1 0 0 1 1

MSB

LSB

Readable via 4-wire serial interface

Bit-check mode

Receiving mode

2T

T