beautypg.com

U3745bm, Bit check mode – Rainbow Electronics U3745BM User Manual

Page 13

background image

13

U3745BM

4663A–RKE–06/03

Figure 8. Timing Diagram for a Completely Successful Bit Check

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
test, 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

Bitcheck

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

checks respectively. If N

Bitcheck

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

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

Bitcheck

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

check time is not dependent on N

Bitcheck

. Figure 8 shows an example where 3 bits are

tested successfully and the data signal is transferred to Pin DATA.

According to Figure 9, 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 9. 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 in this regard. A good compromise between receiver sensitivity and susceptibility
to noise is a time window of ± 25% regarding the expected edge-to-edge time t

ee

. Using

preburst 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:

Bit check

Enable IC

DATA

1/2 Bit

Polling - Mode

( Number of checked Bits: 3 )

Bit check ok

1/2 Bit

1/2 Bit

1/2 Bit

1/2 Bit

1/2 Bit

Receiving mode

Dem_out

Dem_out

t

ee

T

Lim_min

T

Lim_max

1/f

Sig