Bit-check mode, Configuring the bit check – Rainbow Electronics T5761 User Manual

Page 11

Advertising
background image

11

T5760/T5761

4561B–RKE–10/02

Bit-check Mode

In bit-check mode the incoming data stream is examined to distinguish between a valid
signal from a corresponding transmitter and signals due to noise. This is done by subse-
quent time frame checks where the distances between 2 signal edges are continuously
compared to a programmable time window. The maximum count of this edge-to-edge
tests before the receiver switches to receiving mode is also programmable.

Configuring the Bit
Check

Assuming a modulation scheme that contains 2 edges per bit, two time frame checks
are verifying one bit. This is valid for Manchester, Bi-phase and most other modulation
schemes. The maximum count of bits to be checked can be set to 0, 3, 6 or 9 bits via the
variable N

Bit-check

in the OPMODE register. This implies 0, 6, 12 and 18 edge-to-edge

checks respectively. If N

Bit-check

is set to a higher value, the receiver is less likely to

switch to receiving mode due to noise. In the presence of a valid transmitter signal, the
bit check takes less time if N

Bit-check

is set to a lower value. In polling mode, the bit-check

time is not dependent on N

Bit-check

. Figure 9 shows an example where 3 bits are tested

successfully and the data signal is transferred to Pin DATA.

According to Figure 10, the time window for the bit check is defined by two separate
time limits. If the edge-to-edge time t

ee

is in between the lower bit-check limit T

Lim_min

and

the upper bit-check limit T

Lim_max

, the check will be continued. If t

ee

is smaller than

T

Lim_min

or t

ee

exceeds T

Lim_max

, the bit check will be terminated and the receiver

switches to sleep mode.

Figure 10.

Valid Time Window for Bit Check

For best noise immunity it is recommended to use a low span between T

Lim_min

and

T

Lim_max

. This is achieved using a fixed frequency at a 50% duty cycle for the transmitter

preburst. A ‘11111...’ or a ‘10101...’ sequence in Manchester or Bi-phase is a good
choice concerning that advice. A good compromise between receiver sensitivity and
susceptibility to noise is a time window of ± 30% regarding the expected edge-to-edge
time t

ee

. Using pre-burst patterns that contain various edge-to-edge time periods, the bit-

check limits must be programmed according to the required span.

The bit-check limits are determined by means of the formula below.

T

Lim_min

= Lim_min

´

T

XClk

T

Lim_max

= (Lim_max -1)

´

T

XClk

Lim_min and Lim_max are defined by a 5-bit word each within the LIMIT register.

Using above formulas, Lim_min and Lim_max can be determined according to the
required T

Lim_min

, T

Lim_max

and T

XClk

. The time resolution defining T

Lim_min

and T

Lim_max

is

T

XClk

. The minimum edge-to-edge time t

ee

(t

DATA_L_min

, t

DATA_H_min

) is defined according

to the chapter ‘Receiving Mode’. The lower limit should be set to Lim_min

³

10. The max-

imum value of the upper limit is Lim_max = 63.

If the calculated value for Lim_min is <19, it is recommended to check 6 or 9 bits
(N

Bit-check

) to prevent switching to receiving mode due to noise.

Dem_out

t

ee

T

Lim_min

T

Lim_max

1/f

Sig

Advertising