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 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
DMNEB | DMHB | DMPB | DMATB[4:0] | ||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – DMNEB Demodulator NRZ Enable for Path B
Bit 7 | Description |
---|---|
0 | Matched Manchester filter is used for data reception and TMDO output. |
1 | Symbol-based (NRZ) filter is used for data reception and TMDO output. |
Bit 6 – DMHB Demodulator Hold Mode for Path B
Bit 6 | Description |
---|---|
0 | Hold 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. |
1 | Hold 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
Bit 5 | Description |
---|---|
0 |
For Manchester coding: Rising edge in the middle of a bit
is considered a ‘ For NRZ coding: Higher frequency (FSK) and active carrier
(ASK) is considered a ‘ |
1 |
For Manchester coding: Falling edge in the middle of a
bit is considered a ‘ For NRZ coding: Lower frequency (FSK) and no carrier
(ASK) is considered a ‘ |
Bits 4:0 – DMATB[4:0] Demodulator Amplitude Threshold for Path B
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:
- 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).
Raising this value increases the severity of this check.Recommended DMATB Setting for ASK
- 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