U3742bm – Rainbow Electronics U3742BM User Manual
Page 13
![background image](/manuals/280642/13/background.png)
13
U3742BM
4735A–RKE–11/03
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 these 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
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 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 11 on page 11 shows an example where 3 bits
are tested successfully and the data signal is transferred to pin DATA.
According to Figure 12, 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 12. 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 ±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:
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 when 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 section “Receiving Mode” on page 16. Due to this, the lower limit
should be set to Lim_min
³
10. The maximum value of the upper limit is Lim_max = 63.
Dem_out
t
ee
T
Lim_min
T
Lim_max
1/f
Sig