Protocol Handler; Bdlc Module Rx Digital Filter Block Diagram - Freescale Semiconductor MPC5200B User Manual

Freescale semiconductor board users guide
Table of Contents

Advertisement

Functional Description
Input
Sync
Rx Data
from
d
RXB pad
MUX Interface Clock
Operation
The clock for the digital filter is provided by the MUX Interface clock.At each positive edge of the clock signal, the current state of
the Receiver input signal from the RXB pad is sampled.The RXB signal state is used to determine whether the counter should
increment or decrement at the next positive edge of the clock signal.
The counter will increment if the input data sample is high but decrement if the input sample is low.The counter will thus progress
up towards '15' if, on average, the RXB signal remains high or progress down towards '0' if, on average, the RXB signal remains
low.
When the counter eventually reaches the value '15', the digital filter decides that the condition of the RXB signal is at a stable logic
level one and the Data Latch is set, causing the Filtered Rx Data signal to become a logic level one. Furthermore, the counter is
prevented from overflowing and can only be decremented from this state.
Alternatively, should the counter eventually reach the value '0', the digital filter decides that the condition of the RXB signal is at
a stable logic level zero and the Data Latch is reset, causing the Filtered Rx Data signal to become a logic level zero. Furthermore,
the counter is prevented from underflowing and can only be incremented from this state.
The Data Latch will retain its value until the counter next reaches the opposite end point, signifying a definite transition of the RXB
signal.
Performance
The performance of the digital filter is best described in the time domain rather than the frequency domain.
If the signal on the RXB signal transitions, then there will be a delay before that transition appears at the Filtered Rx Data output
signal. This delay will be between 15 and 16 clock periods, depending on where the transition occurs with respect to the sampling
points. This 'filter delay' must be taken into account when performing message arbitration.
For example, if the frequency of the MUX Interface clock (f
filter delay in the absence of noise will be 15.259us.
The effect of random noise on the RXB signal depends on the characteristics of the noise itself. Narrow noise pulses on the RXB
signal will be completely ignored if they are shorter than the filter delay. This provides a degree of low pass filtering.
If noise occurs during a symbol transition, the detection of that transition may be delayed by an amount equal to the length of the
noise burst. This is just a reflection of the uncertainty of where the transition is truly occurring within the noise.
Noise pulses that are wider than the filter delay, but narrower than the shortest allowable symbol length will be detected by the next
stage of the BDLC module's receiver as an invalid symbol.
Noise pulses that are longer than the shortest allowable symbol length will normally be detected as an invalid symbol or as invalid
data when the frame's CRC is checked.
20.8.3

Protocol Handler

The Protocol Handler is responsible for framing, collision detection, arbitration, CRC generation/checking, and error detection. The Protocol
Handler conforms to SAE J1850 - Class B Data Communications Network Interface. Refer to
20-28
4-Bit Up/Down Counter
q
up/down
Figure 20-11. BDLC Module Rx Digital Filter Block Diagram
MPC5200B Users Guide, Rev. 1
4
Edge &
out
Count
Comparator
) is 1.0486MHz, then the period (t
bdlc
Figure 20-2
Filtered
Rx Data Out
d
q
) is 954ns and the maximum
bdlc
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents