CML Semiconductor Products Baseband Signal Processor FX829 D/829/4 September 1997 1.0 Features Provisional Issue • Rx Audio Processing • Multi-standard Modem Formats • Tx Audio Processing • ETS/MPT/PAA Standards Compatible • 1200/2400 Baud Modem • Low Voltage Operation • DTMF Encoder • 24-pin Small Form Package 1.1 Brief Description The FX829 is a low voltage CMOS integrated circuit, designed to provide the baseband audio and system signal-processing functions required for PAMR or PMR trunked radio applications. It operates in half-duplex mode under serial-bus control of the host µC. The FX829 incorporates a dual-rate 1200/2400bps FFSK modem, with a software-flexible choice of synchronisation codewords, data run-length and CRC checking to suit a wide range of applications. These features allow very flexible handling of non-prescribed data on traffic channels in addition to the network signalling sent on control channels. A 16 character DTMF encoder is available in the transmit mode. The two-point modulation output has software programmable level-adjustment. The audio processing stages include transmit and receive filtering, to the standards specified for 12.5kHz and 25kHz PAMR/PMR channel operation, plus transmit deviation limiting and a programmable Rx volume control. Power saving is automatic when audio functions are deselected. The FX829 is designed for use in radios compatible with MPT1327, PAA1382 and ETS 300 086 trunking standards. Its features and flexibility ensure that it is equally suitable for use with modified or proprietary standards. 1997 Consumer Microcircuits Limited Baseband Signal Processor FX829 CONTENTS Section Page 1.1 Brief Description.........................................................................................1 1.2 Block Diagram ............................................................................................3 1.3 Signal List ...................................................................................................4 1.4 External Components.................................................................................7 1.5 General Description....................................................................................8 1.5.1 Software Description ..................................................................9 1.5.2 FFSK Checksum Generation and Checking ............................18 1.6 Application Notes .....................................................................................20 1.7 Performance Specification.......................................................................25 1.7.1 Electrical Performance..............................................................25 1.7.2 Packaging..................................................................................32 1997 Consumer Microcircuits Limited 2 D/829/4 Baseband Signal Processor 1.2 FX829 Block Diagram Figure 1 Block Diagram 1997 Consumer Microcircuits Limited 3 D/829/4 Baseband Signal Processor 1.3 FX829 Signal List Package D2/D5 Signal Pin No. Name Description Type 1 XTALN O/P The inverted output of the on-chip oscillator. 2 XTAL/CLOCK I/P The input to the on-chip oscillator, for external Xtal circuit or clock. 3 SERIAL CLOCK I/P The "C-BUS" serial clock input. This clock, produced by the µController, is used for transfer timing of commands and data to and from the device. See "C-BUS" Timing Diagram. 4 COMMAND DATA I/P The "C-BUS" serial data input from the µController. Data is loaded into this device in 8-bit bytes, MSB (B7) first, and LSB (B0) last, synchronised to the SERIAL CLOCK. See "C-BUS" Timing Diagram. 5 REPLY DATA O/P The "C-BUS" serial data output to the µController. The transmission of REPLY DATA bytes is synchronised to the SERIAL CLOCK under the control of the CSN input. This 3-state output is held at high impedance when not sending data to the µController. See "C-BUS" Timing Diagram. 6 CSN I/P The "C-BUS" data loading control function: this input is provided by the µController. Data transfer sequences are initiated, completed or aborted by the CSN signal. See "C-BUS" Timing Diagram. 7 IRQN O/P This output indicates an interrupt condition to the µController by going to a logic "0". This is a "wire-ORable" output, enabling the connection of up to 8 peripherals to 1 interrupt port on the µController. This pin has a low impedance pulldown to logic "0" when active and a highimpedance when inactive. An external pullup resistor is required. The conditions that cause interrupts are indicated in the STATUS register and are effective if not masked out by a corresponding bit in the CONTROL register. 8 CARRIER DETECT 1997 Consumer Microcircuits Limited O/P The carrier detect output for the FFSK Rx. 4 D/829/4 Baseband Signal Processor 1.3 FX829 Signal List (continued) Package D2/D5 Signal Pin No. Name Description Type 9 CARDCAP O/P The carrier detect integrating capacitor. 10 VBIAS O/P A bias line for the internal circuitry, held at ½ VDD. This pin must be decoupled by a capacitor mounted close to the device pins. 11 MIC I/P The ac coupled Tx audio input (external amplification is required for use as a microphone input). 12 Vss Power 13 DEMODIN I/P The ac coupled inverting input to the Rx input amplifier (AMP1). 14 DEMODFB O/P The output of the Rx input amplifier (AMP1) and the input to the audio filter/limiter section. 15 FILTER OUT O/P Output of the audio filter/limiter section. In powersave mode this output is connected to VBIAS via a 500kΩ resistor. 16 FFSK/DTMFOUT O/P The 1200 or 2400 baud FFSK Tx output and the DTMF encoder output. When enabled but not transmitting FFSK or DTMF signals, or when in powersave mode, this output is connected to VBIAS via a 500kΩ resistor. On power-up, this output can be any level: a General Reset command is required to ensure that this output attains VBIAS initially. 17 SUM IN I/P Input to the audio summing amplifier (AMP2). 18 SUM OUT O/P Output of the audio summing amplifier (AMP2). 19 MOD1 IN I/P Input to MOD1 audio gain control. 20 VOL IN I/P Input to the audio volume control. 21 AUDIO OUT O/P Output of the audio volume control. 22 MOD1 O/P Output of MOD1 audio gain control. 1997 Consumer Microcircuits Limited The negative supply rail (ground). 5 D/829/4 Baseband Signal Processor 1.3 FX829 Signal List (continued) Package D2/D5 Signal Pin No. Name 23 MOD2 24 VDD Notes: I/P = O/P = Description Type O/P Power Output of MOD2 audio gain control. The positive supply rail. Levels and voltages are dependent upon this supply. This pin should be decoupled to VSS by a capacitor. Input Output 1997 Consumer Microcircuits Limited 6 D/829/4 Baseband Signal Processor 1.4 FX829 External Components C1 C2 C3 C4 C5 C6 C7 C8 C9 22pF 22pF 68pF 0.1µF 0.1µF 100pF 0.1µF Note 2 5.6nF Notes: ±20% ±20% ±20% ±20% ±10% ±20% ±20% ±20% ±20% R1 R2 R3 R4 R5 R6 R7 1MW Note 1 Note 1 100kW 100kW Note 2 22kW ±5% ±10% ±10% ±10% ±10% ±10% ±10% X1 4.032MHz ±100ppm 1. R2, R3, R4 and C3 form the gain components for the Summing Amplifier (AMP2). R2 and R3 should be chosen as required from the system specification, using the following formulae: Audio Gain = − R4 DTMF Gain = − R4 R3 R2 2. R5, R6, C6 and C8 form the gain components for the Rx Input Amplifier (AMP1). R6 should be chosen as required by the signal level, using the following formula: Gain = − R5 R6 C8 x R6 should be chosen so as not to compromise the low frequency performance of this product. Figure 2 Recommended External Components 1997 Consumer Microcircuits Limited 7 D/829/4 Baseband Signal Processor 1.5 FX829 General Description The FX829 consists of five main sections: the audio filter section, the programmable attenuators, the DTMF encoder, the FFSK transmitter and the FFSK receiver. All these sections are controlled via a serial ("C-BUS") interface. The four sections are described below. Audio Filtering This consists of an input amplifier and a common audio filter section, which may be switched between Rx and Tx. The filter section comprises an anti-alias filter followed by low-pass and high-pass filtering with an amplitude limiter to set the maximum deviation. Three variable attenuation blocks may be used to set the volume (in Rx) or the modulation level (in Tx). Pre- and de-emphasis can be added externally using resistors and capacitors around AMP1, AMP2 and the microphone amplifiers, see Figure 7. The anti-alias filter is designed to reduce aliasing effects above 50kHz which is approximately half the internal filter's sample rate. The filtering is designed to meet the ETS 300 086 specification. Various powersave modes are incorporated. MOD1 and MOD2 Attenuators The MOD1 input can be connected directly to SUM OUT, so that the MOD1 and MOD2 outputs can then be used for two point modulation. Alternatively, the MOD1 attenuator can be used for auxiliary gain adjustment, in which case the input signal must be ac coupled with a suitable capacitor. DTMF Encoder This generates the standard DTMF tones according to the CONTROL 2 Register settings. It also has a powersave mode. FFSK Tx The Tx function of the FFSK modem operates continuously in a free format mode, which means that the preamble and frame sync have to be programmed like normal data bytes. However, a 2-byte checksum may be generated automatically by simply marking the beginning and end of the data to be used. Any number of whole bytes may be used to generate the checksum. After the last byte has been transmitted one additional "hang bit" is automatically added to the end. All Tx operations are programmed from the "C-BUS" via an 8-bit buffer. The Tx part of the FFSK modem has a powersave mode. The modulation output is one cycle of 1200Hz for a "1" and one and a half cycles of 1800Hz for a "0" at 1200 baud, or one half cycle of 1200Hz for a "1" and one cycle of 2400Hz for a "0" at 2400 baud. FFSK Rx In Rx, the modem automatically achieves bit sync and then recognises the previously selected SYNC and/or SYNT word of the MPT1327, ETS 300 230 or PAA1382 specifications. At the same time as the above, it can also recognise a user programmed 16-bit RX SYNC WORD. On reception of the SYNC, SYNT or RX SYNC WORD, the device will automatically (or manually at any time) start checking the data and checksum. It provides a 1-bit correct/incorrect result every byte, so that any number of bytes can be checked. The Rx part of the FFSK modem operates at 1200 or 2400 baud and has a powersave mode. Both FFSK Rx and Tx work in half duplex mode. 1997 Consumer Microcircuits Limited 8 D/829/4 Baseband Signal Processor 1.5.1 FX829 Software Description Address/Commands Instructions and data are transferred, via "C-BUS", in accordance with the timing information given in Figure 11. Instruction and data transactions to and from the FX829 consist of an Address/Command (A/C) byte followed by either: (i) (ii) a further instruction or data (1 or 2 bytes) or a status or Rx data reply (1 byte) 8-bit Write Only Registers HEX ADDRESS/ COMMAND REGISTER NAME BIT 7 (D7) BIT 6 (D6) BIT 5 (D5) BIT 4 (D4) BIT 3 (D3) BIT 2 (D2) BIT 1 (D1) BIT 0 (D0) N/A N/A N/A N/A N/A N/A N/A N/A $01 RESET $10 CONTROL 1 AMP1 AMP2 AUDIO FFSKRX FFSKTX UK/F MIC B/W $11 CONTROL 2 CHKSUM DTMFEN DTMFHI DTMFLO DTMF3 DTMF2 DTMF1 DTMF0 $13 AUDIO ATTENUATION 0 0 0 BIT 4 0 1200/2400 $40 CONTROL 3/ IRQ ENABLE $43 TXDATA <-------------------------- GAIN --------------------------> BIT 3 BIT 2 RX SYNC TXIDLEM RXDATAM TXDATAM WORD PRIME BIT 1 BIT 0 SYNT PRIME SYNC PRIME <----------------------------------------------- TXDATA -----------------------------------------------> BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 BIT 4 (D4) BIT 3 (D3) BIT 2 (D2) BIT 1 (D1) BIT 0 (D0) 16-bit Write Only Registers HEX ADDRESS/ COMMAND $12 $44 REGISTER NAME BIT 7 (D7) BIT 6 (D6) BIT 5 (D5) MOD LEVELS (1) 0 0 MOD 1 ENABLE <-------------------------- MOD 1 --------------------------> BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 (2) 0 0 0 <-------------------------- MOD 2 --------------------------> BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 RX SYNC WORD (1) <------------------------------------------- RX SYNC WORD -----------------------------------------> BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 (2) <------------------------------------------- RX SYNC WORD -----------------------------------------> BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 Write Only Register Description RESET Register (Hex address $01) The reset command has no data attached to it. It sets the device registers into the specific states as listed below: 1997 Consumer Microcircuits Limited 9 D/829/4 Baseband Signal Processor REGISTER NAME CONTROL 1 CONTROL 2 CONTROL 3/IRQ ENABLE AUDIO ATTENUATION TXDATA MOD LEVELS (1) MOD LEVELS (2) RX SYNC WORD (1) RX SYNC WORD (2) STATUS RXDATA FX829 BIT 7 (D7) 0 0 0 0 X 0 0 X X 0 X BIT 6 (D6) 0 0 0 0 X 0 0 X X 0 X BIT 5 (D5) 0 0 0 0 X 0 0 X X 0 X BIT 4 (D4) 0 0 0 0 X 0 0 X X 0 X BIT 3 (D3) 0 0 0 0 X 0 0 X X 0 X BIT 2 (D2) 0 0 0 0 X 0 0 X X 0 X BIT 1 (D1) 0 0 0 0 X 0 0 X X 0 X BIT 0 D0) 0 0 0 0 X 0 0 X X 0 X X = undefined CONTROL1 Register (Hex address $10) This register is used to control the functions of the device as described below: AMP1 (Bit 7) When this bit is "1", AMP1 is enabled. When this bit is "0", AMP1 is disabled (i.e. powersaved). AMP2 (Bit 6) When this bit is "1", both AMP2 and MOD2 are enabled. When this bit is "0", both AMP2 and MOD2 are disabled (i.e. powersaved) and the MOD2 output is pulled to VBIAS via a 1MW resistor. AUDIO (Bit 5) When this bit is "1", the audio filter/limiter section is enabled. When this bit is "0", the audio filter/limiter section is disabled (i.e. powersaved). FFSKRX (Bit 4) When this bit is "1", the FFSK Rx is enabled. When this bit is "0", the FFSK Rx is disabled (i.e. powersaved). Note: 1. The FFSK Rx and Tx cannot both be enabled at the same time. If both FFSKRX and FFSKTX are "1", then they will both be disabled (i.e. powersaved). FFSKTX (Bit 3) When this bit is "1", the FFSK Tx is enabled. When this bit is "0", the FFSK Tx is disabled (i.e. powersaved). Note: 1. The FFSK Tx and Rx cannot both be enabled at the same time. If both FFSKTX and FFSKRX are "1", then they will both be disabled (i.e. powersaved). 2. The DTMF Encoder and FFSK Tx cannot both be enabled at the same time. If both DTMFEN and FFSKTX are "1", then they will both be disabled. UK/F (Bit 2) When this bit is "1", the SYNC/SYNT is set to the PAA standard of "1011010000110011" (SYNC) When this bit is "0", the SYNC/SYNT is set to the MPT standard of "1100010011010111" (SYNC) 1997 Consumer Microcircuits Limited 10 D/829/4 Baseband Signal Processor FX829 MIC (Bit 1) When this bit is "1", the MIC input is enabled and the AMP1 (DEMODIN) input is disabled. When this bit is "0", the AMP1 (DEMODIN) input is enabled and the MIC input is disabled. B/W (Bit 0) When this bit is "1", the bandwidth of the audio path is set wide for 20kHz/25kHz RF channel spacing. When this bit is "0", the bandwidth of the audio path is set narrow for 12.5kHz RF channel spacing. CONTROL 2 Register (Hex address $11) This register is used to control the functions of the device as described below: CHKSUM (Bit 7) In the Tx mode, when this bit is "1", the checksum generator is enabled. All complete bytes that are transmitted after this time are used in the checksum calculation. When this bit goes from "1" to "0", the checksum generator will complete its calculations on the current byte and the result will be sent as the next two bytes of transmitted data. In the Rx mode, the "0" to "1" transition of the CHKSUM bit is used at the start of the next byte received at DEMODIN to manually reset the Rx checksum calculation, see Figure 4. The calculation can also be reset automatically by a SYNC, SYNT, or RX SYNC WORD detection - see CONTROL 3 / IRQ ENABLE Register. In this case, the Rx checksum calculation starts with the first data byte after the 2-byte sync word has been detected. The CHKSUM bit can be reset to "0" at any time. The result of the checksum is made available in the STATUS Register after the reception of every complete byte (See RXSUMF bit of the STATUS Register). Note that the device is designed to work with any message length, and as a consequence it is not aware of the position of the checksum within the incoming data message. It thus performs a checksum assessment after every received byte. The controlling software should use its knowledge of the system message length in order to determine which RXSUMF reading is valid, i.e. after the second of the two checksum bytes has been received. The timing of data bytes relative to the checksum bit is shown in Figures 3 and 4. 1997 Consumer Microcircuits Limited 11 D/829/4 Baseband Signal Processor FX829 Figure 3 Checksum Generation in Tx Mode Figure 4 Checksum Calculation in Rx Mode 1997 Consumer Microcircuits Limited 12 D/829/4 Baseband Signal Processor DTMFEN (Bit 6) FX829 When this bit is "1", the DTMF output is enabled. When this bit is "0", the DTMF output is disabled. As the powersave of the DTMF is performed in the DTMFHI and DTMFLO registers, this bit allows a fast start up time for the tones. Note: 1. The DTMF Encoder and FFSK Tx cannot both be enabled at the same time. If both DTMFEN and FFSKTX are "1", then they will both be disabled. DTMFHI (Bit 5) When this bit is "1", the DTMF high frequency tone generator is enabled. It will not appear on the output pin unless or until the DTMFEN is "1". When this bit is "0", the DTMF high frequency tone generator is disabled (i.e. powersaved). DTMFLO (Bit 4) When this bit is "1", the DTMF low frequency tone generator is enabled. It will not appear on the output pin unless or until the DTMFEN is "1". When this bit is "0", the DTMF low frequency tone generator is disabled (i.e. powersaved). DTMF3, DTMF2, DTMF1, DTMF0 (Bit 3, Bit 2, Bit 1, Bit 0) These four bits define the DTMF tones according to the table below: Bit 3 Bit 2 Bit 1 Bit 0 DTMF Tones DTMF 'Digit' 0 0 0 0 1209Hz + 697Hz 1 0 0 0 1 1209Hz + 770Hz 4 0 0 1 0 1209Hz + 852Hz 7 0 0 1 1 1209Hz + 941Hz * 0 1 0 0 1337Hz + 697Hz 2 0 1 0 1 1337Hz + 770Hz 5 0 1 1 0 1337Hz + 852Hz 8 0 1 1 1 1337Hz + 941Hz 0 1 0 0 0 1478Hz + 697Hz 3 1 0 0 1 1478Hz + 770Hz 6 1 0 1 0 1478Hz + 852Hz 9 1 0 1 1 1478Hz + 941Hz # 1 1 0 0 1634Hz + 697Hz A 1 1 0 1 1634Hz + 770Hz B 1 1 1 0 1634Hz + 852Hz C 1 1 1 1 1634Hz + 941Hz D 1997 Consumer Microcircuits Limited 13 D/829/4 Baseband Signal Processor FX829 AUDIO ATTENUATION Register (Hex Address $13) The five least significant bits in this register are used to set the attenuation of the audio volume control according to the table below: 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Audio Attenuation Off 48.0dB 46.4dB 44.8dB 43.2dB 41.6dB 40.0dB 38.4dB 36.8dB 35.2dB 33.6dB 32.0dB 30.4dB 28.8dB 27.2dB 25.6dB 24.0dB 22.4dB 20.8dB 19.2dB 17.6dB 16.0dB 14.4dB 12.8dB 11.2dB 9.6dB 8.0dB 6.4dB 4.8dB 3.2dB 1.6dB 0dB Bits 5, 6 and 7 should always be set to "0". CONTROL 3 / IRQ ENABLE Register (Hex address $40) This register is a mixture of control bits and interrupt mask bits, as detailed below: Bit 7 Not used, set to zero. 1200/2400 (Bit 6) When this bit is "1", the FFSK Rx and Tx are set to operate at 1200 baud. When this bit it "0", the FFSK Rx and Tx are set to operate at 2400 baud. 1997 Consumer Microcircuits Limited 14 D/829/4 Baseband Signal Processor FX829 TXIDLEM (Bit 5) When this bit is "1", the TXIDLE interrupt will be gated out to the IRQN pin. When this bit is "0", the TXIDLE interrupt will be inhibited. This bit has no effect on the contents of the STATUS register. RXDATAM (Bit 4) When this bit is "1", the RXDATA interrupt will be gated out to the IRQN pin. When this bit is "0", the RXDATA interrupt will be inhibited. This bit has no effect on the contents of the STATUS register. TXDATAM (Bit 3) When this bit is "1", the TXDATA interrupt will be gated out to the IRQN pin. When this bit is "0", the TXDATA interrupt will be inhibited. This bit has no effect on the contents of the STATUS register. RX SYNC WORD PRIME (Bit 2) When this bit is set to "1", it enables the RX SYNC WORD detection. It is cleared/disabled when a SYNC, SYNT, or RX SYNC WORD is detected. It may also be cleared/disabled by writing "0" directly to this bit. SYNT PRIME (Bit 1) When this bit is set to "1", it enables the SYNT detection. It is cleared/disabled when a SYNC, SYNT, or RX SYNC WORD is detected. It may also be cleared/disabled by writing "0" directly to this bit. SYNC PRIME (Bit 0) When this bit is set to "1", it enables the SYNC detection. It is cleared/disabled when a SYNC, SYNT, or RX SYNC WORD is detected. It may also be cleared/disabled by writing "0" directly to this bit. TXDATA Register (Hex Address $43) This is the Tx data output register. It is double buffered, thus giving the user up to 8 bit periods to load in the next 8 bits. FFSK data is transmitted immediately it is loaded if the transmitter is idle. Data is transmitted in 8bit bytes, bit 7 (MSB) will be transmitted first. 1997 Consumer Microcircuits Limited 15 D/829/4 Baseband Signal Processor FX829 MOD LEVELS Register (Hex address $12) The six least significant bits of the first byte in this register are used to set the attenuation of the Modulator 1 amplifier and the five least significant bits of the second byte in this register are used to set the attenuation of the Modulator 2 amplifier, according to the tables below: 5 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 X 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 X 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 X 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 X 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Mod. 1 Attenuation Disabled (VBIAS) >40dB 12.0dB 11.6dB 11.2dB 10.8dB 10.4dB 10.0dB 9.6dB 9.2dB 8.8dB 8.4dB 8.0dB 7.6dB 7.2dB 6.8dB 6.4dB 6.0dB 5.6dB 5.2dB 4.8dB 4.4dB 4.0dB 3.6dB 3.2dB 2.8dB 2.4dB 2.0dB 1.6dB 1.2dB 0.8dB 0.4dB 0dB 4 3 2 1 0 Mod. 2 Attenuation 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 >40dB 6.0dB 5.8dB 5.6dB 5.4dB 5.2dB 5.0dB 4.8dB 4.6dB 4.4dB 4.2dB 4.0dB 3.8dB 3.6dB 3.4dB 3.2dB 3.0dB 2.8dB 2.6dB 2.4dB 2.2dB 2.0dB 1.8dB 1.6dB 1.4dB 1.2dB 1.0dB 0.8dB 0.6dB 0.4dB 0.2dB 0dB X = don't care MOD1 ENABLE (Bit 5, first byte) When this bit is "1" the MOD1 attenuator is enabled. When this bit is "0" the MOD1 attenuator is disabled (i.e. powersaved). Bits 6 and 7 in the first byte and bits 5, 6 and 7 in the second byte should always be set to "0". MOD LEVELS (1) register is loaded first. Note: The MOD2 attenuator is enabled by the AMP2 ENABLE signal (bit 6 of CONTROL1 register). RX SYNC WORD Register (Hex $44) This is a two byte register that defines the 16-bit programmable synchronisation word. This word is compared with the incoming Rx data and, if a match is found, it is indicated in the STATUS register and an interrupt is generated. Bit 15, the MSB of the first byte, is loaded first. 1997 Consumer Microcircuits Limited 16 D/829/4 Baseband Signal Processor FX829 8-bit Read Only Registers HEX ADDRESS/ COMMAND REGISTER NAME $41 STATUS $42 RXDATA BIT 7 (D7) BIT 6 (D6) BIT 5 (D5) BIT 4 (D4) BIT 3 (D3) BIT 2 (D2) BIT 1 (D1) BIT 0 (D0) 0 RXSUMF TXIDLEF RXDATAF TXDATAF RX SYNC WORDF SYNTF SYNCF BIT 7 <--------------------------------------------- RXDATA ---------------------------------------------> BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 Read Only Register Description STATUS Register (Hex address $41) This register is used to indicate the status of the device as described below: Bit 7 Not used, always set to zero. RXSUMF (Bit 6) When this bit is "1", the Rx checksum is correct. When this bit is "0", the Rx checksum is incorrect. This bit is updated and latched in after reception of every eight bits (see CHKSUM bit of the CONTROL2 register). TXIDLEF (Bit 5) When all the Tx data and any checksum and one "hang-bit" have been transmitted, this bit will be set to "1" to indicate that the transmitter is idle. This bit is reset to "0" immediately after reading the STATUS register. When this bit is set to "1", an interrupt may be generated depending on the state of the TXIDLEM bit in the CONTROL 3 / IRQ ENABLE register. RXDATAF (Bit 4) When a full byte of data is received and is available in the RXDATA register, this bit will be set to "1". This bit is reset to "0" immediately after reading the STATUS register. When this bit is set to "1" an interrupt may be generated depending on the state of the RXDATAM bit in the CONTROL 3 / IRQ ENABLE register. TXDATAF (Bit 3) When the Tx data buffer is empty this bit will be set to "1". This bit is reset to "0" immediately after reading the STATUS register. When this bit is set to "1", an interrupt may be generated depending on the state of the TXDATAM bit in the CONTROL 3 / IRQ ENABLE register. RX SYNC WORDF (Bit 2) This bit is only defined when RX SYNC WORD PRIME is enabled. When the data sequence specified in the RX SYNC WORD register has been successfully matched to the Rx incoming data, this bit will be set to "1". This bit is reset to "0" immediately after reading the STATUS register. When this bit is set to "1", an interrupt will be generated, the checksum generator and byte counter will be reset and SYNC PRIME, SYNT PRIME and RX SYNC WORD PRIME will be reset. SYNTF (Bit 1) This bit is only defined when SYNT PRIME is enabled. When the data sequence specified by SYNT has been successfully matched to the Rx incoming data, this bit will be set to "1". This bit is reset to "0" immediately after reading the STATUS register. When this bit is set to "1", an interrupt will be generated, the checksum generator and byte counter will be reset and SYNC PRIME, SYNT PRIME and RX SYNC WORD PRIME will be reset. 1997 Consumer Microcircuits Limited 17 D/829/4 Baseband Signal Processor SYNCF (Bit 0) FX829 This bit is only defined when SYNC PRIME is enabled. When the data sequence specified by SYNC has been successfully matched to the Rx incoming data, this bit will be set to "1". This bit is reset to "0" immediately after reading the STATUS register. When this bit is set to "1", an interrupt will be generated, the checksum generator and byte counter will be reset and SYNC PRIME, SYNT PRIME and RX SYNC WORD PRIME will be reset. RXDATA Register (Hex address $42) This register contains the last byte of data received. It is updated every 8 bits at the same time as the RXSUMF bit in the STATUS register is updated. The RXDATA register is double buffered, thus giving the user up to 8 bit periods to read the data before it is overwritten by the next byte. 1.5.2 FFSK Checksum Generation and Checking Generation The checksum generator takes the m x 8 bits from the m bytes of information, sequentially loaded into the TXDATA register and divides them modulo-2, by the generating polynomial: X15 + X14 + X13 + X11 + X4 + X2 + 1 It then takes the 15-bit remainder from the polynomial divider, inverts the last bit and appends an EVEN parity bit generated from the initial m x 8 bits and the 15-bit remainder (with the last bit inverted). This 16-bit word is used as the "CHECKSUM". See Figure 5. (m = the number of bytes in the information to be sent) Figure 5 Checksum Generation 1997 Consumer Microcircuits Limited 18 D/829/4 Baseband Signal Processor FX829 Checking The checksum checker performs two tasks: It takes the first n-1 bits of a received (n = 8m + 16 bits) message, inverts bit n-1, and divides them modulo-2, by the generating polynomial: X15 + X14 + X13 + X11 + X4 + X2 + 1 The 15 bits remaining in the polynomial divider are checked for all zero. Secondly, it generates an EVEN parity bit from the first n-1 bits of a received message and compares this bit with the received parity bit (bit n). See Figure 6. If the 15 bits in the polynomial divider are all zero, and the two parity bits are equal, then the RXSUMF bit (STATUS register bit 6) is set. This is updated and latched every 8 bits, starting at the bit immediately after the initialisation of the bit counter. This initialisation takes place on detection of frame synchronisation, i.e. the matching of received data to the SYNC, SYNT or RX SYNC WORD. Note that the checksum is calculated on the received data before it is double buffered (see Figure 4). n = the number of bits in the received message m = the number of bytes of transmitted data, excluding checksum Figure 6 Checksum Checking 1997 Consumer Microcircuits Limited 19 D/829/4 Baseband Signal Processor 1.6 FX829 Application Notes The following block diagrams show the possible arrangements for the pre- and de-emphasis required by PAA1382 and MPT1327 specifications. Figure 7a Transmitter Pre-emphasis (showing both pre-emphasis positions, as required by the PAA1382 specification. Remove pre-emphasis 2 for the MPT1327 specification requirement) Figure 7b PAA1382 Receiver De-emphasis (showing position of de-emphasis in all paths, as required by the PAA1382 specification) Figure 7c MPT1327 Receiver De-emphasis (showing position of de-emphasis in audio path only, as required by the MPT1327 specification) 1997 Consumer Microcircuits Limited 20 D/829/4 Baseband Signal Processor FX829 The FX829 should be programmed in the following manner: 1. Perform a General Reset when first applying power to the FX829. 2. Program the FX829 configuration whilst in powersave. e.g. 3. UK/F, MIC, B/W, 1200/2400, DTMF0-3, DTMFHI, DTMFLO, TXIDLEM, RXDATAM, TXDATAM, RX SYNC WORD PRIME, SYNT PRIME, SYNC PRIME, MOD1, MOD2, RX SYNC WORD and AUDIO ATTENUATOR. Take the appropriate parts of the FX829 out of powersave by enabling: AMP1, AMP2, MOD1, MOD2, AUDIO and (DTMFEN or FFSKTX or FFSKRX). 4. In DTMF Tx mode, a DTMF tone will be generated for the duration that DTMFEN is set to “1”. 5. In FFSK Rx mode, wait for an interrupt (IRQN = “0”) or poll the STATUS register. Remember that all status flags are reset after reading the STATUS register. (a) If RXSYNCWORDF, SYNTF or SYNCF become set to “1”, the corresponding synchronisation word has been detected. This indicates the start of valid Rx data. The checksum calculation will be automatically reset. Note that the timing of RXDATAF will be re-aligned by the generation of a SYNC, SYNT or RX SYNC WORD interrupt. (b) When RXDATAF subsequently becomes set to “1”, read the Rx data from the RXDATA register. (Note that RXDATAF will be set every 8 bits regardless of whether valid Rx data is being received or not. Sync and checksum patterns should be considered for validating the data). (c) If RXSUMF becomes set to “1”, then all of the Rx data sent (starting after the synchronisation word and terminating with a checksum) will have been correctly received. Note that it is necessary to know in advance what message length is expected, in order to determine at which point RXSUMF is valid (i.e. after the interrupt for the second checksum data byte being received has occurred). The RXSUMF bit is invalid at all other times. When RXSUMF becomes set to “1”, the last two bytes of Rx data received will represent the twobyte checksum transmitted. The first checksum byte will already have been read from the RXDATA register, the last byte is available to be read, as the RXDATAF bit will also have been set to “1”. 6. In FFSK Tx mode, wait for an interrupt (IRQN = “0”) or poll the STATUS register. Remember that all status flags are reset after reading the STATUS register. (a) Do not send Tx data until the TXDATAF bit has been set to “1”. When the TXDATAF bit is next set to “1”, write the first byte of Tx data to the TXDATA register. If the transmit buffer is empty, this data will be transmitted immediately, causing the TXDATAF bit to be set to “1” approximately one FFSK bit-period after the TXDATA register has been loaded with data. (Any TXIDLEF bit set upon entering FFSK Tx mode should be ignored). (b) The next byte of Tx data should be written to the TXDATA register as soon as the TXDATAF bit has been set to “1”. Once this has been done, the TXDATAF bit will again be set to “1” eight FFSK bit-periods after the TXDATA register was loaded with the second byte of data. 1997 Consumer Microcircuits Limited 21 D/829/4 Baseband Signal Processor FX829 (c) Subsequent bytes of Tx data should be written to the TXDATA register as soon as the TXDATAF bit has been set to”1”. After the last byte of Tx data has been loaded, the TXDATAF bit will be set after both 8 and 16 FFSK bit-periods followed by the TXIDLEF bit which will be set approximately one FFSK bit-period later, to indicate that the final bit has been transmitted. (d) The TXDATAF bit will continue to be set every 8 FFSK bit-periods, regardless of whether Tx data is written to the TXDATA register or not, providing the transmitter is enabled (FFSK Tx mode = FFSKTX bit set to “1”). Note that whilst the 2-byte checksum is being generated and transmitted, the TXDATAF bit will not be set for approximately 24 FFSK bit-periods. 1997 Consumer Microcircuits Limited 22 D/829/4 Baseband Signal Processor FX829 Figure 8 Reception of 2 Bytes of Data 1997 Consumer Microcircuits Limited 23 D/829/4 Baseband Signal Processor FX829 Figure 9 Transmission of 3 Bytes of Data 1997 Consumer Microcircuits Limited 24 D/829/4 Baseband Signal Processor 1.7 Performance Specification 1.7.1 Electrical Performance FX829 Absolute Maximum Ratings Exceeding these maximum ratings can result in damage to the device. Supply (VDD - VSS) Voltage on any pin to VSS Current into or out of VDD and VSS pins Current into or out of any other pin D2 Package Total Allowable Power Dissipation at Tamb = 25°C ... Derating Storage Temperature Operating Temperature Min. -0.3 -0.3 -30 -20 Max. 7.0 VDD + 0.3 +30 +20 Units V V mA mA Min. Max. 800 13 +85 +85 Units mW mW/°C °C °C Max. 550 9 +85 +85 Units mW mW/°C °C °C Max. 5.5 +85 4.0324032 Units V °C MHz -40 -40 D5 Package Total Allowable Power Dissipation at Tamb = 25°C ... Derating Storage Temperature Operating Temperature Min. -40 -40 Operating Limits Correct operation of the device outside these limits is not implied. Notes Supply (VDD - VSS) Operating Temperature Xtal Frequency 1997 Consumer Microcircuits Limited 25 Min. 3.0 -40 4.0315968 D/829/4 Baseband Signal Processor FX829 Operating Characteristics For the following conditions unless otherwise specified: Xtal Frequency = 4.032MHz, Bit Rate = 1.2k bits/sec, Noise Bandwidth = Bit Rate, Audio Level 0dB ref = 308mVrms at 1kHz VDD = 3.3V to 5.0V, Tamb = -40°C to +85°C. Notes Min. Typ. Max. Units 2 2 2 2 - 0.6 5.0 0.3 2.7 1.5 8.0 1.0 4.0 mA mA mA mA 70% -1.0 90% - 30% 1.0 7.5 9 - - 10% 10 VDD VDD µA pF VDD VDD µA 8 8 - 308 308 - mVrms mVrms 1, 6, 8 1, 6, 7, 8 291 - 308 1440 326 - mVrms mVpk-pk 5 5 5, 14 5 -2.0 - 0 59 -55 0.5 - dB dB dBp dB Narrrow Audio Bandwidth Setting Passband Frequencies Stopband Attenuation: (f = 100Hz) (f = 3400Hz) (f = 6000Hz) (f = 12500Hz) 5 5 5 5 5 300 10.5 25 3.0 5.5 24 49 2550 - Hz dB dB dB dB Wide Audio Bandwidth Setting Passband Frequencies Stopband Attenuation: (f = 100Hz) (f = 3400Hz) (f = 6000Hz) (f = 25000Hz) 5 5 5 5 5 300 10.5 39.5 3.0 3.0 19 68 3000 - Hz dB dB dB dB DC Parameters IDD (Powersaved) IDD (Tx or Rx Voice) IDD (Powersaved) IDD (Tx or Rx Voice) (VDD = 5.0V) (VDD = 5.0V) (VDD = 3.3V) (VDD = 3.3V) "C-BUS" Interface Input Logic "1" Input Logic "0" Input Leakage Current (logic "1" or "0") Input Capacitance Output Logic "1" (IOH = 120µA) Output Logic "0" (IOL = 360µA) "Off" State Leakage Current (Vout = VDD) AC Parameters Input Sensitivity (for 0dB output) Tx Audio Input (MIC) Rx Audio Input (DEMODFB) Output Drive Level For 60% Deviation For 100% Deviation Audio Filters Gain at 1kHz Passband Ripple SINAD Signal Path Noise 1997 Consumer Microcircuits Limited 26 D/829/4 Baseband Signal Processor FX829 Notes Amp 1 and Amp 2 Open Loop Gain Unity Gain Bandwidth Input Impedance Output Impedance Min. Typ. Max. Units 10 - 70 5.0 6.0 600 2 5 dB MHz MΩ kΩ Ω % 300 -1 - 1.0 500 0 +2.0 0 2 2.5 +1 5 kΩ kΩ dB dB dB % 25 25 20 20 2 40 40 30 30 3 µs µs µs µs % -0.5 1300 - 0.5 mVpk-pk dB - 15.0 - kΩ 3 0 -1.0 0.2 - 0.4 600 12.0 1.0 0.6 - dB dB dB Ω 3 0 -0.6 0.1 - 0.2 600 6.0 0.6 0.3 - dB dB dB Ω 3 0 -1.5 - 1.6 600 48.0 1.5 - dB dB dB Ω (I/P = 1mV at 100Hz) (at 100Hz) (Open Loop) (Closed Loop) Distortion (DTMF) FFSK/DTMF TX OUT Tx O/P impedance (not powersaved) Tx O/P impedance (powersaved) Signal Level (FFSK) Signal Level (DTMF High Tone) Signal Level (DTMF Low Tone) Distortion (DTMF) 3 3 1 1 1 FFSK TX OUT Isochronous Distortion: (1200Hz - 1800Hz) (1800Hz - 1200Hz) (1200Hz - 2400Hz) (2400Hz - 1200Hz) Third Harmonic Distortion Deviation Limiter Threshold Gain 1 Transmitter Modulator Drives Input Impedance (MOD1 IN, VOLUME IN) (at 100Hz) Mod.1 Attenuator Nominal Adjustment Range Attenuation Accuracy Step Size Output Impedance Mod.2 Attenuator Nominal Adjustment Range Attenuation Accuracy Step Size Output Impedance Audio Output Attenuator Nominal Adjustment Range Attenuation Accuracy Step Size Output Impedance 1997 Consumer Microcircuits Limited 27 D/829/4 Baseband Signal Processor FFSK Receiver Signal Input Dynamic Range (SNR = 50dB) Bit Error Rate (SNR = 12dB at 1200 Baud) (SNR = 12dB at 2400 Baud) (SNR = 20dB at 1200/2400 Baud) Receiver Synchronisation (SNR = 12dB) Probability of Bit 16 being correct Carrier Detect Sensitivity Probability of Carrier Detection - After Bit 16 (SNR = 12dB) - With 230mVrms Noise (No Signal) FX829 Notes Min. Typ. Max. Units 10, 11 100 230 1000 mVrms 11 11 11 - 2.5 1.5 1.0 - 10-4 10-3 10-8 150 mVrms - Ω MΩ 12 0.995 12, 13 0.995 0.05 Miscellaneous Impedances FILTER OUT Tx Audio Input (MIC) (at 100Hz) 10 Xtal/Clock Input 'High' pulse width 'Low' pulse width Input Impedance (at 100Hz) Gain (I/P = 1mVrms at 100Hz) Notes: - 4 4 40 40 10 20 600 - ns ns MΩ dB 1. At VDD = 5.0V only. Signal levels are proportional to VDD. 2. Not including any current drawn from the modem pins by external circuitry. Powersaved = all functions disabled. Tx or Rx = device configured into any half-duplex operating mode. Currents measured at Tamb = 25°C only. 3. Small signal impedance, at VDD = 5.0V and Tamb = 25°C. A minimum load resistance of 6kΩ is suggested. 4. Timing for an external input to the XTAL/CLOCK pin. 5. Between MIC or AMP1 inputs to Modulator and Audio outputs, see Figures 10a and 10b. 6. It is recommended that these output levels are used to produce 60% or 100% deviation in the transmitter. 7. With the Tx Audio input level 20dB above the level required to produce 0dB at the Output Drives. 8. With output gains set to 0dB. 9. IRQN pin. 10. See Figure 13 (variation of BER with Input Signal Level). 11. SNR = Signal to Noise Ratio in the Bit Rate Bandwidth. 12. For a "10101010101 ...01" pattern. 13. Measured with a 150mVrms input signal (no noise). 14. dBp represents a psophometrically weighted measurement. 1997 Consumer Microcircuits Limited 28 D/829/4 Baseband Signal Processor FX829 10 Response m ust not exceed this lim it 0.5dB 0 -2dB -10.5 dB -10 Gain (dB) -14 dB/octave -20 -30 -40 -50 -60 300 10 100 2.55k 20k 6k 1,000 10,000 100,000 Frequency (Hz) Figure 10a Overall Audio Frequency Response for 12.5kHz Channel Separation 10 Response m ust not exceed this lim it 0.5dB 0 -2dB -10.5 dB -10 Gain (dB) -14 dB/octave -20 -30 -40 -50 -60 300 10 100 3k 1,000 6k 20k 10,000 100,000 Frequency (Hz) Figure 10b Overall Audio Frequency Response for 20kHz/25kHz Channel Separation 1998 Consumer Microcircuits Limited 29 D/829/4 Baseband Signal Processor 1.7.1 FX829 Electrical Performance (continued) Figure 11 "C-BUS" Timing For the following conditions unless otherwise specified: Xtal Frequency = 4.032MHz, VDD = 3.3V to 5.0V, Tamb = -40°C to +85°C. Parameter Notes Min. Typ. Max. Units tCSE "CS-Enable to Clock-High" 2.0 - µs tCSH Last "Clock-High to CS-High" 4.0 - µs tHIZ "CS-High to Reply Output 3-state" - 2.0 µs tCSOFF "CS-High" Time between transactions 2.0 - µs tNXT "Inter-Byte" Time 4.0 - µs tCK "Clock-Cycle" time 2.0 - µs Notes: 1. Depending on the command, 1 or 2 bytes of COMMAND DATA are transmitted to the peripheral MSB (bit 7) first, LSB (bit 0) last. REPLY DATA is read from the peripheral MSB (bit 7) first, LSB (bit 0) last. 2. Data is clocked into and out of the peripheral on the rising SERIAL CLOCK edge. 3. Loaded commands are acted upon at the end of each command. 4. To allow for differing µController serial interface formats "C-BUS" compatible ICs are able to work with either polarity SERIAL CLOCK pulses. 1997 Consumer Microcircuits Limited 30 D/829/4 Baseband Signal Processor FX829 Figure 12 Bit Error Rate Graph Figure 13 Typical Variation of Bit Error Rate with Input Signal Level 1997 Consumer Microcircuits Limited 31 D/829/4 Baseband Signal Processor 1.7.2 FX829 Packaging Figure 14 D2 Mechanical Outline: Order as part no. FX829D2 Figure 15 D5 Mechanical Outline: Order as part no. FX829D5 1997 Consumer Microcircuits Limited 32 D/829/4 Baseband Signal Processor FX829 Figure 16 P4 Mechanical Outline: Order as part no. FX829P4 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. CONSUMER MICROCIRCUITS LIMITED 1 WHEATON ROAD WITHAM - ESSEX CM8 3TD - ENGLAND Telephone: Telefax: e-mail: +44 1376 513833 +44 1376 518247 [email protected] http://www.cmlmicro.co.uk CML Microcircuits COMMUNICATION SEMICONDUCTORS CML Product Data In the process of creating a more global image, the three standard product semiconductor companies of CML Microsystems Plc (Consumer Microcircuits Limited (UK), MX-COM, Inc (USA) and CML Microcircuits (Singapore) Pte Ltd) have undergone name changes and, whilst maintaining their separate new names (CML Microcircuits (UK) Ltd, CML Microcircuits (USA) Inc and CML Microcircuits (Singapore) Pte Ltd), now operate under the single title CML Microcircuits. These companies are all 100% owned operating companies of the CML Microsystems Plc Group and these changes are purely changes of name and do not change any underlying legal entities and hence will have no effect on any agreements or contacts currently in force. CML Microcircuits Product Prefix Codes Until the latter part of 1996, the differentiator between products manufactured and sold from MXCOM, Inc. and Consumer Microcircuits Limited were denoted by the prefixes MX and FX respectively. These products use the same silicon etc. and today still carry the same prefixes. In the latter part of 1996, both companies adopted the common prefix: CMX. This notification is relevant product information to which it is attached. Company contact information is as below: CML Microcircuits (UK)Ltd CML Microcircuits (USA) Inc. CML Microcircuits (Singapore)PteLtd COMMUNICATION SEMICONDUCTORS COMMUNICATION SEMICONDUCTORS COMMUNICATION SEMICONDUCTORS Oval Park, Langford, Maldon, Essex, CM9 6WG, England Tel: +44 (0)1621 875500 Fax: +44 (0)1621 875600 [email protected] www.cmlmicro.com 4800 Bethania Station Road, Winston-Salem, NC 27105, USA Tel: +1 336 744 5050, 0800 638 5577 Fax: +1 336 744 5054 [email protected] www.cmlmicro.com No 2 Kallang Pudding Road, 09-05/ 06 Mactech Industrial Building, Singapore 349307 Tel: +65 7450426 Fax: +65 7452917 [email protected] www.cmlmicro.com D/CML (D)/1 February 2002