CMX7031 7041 FI4 Data-Sheet
CMX7031 7041 FI4 Data-Sheet
CMX7031/CMX7041
COMMUNICATION SEMICONDUCTORS
AX.25 Modem
D/7031/7041_FI-4.x/5 January 2013 DATASHEET Advance Information
Modulator
Discriminator
RF CMX7031 / CMX7041
The Two-Way Radio Processor C-BUS
RF Synthesiser 1 Host
Built on FirmASIC® Technology
RF Synthesiser 2 This document contains:
µC
CMX7031 only
User
GPIO Datasheet Manual
System Clock 1
System Clock 2
Reference Clock
1 Brief Description
The 7031/7041FI-4.x is a full-function, half-duplex, signalling/data processor IC. This makes it a suitable
device for both the Data Radio (M2M) and Amateur Packet Radio markets.
The Function Image™ provides a dual wireless data modem function incorporating a 1200bps AFSK
modem and a 9600bps GMSK modem. In receive, simultaneous detection of 1200bps AFSK or 9600bps
GMSK data is performed and subsequently, demodulation and decoding of the detected format.
The device utilises CML’s proprietary FirmASIC component technology. On-chip sub-systems are
configured by a Function Image™: this is a data file that is uploaded during device initialisation and defines
the device’s function and feature set. The Function Image™ can be loaded automatically from an external
serial memory or from a host µController over the built-in C-BUS serial interface. The device’s functions
and features can be enhanced by subsequent Function Image™ releases, facilitating in-the-field
upgrades. This document refers specifically to the features provided by Function Image™ 4.x.
Continued…
The CMX7031 features two on-chip RF synthesisers, with easy Rx/Tx frequency changeover, and
programmable system clocks to minimise chip count in the final application.
The CMX7041 is identical in functionality to the CMX7031 with the exception that the two on-chip RF
Synthesisers have been deleted, which enables it to be supplied in a smaller package.
Other features include two auxiliary ADC channels with four selectable inputs and up to four auxiliary DAC
interfaces (with an optional RAMDAC on the first DAC output, to facilitate transmitter power ramping).
The device has flexible powersaving modes and is available in both LQFP and VQFN packages.
Note that text shown in pale grey indicates features that will be supported in future versions of the device.
This Datasheet is the first part of a two-part document comprising a Datasheet and a User Manual: the
combined Datasheet/User Manual document and the Function Image™ can be obtained by registering
your interest in these products with your local CML representative.
CONTENTS
Section Page
Table Page
Table 1 Definition of Power Supply and Reference Voltages............................................. 9
Table 2 BOOTEN Pin States ............................................................................................ 18
Table 3 DTMF Tone Pairs ................................................................................................ 22
Table 4 TxSequencer Timing ........................................................................................... 23
Table 5 Data Frequencies for 1200bps ............................................................................ 27
Table 6 Averaging Values ................................................................................................ 28
Table 7 GPIO States ........................................................................................................ 33
Table 8 C-BUS Registers ................................................................................................. 35
Figure Page
Figure 1 Block Diagram ...................................................................................................... 6
Figure 2 CMX7031 Recommended External Components .............................................. 10
Figure 3 CMX7041 Recommended External Components .............................................. 11
Figure 4 CMX7031 Power Supply Connections and De-coupling .................................... 13
Figure 5 CMX7041 Power Supply Connections and De-coupling .................................... 14
Figure 6 C-BUS Transactions .......................................................................................... 17
Figure 7 FI Loading from Host ......................................................................................... 19
Figure 8 FI Loading from Serial Memory.......................................................................... 20
Figure 9 Ramp-up and Ramp-down Sequences .............................................................. 24
Figure 10 Tx Operation .................................................................................................... 25
Figure 11 Rx Operation .................................................................................................... 26
Figure 12 Modulating Waveform for 1200bps AFSK Signals ........................................... 27
Figure 13 Modulating Waveform for 9600bps GMSK Signals ......................................... 27
Figure 14 9600bps Data Scrambler ................................................................................. 27
Figure 15 AuxADC IRQ Operation ................................................................................... 28
Figure 16 Example RF Synthesiser Components for a 512MHz Receiver ...................... 29
Figure 17 Single RF Channel Block Diagram .................................................................. 30
Figure 18 Digital Clock Generation Schemes .................................................................. 32
Figure 19 Level Adjustments ............................................................................................ 34
Figure 20 C-BUS Timing .................................................................................................. 47
Figure 21 Mechanical Outline of 64-pin VQFN (Q1) ........................................................ 48
Figure 22 Mechanical Outline of 64-pin LQFP (L9) .......................................................... 48
Figure 23 Mechanical Outline of 48-pin VQFN (Q3) ........................................................ 49
Figure 24 Mechanical Outline of 48-pin LQFP (L4) .......................................................... 49
It is always recommended that you check for the latest product datasheet version from the
Datasheets page of the CML website: [www.cmlmicro.com].
1.1 History
This is Advance Information; changes and additions may be made to this specification.
Parameters marked TBD or left blank will be included in later issues. Items that are
highlighted or greyed out should be ignored. These will be clarified in later issues of this
document. Information in this advance document should not be relied upon for final
product design.
2 Block Diagram
In-Band Signalling
Transmit Functions
DTMF Tx Filter
MOD1
GMSK Modem (Tx) Tx
MOD
Scrambler Mux
Pre-emph Modulator Tx Filter Mode
MOD2
Data
Buffer
Bell 202 Modem (Tx)
Receive Functions
Auxiliary Functions
TXENA FI Configured
RXENA GPIO
System Clock 1 SYSCLK1
GPIOA
GPIO System Clock 2 SYSCLK2
GPIOB System Clock Outputs
GPIO
BOOTEN2
AVDD
VBIAS
AVSS
DVDD
VDEC
DVSS
XTALN
XTAL/CLK
3 Signal List
CMX7031 CMX7041
Signal Type
64-pin 48-pin Description
Q1/L9 Q3/L4 Name
1 To minimise crosstalk, this signal should be connected to the same clock source as XTAL/CLOCK input.
CMX7031 CMX7041
Signal Type
64-pin 48-pin Description
Q1/L9 Q3/L4 Name
CMX7031 CMX7041
Signal Type
64-pin 48-pin Description
Q1/L9 Q3/L4 Name
4 External Components
C-BUS
DVSS
BOOTEN2 DV
BOOTEN1
SYSCLK2
EPSCSN
EPSCLK
DVDD C1
DVDD
EPSO
DVSS
DVSS
EPSI
CSN
NC
NC
NC
X1
R1 C2
C3
IRQN DVDD
1
RF1N XTALN DVSS
2
RF1P XTAL/CLOCK
3
RF1 RFVSS VDEC
4 DAC 4 AVDD
CP1 OUT
RFVSS 5
ISET 1 DAC 3
RFVDD 6
(2.5V) RFVDD AVSS AVSS
7
RF2
RF2N
RF2P
RFVSS
8
9
CMX7031L9 DAC 2
DAC 1
AVDD
DACs
10
CP2 OUT ADC 4
CPVDD 11
RFVSS (3.3V) ISET 2 ADC 3
12
CPVDD ADC 2 ADCs
13
RFCLK ADC 1
14
GPIOA R2 Monitor
MONITOR
15
GPIOB VBIAS
16 C5
17 18 19 20 21 22 23 24 25
C7 C6
AVSS AVSS
MOD 1
SYSCLK1
MOD 2
MICN
NC
NC
ALTFB
DVSS
DISCN
ALTN
AVSS
MICFB
VDEC
DISCFB
TXENA
RXENA
R3 MOD 2
CPVDD
AVSS
+ C8
C26 C25
DVSS
C14 C16 AVSS
RFVSS RFVSS R4
R8 R10 MOD 1
+
RFVDD C24 C23 C12
R6
DVSS DVSS C9
R5 R7 R9
+
C28 C27 AVSS
AVDD DVDD
RFVSS RFVSS C13 C15
DISC
+ +
ALT C17 C18 C19 C20 C21 C22
C-BUS
XTAL/CLOCK
C3
SYSCLK2
XTALN
VDEC
DVSS
DVDD
CSN
NC
DVSS
DAC 4 AVDD
EPSI
1
EPSCLK DAC 3
2
EPSO AVSS AVSS
DVDD 3
EPSCSN DAC 2 DACs
4
BOOTEN1 DAC 1
R1 5
BOOTEN2 AVDD
DVSS
IRQN
6
7
8
CMX7041L4 ADC 4
ADC 3
DVSS VDEC ADC 2 ADCs
9
RXENA ADC 1
10
MONITOR R2 Monitor
GPIO A
11
GPIO B VBIAS C5
12
13 14 15 16 17 18
C7 C6
AVSS AVSS
MOD 1
SYSCLK1
MICN
DISCN
ALTN
MOD 2
DVSS
AVSS
DISCFB
MICFB
ALTFB
TXENA
R3 MOD 2
AVSS
+
C24 C23 C8
DVSS
C14 C16
DVSS DVSS AVSS
R8 R10
R4 MOD 1
C12
R6
R5 R7 R9 C9
DISC
+ +
C17 C18 C19 C20 C21 C22
ALT
Notes:
1. X1 can be a crystal or an external clock generator; this will depend on the application. The tracks
between the crystal and the device pins should be as short as possible to achieve maximum stability
and best start up performance. By default, a 19.2MHz oscillator is assumed, other values could be
used if the various internal clock dividers are set to appropriate values.
2. R5 should be selected to provide the desired dc gain of the discriminator input, as follows:
GAINDISC = 100k / R5
The gain should be such that the resultant output at the DISCFB pin is within the discriminator input
signal range specified in 7.12.2.
3. R7 should be selected to provide the desired dc gain (assuming C13 is not present) of the alternative
input as follows:
GAINALT = 100k / R7
The gain should be such that the resultant output at the ALTFB pin is within the alternative input
signal range specified in 7.12.
4. R9 should be selected to provide the desired dc gain (assuming C15 is not present) of the
microphone input as follows:
GAINMIC = 100k / R9
The gain should be such that the resultant output at the MICFB pin is within the microphone input
signal range specified in 7.12.1. For optimum performance with low signal microphones, an additional
external gain stage may be required.
5. C13 and C15 should be selected to maintain the lower frequency roll-off of the discriminator inputs as
follows:
C13 1.0µF GAINALT
C15 30nF GAINMIC
For 9600bps GMSK operation the DISCN input should be DC coupled.
6. ALTN and ALTFB connections allow the user to have a second discriminator or microphone input.
Component connections and values are as for the respective DISC and MIC networks. If this input is
not required, the ALT pin should be connected to AVss.
7. C5 (AUDIO/MONITOR out) should be increased to 1.0µF if frequencies below 300Hz need to be
used on this pin. Used for test/debug in this Function Image™.
8. A single 10µF electrolytic capacitor may be fitted in place of C4 and C24, providing the two VDEC
pins are connected together on the pcb with an adequate width power supply trace.
Notes:
It is important to protect the analogue pins from extraneous inband noise and to minimise the impedance
between the device and the supply and bias de-coupling capacitors. The de-coupling capacitors C3, C7,
C18, C19, C21, C22, C24 and C25 should be as close as possible to the device. It is therefore
recommended that the printed circuit board is laid out with separate ground planes for the AV SS, RFVSS
and DVSS supplies in the area of the CMX7031, with provision to make links between them, close to the
device. Use of a multi-layer printed circuit board will facilitate the provision of ground planes on separate
layers.
VBIAS is used as an internal reference for detecting and generating the various analogue signals. It must
be carefully decoupled, to ensure its integrity, so apart from the decoupling capacitor shown, no other
loads should be connected. If VBIAS needs to be used to set the discriminator mid-point reference, it must
be buffered with a high input impedance buffer.
The crystal X1 may be replaced with an external clock source.
The 2.5V VDEC output can be used to supply the 2.5V RFVDD, to remove the need for an external 2.5V
regulated supply. VDEC can be directly connected to RFVDD, in which case C23 should be omitted.
6 General Description
The CMX7031/CMX7041 (7031/7041FI-4.x) are intended for use in half-duplex digital radio equipment and
are particularly suited to Amateur Packet Radio using 1200bps or 9600bps data rates and the AX.25
protocol. When both modem speeds are enabled in Rx, the device will automatically decide on which
demodulator to activate depending on the reception of a valid sync sequence. For maximal flexibility and
compatibility with existing equipment, both modems can detect a $0000007E or $7E7E7E7E sync
sequence (32 bits in AFSK and 24 bits in GMSK are required to minimise the effect of “false” detects in the
presence of noise). The data is NRZId before being presented to the host over the RxData registers. In Tx
mode, the host can decide which mode, 1200bps, 9600bps or DTMF to use. Data is NRZId before
transmission. In 9600bps mode the K9NG scrambler is automatically implemented on both Rx and Tx
data. Tx Pre-emphasis is included for both 9600bps and 1200bps modes.
A flexible power control facility allows the device to be placed in its optimum powersave mode when not
actively processing signals. The CMX7031/CMX7041 include a crystal clock generator, with buffered
output, to provide a common system clock if required. A block diagram of the CMX7031/CMX7041 is
shown in Figure 1.
The signal processing blocks can be individually routed from any of the three mic/audio/discriminator input
pins.
Tx functions:
o Two-point modulation outputs with programmable level adjustment
o Programmable DTMF generator
o 1200bps AFSK modem
o 9600bps GMSK modem
o NRZI encoding
o Tx Pre-emphasis
o K9NG scrambling for 9600bps mode
o Tx Sequencer
o Tx Enable output
Rx functions:
o Demodulator input with input amplifier and programmable gain adjustment
o 1200bps AFSK modem
o 9600bps GMSK modem
o NRZI decoding
o K9NG descrambling for 9600bps mode
o Automatic 1200/9600bps detection
o Multiple sync detection
o Rx Enable output
Auxiliary functions:
o Two flexible Integer-N RF synthesisers (CMX7031 only)
o Two programmable system clock outputs
o Two auxiliary ADCs with selectable input paths
o Four auxiliary DACs, one with built-in programmable RAMDAC
Interface:
o C-BUS, 4-wire, high-speed, synchronous serial command/data bus
o Open drain IRQ to host
o Two GPIO pins
o Serial Memory boot mode
o C-BUS boot mode
7 Detailed Descriptions
7.1 Xtal Frequency
The CMX7031/CMX7041 are designed to work with an external frequency source of 19.2MHz or a
12.4MHz Xtal. At power-on, a 19.2MHz source is selected by default. The 12.4MHz option can be selected
by setting the $C3 register appropriately whilst in Idle mode. The correct clock frequency MUST be
selected before the device is put into Rx or Tx mode.
The CMX7031/CMX7041 will monitor the state of the C-BUS registers that the host has written to every
50µs (the C-BUS latency period) hence it is not advisable for the host to make successive writes to the
same C-BUS register within this period.
To minimise activity on the C-BUS interface, optimise response times and ensure reliable data transfers, it
is advised that the IRQ facility be utilised (using the IRQ mask register, $CE). It is permissible for the host
to poll the IRQ pin if the host uC does not support a fully interrupt-driven architecture. This removes the
need to continually poll the C-BUS status register ($C6) for status changes.
Data sent from the µC on the CDATA line is clocked into the CMX7031/CMX7041 on the rising edge of the
SCLK Clock input. RDATA sent from the CMX7031/CMX7041 to the µC is valid when the SCLK is high.
The CSN line must be held low during a data transfer and kept high between transfers. The C-BUS
interface is compatible with most common µC serial interfaces and may also be easily implemented with
general purpose µC I/O pins controlled by a simple software routine.
The number of data bytes following an Address byte is dependent on the value of the Address byte. The
most significant bit of the address or data are sent first. For detailed timings see section 8.2. Note that,
due to internal timing constraints, there maybe a delay of up to 50s between the end of a C-BUS write
operation and the device reading the data from its internal register. When making multiple writes to the
same C-BUS location, ensure that the C-BUS latency period (typically 50µs) is observed.
C-BUS Write:
See Note 1 See Note 2
CSN
SCLK
CDATA 7 6 5 4 3 2 1 0 7 6 … 0 7 … 0
MSB LSB MSB LSB MSB LSB
RDATA
High Z state
C-BUS Read:
See Note 2
CSN
SCLK
CDATA 7 6 5 4 3 2 1 0
MSB LSB
RDATA 7 6 … 0 7 … 0
High Z state MSB LSB MSB LSB
The BOOTEN pins are both fitted with internal low-current pull-down devices.
For C-BUS load operation, both pins should be pulled high by connecting them to VDD either directly or via
a 220kΩ resistor (see Table 2).
For serial memory load, only BOOTEN1 needs to be pulled high in a similar manner, however, if it is
required to program the serial memory in-situ from the host, either a jumper to VDD or a link to a host I/O
pin should be provided to pull BOOTEN2 high when required (see Table 2).
Once the FI has been loaded, the CMX7031/CMX7041 performs these actions:
1. The product identification code $7031 is reported in C-BUS register $C5
2. The FI version code is reported in C-BUS register $C9
3. The two 32-bit FI checksums are reported in C-BUS register pairs $A9, $AA and $B8, $B9
4. The device waits for the host to load the 32-bit Device Activation Code to C-BUS register $C8
5. once activated, the device initialises fully, enters idle mode and becomes ready for use, and the
Programming Flag (bit 0 of the Status register, $C6) will be set.
The checksums should be verified against the published values to ensure that the FI has loaded correctly.
Once the FI has been activated, the checksum, product identification and version code registers are
cleared and these values are no longer available. If an invalid activation code is loaded, the device will
report the value $DEAD in register $A9 and become unresponsive to all further host commands (including
General Reset). A power-on reset is required to recover from this state.
The Device Activation Codes are available from the CML Technical Portal. The checksum values are
shown in the FI header.
Note: In the rare event that a General Reset needs to be issued without the requirement to re-load the
FI, the BOOTEN pins must both be cleared to '0' before issuing the Reset command. The
Checksum values will be reported and the Device Activation code will need to be sent in a
similar manner as that shown in Figure 8. There will not be any FI loading delay. This assumes
that a valid FI has been previously loaded and that VDD has been maintained throughout the
reset to preserve the data.
Each time the device is powered up its Function Image™ must first be loaded and then activated. These
two steps assign internal device resources and determine all device features. The device does not
operate until the Function Image™ is loaded and activated.
BOOTEN2=1
BOOTEN1=1
VDD
Send Device Activation Code lo to $C8
The download time is limited by the clock frequency of the C-BUS, with a 5MHz SCLK, it should take less
than 500ms to complete.
BOOTEN2=0
BOOTEN1=1
Vdd
Wait for C-BUS $C6 bit 0 to be set to 1 Jumper for
BOOTEN1 programming
serial memory
CMX7031 is now ready for use BOOTEN2 (if required)
The CMX7031/CMX7041 has been designed to function with Atmel AT25HP512 serial EEPROM and the
AT25F512 flash EEPROM devices2, however other manufacturers parts may also be suitable. The time
taken to load the FI is dependant on the Xtal frequency, with a 6.144MHz Xtal, it should load in less than 1
second.
2 Note that these two devices have slightly different addressing schemes. FI 4.x is compatible with both schemes.
To conserve power when the device is not actively processing an analogue signal, place the device into
Idle mode. Additional powersaving can be achieved by disabling the unused hardware blocks, however,
care must be taken not to disturb any sections that are automatically controlled.
See:
o Power Down Control - $C0 write
o Mode Control – $C1 write
o Output Level – $C2 write
o Input Gain and Routing - $B1 write
See:
o Input Gain and Routing - $B1 write
o Mode Control – $C1 write
The analogue gain/attenuation of each input and output can be set individually.
See:
o Output Level – $C2 write
o Input Gain and Routing - $B1 write
o GPIO Control - $A7 16-bit write
See:
o Mode Control – $C1 write
See:
o Mode Control – $C1 write
In 1200bps AFSK mode, the received signal is filtered and data is extracted with the aid of a PLL to
recover the clock from the serial data stream. The bit clock is not output externally.
The extracted data is compared with the 32-bit sync pattern which corresponds to either $0000007E or
$7E7E7E7E (both are required to ensure compatibility with existing devices already in service) and then
NRZI decoded. An interrupt will be flagged when the sync pattern is detected. The host µC may stop the
sync search by disabling the AFSK demodulator. Once a valid sync pattern has been detected, the sync
search algorithm is disabled; it may be re-started by the host re-writing to the Mode register ($C1:b4,5)
with the modem and mode bits set appropriately. The recovered data is NRZI decoded and is held in an
256-byte internal buffer, from where it can be read by the host over C-BUS using the RxData block. A
DataRDY flag will be raised whenever there is data available in the buffer. Data is transferred over the C-
BUS under host µC control. The host should ensure that the data is transferred at an adequate rate
following data ready being flagged.
The host µC must keep track of the message length, or otherwise determine the end of reception, and
disable the demodulator at the appropriate time.
In 9600bps GMSK mode, the received signal is fed through a Gaussian filter with a Bt of 0.5. The device
extracts timing and level information from the 24-bit sync pattern. Once a valid sync pattern has been
detected, the extracted data is de-scrambled and NRZI decoded in a similar manner to the 1200bps mode.
Note that once a particular mode (1200 or 9600) signal has been detected, the other demodulator is
switched off. Hence, after a data burst has been received by the host it should re-set both Modem Control
bits of the Mode register ($C1:b2,3) and then re-enable them (taking note of the C-BUS latency time).
In both GMSK and AFSK modes, a single bit error is allowed during the sync sequence detection.
The binary over-air data is taken from the device’s internal buffer which is loaded from the host using the
TxData register block, most significant bit first. The data must be provided over the C-BUS from the host
within certain time limits to ensure the selected baud rate is maintained and an underflow condition does
not occur. The device’s internal buffer is 256 bytes long and may be pre-loaded by the host before the Tx
Modulator is enabled. The host must supply ALL data to be transmitted, including any preamble that may
be required during the TxDelay period that precedes the actual data packet. The TxDataRDY flag will be
raised whenever there is room for a host to write a full TxData block. The TxDataRDY flag will be inhibited
when there are less than 4 bytes left empty in the buffer.
A Tx sequencer state machine is provided to automate the transmission of data bursts. The timings of the
sequencer can be pre-programmed by the host to suit the characteristics of the radio hardware. The
sequencer controls:
The Modulation Start Delay allows for a period of un-modulated carrier to be output at the beginning of the
burst. The value chosen for this item should also take into account the time it takes for the RAMDAC to
complete its cycle (default is 10ms).
The Ramp Down Start Delay allows for a period of un-modulated carrier at the end of the burst if required.
The TxENA Inactive delay value chosen for this item should also take into account the time it takes for the
RAMDAC to complete its cycle (default is 10ms). Note that Program Register P3.0:b0 should be set to
enable RAMDAC operation.
CSN
TxENA
RAMDAC
MOD
TxDONE
CSN
TxENA
RAMDAC
MOD
TxDone
TxENA
C-BUS
registers
1200bps
Modulator
C C B B Tx Data Buffer
NRZI
B A 7 6 (128 words)
9600bps
Scrambler
Modulator
Figure 10 Tx Operation
C-BUS
registers
Sync 1200bps
Detect Demodulator
Rx Data
B B A A
Buffer NRZI
9 8 A 9
(128 words)
De- 9600bps
scramble Demodulator
Figure 11 Rx Operation
The CMX7031/CMX7041FI-4.x generates its own internal data clock and converts the binary data into the
appropriately phased frequencies, as shown in Figure 12 and Table 5.
Rx
SIGNAL I/P
1200 BAUD
In receive mode, a PLL is used to extract the data from the incoming signal.
In addition to the NRZI encoding used in 1200bps operation, the GMSK signal is also passed through a
data scrambler to reduce the dc content of the transmitted signal. This is based on a 17-bit maximum
length LFSR scrambler.
Averaging can be applied to the ADC readings by selecting the b2-0 in the Program Block P1.2 and P1.3.
This is a rolling average system such that a proportion of the current data value will be added to the last
value. The proportion is determined by the value of the average counter.
High thresholds may be independently applied to both ADC channels (the comparison is applied after
averaging, if this is enabled) and an IRQ generated if a rising edge passes the high threshold. This feature
can be used to as a “Carrier Detect” function when the input is connected to a suitable RF level
measurement point in the RF hardware. The thresholds are programmed via the Program Block, P1.0 and
P1.1.
Auxiliary ADC data is read back in the AuxADC Data registers ($A9 and $AA) and includes the threshold
status as well as the actual conversion data (subject to averaging, if enabled).
IRQ IRQ
High
Threshold
Signal
The default profile is a raised cosine (see Table 11), but this may be over-written with a user defined
profile by writing to Programming Block P3.11. The RAMDAC operation is only available in Tx mode and,
to avoid glitches in the ramp profile, it is important not to change to IDLE or Rx mode whilst the RAMDAC
is still ramping. The AuxDAC outputs hold the user-programmed level during a powersave operation if left
enabled, otherwise they will become tri-state (high impedance). Note that access to all four AuxDACs is
controlled by the AuxDAC Control register, $A8, and therefore to update all AuxDACs requires four writes
to this register. It is not possible to simultaneously update all four AuxDACs.
See:
o AuxDAC Control - $A8 16-bit write
See:
o RF Channel Data - $B2 write
o RF Channel Control - $B3 write
o RF Channel Status - $B4 8-bit read
External RF components are needed to complete the synthesiser circuit. A typical schematic for one
synthesiser, with external components, is shown in Figure 16.
Both synthesisers are phase locked loops (PLLs) of the same design, utilising external VCOs and loop
filters. The VCOs need to have good phase noise performance although it is likely that the high division
ratios used will result in the dominant noise source being the reference oscillator. The phase detectors are
of the phase-frequency type with a high impedance charge pump output requiring just passive
components in the loop filter. Lock detect functions are built in to each synthesiser and the status reported
via C-BUS. A transition to out-of-lock can be detected and communicated via a C-BUS interrupt to the host
µC. This can be important in ensuring that the transmitter cannot transmit in the event of a fault condition
arising.
Two levels of charge pump gain are available to the user, to facilitate the possibility of locking at different
rates under program control. A current setting resistor (R31) is connected between the ISET pin (one for
each PLL system) and the respective RFVSS. This resistor will have an internally generated band gap
voltage expressed across it and may have a value of 0 to 30k, which (in conjunction with the on-chip
series resistor of 9.6k) will give charge pump current settings over a range of 2.5mA down to 230µA
(including the control bit variation of 4 to 1). The value of the current setting resistor (R31) is determined in
accordance with the following formulae:
Gain bit set to 1: R31 (in Ω) = (24/Icp) – 9600
Gain bit cleared to 0: R31 (in Ω) = (6/Icp) – 9600
where Icp is the charge pump current (in mA).
Note that the charge pump current should always be set to at least 230µA. The ‘gain bit’ refers to either bit
3 or bit 11 in the RF Channel Control register, $B3.
The step size (comparison frequency) is programmable; to minimise the effects of phase noise this should
be kept as high as possible. This can be set as low as 2.5kHz (for a reference input of 20MHz or less), or
up to 200kHz – limited only by the performance of the phase comparator.
The frequency for each synthesiser is set by using two registers: an ‘R’ register that sets the division value
of the input reference frequency to the comparison frequency (step size), and an ‘N’ register that sets the
division of the required synthesised frequency from the external VCO to the comparison frequency. This
yields the required synthesised frequency (Fs), such that:
Fs = (N / R) x FREF where FREF is the selected reference frequency
Other parameters for the synthesisers are the charge pump setting (high or low):
o Since the set-up for the PLLs takes 4 x “RF Channel Data register” writes it follows that, while
updating the PLL settings, the registers may contain unwanted or intermediate values of bits.
These will persist until the last register is written. It is intended that users should change the
content of the “RF Channel Data register” on a PLL that is disabled, powersaved or selected to
work from the alternate register set (“Tx” and “Rx” are alternate register sets). There are no
interlocks to enforce this intention. The names “Tx” and “Rx” are arbitrary and may be assigned to
other functions as required. They are independent sets of registers, one of which is selected to
command each PLL by changing the settings in the RF Channel Control - $B3 write register.
For optimum performance, a common master clock should be used for the RF synthesisers (RF Clock)
and the baseband sections (Main and Auxiliary System Clocks). Using unsynchronised clocks can result in
spurious products being generated in the synthesiser output and in some cases difficulty may be
experienced with obtaining lock in the RF synthesisers.
Lock Status
The lock status can be observed by reading the RF Channel Status register, $B4, and the individual lock
status bits can (subject to masking) provide a C-BUS interrupt.
The lock detector can use a tolerance of one cycle or four cycles of the reference clock (not the divided
version that is used as a comparison frequency) in order to judge phase lock. An internal shift register
holds the last three lock status measurements and the lock status bits are flagged according to a majority
vote of these previous three states. Hence, one occasional lock error will not flag a lock fail. At least two
successive phase lock events are required for the lock status to be true. Note that the lock status bits
confirm phase lock to the measured tolerance and not frequency lock. The synthesiser may take more
time to confirm phase lock with the lock status bits than the time to switch from channel to channel. The
purpose of a 4-cycle tolerance is for the case where a high frequency reference oscillator would not forgive
a small phase error.
RF Inputs
The RF inputs are differential and self biased (when not powersaved). They are intended to be
capacitatively coupled to the RF signal. The signal should be in the range 0dBm to –20dBm (not
necessarily balanced). To ensure an accurate input signal the RF should be terminated with 50Ω as close
to the chip as possible and with the “+” and “–“ inputs capacitatively coupled to the input and ground,
keeping these connections as short as possible. The RF input impedance is almost purely capacitative
and is dominated by package and printed circuit board parasitics.
SYSCLK1 VCO
LPF VCO 24.576-
98.304MHz
(49.152MHz typ)
Ref CLK div PLL div
/1 to 512 PD /1 to 1024
$AC b0-8 SYSCLK1 SYSCLK1 $AB b0-9
Ref Div
48 - 192kHz
(96kHz typ) VCO op div
/1 to 64
SYSCLK1 $AB b10-15 SYSCLK1
Pre-CLK Output
$AC b11-15 384kHz-20MHz
SYSCLK2 VCO
LPF VCO 24.576-
98.304MHz
(49.152MHz typ)
Ref CLK div PLL div
/1 to 512 PD /1 to 1024
$AE b0-8 SYSCLK2 SYSCLK2 $AD b0-9
Ref Div
48 - 192kHz
(96kHz typ) VCO op div
/1 to 64
SYSCLK2 $AD b10-15 SYSCLK2
Pre-CLK Output
$AE b11-15 384kHz-20MHz
MainCLK VCO
LPF VCO 24.576-
98.304MHz
(49.152MHz typ)
To Internal
ADC / DAC
dividers
3.0 - 12.288MHz Xtal AuxADC
OSC or Div
3.0 - 24.576MHZ Clock Aux_ADC
(83.3kHz typ)
The CMX7031/CMX7041 includes a two-pin crystal oscillator circuit. This can either be configured as an
oscillator, as shown in section 5, or the XTAL input can be driven by an externally generated clock. The
crystal (Xtal) source frequency can go up to 12.288MHz (clock source frequency up to 24.576MHz), but a
19.2MHz oscillator is assumed for the functionality provided in the CMX7031/CMX7041.
The CMX7031/CMX7041 defaults to the settings appropriate for a 19.2Hz oscillator, with 12.4MHz
selection available by setting $C3 appropriately.
See:
o Clock Control - $C3 write
7.11 GPIO
Four pins on the device are provided for GPIO purposes. GPIO 1 and 2 are driven by the
CMX7031/CMX7041 to follow the state of the Rx and Tx Mode bits in the Mode register, $C1:
Monitor
Input1 Gain: $B1:b12-10
Output1
Input1
DISC Fixed – 0dB
Output2
All interrupt flag bits in the Status register, except the Programming Flag (bit 0) and the RF Channel Status
Flag (bit 1), are cleared and the interrupt request is cleared following the command/address phase of a C-
BUS read of the Status register. The Programming Flag bit is set to 1 only when it is permissible to write a
new word to the Programming register.
See:
o Status – $C6 read
o Interrupt Mask - $CE write
Setting the Mode register to either Rx or Tx will automatically increase the internal clock speed to its
operational speed, whilst setting the Mode register to Idle will automatically return the internal clock to a
lower (powersaving) speed. To access the Program Blocks (through the Programming register, $C8) the
device MUST be in Idle mode.
8 Performance Specification
8.1 Electrical Performance
8.1.1 Absolute Maximum Ratings
Exceeding these maximum ratings can result in damage to the device.
Current consumption figures quoted in this section apply to the device when loaded with 7031/7041FI-4.x
only. The use of other Function Images™, can modify the current consumption of the device.
DC Parameters Notes Min. Typ. Max. Unit
Supply Current 21
All Powersaved
DIDD (DVDD = 3.3V, VDEC = 2.5V) – 50 100 µA
AIDD (AVDD = 3.3V) – 4 20 µA
CPIDD + RFIDD (CPVDD = 3.3V, RFVDD = 2.5V) – 4 20 µA
IDLE Mode 22
DIDD (DVDD = 3.3V, VDEC = 2.5V) – TBD – mA
AIDD (AVDD = 3.3V) – TBD – µA
Rx Mode 22
DIDD (DVDD = 3.3V, VDEC = 2.5V) – TBD – mA
AIDD (AVDD = 3.3V) – TBD – mA
Tx Mode 22
DIDD (DVDD = 3.3V, VDEC = 2.5V) – TBD – mA
AIDD (AVDD = 3.3V) – TBD – mA
Additional Current for each RF Synthesiser 23
CPIDD + RFIDD (CPVDD = 3.3V, RFVDD = 2.5V) – 4.5 mA
Additional Current for each Auxiliary
System Clock (output running at 4MHz)
DIDD (DVDD = 3.3V, VDEC = 2.5V) – 500 – µA
Additional Current for each Auxiliary ADC
DIDD (DVDD = 3.3V, VDEC = 2.5V) – 5 – µA
Additional Current for each Auxiliary DAC
AIDD (AVDD = 3.3V) – 200 – µA
Notes: 21 Tamb = 25°C, Not including any current drawn from the device pins by external circuitry.
22 System Clocks, RF, Auxiliary circuits disabled, but all other digital circuits (including the
Main Clock PLL) enabled.
23 When using the external components shown in Figure 16 and when supplying the
current for RFVDD from the regulated 2.5V digital (VDEC ) supply. The latter is derived
from DVDD by an on-chip voltage regulator.
XTAL/CLOCK 25
Input Logic ‘1’ 70% – – DVDD
Input Logic ‘0’ – – 30% DVDD
Input Current (Vin = DVDD) – – 40 µA
Input Current (Vin = DVSS) 40 – – µA
VBIAS 26
Output Voltage Offset wrt AVDD/2 (IOL < 1A) – ±2% – AVDD
Output Impedance – 22 – k
Notes: 25 Characteristics when driving the XTAL/CLOCK pin with an external clock source.
26 Applies when utilising VBIAS to provide a reference voltage to other parts of the
system. When using VBIAS as a reference, VBIAS must be buffered. VBIAS must
always be decoupled with a capacitor as shown in Figure 2 and Figure 3.
XTAL/CLOCK Input
‘High’ Pulse Width 31 15 – – ns
‘Low’ Pulse Width 31 15 – – ns
Input Impedance (at 6.144MHz)
Powered-up Resistance – 150 – k
Capacitance – 20 – pF
Powered-down Resistance – 300 – k
Capacitance – 20 – pF
Xtal Start-up Time (from powersave) – 20 – ms
VBIAS
Start-up Time (from powersave) – 30 – ms
Notes: 41 Power-up refers to issuing a C-BUS command to turn on an output. These limits
apply only if VBIAS is on and stable. At power supply switch-on, the default state
is for all blocks, except the XTAL and C-BUS interface, to be in placed in
powersave mode.
42 Small signal impedance, at AVDD = 3.3V and Tamb = 25°C.
43 With respect to the signal at the feedback pin of the selected input port.
44 Centred about AVDD/2; with respect to the output driving a 20k load to AVDD/2.
Notes: 51 Denotes output impedance of the driver of the auxiliary input signal, to ensure
< 1 bit additional error under nominal conditions.
52 With an auxiliary clock frequency of 6.144MHz.
53 Guaranteed monotonic with no missing codes.
54 Centred about AVDD/2.
Notes:
62 Square wave input.
63 Separate dividers are provided for each PLL.
64 For optimum performance of the synthesiser subsystems, a common master clock
should be used for the RF Synthesisers and the baseband sections. Using
unsynchronised clocks is likely to result in spurious products being generated in
the synthesiser outputs and in some cases difficulty may be experienced in
obtaining lock in the RF Synthesisers.
65 External ISET resistor (R31) = 0Ω (Internal ISET resistor = 9k6Ω nominally).
66 Lower input frequencies may be used subject to division ratio requirements being
maintained.
67 Operation outside these frequency limits is possible, but not guaranteed. Below
150MHz, a square wave input may be required to provide a fast enough slew rate.
68 1Hz Normalised Phase Noise Floor (PN1Hz) can be used to calculate the phase
noise within the PLL loop by:
Phase Noise (in-band) = PN1Hz + 20log10(N) + 10log10(fcomparison).
69 It is recommended that RF Synthesiser 1 be used for the higher frequency use
st
(eg: RF 1 LO) and RF Synthesiser 2 be used for lower frequency use (eg: IF LO).
All figures quoted in this section apply to the device when loaded with FI4.x only. The use of other
Function Images™, can modify the parametric performance of the device.
AC Parameters (cont.) Notes Min. Typ. Max. Unit
GMSK Decoder
Signal Input Dynamic Range 74 100 – 800 mVrms
-8
Bit Error Rate (SNR = 20dB) 74 – TBD – 10
Receiver Synchronisation (SNR = 12dB) TBD
AFSK Decoder
Signal Input Dynamic Range 74 100 – 800 mVrms
-8
Bit Error Rate (SNR = 20dB) 74 – TBD – 10
Receiver Synchronisation (SNR = 12dB) TBD
Notes:
74 AVDD = 3.3V, for a “101010101 … 01” pattern measured at the input amplifier
feedback pin. Signal level scales with AVDD.
GMSK Encoder
Output Signal Level – 775 – mVrms
Output Level Variation 1.0 0 +1.0 dB
Output Distortion – – 5 %
rd
3 Harmonic Distortion – – 3 %
Filter Bt 0.5
AFSK Encoder
Output Signal Level – 775 – mVrms
Output Level Variation 1.0 0 +1.0 dB
Output Distortion – – 5 %
rd
3 Harmonic Distortion – – 3 %
Logic 1 Frequency 1198 1200 1202 Hz
Logic 0 Frequency 2118 2200 2202 Hz
Isochronous Distortion (0 to 1 and 1 to 0) – – 40 µs
Notes: 1. Depending on the command, 1 or 2 bytes of CDATA are transmitted to the peripheral MSB
(Bit 7) first, LSB (Bit 0) last. RDATA is read from the peripheral MSB (Bit 7) first, LSB (Bit 0)
last.
2. Data is clocked into the peripheral on the rising SCLK edge.
3. Commands are acted upon at the end of each command (rising edge of CSN).
4. To allow for differing µC serial interface formats C-BUS compatible ICs are able to work with
SCLK pulses starting and ending at either polarity.
5. Maximum 30pF load on IRQN pin and each C-BUS interface line.
These timings are for the latest version of C-BUS and allow faster transfers than the original C-BUS timing
specification. The CMX7031/CMX7041 can be used in conjunction with devices that comply with the
slower timings, subject to system throughput constraints.
8.3 Packaging
DIM. MIN. TYP. MAX.
A 9.00 BSC
* B 9.00 BSC
* C 0.80 0.90 1.00
F 7.00 7.80
G 7.00 7.80
H 0.00 0.05
J 0.18 0.25 0.30
K 0.20
L 0.30 0.40 0.50
L1 0 0.15
P 0.50
T 0.20
NOTE :
A & B are reference data and do
* not include mold deflash or protrusions.
All dimensions in mm
Angles are in degrees
Exposed Index Area 1 Index Area 2
Metal Pad
Depending on the method of lead termination at the edge of the package, pull back (L1) may be present.
L minus L1 to be equal to, or greater than 0.3mm
The underside of the package has an exposed metal pad which should ideally be soldered to the pcb to enhance the thermal
conductivity and mechanical strength of the package fixing. Where advised, an electrical connection to this metal pad may also
be required
A 7.00 BSC
* B 7.00 BSC
* C 0.80 0.90 1.00
F 4.60 5.65
G 4.60 5.65
H 0.00 0.05
J 0.18 0.25 0.30
K 0.20
L 0.30 0.40 0.50
L1 0 0.15
P 0.50
T 0.20
NOTE :
A & B are reference data and do
* not include mold deflash or protrusions.
All dimensions in mm
Angles are in degrees
Exposed
Metal Pad Index Area 1 Index Area 2
Depending on the method of lead termination at the edge of the package, pull back (L1) may be present.
L minus L1 to be equal to, or greater than 0.3mm
The underside of the package has an exposed metal pad which should ideally be soldered to the pcb to enhance the thermal
conductivity and mechanical strength of the package fixing. Where advised, an electrical connection to this metal pad may also
be required
As package dimensions may change after publication of this datasheet, it is recommended that you check
for the latest Packaging Information from the Design Support area of the CML website:
[http://www.cmlmicro.com/].
About FirmASIC
CML’s proprietary FirmASIC component technology reduces cost, time to market and development risk,
with increased flexibility for the designer and end application. FirmASIC combines Analogue, Digital,
Firmware and Memory technologies in a single silicon platform that can be focused to deliver the right
feature mix, performance and price for a target application family. Specific functions of a FirmASIC
device are determined by uploading its Function Image™ during device initialization. New
Function Images™ may be later provided to supplement and enhance device functions, expanding or
modifying end-product features without the need for expensive and time-consuming design changes.
FirmASIC devices provide significant time to market and commercial benefits over Custom ASIC,
Structured ASIC, FPGA and DSP solutions. They may also be exclusively customised where security or
intellectual property issues prevent the use of Application Specific Standard Products (ASSP’s).
Handling precautions: This product includes input protection, however, precautions should be taken to prevent device damage
from electro-static discharge. CML does not assume any responsibility for the use of any circuitry described. No IPR or circuit
patent licences are implied. CML reserves the right at any time without notice to change the said circuitry and this product
specification. CML has a policy of testing every product shipped using calibrated test equipment to ensure compliance with
this product specification. Specific testing of all circuit parameters is not necessarily performed.