3.4.3.2.1.10 DMMB – Demodulator Mode for Path B

This register selects the main operating modes of the demodulator and the data filter. It must only be modified if the block receiving the settings is disabled (RDPR.PRPTA = 1). Modifying the settings during operation may lead to unstable operation.

Name: DMMB
Offset: 0x0A1
Reset: 0x00

Bit 76543210 
 DMNEBDMHBDMPBDMATB[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 7 – DMNEB Demodulator NRZ Enable for Path B

Table 3-27. DMNEB Bit Details
Bit 7Description
0Matched Manchester filter is used for data reception and TMDO output.
1Symbol-based (NRZ) filter is used for data reception and TMDO output.

Bit 6 – DMHB Demodulator Hold Mode for Path B

Controls the operation of the DC compensation loop for the symbol-based data filter.
Table 3-25. DMHB Bit Details
Bit 6Description
0Hold mode deactivated – To be used for telegrams with up to two identical consecutive symbols. Adapts better to changing signal conditions. Not suitable for longer consecutive high or low periods.
1Hold mode activated – To be used for NRZ or other reception with up to eight identical symbols in sequence. This mode freezes the DC compensation loop after a symbol change until the next signal edge is detected.

Bit 5 – DMPB Demodulator Received Data Polarity Selection for Path B

This register selects the data polarity at TMDO and RX buffer for path B. There is no effect on TRPB.
Table 3-26. DMPB Bit Details
Bit 5Description
0

For Manchester coding: Rising edge in the middle of a bit is considered a ‘1’.

For NRZ coding: Higher frequency (FSK) and active carrier (ASK) is considered a ‘1’.

1

For Manchester coding: Falling edge in the middle of a bit is considered a ‘1’.

For NRZ coding: Lower frequency (FSK) and no carrier (ASK) is considered a ‘1’.

Bits 4:0 – DMATB[4:0] Demodulator Amplitude Threshold for Path B

Sets a minimum required modulation amplitude for the modulation amplitude check. An EOTS.AMPFB error is flagged if the selected modulation threshold is not exceeded by the incoming signal within two symbols (during WOK check if SY1TB is set) or within three symbols under all other circumstances. This check can also be used as an additional start of telegram condition (SOTSB.AMPOB). It is set to ‘1’ if no error occurred during the symbol check time. The recommended threshold is calculated differently for ASK and FSK modulation.

Recommended DMATB Setting for FSK

The maximum useful amplitude threshold for a given FSK signal depends on the expected deviation and the data rate settings:

DMATA_MAX_FSK=round(MIN_DEVIATION_B×ATSCAL_B×MAVFL_B×10CLK_BB×PLL_GAIN_B)......(39)
  • Equation parameters:
    • MIN_DEVIATION_B: The lowest possible frequency deviation in Hz of the useful signal on path B
    • ATSCAL_B: Amplitude threshold scaling on path B. See Table 3-17
    • MAVFL_B: Moving average filter length on path B. See Table 3-16.
    • CLK_BB: Baseband clock frequency in Hz. See equation (13) in the section Bandwidth Scaling
    • PLL_GAIN_B: FSK PLL gain on path B. See Table 3-19.

    Using a higher value results in a very frequent or permanent error indication because the modulation amplitude threshold is similar to or higher than the minimum deviation (MIN_DEVIATION_B) of the useful signal.

    The recommended setting for DMATB is half of the calculated maximum value (DMATB_MAX_FSK).

    DMATB=round(DMATB_MAX_FSK2)......(40)
    Raising this value increases the severity of this check.

    Recommended DMATB Setting for ASK

    DMATB=round(3×ATSCAL_B×MAVFL_B2DMDNB2).......(41)

  • Equation parameters:
    • ATSCAL_B: Amplitude threshold scaling on path B. See Table 3-17
    • MAVFL_B: Moving average filter length on path B. See Table 3-16
    • DMDNB: Down-sampling on path B. See Table 3-17