CMLMICRO CMX850-1

CMX850 Communications Controller IC
INNOVATIONS
INV/Telecom/850/2 November 2003
- Single-Chip Embedded 80C51 µC with Integral V.22bis Modem www.cmlmicro.com
Further enhancement of this product has resulted in a group of additional functions which enable the use of the product in a much larger range of wireline telecom
end-products. This updated Innovations document details the functions and features of the CMX850 and the product enhancements.
- this highly integrated product removes the need, in a communications end-product, for multiple ICs and their attendant components -
Enhanced 80C51 µC with Internal Memory
Applications - Low power and battery-operated
n
n
n
n
n
communications terminals which need to access the PSTN
to upload or download data
n SMS and ADSI Terminals
n Telemetry and Remote Meter Reading
n Vending and Gaming Machines
n Feature Phones, Smart Phones and Pay Phones
n Telephone Routers
n SIA Security Alarms
n EPOS and ATM Terminals
n
Extended Memory Addressing
Versatile Memory and Peripheral Interfacing
8kB Internal XRAM
‘Real-Time’ Clocks and Timing Facilities
Dynamic In-Circuit Programming and
Software Upgrading in the Field via Boot
ROM Facility
Low Power ‘Sleep’ Modes with Programmable
Wakeup
n E-mail and Internet Appliances
Integral Low-Power Modem plus . . .
n
n
n
Integral V.22bis, V.22, V.23 and V.21 (and Bell)
Modems
Stand-Alone FSK (CLI) Demodulator and HighSensitivity CAS Tone Detector
Full-Feature Programmable Telephone Signalling Facilities
Stand
with
Enhanced
Facilities
-Alo
Config
(CLI)
ne FSK
Demod
CMX850
Communications
Controller
On-Chip Boot ROM
urable
Tx DTM
- V.22bis Modem - Wireline Signalling - Embedded 80C51 µController - CLI Demodulator - On-Chip RAM - Versatile General Purpose I/O Ports - Boot ROM Reprogramming Feature - 100-pin LQFP Package - 3V Low-Power Operation with Advanced Dynamic Power Management and Powersave Modes -
CTR21 and FCC68
Line Interface (DAA)
F Twis
t Designs
EV8500
Evaluation
Kit
- A single-chip product that provides ALL the functions required (data, memory, signalling, switching and control) for
stand-alone wireline telecoms terminals CML Microcircuits
COMMUNICATION SEMICONDUCTORS
Application Specific Standard Products for Wireline Telecoms, Two-Way Radio and Wireless Data
Wireline
Telecoms
The CML Advantage
- Save Time - Save Space - Save Money - Save Power An extremely compact and low-power microcircuit that will satisfy all of the communications, control, data and signalling requirements of any wireline product using on-line communication
n
Highly integrated single product replaces multiple ICs and components
n
Line reversal, ring-tone and off-hook detection
n
Enhanced 80C51 µController with WDT, ADC, 8kB XRAM, keyboard encoder, extended addressing
of multiple blocks (64kB) of external memory, PWM outputs and dual clocks with separate Xtals
n
Improved sensitivity CAS tone detection and stand-alone FSK demodulator for CLI Types I and II will
allow on-hook CLI operations whilst all other functions are in powersave
n
On-Chip Boot ROM facility available for in-circuit programming and software upgrading in the field
n
Low voltage (3.0 to 3.6 V) operation with comprehensive on-chip power management
n
Integral modem: V.22bis, V.22, V.23, V.21 and Bell equivalents
n
CMX850L8 100-pin low profile, small footprint quad flat pack (LQFP) package saves PCB space
n
Easy integration with peripherals (Flash, ROM, RAM, LCD circuits and keyboard)
n
Compact multi-function product saves design and production time and costs
n
13 interrupt sources
n
CML support is available globally for design and implementation assistance
n
Rx/Tx audio-tone telephone signalling including DTMF function
n
n
Programmable Tx DTMF Twist to facilitate operation to many telephone systems and for use in
lower-cost DAA circuits
EV8500 EvKit aids experimentation and product evaluation; accelerates
hardware and software design times
n
CTR21 and FCC68 DAA interface designs available from CML website
h
t
i
W
DAA
(info available)
ROM /
FLASH
- OR -
Wit
ho
+
ut
DAA
RAM
+
ROM /
FLASH
WDT
+
+
Modem
Keyboard
Driver
µC
CMX850
Keyboard
+
+
Measurement
and
Control
ADC
LCD
Driver
3V
Power
Supply
LC
Display
CMX850
Typical Control and Monitoring System employing the CMX850
[reduced chip and component count, integrated software
and much lower power and PCB requirement]
PWM
Measurement
and
Control
+
Xtal
Select
Power
Supply and
Circuitry
Keyboard
LCD
Driver
LC
Display
Typical Control and Monitoring System
[high chip and component count, high power and PCB requirement,
diverse software load]
Contents
The CML Advantage 2 Functional Block Diagram 3 Embedded Microcontroller 4 Integral Low Power Modem 5 CMX850 in Action 6
Demonstration, Design, Evaluation, Investigation and Implementation 7 Wireline Telecoms Products 8
2
Functional Block Diagram
ROM / FLASH Memory
Low-Power Operation
n 3.0 to 3.6 volt operating range
CMX850 Communications Controller
To Telephone
Interfaces
Phone
Line
Tip/Ring from
Telco
Bell 103
DTMF
Pulse Tone
V.22bis
V.22
V.23
V.21
Bell 212A
Bell 202
Ring/Line Reverse Detect
Dual Tone Detect
Hook Detect
Relay Drive
CAS
Type II
FSK
Demod
Watchdog Real-Time
Timer
Clock
ADC
Local Bootstrap
ROM
80C51 µC
256x8 Local
RAM
8kx8 XRAM
LCD Controller and Display
Modem
Memory Interface:
16-bit address
8-bit data
24 bit I/O
or
8 x 16 keyboard
matrix scanner
n Full operation at 3.3V
=
6.6mA typ.
n Powersave at 3.3V
=
6.0µA typ.
n Separate analogue and digital supply sections
Advance Power Management
n The power efficiency of the CMX850 is infinitely variable in-line with
dynamic operational demands
n Low power RC oscillator and powerdown speed-control for 80C51
clock
n Standard 80C51 idle and powerdown modes; with automatic exit
without reset
n External interrupts (ie. keyboard input) can bring the CMX850 µC up
from powerdown without system reset
n Real-time clock and alarm interrupts available for µC ‘wake-up’
PWM x 2 or
2-bit I/O
n ADC monitoring can wake the µC on an input signal or level
Peripheral Powersave
n The following µC peripheral functions can be powersaved:
Modem - CAS Detector - A-to-D Converter - Pulse Width Modulator Real Time Clock - Watch-Dog Timer - Keyboard Encoder
Oscillator and
Power Control
n Modem powersave - disables all modem-section circuitry except ‘C-BUS’
and ‘Ring’ and ‘Hook’ detectors
Keyboard
Relay
Control
n Controlling firmware is held in external FLASH memory accessed via the Memory Interface
n Dynamic in-circuit programming and software upgrading in the field via Boot-ROM facility
n Communication between the embedded V.22bis modem and the µC is over an internal serial bus
via the ‘C-BUS’ Controller
‘C-BUS’ Emulation for Modem Comms
n Communication between internal modem and µC uses standard CML ‘C-BUS’ protocol
n ‘C-BUS’ controller registers are mapped via Special Function Registers (SFRs) in core
Dual Clocks and On-Chip RC Oscillator
n Selectable 11.0592 or 12.288 MHz Xtal system clock
100-pin low profile, small footprint quad flat package
n 5.5MHz on-chip RC oscillator option for non-time critical operations
n Ultra-low power 32.768kHz Xtal clock for real-time clock operation in powersave
3
Embedded Enhanced 80C51 Microcontroller and Peripherals
All the features of a standard 80C51 µC augmented by many new and flexible functions
Hardware
n 8kbytes of internal RAM
n Addressing for 64kbytes of external program memory, 64kbytes of external SRAM and an external
LCD controller
WDT
RTC
ADC
n On-Chip Boot ROM (‘thin-stub’/’thick-stub’ loader)
n Dual clock system with sub-divided main clock and multiple powersaving options
n Two input 10-bit A-to-D converter
CLI
Decode
n ‘C-BUS’ controller to on-chip modem
n Watchdog timer
Modem/µC
Interface
n Real time clock and alarm
n Multiplexed address / data mode giving extra I/O and debug help
n Keyboard encoder (16 x 8 matrix)
n Two low-power PWM outputs
Local
RAM
80C51
8k
XRAM
External XRAM Addressing
PWM
n Simple addressing of up to 64kB of SRAM
n Increased memory addressing using port-pins for ‘page mode’ and ‘program memory’ operation
24-Bit
I/O
Keyb’d
Scanner
I/O
Real and Virtual Timing
n Selectable Real Time (long period) Clock timer with alarm facilities
n WatchDog Timer for CMX850 system monitoring
LCD Interface
n Wide range of timeout values
n Timeout ‘reset’ or ‘interrupt’ options
n Compatible with any size LCD
n Direct interface with 4- or 8-bit data bus
Software
Keyboard Encoder
n Additional interrupts serve new controller functions
n MOVX read and write to internal XRAM, external ROM/FLASH, external SRAM or external
LCD controller
n Dual data pointers for easy data-block moves
n
n
n
n
Full ‘n-key’ rollover with key debounce and separate ‘press’ and ’release’ indications
8-character FIFO data buffer
Automatic ‘sleep’/’wake-up’ option for low-power operation and reduced EMI
8 row input pins with integral pull-up resistors
n Special Function Register (SFR) extensions to interface with new 80C51 features
n 1 to 13 column drive pins - increased to 16 by multiplexed memory interface
PROM Emulator Interfacing
ADC Inputs
n Interrupt Int 9 provides control priority for program review and problem solving
n
n
n
n
n
n MOVX read/write stretch for slower peripherals
For signal and level monitoring
Multiplexed to 10-bit ADC
‘One-shot’ or ‘continuous convert’ mode with sample and hold facility
Selectable sample rate; up to 20kHz
Interrupt generation available
Low-Power PWM Outputs
n Two independent, 8-bit Pulse Width Modulation outputs
n Fixed frequency square-wave output with programmable duty cycle
4
Memory
Interface
Integral Low-Power Modem
Modem Data Options
Modem Features
V.14 Compatible USART
n V.22bis 2400b/s QAM
n Individual Rx and Tx facilities
n V.22 1200 or 600 b/s DPSK
Data Scrambling (DPSK and QAM)
n V.23 1200 or 75 b/s FSK
n Twin selectable data scramble and descramble formats
n V.21 300b/s FSK
Modem Powersave
n Bell 212A 1200 or 600 b/s DPSK
n Bell 202 1200 or 150 b/s FSK
n Disables all modem-section circuitry except for ‘C-BUS’ and the
‘Ring’ and ‘Hook’ detectors
n Bell 103 300b/s FSK
Rx and Tx Line Equalisation
n ‘Fixed compromise’ line equaliser for 600, 1200 and 2400 bps
Analogue Input / Output Control and Paths
Line Interface
descramble
enable
CMX850 Modem Section
Rx Modem Filter
and
Equaliser
2 or 4 line system
DTMF / Tone
Call Progress /
Answer Tone
Detectors
EN
Phone Interface
n Selectable ‘line’ and ‘phone’ line drives via differential amplifiers
Level Setting
QAM/DPSK
Demodulator
n Independent Rx and Tx (phone and line) setting;
Range: 0 to -10.5 dB
FSK
Demodulator
'C-BUS'
Serial
Interface
Modem Energy
Detector
‘C-BUS’ Interface
Rx Pattern Detection
SERIAL CLOCK
n 10101010 ... bit reversals (FSK)
n Continuous 1s (DPSK and QAM)
n Continuous 0s (DPSK and QAM)
COMMAND DATA
REPLY DATA
telephone
S
EN
Transmit Filter
and
Equaliser
FSK
Modulator
QAM/DPSK
Modulator
to on-chip
‘C-BUS’
Controller
DTMF / Tone
Generator
scramble
enable
RING
DETECT
OFF-HOOK
DETECT
Inband Audio
CSN
IRQN
RT
RD
RDRVN
HT
HD
DTMF and Single Tones
n Generates and detects single or dual frequency inband tones
n Programmable tones, tone pairs and bandwidths
n Programmable Tx DTMF twist
Custom Tones/Pairs
n 2 Rx and 4 Tx Tone Pairs can be programmed (max f = 3.4kHz)
n Tx/Rx CAS Tone features available (2130 + 2750 Hz)
n Frequency and level setting facility
Call Progress Frequency Detection
n Detects and indicates inband tones in range: 275 to 665 Hz
Answer Tone Detection
n Indicates when a valid 2225Hz or 2100Hz signal is detected
Relay Drive Output
n Available for ‘hook-switch’ type operations
‘Off Hook’ and ‘Ring’ Detection
Modulation Schemes
n
QAM Quadrature Amplitude Modulation n
DPSK - Differential Phase Shift Keying
n
FSK - Frequency Shift Keying
5
n Detects large amplitude AC ‘ringing’ signals
n Stand-alone FSK (CLI) demodulator with high sensitivity CAS
tone detector
n Detects CAS tone in the presence of near-end (phone) signals
n Detects ‘off hook’ voltage-change across phone ‘tip’ and ‘ring’
lines
n Provides ‘ring’ and ‘hook’ interrupts and status indication
n Modem operation can be stopped on ’hook detect’
n Selectable ‘tone detect’ timing window
The CMX850 in Action
. . . . . . two simple stand-alone application suggestions for the CMX850 and its DAA
CS1
CS2
Backup
Battery
External
FLASH
(<4MBytes)
Security Alarm Controller with SIA Protocol
External
RAM
(if required)
n Extensive powersave capabilities improve backup battery life
Voltage
Monitoring
n Compatible with all Security Industry Association (SIA) formats (Pulse, DTMF, FSK)
n ADC can monitor backup battery voltage
User Interface for
Code and Data Entry
n Generous I/O can monitor multiple alarm sensors
LCD
n Flexible oscillator control minimizes power consumption
LCD Driver
CMX850
Communications Controller
n Reference design available for telephone line interface
n Keyboard encoder plus debounce function handles keypad data entry
Alarm Sensors
Phone
Interfaces
Line
Tip/Ring
from Telco
n Additional interrupt sources assist programming efforts
Keypad
CS3
n LCD controller interface accommodates a wide range of LCDs
To Extension
Telephone
CS1
CS2
External
FLASH
(<4MBytes)
External
RAM
(if required)
User Interface for
Number Entry
Smart PayPhone
LCD
n Generous I/O allows for easy integration of differentiating features
LCD Driver
Line
Tip/Ring
from Telco
Interfaces
n Reference design available for telephone line interface
Keypad
CS3
n LCD controller interface accommodates wide range of LCDs
Phone
n Keyboard encoder plus debounce facility handles keypad data entry
CMX850
Communications Controller
n Built-in modem allows for diagnostic and rate-table updates
n DTMF encoder and call progress detector on-chip increases product
integration
SPM
Detection
n Compatible with Type I and II Caller ID
Speech
Processing
n Additional interrupts allow for easy control of speech processing
Bill/Coin
Validator
Microphone
Speaker
6
Credit Card/
Smart Card
Reader
Demonstration, Design, Evaluation, Investigation and Implementation
. . . . . . the EV8500 EvKit and DAA interface designs
a single board product comprising a CMX850 Communications Controller, line interface components, firmware and a serial communications port
EV8500 Evaluation Kit
n Includes CMX850 IC for Product Evaluation
n Fully Isolated 2-Wire Line-Interface for FCC68 or CTR21 (DAA)
n Modem Calling/Answering and CLI Firmware
n Full Access to Unused CMX850 (80C51) Ports
n ‘AT’ Command Compatible Firmware
n Control via PC Terminal Emulator
n Opto-Isolated ‘Ring Detect’ Circuitry and ‘Hook’ Relay
n Keyboard Encoder (16 x 8 matrix)
n 8kB Internal RAM with 4M-bit (512kB) External Flash and 64kB External RAM
n Pre-Loaded Operating Software; Future Upgrades will be Available from the CML Website
n On-Board Flash Reprogramming
n Dual Analogue-to-Digital (ADC) Inputs
n Dual Low-Power PWM Outputs
n User’s On-Board Design and Prototyping Area
EV8500 EvKit for CMX850
n Space for Optional Telco-Specific Components
Telecom Interfacing with a DAA
As a stand-alone product, the CMX850 is intended to communicate via a telephone line. The connection to the line is via a special interface circuit that is often referred to as a
Data Access Arrangement (DAA). CML has available, on its web site, two DAA designs catering for the CMX850 within CTR21 and FCC Part 68 installations.
DAA Interface Designs for the CMX8500
n Line Interface Circuits (DAA) for CTR21 and FCC Part 68
External
Peripherals
Multiple I/O
n Ring Detect
n Hook Switch
Multiple IRQs
n Line-in-Use Detect
CMX850
n Parallel Phone Detect
On Hook Rx
n CLI Capability
n Example (Pre-Loaded Operating Software) µC source code to be run in the CMX850
external Flash/RAM is available from the EV8500 EvKits page
PSTN
Data
Access
Arrangement
Off Hook Rx
Ring Signal
V.22bis
Modem
‘C-BUS’
emulation
80C51
µC
Internal
Peripherals
Tx
n Design Information Available from: www.cmlmicro.com/products/applications/Ap850_DAA.PDF
Memory
Memory
Simple Layout with Line Interface DAA Reference Design
7
Recent Wireline Telecom Products From CML
CMX683
Call Progress and ‘Voice-Audio’ Detector
CMX860
Telephone Signalling Transceiver
CMX866
V.22bis Modem with ‘AT’ Command Set
CMX867
Low Power V.22 Modem
CMX868
Low Power V.22bis Modem
CMX869
V.32bis Modem
CMX878
V.22bis Modem plus DAA
DE8661
Demonstration Kit for CMX866
DE8681
Demonstration Kit for CMX868
www.cmlmicro.com/products/wtelecom/
Member Companies
CML Microcircuits
(UK)Ltd
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
CML Microcircuits
(USA) Inc.
Package
-40º to +85ºC
CMX850L8
100-pin LQFP
COMMUNICATION SEMICONDUCTORS
4800 Bethania Station Road, Winston-Salem, NC 27105, USA
Tel: +1 336 744 5050, 800 638 5577 Fax: +1 336 744 5054
[email protected]
www.cmlmicro.com
CML Microcircuits
(Singapore)PteLtd
Information
www.cmlmicro.com/products/wtelecom/CMX850.htm
Technical Support
[email protected]
COMMUNICATION SEMICONDUCTORS
Singapore
No. 2 Kallang Pudding Road,
#09 - 05/06 Mactech Industrial Building, Singapore 349307
Tel: +65 67450426 Fax: +65 67452917
[email protected]
www.cmlmicro.com
Your Local CML Distributor
Shanghai
No. 218, Tian Mu Road West, Tower 1, Unit 1008,
Shanghai Kerry Everbright City, Zhabei, Shanghai 200070, China
Tel: +86 21 63174107 and +86 21 63178916 Fax: +86 21 63170243
[email protected] www.cmlmicro.com
8 Plc Company
A CML Microsystems
© 2003 CML Microcircuits