austriamicrosystems AG
is now
ams AGThe technical content of this austriamicrosystems datasheet is still valid.
Contact information:
Headquarters:ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail: [email protected]
Please visit our website at www.ams.com
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 1 of 18
austriamicrosystems
General Descript ionThe AS2540 is a CMOS integrated circuit thatincorporates a speech circuit (line-adaptation, 2/4-wireconversion, separate Rx- and Tx-amplifiers for handsetand modem), MF dialler, ring frequency detector, ringmelody generator and a two wire serial interface. Itshall act as an a/b-line-powered device in order tointerface a main-powered CPU to the analoguetelephone line.
AS2540 can operate in a so-called mainpower modeand in a backup mode. During mainpower mode, awatchdog timer is running on AS2540, which has to bereset via the serial interface, which is connected to theCPU through opto-couplers. During backup mode (=The main-power failure or SW engine problem),AS2540 can operate as an independent basic MFdialler (digits 0-9*#)
Appl icat ions- Web Telephones- Answering Machines- Fax Machines- Base Station of Cordless Telephones- Hospital Communication Units
Key Features- Line Interface, Speech Circuit, MF Dialler and Tone Ringer
on a 28 pin CMOS chip- Programmable via 2-wire serial interface
(UART 9600 baud, 8N1)- Watch dog timer for Backup Mode- Additional input for modem transmit path- Additional output for modem receive path- CMOS for high EMC immunity- Low Noise (max. –72 dBm)- Operating range from 15mA to 100mA (down to 5mA with
reduced performance)- Soft clipping for handset operation to avoid harsh distortion- Line loss compensation selectable by pin option- Real and complex impedance selectable by external
components- Side tone adaption selectable by external components- Ring frequency discrimination- 3-tone ring melody generator
Package- 28 pin SOIC- Dice-on-Foil
Block Diagram
LS
ROH
ROT
M1M2
TIT
AGND
LineLI
RISTB
CS
CI
DPn
C1C2C3
R1R2
MODE
RFD
-2dB
+ 6dB
+ 2dB
Mask
DTMF-generator
DIALLER UART
STIT
SRO
H
SRO
T
SMUT
E
Dial
Digi
t
SMAS
K
SDPn
MO
RxD
TxD
VDD
EHS
MHS
VSS
OSC
Main Power ModeLS
ROH
ROT
M1M2
TIT
AGND
LineLI
RISTB
CS
CI
DPn
C1C2C3
R1R2
MODE
RFD
-2dB
+ 6dB
+ 2dB
Mask
DTMF-generator
DIALLER UART
STIT
SRO
H
SRO
T
SMUT
E
Dia
lD
igit
SMAS
K
SDPn
MO
RxD
TxD
VDD
EHS
MHS
VSS
OSC
Backup Mode
Remote Control led Single-Chip-Telephone
AS2540 DATA SHEET (PRELIMINARY)
ams
honesones
AGredSoft clSoft c
-- Line loss ine los- Real anReal an
com- SS
Technica
l
T
icaLSLILI
RIRISTBS
CSS
cccciciciciccnnnnnnnninnhnhnicnicanininicanicaal
-2dB-2dB
Main Power Main Power co
ntent e adaption seption se
frequency discrimquency discrim-tone ring melodye ring melody
PackagePackage- 28 pin28 pin-- DicDi
still to 100mA (dowto 100mA (do
set operation to avoperation to aation selectable bn selectable bmpedance sepedance
valid
th
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 2 of 18
Pin Descript ionPin # Symbo l Funct ion
15 RFD Ring Frequency DiscriminationSchmitt trigger input for ring frequency discrimination. Disabled during off-hook.
7 LS L ine Current Sense InputInput for sensing the line current
5 LI L ine InputInput used for power extraction and line current sensing
6 RI Receive InputInput for ac-separated receive signal
2 STB Side Tone Balance InputInput for side tone cancellation network
3 CS Current Shunt Control OutputN-channel open drain output to control the external high power shunt transistor for synthesising ac- anddc- impedance, modulation of line voltage and shorting the line during make periods of pulse dialling
8 CI Complex Impedance InputInput pin for the capacitor to program a complex impedance
16 DPn Dial Pulse OutputOpen drain output pulls low during break periods of pulse dialling and flash
17 EHS Electronic Hook SwitchSchmitt Trigger Input to detect an electronic off-hook.
18 MHS Manual Hook SwitchSchmitt Trigger Input to detect a manual off-hook.
19 MODE DTMF Level Selection-4/-6dBm —> DLS open-6/-8dBm —> DLS-r1-8/-10dBm —> DLS-r2
L ine Loss Compensation Select Pin45mA-75mA —> LLC open20mA-50mA —> LLC-r3None —> LLC-r4
28 MO Ring Melody OutputPDM output of the ring melody generator.
11 VDD Voltage Drain DrainPositive Power Supply
4 VSS Voltage Source SourceNegative Power Supply
amsr to programto progra
put pulls low dut pulls lowmsHHook ook SSwitcwitc
er Inper InpamAG
ntrol the external ntrol the external ne voltage and shvoltage and GA
Tech
Thnica
l vel SelectionelectionBm —>—
8dBm8dBm-8/-10dBmdBm
alnput to put to
LL ine in LLoss oss CC45mA-745mA-20m20mN
al
eh
28 MOMOeeecTTe1111TTeTeTeTTe
conten
t wethe line duline
ex impedancempedancentreak periods of puk periods of pten
tect an electronicn electro ntct a mct a mco
still ll
unt transistnt transig mag ma
tiva
lidlidlidlidlidvav
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 3 of 18
Pin # Symbo l Funct ion
25 OSC Oscillator InputInput for ceramic resonator 3.58MHz.Recommended type: Murata CSA 3.58MG312AM or compatible
12 AGND Analogue GroundSpecial ground for the internal amplifiers
26 RXD Receive Data InputSchmitt trigger input to serial interface
27 TXD Transmit Data OutputOpen drain output from serial interface
2021
R1R2
Keyboard Rows
222324
C1C2C3
Keyboard Columns
10 ROT Receive Output to TransformerOutput for driving a transformer with an ac impedance larger than 10kΩ
1 TIT Transformer Input from TransformerSingle ended input for transformer
9 ROH Receive Output to HandsetOutput for driving a dynamic earpiece with an impedance from 150Ω to 300Ω
1314
M2M1
Microphone InputsDifferential inputs for the microphone (electret)am
s ansformansfotransformerransformer
to to HHandsetandsetving a dynamiving a dynamms
e Inputse Inputsutsam
AG with an ac imp an ac impAGA
Technica
l
T
conten
t larger than 1er than 1
ntece with an impedwith an impedte
e microphone (elecrophone (eleonco
still ill
Ωstva
liddddlidalililiva
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 4 of 18
Funct ional Descr ipt ion
Modes of operat ionThere are 4 possible modes:
Id le ModeManual hook-switch and electronic hook-switch (e.g. relay)is open (MHS ∩ EHS = logical 0), no ring signal is applied,the oscillator is stopped, signalling via the serial interfaceis not possible.
Ring ing ModeAS2540 is supplied via the ring capacitor and externalpath, manual hook -switch and electronic hook-switch isopen (MHS ∩ EHS = logical 0), the oscillator is running, avalid incoming ringing is signalled via the serial interface tothe CPU. If the CPU does not reply the AS2540 switchesinto backup mode and sends a ring melody to the MOoutput.
Backup ModeManual hook-switch and/or electronic hook-switch is closed(MHS ∪ EHS = logical 1), AS2540 is supplied with linecurrent, the oscillator is running, the keyscan is enabledand the handset path is switched on, signalling via theserial interface is possible. After AS2540 has starteddialling in backup mode, he must not be interrupted anymore in order to ensure consistent dialling. A modetransition BM -> MPM is only possible before AS2540 hasstarted dialling digits independently.
Main Power ModeManual hook-switch and/or electronic hook-switch isclosed, AS2540 is supplied with line current (MHS ∪ EHS= logical 1), the oscillator is running, the keyscan isdisabled, AS2540 is controlled via the serial interface,handset path or monitor path or modem path is on,signalling via the serial interface is possible.
Selec t Operat ion ModeCommand Message Swi tches ON Swi tches OFF<SetHandsetPath> SROH SROT & STIT<SetModemPath> SROT & STIT<SetMonitorPath> SROH & SROT STIT
Example Main Power Mode
LS
ROH
ROT
M1M2
TIT
AGND
LineLI
RISTB
CS
CI
DPn
C1C2C3
R1R2
MODE
RFD
-2dB
+ 6dB
+ 2dB
Mask
DTMF-generator
DIALLER UART
STIT
SRO
H
SRO
T
SMUT
E
Dial
Digi
t
SMA
SK
SDPn
MO
RxD
TxD
VDD
EHS
MHS
VSS
OSC
Start -up in backup modeAs soon as AS2540 is supplied with line current, theexternal Vdd capacitor will be charged up via the LI andVDD pin and after the Vdd voltage has reached theoperating level, the handset path of the speech circuit isswitched on. This off-hook status is also signalled to theinternal logic via the MHS or EHS pin in order to start thepinscan and subsequently set the country specific modes.Additionally a <LineEvent> message is sent to the CPU.
Star t -up in r ing modeWhen a ringing signal is applied to the line, Vdd of AS2540is charged up via an external path. After Vdd has reachedthe operating voltage the oscillator starts and AS2540discriminates the ring frequency. After a valid ringfrequency is applied on the RFD pin, the logic sends a<LineEvent> message is sent to the CPU and a watchdogtimer is started. When the <LineEvent> message is not quitby the CPU before the watchdog timer has finished thecountdown, AS2540 changes into backup mode and sendsout a melody via the MO pin.
DC condi t ionsThe normal operating mode is from 15mA to 100mA. Anoperating mode with reduced performance is from 5mA to15mA. In the line hold range from 0mA to 5mA the deviceis in a power down mode and the voltage at LI is reducedto a maximum of 3.5V
ams ch is closed is close
ed with lined with linescan is enablescan is enab
signalling viasignalling viaAS2540 has stS2540 has s
ot be intebe intelin
AG
Technica
l
T
ectronic hook-switonic hook-swid with line current with line curre
ator is running, thes running, thes controlled via thntrolled via th
r monitor path or mr monitor path or ma the serial interfathe serial interfa
c t Operat ion Moerat ion Mo
TecCommand Mess
TeecT<SetHandset<SetHandseTTeT<SetMode<SeTTeT<SetMetMTTTT
conten
anyodeS2540 has540 has
entr t -up in backup in backu
As soon as AS254oon as AS254external Vernal Vddd cacVDD pin anVDD pin anoperatinoperatiswitcswi
ssstisssssssstil
sssstssssststststststill l
stiO tilillilllilHS
valid
vvvvvvavvRxDRxD
TTxDxDTTT
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 5 of 18
The DC characteristic is determined by the voltage at LIpin and a 30Ω resistor between LI and LS pin. It can becalculated by the following equation: VLS = VLI + ILine *30Ω . The t.m. voltage at the LI pin is 4.5V. The calculationleads to the following DC resistances: 330Ω to 75Ω at linecurrents from 15mA to 100mA.
2/4 wire convers ionAS2540 has a built-in dual Wheatstone bridge with onecommon ground. This provides a maximum ofindependence of AC impedance and side tone from eachother. One can adapt side tone without changing the ACimpedance.
A1=3.4/3.5 A2=-0.4
AC impedanceThe ac impedance of AS2540 is set to t.m. 1000Ω . Withthe external capacitor at CI pin it can be programmedcomplex. With a parallel impedance at the LS pin it can beprogrammed to 600Ω .
Side ToneA good sidetone cancellation can be achieved by using thefollowing equation:
ZBAL/ZLINE = 10
Transmit pathThe gain of the M1/M2 —> LS transmit path is set to 38dBfor ac-impedance 1000Ω . The input is differential with animpedance of 25kΩ . The soft clip circuit limits the outputvoltage at LS to 2Vp. The attack time is 30μs/6dB and thedecay time is 20ms/6dB.
The gain of the TIT —> LS transmit path is set to 8dB forac-impedance 1000Ω . The input is single ended with animpedance of 25kΩ . The soft clip circuit is not active forthis input. The dynamic range of this path is 2.5Vp at LS.
Receive pathThe gain of the LS —> ROH receive path is set to 2dB forac-impedance 1000Ω . The receive input is the differentialsignal of RI and STB. During DTMF dialling a MF comforttone is applied to ROH which is -30dB relative to the linelevel. The soft clip circuit limits the output voltage at ROHto 1Vp. It prevents harsh distortion and acoustic shock.
The gain of the LS —> ROT receive path is set to 0dB forac-impedance 1000Ω . The receive input is the differentialsignal of RI and STB. The soft clip circuit is not active forthis output.
ModescanThe DTMF-level on the line and the function of the line losscompensation can be selected with the connection of theMODE-pin to the keyboard matrix. The MODE-pin isscanned once after each OFF-Hook transition.
R1 1
PINC1
2 3R2 4 5 6
7 8 9
* 0 #
PINC2
PINC3
PINR1
PINR2
PINMODE
c1 C2 C3
C3 C2 C1 R2 R1 LLC Dtm f Level
45mA-75mA -6dBm
X XX 45mA-75mA -8dBm
XX 45mA-75mA -10dBm
XX 20mA-50mA -6dBm
XX 20mA-50mA -8dBm
X XX 20mA-50mA -10dBm
X XX No LLC -6dBm
X XX No LLC -8dBm
X X XX No LLC -10dBm
X indicates connection to pin mode
ams
t.m. 1000m. 1000ΩΩ . WWan be programn be program
ce at the LS e at the LS
AG MODMOscannedscanneG
Technica
l
T
achieved by ved by
M1/M2 —> LS traM1/M2 —> LS tradance 1000ce 1000ΩΩ . The. Th
nce of 25kof 25kΩΩ . The . Thage at LS to 2VS to 2Vp.p T
ecay time is 20msecay time is 20ms
The gain of The gain ofac-impempe
pe
conten
t an bee
g
tntentntntntnt
tentetenenenenenennnsti
lld the functd the funted with the coned with the con
ard matrix. The Md matrix. The Meach OFF-Hook trOFF-Hook t
sPINC1sva
lidB forB for
fferentialerentialot active forctive for
of t
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 6 of 18
Ser ial in ter faceThe communication principle is derived from a standard UART:- Baud Rate 9600- Start Bit 1- Data Bits 8- Parity None- Stop Bit 1- LSB is transferred prior to MSB
Rx - messages
Message Format
XMSB
X d5 d4 d3 d2 d1 1LSB
d7 d6 d5 d4 d3 d2 d1 d0 DTMF-d ial message Notes
x x 0 1 0 1 00 1 Digit 0 Starts DTMF dialling of digit
x x 0 0 0 0 11 1 Digit 1 Starts DTMF dialling of digit
x x 0 0 0 1 00 1 Digit 2 Starts DTMF dialling of digit
x x 0 0 0 1 11 1 Digit 3 Starts DTMF dialling of digit
x x 0 0 1 0 00 1 Digit 4 Starts DTMF dialling of digit
x x 0 0 1 0 11 1 Digit 5 Starts DTMF dialling of digit
x x 0 0 1 1 00 1 Digit 6 Starts DTMF dialling of digit
x x 0 0 1 1 11 1 Digit 7 Starts DTMF dialling of digit
x x 0 1 0 0 00 1 Digit 8 Starts DTMF dialling of digit
x x 0 1 0 0 11 1 Digit 9 Starts DTMF dialling of digit
x x 0 1 0 1 11 1 Digit * Starts DTMF dialling of digit
x x 0 0 0 0 00 1 Digit # Starts DTMF dialling of digit
x x 0 1 1 0 00 1 Digit A Starts DTMF dialling of digit
x x 0 1 1 0 11 1 Digit B Starts DTMF dialling of digit
x x 0 1 1 1 00 1 Digit C Starts DTMF dialling of digit
x x 0 1 1 1 11 1 Digit D Starts DTMF dialling of digit
x x 1 0 0 0 00 1 KeyReleased Stops Dialling
d7 d6 d5 d4 d3 d2 d1 d0 Pin -Con t ro l message Notes
x x 1 0 1 1 00 1 SetDPn_HIGH Release pin Dpn (open drain)
x x 1 0 0 0 11 1 SetDPn_LOW Force pin DPn = VSS
x x 1 0 0 1 00 1 SetMask Force LI-Voltage to 1.2 V
x x 1 0 0 1 11 1 ResetMask
ams 1s00 11sssmms
0 10 mmmsmsmsmms11ammmam11aaaaa
AG Gd ial
GDigit 0it 0 GDigit 1Digit 1
AGA1 Digit 2Digit 2AAAGADigDigAAAA
Techni
Thnica
l 00 l1 11 1lllaal0 00 0aaaaaicaa1 1 01iiicacacannica1 11 1nnnininiccchnnic
0 10 1hnhnhnnnhhnnx 00 hhhhhchhx xx 11chchcheeeecc
hccTedTed6TTeTeTeTTexTTTTTTTTT
conten
t tStatttntSntntntnt4 enDigit 55 te1 Digit 6Digit 6nt
o1 Digit 71 Digit 7ooonco0 1 D1 Dcccoooco11cccc
still tillNotetiillStarts DTMF diallrts DTMF dialti
tarts DTMFarts DTMstsva
lid
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 7 of 18
d7 d6 d5 d4 d3 d2 d1 d0 Pin -Con t ro l message Notes
x x 1 0 1 1 11 1 SetTestmode FOR FACTORY TEST ONLY
x x 1 0 1 0 00 1 MuteON Mute Transmit path
x x 1 0 1 0 11 1 MuteOFF
d7 d6 d5 d4 d3 d2 d1 d0 Path -Con tro l message Notes
x x 1 1 0 0 11 1 SetHandsetPath
x x 1 1 1 0 11 1 SetMonitorPath
x x 1 1 0 1 00 1 SetModemPath
x x 1 1 0 0 00 1 RequestStatus AS2540 sends Status information
x x 1 1 0 1 11 1 reserved <LineEvent>
x x 1 1 1 0 00 1 reserved <LineEvent>
x x 1 1 1 1 00 1 reserved <LineEvent>
x x 1 1 1 1 11 1 reserved <LineEvent>
Tx messages
<Ack> message
<Ack> message fo rmat fo r <Reques tStatus>
b7MSB
b6 b5 b4 b3 b2 0 1LSB
b7 b6 b5 b4 b3 b2 b1 b0 Status Remark
11 0 1 valid ring signal detected
00 0 1 no ring signal
11 0 1 manual hook switch - off-hook (pin MHS)
00 0 1 manual hook switch - on-hook (pin MHS)
11 0 1 electronic hook switch - off-hook (pin EHS)
00 0 1 electronic hook switch - on-hook (pin EHS)
Status of AS2540
0 0 00 0 1 no LLC comparator .....................
0 0 11 0 1 LLC comparator 20mA (45mA) ...
0 1 00 0 1 LLC comparator 26mA (51mA) ...
0 1 11 0 1 LLC comparator 32mA (57mA) ...
1 0 00 0 1 LLC comparator 38mA (63mA) ...
1 0 11 0 1 LLC comparator 44mA (69mA) ...
1 1 00 0 1 LLC comparator 50mA (75mA) ...
coded status ofLLC comparator
ams msus> s
bb22 00mmmmmaaaammaaaaaaAG ervederved
GreservedervedGAAAAG
Technica
l
T
l0lllaal00aaalalalcaal
cacacaaicaiiicccnnic0 nnnininihhnni
00hhhnhnhnchh
nchchchhhechh
eeecccTTecTTeTeTeTTeTTTTTT
conten
t tB
oooccob0 ooooco0 11cccoooococc
still lvent>ent> llineEvent>vent>til<LineEvent>LineEvent>sts
validdddddlidlidlidlidalllus informationinformationvav
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 8 of 18
<Line Event> Message
<L ineEven t> message fo rmat
b7MSB
b6 b5 1 1 1 1 1LSB
b7 b6 b5 b4 b3 b2 b1 b0 Status Remark
11 1 1 1 10 1 valid ring signal detected
00 1 1 1 10 1 no ring signal
11 1 1 1 10 1 manual hook switch - off-hook (pin MHS)
00 1 1 1 10 1 manual hook switch - on-hook (pin MHS)
11 1 1 1 10 1 electronic hook switch - off-hook (pin EHS)
00 1 1 1 10 1 electronic hook switch - on-hook (pin EHS)
Status of AS2540
ProtocolL ine EventsAS2540 has 3 inputs, namely MHS (Manual Hook Switch),EHS (Electronic Hook Switch) and RFD (Ring FrequencyDetector), which sense the state of the two hook-switchesand discriminate an applied ring signal. The MHS isconnected to the manual hook switch which is operated bythe handset and the EHS is connected to an electronichook switch which is operated by the CPU. Whenever thestate of these inputs changes, AS2540 immediately sends<LineEvent> to the CPU after a debounce time. MHS andEHS up-debouncing lasts 15ms, down-debouncing lasts85ms. RFD start to discriminate the ring frequencyimmediately but will send a <LineEvent> message with adelay of 102ms. A status change of MHS and EHS pinsmust not change the momentary selected path of thespeech network.
The <LineEvent>-message is sent without consideration ofthe momentary activities of AS2540 in order to meet PTTrequirements (e.g. line break signalling). The code for the<LineEvent>-message is chosen with regard to theminimum current consumption in order to operate theoptocouplers. Pending <Ack>-messages will be queuedafter the <LineEvent>-message. An already runningtransmissions of <Ack> will not be interrupted and<LineEvent> will be sent afterwards in this case.
- Mode t r ans i t ions Id le →→→→ BM →→→→ MPM →→→→ Id l eAS2540 always starts up in backup mode and is preparedto act like an independent dialler. <LineEvent> is sent tothe CPU and AS2540 remains in back-up mode until any
valid message is sent from the CPU. This makes sure thata non-operable CPU does not disable basic diallingfunctions.
- Mode t r ans i t ion MPM →→→→ BMA watchdog timer is started after <LineEvent> and is resetwhenever AS2540 receives a message from the CPU viathe serial interface. If the CPU does not send any furthervalid message within 2400ms, AS2540 goes back intoback-up mode, immediately locks the UART and remains inbackup mode till next on-hook.
Dial l ing Func t ions
DTMFThe DTMF generator provides 8 frequencies (in Hz):
111697+1209
222697+1336
333697+1477
444770+1209
555770+1336
666770+1477
777852+1209
888852+1336
999852+1477
***941+1209
000941+1336
###941+1477
ams witchwitc
equencyquencyook-switchesook-switches
he MHS ishe MHS iswhich is operahich is ope
cted to an elected to an elthe CPU. Whe CPU. W
0 im0 im
AG nic h
Gvv
TeTechnica
lbounboung frequencequen
vent> message w> message e of MHS and EHSHS and EH
tary selected pathtary selected path
message is sent wsage is sent wy activities of AS2y activities of AS
nts (e.g. line break.g. line breavent>-message is >-message i
mum current cons current cooptocouplers. Penoptocouplers. Penafter the <Lineafter the <Linetransmissiotransm<LineEvneEv
conten
ter thee
ely sendsends. MHS andHS and
g lastslasts
nt ssage is sente is senn-operable CPU doerable CPU d
nctions.s.
-- Mode t rMode tA watchdA watcwhenwhth
still EHS)EHS) lll(pin EHS)(pin EHS)illlltilllll
validididididlidlidlidl
Status of AS254s of AS25
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 9 of 18
The MF output levels are set to -4/-6dB which should allowefficient backup dialling under all line conditions. TheTONE/PAUSE ratio is 90ms/90ms. The preemphasisbetween low group and high group frequencies is t.m.2.6dB.
FLASH t im ingCPU can control the DPn pin and the MASK-mode ofAS2540 via serial interface.
Tone Ringer
Ring f requency d isc r im inat ionThe ring frequency discrimination assures that only signalswith a frequency between 13Hz and 70Hz are regarded asvalid ring signals.
When a valid ring signal is present for 102ms continuously,the ring melody generator is activated and remains activeas long as a valid ring signal is present.
Once the ring melody generator has started, the ring signalis continuously monitored and the ring melody generator isinstantly turned off according to the momentary presenceof a valid or invalid ring signal until next off-hook.
Toner r inger melodyThe 3 basic melody frequencies are:- F1=880Hz- F2=1067Hz- F3=1333Hz
The repetition rate is set to 4 which means that thesequence of F1, F2, F3, F1, F2, F3 is repeated 4 timeswithin a second.
Keyboard connect ions
R1 1
PINC1
2 3R2 4 5 6
7 8 9
* 0 #
PINC2
PINC3
PINR1
PINR2
PINMODE
c1 C2 C3
Double contacts under keys 0-9*#: One contact isconnected to AS2540, the other one to CPU.am
s erator eratopresenceresence
hook.ook.
AG nal
GGGGGGGG
Technica
l
T
conten
t ttet
D
still titil1 itilltill2ilillill3tillsstisti4 tisti5iiststst7
tstsssl2 l v
alid
v
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 10 of 18
Timing d iagrams (unscaled)
Dial l ing - MF mode
ams A
G
Technica
l
T
conten
t still
validlaaaaaaal
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 11 of 18
Electr ical character ist icsElectrical characteristics are measured with the Test Circuit application. Typical mean values will not be tested.
Absolute maximum rat ings
Positive Supply Voltage -0.3V <= VDD <= 7V
Input Current +/- 25mA
Input Voltage (LS) -0.3V <= Vin <= 10V
Input Voltage (LI, CS) -0.3V <= Vin <= 8V
Input Voltage (STB, RI) -2V <= Vin <= VDD+0.3V
Digital Input Voltage -0.3V <= Vin <= VDD+0.3V
Electrostatic Discharge (HBM 1.5kΩ-100pF) +/- 800V
Storage Temperature -65°C to +125°C
Recommended operat ing condi t ions
Supply Voltage (generated internally) 3.6V <= VDD <= 5V
Oscillator FrequencyResonator Murata CSA 3.58MG312AM 3.58MHz
Operating Temperature -15°C to +60°C
DC character is t icsILine=15mA w/o operation of SI through optocouplers, unless other specified
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
IDD Operating Current Speech ModeSpeech Mode with SIMF DiallingLD Dialling, VDD=2.5VRing Mode, VDD=2.5V
354
200300
5 mAmAmAμAμA
YNNNN
VLI Line Voltage 15mA<=ILINE<=100mA 4.2 4.5 4.8 V Y
IOL Output Current, Sink CS,DPn, MOTXD
VOL=0.4VVOL=10mA
110
mAmA
NN
IOH Output Current, Source MOVOH=VDD-0.4V -1 mA N
ams sms
amAG GAAAA
Technica
l
T
lCo lSpeech MSpeech SpeechSpeecMFMF
llllca
le Voltageoltage ni
Output Current,tput CurrenDPn, MODPn, MOTXDTXhn
ecIIOHO OutOecececTTTec
conten
t tnttent
uplers, unless oers, unless cnsc
still
.3V.3 lilltiva
lidmA dn <= 10V <= 10V id <= VVinin <= 8V <= 8Vli
= Vin <= V<= DDDD+0.3+0.3a VVinin <= V <= VDvav
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 12 of 18
Transmit character is t ics
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
AMTX Transmit GainM1/M2 —> LS
ZAC(syn)=1000Ω +36.5 +38 +39.5 dB Y
ATTX Transmit GainTIT —> LS
ZAC(syn)=1000Ω +6.5 +8 +9.5 dB Y
THD Distortion VLS=0.25VRMS 2 % Y
VAGC Soft Clip LevelM1/M2 —> LS at LS
2.0 VP N
ASCO Soft Clip OverdriveM1/M2
20 dB N
ZIN Input ImpedanceM1/M2 - TIT
20 kΩ N
VNO Noise Output VoltageLS
TAMP=25°C -72 dBmp Y
RL Return Loss ZAC(syn)=1000Ω 18 dB Y
Receive character is t ics
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
AHRX Receive GainLS —> ROH
ZAC(syn)=1000Ω +0.5 +2 +3.5 dB Y
ATRX Receive GainLS —> ROT
ZAC(syn)=1000Ω -3.5 -2 -0.5 dB YY
THD Distortion VLS=0.25VRMS 2 % Y
VAGC Soft Clip LevelROH
1 VP N
ASCO Soft Clip OverdriveROH
10 dB N
VNO Noise Output VoltageROH - ROT
TAMP=25°C -72 dBmp Y
ZIN Input Imp. RI 8 kΩ N
ST Sidetone VRI<=0.25VRMS 24 dB Y
RL Return Loss ZAC(syn)=1000Ω 18 dB Y
ams
amamCond i t ionms
amZZAC(ACamamamamaAG GG00ΩΩ AGA
TecTechnica
l lVVLSLS=0lllalalalalcal
verdrivedrive icacaacise Output Voltagise Output Voltag
ROH - ROTOH - ROThncInput Imp. RInput Imp. ccchecST SidetoSidetoecececTecRL RRL RTTeeeTTTe
conten
t 8
ntntntntntetetetetete
00Ω nt(syn)n)=1000=1000ΩΩo
VRc
still llklllllltill-72-72ttitilllstil
ssssva
lididYY ididlidNN lidlidva
liddB NdB Nvavavavav
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 13 of 18
LD character is t ics
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
t(td) Flash Duration DPN pin status can be directlycontrolled via serial interface
DTMF character is t ics
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
VMFlow Tone Level Low GroupLS
-6 dBm Y
ΔVL-H Preemphasis L-H 2.0 2.6 3.2 dB Y
UFC Unwanted FrequencyComponents
300Hz - 4.3kHz4.3kHz - 7kHz7kHz - 10kHz10kHz - 14kHz14kHz - 28.5kHz28.5kHz – 40kHz
-40-46-52-58-70-80
dBmdBmdBmdBmdBmdBm
YYYYYY
Δf Frequency Deviation 1.2 % Y
t(td) Tone Duration 80 82.3 85 ms Y
t(itp) Inter Tone Pause 80 82.3 85 ms Y
t(mo) Mute Overhang 6 ms Y
VCT-H Comfort Tone (DTMF) ROH rel. to LS -30 dB N
Ringer character is t ics
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
f1 Frequency 1 770 800 830 Hz Y
f2 Frequency 2 1025 1067 1110 Hz Y
f3 Frequency 3 1280 1333 1385 Hz Y
fMIN Min. Det. Frequency 12 13 14 Hz Y
fMAX Max. Det. Frequency 68 70 75 Hz Y
tDT Detection Time Initially 102 ms N
ams smsmmmmamF) ROROamamamaamaa
AG zz
0kHzHz GAA
Tech
Thnica
lalal Condlllalalalalcal
cacaacacy 3 ic Det. FrequencyFrequencyniMax. Det. Frequeax. Det. FrequehncDetection TiDetection Tccchcccc
conten
tttttnt8080nnnten808tetetentetetetete
o LS noncc
still
22
ll-40-40-46-46-52-52-58-58
dddllllll
still v
alid
aalidTest lidlidalid
Bm YYaaallval
dBdBvvvvv
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 14 of 18
Ser ial In ter face
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
tRXD-r RXD signal rise time Vdd=4V,RPull-up=1.2kΩ 30 μs N
tRXD-f RXD signal fall time 30 μs N
Vcomp Input comparator level atRXD
Vdd/2 V N
BRRXD RXD baud rate +/-2% 9600 bps N
BRTXD TXD baud rate +/-2% 9600 bps Y
Miscel laneous
Symbo l Parameter Cond i t ions Min Typ Max Un i t s Test
tD Key Debouce Time 15 ms N
ttime-out Watch-dog Timer 2400 ms N
ams sms AG
AGAGAA
Technica
l
T
conten
t ttt11tttntntntnten
teeentetetete
still llillllllllsypssssss
valididNN ididalid
aaalilialibps Ys Yaaavavavavavav
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 15 of 18
Typical Appl icat ion
amaamsmmmsmmsmmmmmmammamamamas
amaamammmmmsmsmsms s
aamaaammsm
AG GGGAGAAAAAGGAGGAGAAAGGGAGGGG
Techni
Tchh
nnnhnhnhnnececec
nical alalllacacacaaaaalalalalallccccacacanicaninicicnicnicnicnicniccicnn
alicicacnhnicniiclalaal
h
cocccccontennnnonntnt
onntntntentntntnttent nnnnntntntnttttnttt
enttttt
teentttt
ntecoco
ntntnttt
cocnntntntntte
still v
alid
vavavavavvvavv
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 16 of 18
Test Circui t
R7
9k
C3
10u
AC
R5
100R6300
C9100u
R11
330k
C4100u
Y1
3.58MHz
C1100n
R4
30
R10
330k
D1
10V
AC
D2
5V6
C11
10n
C7
1u
ILine
U1
AS2540
15
7
5
6
2
3
8
16
17
18
28
11 4 2512
26
27
19
20
21
22
23
24
10
1
9
13
14
RFD
LS
LI
RI
STB
CS
CI
DPn
EHS
MHS
MO
VD
D
VS
S
OS
C
AG
ND
RxD
TxD
MODE
R1
R2
C1
C2
C3
ROT
TIT
ROH
M1
M2
C5 100n
C810uR8
600
R1
330k
R96k
Q1BC327
C6
100u
AC
R2
1kC2
100n
R3
140
AS2540
C1022u
ams mss AG
AGAGAR100
330k AAAGAG1616
AG1717A1818
DPnDPn
EHSA
Technica
l
T
conten
t ntnttttteteteC9C9
10tetetttetetettntD2
5V6
ntente1111 en44 n1212
VD
D
VS
SV
SS
AG
ND
GN
D
esti
ll illssts1919 ti2020
ti2121 i22
MODEMODE
1
R2R2 tilltillllllva
lidvv
R7
9k vaaaalAC
vvC4C4100u100u
avavavavaC810vavvvvavv
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 17 of 18
PackagingThe device is available in the packages outlined below (notto scale). For exact mechanical package dimensionsplease see austriamicrosystemsAG packaging information.
28-pin plastic SOIC (suffix T)
Max. Body Length 18.1mm / 713milMax. Body Width 7.6mm / 300milPitch 1.27mm / 50mil
Pin-out
1 – TIT MO – 282 – STB TxD – 273 – CS RxD – 264 – VSS OSC – 255 – LI C3 – 246 – RI C2 – 237 – LS C1 – 228 – CI R2 – 219 – ROH R1 – 20
10 – ROT MODE – 1911 – VDD MHS – 1812 – AGD EHS – 1713 – M1 DPn – 1614 – M2 RFD – 15
Marking
YYWWAAAAS2540Austria
YY year of productionWW calendar week of productionAAA ammsAG assembly ID
Ordering InformationNumber Package Descr ip t ion
AS2540T SOIC28 plastic small outline package -28 leads (suffix T)
AS2540Q Dice-on-Foil dice
Devices sold by austriamicrosystems AG are covered bythe warranty and patent identification provisions appearingin its Term of Sale. austriamicrosystems AG makes nowarranty, express, statutory, implied, or by descriptionregarding the information set forth herein or regarding thefreedom of the described devices from patent infringement.austriamicrosystems AG reserves the right to changespecifications and prices at any time and without notice.Therefore, prior to designing this product into a system, itis necessary to check with austriamicrosystems AG forcurrent information. This product is intended for use innormal commercial applications. Applications requiringextended temperature range, unusual environmentalrequirements, or high reliability applications, such asmilitary, medical life-support or life-sustaining equipmentare specifically not recommended without additionalprocessing by austriamicrosystems AG for eachapplication.
CopyrightCopyright © 1997-2002, austriamicrosystems AG, SchlossPremstaetten, 8141 Unterpremstaetten, Austria-Europe.Trademarks Registered ®. All rights reserved. The materialherein may not be reproduced, adapted, merged,translated, stored, or used without the prior written consentof the copyright owner.
The information furnished here by austriamicrosystems AGis believed to be correct and accurate. However,austriamicrosystems AG shall not be liable to recipient orany third party for any damages, including but not limitedto personal injury, property damage, loss of profits, loss ofuse, interruption of business or indirect, special, incidentalor consequential damages, of any kind, in connection withor arising out of the furnishing, performance or use of thetechnical data herein. No obligation or liability to recipientor any third party shall arise or flow out ofaustriamicrosystems AG rendering of technical or otherservices.
ams 2323
– 22– 22mR2 – 21– 21amR1 – 20R1 – 2amMODE –ODE –aSSaAG currecur
normal cormal extendedxtenderequirrequirmm
Technica
l
T
––FD – 1515
aaaaniiii
WWAAAAAAAS2540S2540AustriaAustriaccchYY year of prYY year of pr
WW calendWW caleAAAAAA am
conten
7
nt, or omedical life-cal li
ecifically not reccally not recocessing by austriing by aust
application.plication.
CopyrCopyrCopCoP
still
me amehis product his produc
austriamicrosystaustriamicrosyss product is intenproduct is inte
applications. Applications. Appture range, unuse range, unus
h reliabilityreliabilitpo
valid
aringaris nos no
criptionon regarding thearding the
atent infringement infringemenright to changeht to change
without nowithout o a
Data Sheet AS2540 austriamicrosystems
Revision 3.1 Page 18 of 18
Contact
Headquartersaustriamicrosystems AGCommunications Business UnitA 8141 Schloss Premstätten, AustriaT. +43 (0) 3136 500 0F. +43 (0) 3136 525 01www.austriamicrosystems.com
Sales Off ices
Germanyaustriamicrosystems Germany GmbHTegernseer Landstrasse 85D-81539 München, GermanyPhone: +49/89/693643-0Fax: +49/89/693643-66
Franceaustriamicrosystems France S.a.r.l.124, Avenue de ParisF-94300 Vincennes, FrancePhone: +33/1/43 74 00 90Fax: +33/1/43 74 20 98
Italyaustriamicrosystems Italy S.r.l.Via Leone Tolstoi, 64I-20146 Milano, ItalyPhone: +39/0242/36713Fax: +39/0242/290889
Swi t zer landaustriamicrosystems Switzerland AGRietstrasse 4CH-8640 Rapperswil, SwitzerlandPhone: +41/55/220 9000Fax: +41/55/220 9001
USA (west )austriamicrosystems USA, Inc.Suite 116, 4030 Moorpark Ave,San Jose, CA 95117, USAPhone: +1/408/345 1790Fax: +1/408/345 1795
USA (east )austriamicrosystems USA, Inc.Suite 400, 8601 Six Forks RoadRaleigh, NC 27615, USAPhone: +1/919/676 5292Fax: +1/919/676 5305
Uni ted Kingdomaustriamicrosystems UK, Ltd.Coliseum Business Centre, Watchmoor ParkCamberley, Surrey, GU15 3YL, UKPhone: +44/1276/23 3 99Fax: +44/1276/29 3 53
Japanaustriamicrosystems AGShin Yokohama Daini, Center Bldg. 10F3-19-5, Shin YokohamaKohoku-ku, Yokohama 222-0033, JapanPhone: +81/45/474 0962Fax: +81/45/472 9845
Distr ibutors & Representat ivesaustriamicrosystems AG is represented by distributors inthe following countries. Please contact your nearestregional sales office for the distributor address:
Spain, Israel, Korea, Hong-Kong, Taiwan, Malaysia,Singapore, India, Brazil
Appl icat ion SupportPlease contact your local sales office or your distributor.
ams A
GRaleiPhone: PhoneFax: +1/91ax: +1/9
Un i tUn
Technica
l
T
tzerland AGerland AG
wil, SwitzerlandSwitzerland220 9000220 900
/220 90010 900
A (west )t )austriamicrosysteaustriamicrosysteSuite 116, 403Suite 116, 403San Jose, San JoPhone: ne:
conten
tngdomdommicrosystems UKosystems UK
seum Business Cm Business Camberley, Surreberley, SurPhone: +44/12Phone: +44/Fax: +44/1Fax: +44/1
JapJap
still oadoad
92305
valid