Microchip Technology AC244045 Data Sheet

Page of 448
 2010-2012 Microchip Technology Inc.
DS41440C-page 203
PIC16(L)F1825/1829
23.0 DATA SIGNAL MODULATOR
The Data Signal Modulator (DSM) is a peripheral which
allows the user to mix a data stream, also known as a
modulator signal, with a carrier signal to produce a
modulated output.
Both the carrier and the modulator signals are supplied
to the DSM module either internally, from the output of
a peripheral, or externally through an input pin.
The modulated output signal is generated by performing
a logical “AND” operation of both the carrier and
modulator signals and then provided to the MDOUT pin.
The carrier signal is comprised of two distinct and
separate signals. A carrier high (CARH) signal and a
carrier low (CARL) signal. During the time in which the
modulator (MOD) signal is in a logic high state, the
DSM mixes the carrier high signal with the modulator
signal. When the modulator signal is in a logic low
state, the DSM mixes the carrier low signal with the
modulator signal. 
Using this method, the DSM can generate the following
types of Key Modulation schemes:
• Frequency-Shift Keying (FSK)
• Phase-Shift Keying (PSK)
• On-Off Keying (OOK)
Additionally, the following features are provided within
the DSM module:
• Carrier Synchronization
• Carrier Source Polarity Select
• Carrier Source Pin Disable
• Programmable Modulator Data
• Modulator Source Pin Disable
• Modulated Output Polarity Select
• Slew Rate Control 
 shows a Simplified Block Diagram of the
Data Signal Modulator peripheral.
FIGURE 23-1:
SIMPLIFIED BLOCK DIAGRAM OF THE DATA SIGNAL MODULATOR 
D
Q
MDBIT
MDMIN
CCP1
CCP2
CCP3
CCP4
Comparator C1
Comparator C2
Reserved
0000
0001
0010
0011
0100
0101
0110
0111
1000
0011
1001
1010
No Channel
Selected
V
SS
MDCIN1
MDCIN2
CLKR
CCP1
CCP2
CCP3
CCP4
Reserved
0000
0001
0010
0011
0100
0101
0110
0111
1000
1111
*
*
No Channel
Selected
V
SS
MDCIN1
MDCIN2
CLKR
CCP1
CCP2
CCP3
CCP4
Reserved
0000
0001
0010
0011
0100
0101
0110
0111
1000
1111
*
*
No Channel
Selected
MDCH<3:0>
MDMS<3:0>
MDCL<3:0>
1111
*
*
MSSP1 SDO1
MSSP2 SDO2
EUSART
SYNC
MDCHPOL
MDCLPOL
D
Q
1
0
SYNC
1
0
MDCHSYNC
MDCLSYNC
MDOUT
MDOPOL
CARH
CARL
EN
MDEN
Data Signal
Modulator
MOD
MDOE