3.4.3.2.1.8 DMCDB – Demodulator Carrier Detect for Path B

The DMCDB register contains the settings for the carrier detection of path B. The number of checked samples (DMCDB.DMCTB) and the maximum number of allowed errors (DMCDB.DMCLB) within this time window can be configured. This register must only be modified if the block receiving the settings is disabled (RDPR.PRPTB = 1). Modifying the settings during operation may lead to unstable operation.

Name: DMCDB
Offset: 0x0A3
Reset: 0x00

Bit 76543210 
 DMCTB[2:0]DMCLB[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:5 – DMCTB[2:0] Demodulator Carrier Detect Time for Path B

This setting defines the time window for carrier detection as a number of checked samples. A counter accumulates the carrier errors for the number of samples defined in this register. The counter is reset after this period for the next check cycle. Selecting DMCTB = 0 turns the carrier check on path B off. Microchip recommends selecting a DMCTB value covering 2 symbols (one Manchester bit).

Calculation of the number of samples to span over 2 symbols

SAMPLES_2SYNB=2×CLK_BBSymbolRatePathB......(32)

  • Equation parameters:
    • CLK_BB is the baseband clock frequency in Hz. See equation (13) in the section Bandwidth Scaling
Choose a number of samples greater than or equal to SAMPLES_2SYNB from the following table. The corresponding carrier detect time DMCTB[2:0] value is the preferred setting.
SAMPLES_CTBSAMPLES_2SYNB
Table 3-21. Number of Samples for Carrier Detect Time versus DMCTB Setting
SAMPLES_CTBDMCTB
Carrier Detect OFF0
161
322
643
1284
2565
5126
10247

Bits 4:0 – DMCLB[4:0] Demodulator Carrier Detect Limit for Path B

Sets the number of allowed carrier errors within the time window defined by DMCTB. The recommended value for this limit is 20% of the samples within the carrier detect time window (see SAMPLES_CTB value above). Smaller values, for example, 10%, lead to more rigorous checking, resulting in more rapid error detection. More rigorous checking may cause reduced sensitivity.
Calculation procedure example:
  • Select the number of allowed errors within the carrier detect time window (20%).
    AllowedCarrierCheckErrorsB=SAMPLES_CTB5.......(34)
  • Equation parameters:
    • SAMPLES_CTB: Number of samples for the carrier check. See Table 3-21.
  • Calculate the register setting
    DMCLB=round(AllowedCarrierCheckErrorsB4)......(35)