Upload
trinhnga
View
230
Download
5
Embed Size (px)
Citation preview
Preliminary Application Note AN525
03/08/99 /AN525.doc 1 / 23 REV.B01
Application Note AN525:AS2525,AS2591
Single Chip Handsfree Phone+16 digit LCD driver
demo board1. Scope
This application note describes operation and features of the AS2525 Single Chip handsfree telephone andAS2591 16 digit LCD driver IC’s including all external components to comprise the AN525 demoboard, a fullyfunctional LCD + handsfree telephone.
1.1 PTT spec conformity
The application hints hereafter should be understood as guidelines for other designs based on the AS252xcircuit. No guarantee can be given for completeness or full conformity to PTT specification requirements. Asrequirements differ from country to country, each required parameter must be individually tested and ifnecessary, adjustments have to be made.
Further guidelines for adjustment are given in the documents, referred in pt. 4: Other applicable documentsand papers.
2. Key Features
⇒ Fully functional Single Chip handsfree telephone⇒ detachable 16 digit LCD module⇒ on-chip DC-DC converter to provide power for ringing with loudspeaker; no piezo ringer required⇒ large variety of programmable parameters⇒ all settings and memories stored on external low cost E²PROM⇒ on-board 28 key matrix keypad can be cut off to separate telephone electronics and keypad (saving
board space)⇒ Jumper selectable AC impedance⇒ easily configurable passive sidetone network on 8-pin socket⇒ schematic for approved TBR21/38 – compliant application included
Austria Mikro Systeme International AG
Preliminary Application Note AN525
03/08/99 /AN525.doc 2 / 23 REV.B01
3. Table of contents1. Scope _________________________________________________________________________________11.1 PTT spec conformity _____________________________________________________________________12. Key Features___________________________________________________________________________13. Table of contents _______________________________________________________________________24. Other applicable documents and papers ____________________________________________________24.1 Further Applications _____________________________________________________________________25. Revision status _________________________________________________________________________25.1 Demo kit contents _______________________________________________________________________36. General description _____________________________________________________________________36.1 Preparing the AS525 demoboard for first use:__________________________________________________37. Connector and Jumper locations: _________________________________________________________48. Circuit description ______________________________________________________________________58.1 Switching between modes _________________________________________________________________59. Application schematic: Demoboard ________________________________________________________610. AN525 Demoboard: component print:______________________________________________________711. AN525 demoboard: layout (top view):______________________________________________________812. Application schematic: LCD module _______________________________________________________913. Layout: LCD module (bottom view): _______________________________________________________914. External component selection _____________________________________________________________1014.1 Passive components ______________________________________________________________________1014.2 Transistors _____________________________________________________________________________1015. Country specific Settings: ________________________________________________________________1015.1 Hardware and software settings _____________________________________________________________1015.2 Adaption to the pan-European regulations TBR21 / TBR38: ______________________________________1115.3 Application schematic for TBR21/38 ________________________________________________________1316. E²PROM ______________________________________________________________________________1416.1 Program file : AN525.HEX : _______________________________________________________________1416.2 Accessing the serial bus by an external device _________________________________________________1416.3 Memory mapping: _______________________________________________________________________1416.4 Programmable parameters sorted by function:__________________________________________________1817. Software and hardware tools for programming the E²PROM __________________________________2117.1 Interface circuit diagram for programming the E²PROM via the parallel LPT-port _____________________2117.2 Installation and operation of E²programmer software ____________________________________________2118. Keylock and call restriction:______________________________________________________________2218.1 Keylock options _________________________________________________________________________2218.2 Call restricion___________________________________________________________________________2219. Related Standards ______________________________________________________________________2320. Approvals _____________________________________________________________________________2321. General Liability Declaration _____________________________________________________________23
4. Other applicable documents and papers • Data Sheet: AS2525 Single-Chip Handsfree Phone CMOS Integrated Circuit• Data Sheet: AS2591 16-Digit LCD Driver CMOS Integrated Circuit• Application Notes AN500-x: General analogue telephone IC descriptions
4.1 Further Applications
Applications based on the AS2525 are continuously updated. Ask your local distributor or Austria MikroSysteme sales office for the latest revisions or visit our home-page: http://www.amsint.com.
5. Revision status
AN525 Application note (this document): Rev.: B01AN525 Demoboard schematic: Rev.: A00AN525 Demoboard layout Rev.: A01LCD525 LCD module schematic Rev.: A00LCD5255 LCD module layout Rev.: A00
Preliminary Application Note AN525
03/08/99 /AN525.doc 3 / 23 REV.B01
5.1 Revision History
Rev. B01: a more detailed description of memory programming, keylock and call restriction has been added
5.2 Demo kit contents
The available demo-kit AN525 contains the following parts:
• AS2525 Single Chip Handsfree Phone Demoboard AN525 “ready-to-go”• AS2591 LCD module• handset• handsfree microphone• application note• AS2525 and AS2591 data sheets
6. General description
Remark : all the subsequent component numbering is referenced to the application schematics,shown in pt. 0 & 12 . Part numbers <100 refer to components on the AN525 Single Chip HandsfreePhone demoboard and part numbers >100 refer to components on the LCD module.
6.1 Preparing the AS525 demoboard for first use:
• connect the handset (included in demo kit) to J5
• select AC impedance (J7A, J7B)
• connect the telephone line connector to J1
• connect the handsfree microphone (included in demo kit) to “MIC1” (next to handset connector), observepolarity: capsule case is negative terminal
• connect a 25...50Ω loudspeaker (not included in demo kit) to “LS1” (next to right side of AS2525 IC)
• connect the LCD module either on J6 (next to E²PROM) or on J11 (above keypad). Remark: operationwithout LCD module is also possible
• select line connector pins on J2,J3: outer pins = select 2 & 5, inner/middle pins = select 3&4
• operation in handset mode: activate hookswitch SW1 on left upper corner of PCB:depressed position: on-hook, released position: off-hook
• operation in handsfree mode: toggle “h/free”-switch SW2Remark: depending on mode programming (see pt. 16.4), this key can also be used to activateloudhearing mode, when the hook-switch is in the off-hook position
Preliminary Application Note AN525
03/08/99 /AN525.doc 4 / 23 REV.B01
7. Connector and Jumper locations:
CD display may beconnected either onJ6 or J11
SW1:hook-switch
SW2: handsfreebutton J8: keylock:
close = lock keyboard
J5:handset connector
J1: line inputconnector
J2,J3: line input pin selector
J7A,B: AC impedance setting: see table
LS1: speaker connector
J4: DTMF/Pulse &headset selector
Sidetone Network
MIC1: handsfree microphone connector
cut here to separate keypad and telephoneelectronics
J9: connector for externalkeypad and LCD
AS2525 socket:check component print forproper insertion(pin #1 on left upper corner)
J10: connector for externalcurrent limiter: shorted on PCB !
P1: handsfree sensitivity
Preliminary Application Note AN525
03/08/99 /AN525.doc 5 / 23 REV.B01
8. Circuit description
8.1 Switching between modes
Switching between modes is accomplished in the following way:
from to action Remark: loudhearing mode: 1)
on-hook handset mode offhook hookswitchon-hook handsfree toggle h/f keyon-hook loudhearing not possiblehandset mode on-hook onhook hookswitchhandset mode loudhearing toggle h/f key enabledhandset mode handsfree not possible enabledhandset mode handsfree toggle h/f key disabledloudhearing on-hook onhook hookswitch enabledloudhearing handset mode toggle h/f key enabledloudhearing handsfree not possiblehandsfree on-hook toggle h/f keyhandsfree handset mode not possible enabledhandsfree handset mode offhook hookswitch disabledhandsfree loudhearing offhook hookswitch enabled
1) per default, loudhearing mode is disabled.loudhearing mode is enabled with Code: PG 0 Password # 7 0 PGand disabled with: PG 0 Password # 7 1 PG (see pt. 16.4)
ON-HOOK
Loudhearingmode
(if enabled )
Handsfreemode
Handset mode
on-hook:
toggle h/f key
toggle h/f key
(LH enabled)
onhook
hookswitch
off-hook: toggle h/f
key (LH disabled )
on/offhook
hookswitch
on-hook:
offhook hookswitch
(LH disabled)
offhook:
onhook
hookswitch
offhook hookswitch
(LH enabled)
Prelim
inary Application N
oteA
N525
03/08/99 /AN
525.doc6 / 23
RE
V.B
01
9. Application schem
atic: Dem
oboard
Prelim
inary Application N
oteA
N525
03/08/99 /AN
525.doc7 / 23
RE
V.B
01
10. AN
525 Dem
oboard: component print:
Prelim
inary Application N
oteA
N525
03/08/99 /AN
525.doc8 / 23
RE
V.B
01
11. AN
525 demoboard: layout (top view
):
Preliminary Application Note AN525
03/08/99 /AN525.doc 9 / 23 REV.B01
12. Application schematic: LCD module
The connection between AS2525 and AS2591 is straightforward : just connect a 32,768k clock resonator,VDD,VSS and the 3 microwire bus signals. D101 / C101 is to retain VDD for >5 seconds after on-hook, aslong as the elapsed time is displayed before the LCD is blanked out.VLCD = LCD contrast may be connected directly to VDD without external regulator (close LK101). Anoptional external 3...3,2V regulator (VR101) may be connected to ensure a stable LCD contrast, when VDD ischanging.LCD contrast can be programmed by software , too. See pt.16.4 for programming optionsFor more details see AS2591 datasheet.
13. Layout: LCD module (bottom view):
Preliminary Application Note AN525
03/08/99 /AN525.doc 10 / 23 REV.B01
14. External component selection
14.1 Passive components
All resistors can be ¼ Watt or less, except:R12 (30Ω) P= ILine,max² * 30Ω (e.g. 0.2W @ 80mA)R49 (600Ω; TBR21 application only): P = 1,5Watts (may be replaced by e.g. 3 * 1k8/0.5W resistors in
parallel)
The maximum voltage rating for all caps is ≥6V DC, except:C1 (10µ, RI input) 25VC6 (10µ, AC impedance setting) 25VC23 (100µ, speaker decoupling) 16VC24,C25 (1µ5 ringer caps): 100VC26 (68n, DC-DC converter): 100VC34 (10µ, TBR 21 application only) 50V
14.2 Transistors
Most transistors can be general purpose types. The minimum requirements are shown in the table below:
Part number Type ondemoboard
pol. minimum requirements equivalent type(s)
Q1 2SA 1625K PNP VCEO,VCBO: ≥-200V; hFe ≥100; IC <-100mA KSA 1625KQ1A,Q1B(optional)
MPSA 92 PNP VCEO,VCBO: ≥-200V; IC <-100mA MPSA 93, KSP 92/93
Q1C (optional) BSS92 P-Ch VMOS, enhancement VDS ≥-200V ,ID <-100mA
BSP 92 (SMD)
Q2 2N5551 NPN VCEO,VCBO: ≥200V IC ≈ 1mA MPSA / KSP 42/43Q3, Q5 BC327-25 PNP general purpose.: VCE <-10V , hFe ≥160 IC
<-100mAPD ≤450mW
various
Q4,Q10 BC557 PNP general purpose VCE <-10V variousQ6Q7,Q8
MPSA 922N5551
PNPNPN
if not limited by external zener diode afterbridge RB2, maximum voltage is peakringing voltage. high transient voltages mayoccur during pulse dialing ( clamped by V1)
Q9 (optional) BC547 NPN general purpose VCE <10V variousQ11 (optional) BC327-25 PNP general purpose VCE <-40V , hFe ≥160 IC
<-100mAPD ≤450mW
various
15. Country specific Settings:
15.1 Hardware and software settings
Most parameters (Timings, gains, etc..) can be changed by software in the E²PROM. See pt. 16 for details.
Some analogue parameters however, require modifications of external passive components. These are:
15.1.1 AC impedance
The internal AC impedance of the chip is 1000Ω./real.By adding a capacitor at pin CI (#18), the synthesized impedance becomes complex.A parallel resistor (R14A; DC-decoupled by C6) from pin LS (#17) to VSS (#13) lowers the total ACimpedance in the form of a parallel connection between the IC’s impedance (1000Ω), R4 (typ. 10kΩ) andR14A.
Example: To set an AC impedance of 600Ω, R14A must be 1,8kΩ:RAC = 1000Ω // 10kΩ // 1k8 = 600Ω
Preliminary Application Note AN525
03/08/99 /AN525.doc 11 / 23 REV.B01
On the demoboard, two jumpers, J7A and J7B are provided to quickly change the AC impedance between600 Ω and complex AC impedance. The table printed on the PCB, next to the line connector describes thesetting:
• For 600Ω, close J7A and open J7B : R14A is connected to LS and CI is left open• For complex impedance, open J7A and close J7B : no parallel resistor at LS, C3
15.1.2 Sidetone cancellation
For sidetone cancellation, a passive complex network (R15,R16,C4) must be connected, which should be 10times the value of the (complex) line termination for sidetone measurements:• Sidetone network resistor values = 10 times of line termination resistor values• Sidetone network capacitor value = 1/10 of line termination resistor value
Example: for a line termination of 270Ω + 750Ω // 150nF, the equivalent sidetone network would be
(R15 + R16 // C4) = 2k7 + 7k5 // 15nF
If R14A is installed (e.g. for 600Ω impedance setting), resistor R14B (= 10 times the value of R14A) shouldbe connected in parallel to the sidetone network to compensate for the additional load of R14A
On the demoboard, an 8-pin DIP socket is provided for the sidetone network to allow easy replacement ofthe components.
15.1.3 Sending and receiving frequency response
Although transmit and receive gains can be set by software, additional frequency shaping may be required(depending on acoustic handset characteristics). This can be done by modifying
• C13...15, R28 for handsfree sending frequency shaping• C16...18, R29 for handset sending frequency shaping• R32, C19 and C20 for handset receiving frequency shaping
15.2 Adaption to the pan-European regulations TBR21 / TBR38:
The DB525 demoboard can be easily adapted to meet the TBR21/38 regulations. The according schematic isshown in pt. 15.3.See also pt. 18 for links to the European Telecommunications Standards Institute.Below are the parameters which require modifications on the DB525 demoboard:
15.2.1 Current limiter
Rqmt: TBR21 requires limiting of the maximum DC line current: ILINE ≤ 60mA. For this purpose, an externalcurrent limiting device must be added.
⇒ cut the trace underneath J10 and add the current limiting device (Q10,Q11,C34,R40..R42) at theterminals of J10: “in” = line side (collector of C1), “out” = node/pin LS.
⇒ remove Q4 and short R2 (not required, overcurrent protection is made by Q10/Q11)
The proposed circuit uses just two low cost, general purpose transistors, two ¼-Watt resistors, one 1,5Wattresistor (or several smaller resistors in parallel) and one capacitor.
Preliminary Application Note AN525
03/08/99 /AN525.doc 12 / 23 REV.B01
15.2.2 AC impedance, Echo Return Loss
Rqmt: The AC impedance must be set to 1000Ω / complex. Echo Return Loss must be ≥14dB @ ZREF (270Ω+ 750Ω // 150nF)
⇒ remove R14A and C6 (or open J7A) and remove R14B⇒ short J7B (make sure C3 is 10nF)
Remark: better AC impedance matching might be achieved by changing C3 to 15..22nF. However, thiscreates a problem with DTMF twist . The higher C3, the lower will be the DTMF twist, especially with digit “3”,where the DTMF frequencies are furthest apart. Therefore C3=10nF is a compromise between good EchoReturn Loss at high frequencies and minimum DTMF twist.Some fine tuning can be done by adding R14A (>2kΩ>) + C6 +short J7A to smooth return loss over thevoiceband frequency range.
15.2.3 DTMF frequencies, levels & twist
Rqmt: DTMF level must be –9/-11 dBV, DTMF twist must be >1dB with complex line termination ZREF
⇒ Add C33 = 22pF in parallel to the ceramic resonator X1 to center the DTMF frequencies (depending onresonator)
⇒ Change DTMF level to –10dB ( key in: PG 0 pw 0 6 8 PG)
Remark: bear in mind that C3 affects both return loss and DTMF twist .Check DTMF twist with complex linetermination, especially digit “3” (most critical). Try to make C3 as high as possible to improve Echo ReturnLoss while maintaining a DTMF twist of ≥1dB.
15.2.4 DC current during ringing
Rqmt: In on-hook state, DC current during ringing (90Vrms, ±60VDC) must be ≤0.6mA
⇒ Change the protection element V1at tip/ring (BR211-180) to a type with ≥200V rating (e.g. DSS301Lneon lamp from Mitsubishi )
Remark: if necessary, add C32 = 220pF at the base of Q2 to avoid switching of Q2/Q1 caused byinterference signals ( layout depending; check collector voltage of Q1 during ringing: should be 0V)
15.2.5 Sending and receiving Loudness ratings
Rqmt: SLR = +3 ±4dB, RLR = -8 ±4dBThe values shown below are for the included handset. They may be different with another handset:SLR: remove R29 and change C7 = 10nFRLR: change R32 = 200Ω
Remark: if necessary, handset Tx and Rx gains can be adjusted by programming. See pt.16.4 and datasheet
15.2.6 Sidetone cancellation
Rqmt: Sidetone cancellation is measured with 3 different terminations:a) Zref = 82Ω + 600Ω // 68nF STMR ≥ 5dBb) Zref = 270Ω + 750Ω // 150nF STMR ≥ 10dBc) Zref = 220Ω + 1800Ω // 15nF STMR ≥ 7dB
⇒ Good sidetone cancellation is achieved with a sidetone network of R18 = 1k8, R16 = 10k, C4 = 15nF
Remark: some fine tuning may be necessary. Generally, the sidetone network should be 10 times the linetermination.
Prelim
inary Application N
oteA
N525
03/08/99 /AN
525.doc13 / 23
RE
V.B
01
15.3 A
pplication schematic for T
BR
21/38
Preliminary Application Note AN525
03/08/99 /AN525.doc 14 / 23 REV.B01
16. E²PROM
16.1 Program file : AN525.HEX :
Shown below is the default INTEL-HEX file for the Microchip 93LC66A 8-bit serial E²PROM. The first 4 datalines are the factory settings and the remaining part is the user setting. Per default, user setting is equal tofactory setting:
:1000000075F0F01020C06030F0001050407070703B:1000100070707070C0A0A01111321071E0DEF00697:10002000F00DF02DF05CF0A5F09BD0C290000070B8:100030007000000000000000000000000000000050:1000400075F0F01020C06030F000105040707070FB:1000500070707070C0A0A01111321071E0DEF00657:10006000F00DF02DF05CF0A5F09BD0C29000007078:01007000701F:00000001FF
16.2 Accessing the serial bus by an external device
The serial bus (DI,DO,CLK,CS1,CS2) can be used by an external device, when the AS2525 is in idle state(HS = HF = Low). In this state, the bus is pulled to VSS by internal 100kΩ resistors.
Exception: after the first rising edge at FCI (e.g. caused by a ringing signal ), the AS2525 accesses theE²PROM for about 10ms. During this period, the external device must not access the bus.
16.3 Memory mapping:
16.3.1 Address range 00...30(Hex): factory settings :
The factory settings can only be changed with password. Bits marked with “x” are not used.See pt.16.4 or datasheet for exact programming procedures.
16.3.2 Address range 31(Hex)..3F(Hex):
This address range is not used
16.3.3 Address range 40(Hex)..70(Hex): user programmable settings :
Per default, this area is a copy of the factory settings.The user settings can be changed either with or without PIN-code. See pt.16.4 or datasheet for exactprogramming procedures.
16.3.4 E²PROM contents table::
The table below lists the contents of the E²PROM, as they are set by default. Both the respective factorysettings and user settings addresses are shown. For each address, the data is listed in HEX and binary form.
Column “PG area”
“fact” and “user” indicate the area where these bits are changed.
“n/a” denotes that this bit can not be changed by manual key entry, only with external E²PROM programmer.
After modifying the factory settings area, the same data is also updated automatically in the user settingsarea.
Some program codes only change the user settings, like. PIN-code, Call restriction, etc. (indicated by “user”in “PG area”). These changes will have no effect in the factory settings. By invoking the “reset to factorysettings” command: PG 1 PIN # 8 1 PG , all data in the factory settings is copied into the user settings areaand overrides the previous user settings .
Preliminary Application Note AN525
03/08/99 /AN525.doc 15 / 23 REV.B01
HEX-Addresses
Data (binary)X= not used, letters: see description
fac-tory
user HEXData
7=MSB
6 5 4 3 2 1 0=LSB
DescriptionY/N=on/off=1/0
PGarea
00 40 75 dig0
lcd1
ext1
1 0 1 0 1 dig: # of LCD digits: 0=12 1=16lcd: LCD display present Y/Next: LCD extended symbols Y/Nbits 0..3: flags for E²PROMdetection (don’t change !)
n/an/afactn/a
01 41 F0 rxhf1
txhf1
rxhs1
txhs1
x x x x Soft cliprxhf: receive, handsfree Y/Ntxhf: transmit, handsfree Y/Nrxhs: receive, handset Y/Ntxhf: transmit, handset Y/N
factfactfactfact
02 41 F0 vli1
bnm1
lh1
hvol1
x x x x vli :LI-voltage: 0=3.5V / 1=4.5Vbnm: handsfree background noisemonitoring Y/Nlh: 0=loudhearing+handsfree1=handsfree onlyhvol: volume control: 0 = onlyspeaker; 1=handset+speaker
factfact
fact
fact
03 43 10 gkl0
ukl0
ekl0
kle1
x x x x key lock options : Y/Ngkl: global keylockukl: user keylock/ Pin-codeekl: easy key lockkle: s/w key lock enable
n/auseruserfact
04 44 20 tMF0
p/t0
m/b1
pps0
x x x x tMF: temp MF dials “*”(star) Y/Np/t: 0=Pulse 1=DTMFm/b: m/b ratio: 0 = 33/66 1 = 40/60pps: pulses/sec: 0=10pps 1=20pps
factuserfactfact
05 45 C0 bp1
hd1
ps0
fl0
x x x x bp: key beep Y/Nhd: Pin30: 0=head/handset 1=P/Tps: select pause1 [0] or pause2 [1]fl: select recall0 [0] or recall1 [1]
factfactuseruser
06 46 60 r20
r11
vr1
led0
x x x x r2: Recall2 in LD mode Y/Nr1: Recall1 in LD mode Y/Nvr: reset volume after off-hook Y/Nled: Led1: 0=h/f only 1=keypress
factfactfactfact
07 47 30 x rm0
rm1
rm1
x x x x rm: ringer melody user
08 48 F0 ron1
eoff1
rv1
rv1
x x x x ron: ringing Y/Neoff: allow ringing off Y/Nrv: ringing volume
userfactuser
09 49 00 x x lhi0
llo0
x x x x line loss compensation:lhi: low range llo: high range Y/N
fact
0A 4A 10 x x vs0
vs1
x x x x vs: h/free voice switching speed fact
0B 4B 50 cths0
cths1
ctls0
ctls1
x x x x cths: comfort tone level for handsetctls: comfort tone level for speaker
factfact
0C 4C 40 x #tm1
ctr0
ctr0
x x x x #tm: ringer melody: 0=2tone 1=3tonectr: LCD contrast 1/2/3
factuser
0D 4D 70 rxhs0
rxhs1
rxhs1
rxhs1
x x x x rxhs: handset receive gain fact
0E 4E 70 txhs0
txhs1
txhs1
txhs1
x x x x txhs: handset transmit gain fact
Preliminary Application Note AN525
03/08/99 /AN525.doc 16 / 23 REV.B01
HEX-Addresses
Data (binary)X= not used, letters: see description
fac-tory
user HEXData
7=MSB
6 5 4 3 2 1 0=LSB
DescriptionY/N=on/off=1/0
PGarea
0F 4F 70 rxhf0
rxhf1
rxhf1
rxhf1
x x x x rxhf: handsfree receive gain fact
10 50 70 txhf0
txhf1
txhf1
txhf1
x x x x txhf: handsfree transmit gain fact
11 51 70 rxhd0
rxhd1
rxhd1
rxhd1
x x x x rxhd: headset receive gain fact
12 52 70 txhd0
txhd1
txhd1
txhd1
x x x x txhd: headset transmit gain fact
13 53 70 VOL0
VOL1
VOL1
VOL1
x x x x start up handsfree VOLume setting user
14 54 C0 MFL1
MFL1
MFL0
MFL0
x x x x DTMF leveldefault: code CHEX = -6dBm / low grp
fact
15 55 A0 cr11
cr10
cr11
cr11
x x x x Call restriction: first digitdefault: AHEX= MT = blank (no restr.)
user
16 56 A0 cr21
cr20
cr21
cr21
x x x x Call restriction: second digitdefault: AHEX= MT = blank (no restr.)
user
17 57 11 p40
p40
p40
p41
p30
p30
p30
p31
PIN-code: Digits 4 and 3(default pin code = 1111)
user
18 58 11 p20
p20
p20
p21
p10
p10
p10
p11
PIN-code: Digits 2 and 1(default pin code = 1111)
user
19 59 32 s40
s40
s41
s41
s30
s30
s31
s30
Password: Digits 4 and 3(default password = 0123)
n/a
1A 5A 10 s20
s20
s20
s21
s10
s10
s10
s10
Password: Digits 2 and 1(default password = 0123)
n/a
1B 5B 71 idl0
idl1
idl1
idl1
idm0
idm0
idm0
idm1
Inter digit pause: low (idl)and mid (idm) digits
fact
1C 5C E0 idh1
idh1
idh1
idh0
x x x x Inter digit pause: high digitdefault= E17HEX = 840ms
fact
1D 5D DE pdl1
pdl1
pdl0
pdl1
pdm1
pdm1
pdm1
pdm0
Pre digit pause: low (pdl)and mid (pdm) digits
fact
1E 5E F0 pdh1
pdh1
pdh1
pdh1
x x x x Pre digit pause: high digitdefault= FEDHEX = 33ms
fact
1F 5F 06 pfl0
pfl0
pfl0
pfl0
pfm0
pfm1
pfm1
pfm0
Post flash pause: low (pfl)and mid (pfm) digits
fact
20 60 F0 pfh1
pfh1
pfh1
pfh1
x x x x Post flash pause: high digitdefault= F60HEX = 274ms
fact
21 61 0D mfl0
mfl0
mfl0
mfl0
mfm1
mfm1
mfm0
mfm1
DTMF tone duration: low (mfl)and mid (mfm) digits
fact
22 62 F0 mfh1
mfh1
mfh1
mfh1
x x x x DTMF tone duration: high digitdefault= FD0HEX = 82ms
fact
23 63 2D dpl0
dpl0
dpl1
dpl0
dpm1
dpm1
dpm0
dpm1
DTMF pause duration: low (dpl)and mid (dpm) digits
fact
24 64 F0 dph1
dph1
dph1
dph1
x x x x DTMF pause duration: high digitdefault= FD2HEX = 79ms
fact
25 65 5C f1l0
f1l1
f1l0
f1l1
f1m1
f1m1
f1m0
f1m0
Flash 1 duration: low (f1l)and mid (f1m) digits
fact
26 66 F0 f1h1
f1h1
f1h1
f1h1
x x x x Flash 1 duration: high digitdefault= FC5HEX = 101ms
fact
27 67 A5 f2l1
f2l0
f2l1
f2l0
f2m0
f2m1
f2m0
f2m1
Flash 2 duration: low (f2l)and mid (f2m) digits
fact
Preliminary Application Note AN525
03/08/99 /AN525.doc 17 / 23 REV.B01
HEX-Addresses
Data (binary)X= not used, letters: see description
fac-tory
user HEXData
7=MSB
6 5 4 3 2 1 0=LSB
DescriptionY/N=on/off=1/0
PGarea
28 68 F0 f2h1
f2h1
f2h1
f2h1
x x x x Flash 2 duration: high digitdefault= F5AHEX = 285ms
fact
29 69 9B p1l1
p1l0
p1l0
p1l1
p1m1
p1m0
p1m1
p1m1
Pause 1 duration: low (p1l)and mid (p1m) digits
fact
2A 6A D0 p1h1
p1h1
p1h0
p1h1
x x x x Pause 1 duration: high digitdefault= DB9HEX = 1sec
fact
2B 6B C2 p2l1
p2l1
p2l0
p2l0
p2m0
p2m0
p2m1
p2m0
Pause 2 duration: low (p2l)and mid (p2m) digits
fact
2C 6C 90 p2h1
p2h0
p2h0
p2h1
x x x x Pause 2 duration: high digitdefault= 92CHEX = 3sec
fact
2D 6D 00 tp2 tp1 ScT x x x x x tp1,tp2, ScT = for internal use only n/a2E 6E 00 tp6 tp5 tp4 tp3 x x x x tp3..6 = for internal use only n/a2F 6F 70 drhd
0drhd
1drhd
1drhd
1x x x x default receive gain for headset n/a
30 70 70 drhs0
drhs1
drhs1
drhs1
x x x x default receive gain for handset n/a
16.3.5 Address range 71(Hex)..7F(Hex):
this area is not used
16.3.6 Address range 80(Hex)..E11(Hex): memories
The direct and indirect memory locations for stored telephone numbers are located at the following E²PROMmemory locations:
Start address (HEX) length: byte/digits Name Programming sequence *1)
80 12 / 24 Indirect Memory 1 (MR 1) PG MR 1 number PG
8C 12 / 24 Indirect Memory 2 (MR 2) PG MR 2 number PG
98 12 / 24 Indirect Memory 3 (MR 3) PG MR 3 number PG
A4 12 / 24 Indirect Memory 4 (MR 4) PG MR 4 number PG
B0 12 / 24 Indirect Memory 5 (MR 5) PG MR 5 number PG
BC 12 / 24 Indirect Memory 6 (MR 6) PG MR 6 number PG
C8 12 / 24 Indirect Memory 7 (MR 7) PG MR 7 number PG
D4 12 / 24 Indirect Memory 8 (MR 8) PG MR 8 number PG
E0 12 / 24 Indirect Memory 9 (MR 9) PG MR 9 number PG
EC 12 / 24 Indirect Memory 0 (MR 0) PG MR 0 number PG
F8 12 / 24 Indirect Memory * (MR *) PG MR * number PG
104 12 / 24 Indirect Memory # (MR #) PG MR # number PG
110 12 / 24 M1 PG M1 number PG
11C 12 / 24 M2 PG M2 number PG
128 12 / 24 M3 PG M3 number PG
134 12 / 24 M4 PG M4 number PG
140 12 / 24 M5 PG M5 number PG
14C 12 / 24 M6 PG M6 number PG
158 12 / 24 M7 PG M7 number PG
Preliminary Application Note AN525
03/08/99 /AN525.doc 18 / 23 REV.B01
Start address (HEX) length: byte/digits Name Programming sequence *1)
164 12 / 24 M8 PG M7 number PG
170 12 / 24 M9 (SHIFT M1) PG SH M1 number PG
17C 12 / 24 M10 (SHIFT M2) PG SH M2 number PG
188 12 / 24 M11 (SHIFT M3) PG SH M3 number PG
194 12 / 24 M12 (SHIFT M4) PG SH M4 number PG
1A0 12 / 24 M13 (SHIFT M5) PG SH M5 number PG
1AC 12 / 24 M14 (SHIFT M6) PG SH M6 number PG
1B8 12 / 24 M15 (SHIFT M7) PG SH M7 number PG
1C4 12 / 24 M16 (SHIFT M8) PG SH M8 number PG
1D0 12 / 24 not used
1DC 16 / 32 Last Number Redial R/P key
*1)Valid keys for programming:
PG = program key,MR = Memory Recall key ,SH = Shift key ,M1....M8 = direct memory keysR/P = Redial/Pause key,MT = mute keyFL = Flash keynumber : 0...9 , *, #, FL,
R/P :inserts a pause,MT :security storing: within a number string all numbers after MT until next MT are hidden, [......] is
displayed, the brackets [] indicate the positions of the MT’s within the stored number)
16.4 Programmable parameters sorted by function:
Although all parameters are present in both areas (factory and user settings), only the address, where it isacually changed is listed.Bits changed in the factory settings area are automatically also updated in the user settings areaProgramming sequence: PG = PG-key
pw = password (default = 0123)opt = option; see column “programming options”hex = HEX-code; see formula below and in datasheetpin = PIN-code (default = 1111)default settings are marked in bold letters
16.4.1 HEX-code formula for timings:
Dataf
Tdecimal
OSC MHz= −•
•4096512 12
[ ]
[sec]
This decimal data must be converted into HEX data and entered via the decimal number keys and theM1...M6 keys: AHEX =M1; BHEX =M2; CHEX =M3; DHEX =M4; EHEX =M5; FHEX =M6;
Preliminary Application Note AN525
03/08/99 /AN525.doc 19 / 23 REV.B01
Only those addresses, where data is being changed by programming, are shown:
Parameter Hex-Addr.& bit(s) infactorysettingsarea
Hex-Addr.& bit(s) inusersettingsarea
Programmingsequenceby keypad
Programming options
LCD: number of digits 00 7 40 7 not available 0=12 digits 1=16digits
LCD: display present 00 6 40 6 not available 0= NO 1= YESLCD: extended symbols 00 5 40 5 PG 0 pw 91 opt PG 0= NO 1= YESflags for E²Prom detection 00 3..0 40 3..0 not availablesoft clip: handsfree receive 01 7 41 7 PG 0 pw 9 3 opt PG 0= disabled 1= enabledsoft clip: handsfree transmit 01 6 41 6 PG 0 pw 9 2 opt PG 0= disabled 1= enabledsoft clip: handset receive 01 5 41 5 PG 0 pw # 5 opt PG 0= disabled 1= enabledsoft clip: handset transmit 01 4 41 4 PG 0 pw # 4 opt PG 0= disabled 1= enabledDC-mask: LI-voltage 02 7 42 7 PG 0 pw # 3 opt PG 0= 3,5V 1=4,5Vbackground noise monitoring 02 6 42 6 PG 0 pw # 6 opt PG 0= NO 1= YESLoudhearing / handsfree 02 5 42 5 PG 0 pw # 7 opt PG 0=LH+h/f 1=h/f onlyVOL control: speaker/handset 02 4 42 4 PG 0 pw 9 # opt PG 0=spkr only 1=h/s+spkrKeylock status 03 7 43 7 n/a; for internal use 0=unlocked 1=lockedPIN-code keylock(keylock = bit 4 must beenabled)
- - 43 6 PG 1 pin # 6 opt PG 0=unlock 1=lock(unlocks both hardwareand software keylock)
easy key lock toggle(keylock = bit 4 must beenabled)
- - 43 5 PG 5 3 9 PG toggle lock/unlock(unlocks only easykeylock )
keylock enable 03 4 43 4 PG 0 pw 9 8 opt PG 0=hardware keylock only1=hard&software keylock
Star(*)-key when changingfrom Pulse to Temporary MF
04 7 44 7 PG 0 pw 9 7 opt PG 0= * is not dialed out1= * is dialed out
Tone/Pulse mode (only whenhd/pin30 =0:head/handset)
- - 44 6 PG 3 opt PG 0= Pulse dialing mode1= DTMF mode
make/break ratio 04 5 44 5 PG 0 pw # 1 opt PG 0 = 33/66 1 = 40/60Pulses per second 04 4 44 4 PG 0 pw # 2 opt PG 0=10pps 1=20ppskey beep 05 7 45 7 PG 0 pw # 9 opt PG 0= NO 1= YEShd / pin30 selection 05 6 45 6 PG 0 pw 9 9 opt PG 0 = head/handset
1 =Pulse/Tone (VSS/VDD)Pause selection - - 45 5 PG 4 opt PG 0= Pause1 1= Pause2Recall/Flash selection - - 45 4 PG 2 opt PG 0= Flash1 1= Flash2Recall2 in pulse mode 06 7 46 7 PG 0 pw # # opt PG 0= NO 1= YESRecall1 in pulse mode 06 6 46 6 PG 0 pw # * opt PG 0= NO 1= YESVOLume setting at off-hook:reset / last setting
06 5 46 5 PG 0 pw 9 5 opt PG 0= last setting1= reset to default
LED1 indication 06 4 46 4 not available 0= handsfree mode1= handsfree and keypress
key test (for testing purposeonly)
- - - - PG 0 pw 9 * LED1 indicates a keypressbit 06/4 is not stored
Ringer melody - - 47 6...4 PG 7 opt PG 0 / 1 / 2 / 3 / 4Ringer on / off (must beallowed by bit 08 / 06 )
- - 48 7 PG 9 opt PG 0= OFF 1= ON
“Ringer off “ allowed 08 6 48 6 PG 0 pw 9 0 opt PG 0= not allowed 1= allowedRinging volume - - 48 5...4 PG 6 opt PG 1=min 2=mid 3=maxLine Loss compensation, AGC 09 6...4 49 6...4 PG 0 pw 0 5 opt PG 0=off 1=low 2=highh/free voice switchingspeed
0A 5...4 4A 5...4 PG 0 pw 9 4 opt PG 0= 1 time 1= 2 times2= 4 times 3= 8 times
Preliminary Application Note AN525
03/08/99 /AN525.doc 20 / 23 REV.B01
Parameter Hex-Addr.& bit(s) infactorysettingsarea
Hex-Addr.& bit(s) inusersettingsarea
Programmingsequenceby keypad
Programming options
comfort tone level forhandset
0B 7...6 4B 7...6 PG 0 pw 0 9 opt PG 0= -36dBr 1= -30dBr2= -24dBr 3= -18dBr
comfort tone level forspeaker
0B 5...4 4B 5...4 PG 0 pw 0 0 opt PG 0= -15dBr 1= -9dBr2= -3dBr 3= +3dBr
ringer melodycadence
0C 6 4C 6 PG 0 pw # 8 opt PG 0= 2tone 1=3tone
LCD contrast 0C 5...4 4C 5...4 PG 8 opt PG 0= min [key1] 1= med[key2] 2= high [key3]
handset receive gain 0D 7...4 4D 7...4 PG 0 pw 0 2 opt PG 16 options ; see datasheethandset transmit gain 0E 7...4 4E 7...4 PG 0 pw 0 1 opt PG 16 options ; see datasheeth/free speaker receive gain 0F 7...4 4F 7...4 PG 0 pw 0 4 opt PG 16 options ; see datasheethandsfree transmit gain 10 7...4 50 7...4 PG 0 pw 0 3 opt PG 16 options ; see datasheetheadset receive gain 11 7...4 51 7...4 PG 0 pw 0 8 opt PG 16 options ; see datasheetheadset transmit gain 12 7...4 52 7...4 PG 0 pw 0 7 opt PG 16 options ; see datasheetstart-up handsfree Volume - - 53 7...4 VOL-key in h/f mode 8 Volume steps á 2,5dBDTMF level 14 7...4 54 7...4 PG 0 pw 0 6 opt PG 13 levels ; see datasheetCall restriction: first digit 15 7...4 55 7...4 PG 1 pin * 1 opt PG 0...9 or AH=Mute=disabledCall restriction: second digit 16 7...4 56 7...4 PG 1 pin * 2 opt PG 0...9 or AH=Mute=disabledPIN-code: Digits 4 and 3
PIN-code: Digits 2 and 1
-
-
-
-
57
58
7..4,3...07..4,3...0
PG 1 pin 0 opt PG(all 4 digits)
opt= newPIN + newPIN(enter newPIN twice)
default PIN = 1111Password: Digits 4 and 3
Password: Digits 2 and 1
19
1A
7..4,3...07..4,3...0
59
5A
7..4,3...07..4,3...0
not available default Password = 0123
Inter digit pause: low and middigitsInter digit pause: high digit
1B
1C
7..4,3..07..4
5B
5C
7..4,3..07..4
PG 0 pw * 1 hex PG default: E17HEX = 840ms
Pre digit pause: low and middigitsPre digit pause: high digit
1D
1E
7..4,3..07..4
5D
5E
7..4,3..07..4
PG 0 pw * 8 hex PG default: FEDHEX = 33ms
Post flash pause: low and middigitsPost flash pause: high digit
1F
20
7..4,3..07..4
5F
60
7..4,3..07..4
PG 0 pw * 9 hex PG default: F60HEX = 274ms
DTMF tone duration: low andmid digitsDTMF tone duration: high digit
21
22
7..4,3..07..4
61
62
7..4,3..07..4
PG 0 pw * 2 hex PG default: FD0HEX = 82ms
DTMF pause duration: lowand mid digitsDTMF pause durat. :high digit
23
24
7..4,3..07..4
63
64
7..4,3..07..4
PG 0 pw * 2 hex PG default: FD2HEX = 79ms
Flash1 duration: low and middigitsFlash1 duration: high digit
25
26
7..4,3..07..4
65
66
7..4,3..07..4
PG 0 pw * 4 hex PG default: FC5HEX = 101ms
Flash2 duration: low and middigitsFlash2 duration: high digit
27
28
7..4,3..07..4
67
68
7..4,3..07..4
PG 0 pw * 5 hex PG default: F5AHEX = 285ms
Preliminary Application Note AN525
03/08/99 /AN525.doc 21 / 23 REV.B01
Parameter Hex-Addr.& bit(s) infactorysettingsarea
Hex-Addr.& bit(s) inusersettingsarea
Programmingsequenceby keypad
Programming options
Pause1 duration: low and middigitsPause1 duration: high digit
29
2A
7..4,3..07..4
69
6A
7..4,3..07..4
PG 0 pw * 6 hex PG default: DB9HEX = 1sec
Pause2 duration: low and middigitsPause2 duration: high digit
2B
2C
7..4,3..07..4
6B
6C
7..4,3..07..4
PG 0 pw * 7 hex PG default: 9C2HEX = 3sec
Testpoints for internal use 2D2E
7..57..4
6D6E
7..57..4
not available
Default receive gain: headset 2F 7..4 6F 7..4 not available default: middle positionDefault rx gain: for handset 30 7..4 70 7..4 not available default: middle position
17. Software and hardware tools for programming the E²PROM
A free software can be downloaded from the Austria Mikro Systeme Int. AG homepage
http://www.amsint.com/products/product/as2525.html
which allows convenient parameter setting under Windows95 environment and programming of theE²PROM via the parallel interface LPT port of the PC.The programming adapter for the LPT – port is not provided. The simple circuit is shown below.
Restrictions: It requires a 5V COM-port. Some laptops use 3V ports, these may cause problems withprogramming.
17.1 Interface circuit diagram for programming the E²PROM via the parallel LPT-port
17.2 Installation and operation of E²programmer software
After downloading the EEPROMMER.ZIP-file, extract the two files contained in it and save them to the samedirectory on your hard disk.Run the Exe- file. The selections for programming options correspond to the options described in pt.16.4.Parameters stored in the factory settings are automatically stored in the user settings, too.
The menu options include• (“File/save”) Saving the selected options to a default INTEL-HEX file (EEPROM.DAT)• Saving the selected options as INTEL-HEX or Decimal file.• Reading the entire E²PROM from the LPT port and displaying either factory or user settings• Resetting the selections to default• Writing and verifying the E²PROM on the LPT port• Selection of LPT1 or LPT2 port
Preliminary Application Note AN525
04/08/99 /AN525.doc 22 / 23 REV.B01
18. Keylock and call restriction:
18.1 Keylock options
In order to prevent unauthorized use of the telephone, several options of keylock are provided. A lockedkeyboard is indicated by a “key” symbol on the LCD display.In the locked state however, memory key M1 remains operational to allow, for example, emergency calling.The PG key is also enabled to allow software unlock.Unlocking the keyboard can be carried out either by hardware or by software, depending on the type ofkeylock:Remark: in any locked mode, E²PROM and LCD are still operating and incoming calls can be handlednormally, Volume and Mute (V+, V- ,MT) keys are operational.
⇒ see pt. 16.4.1 , Addr. 03 and Addr. 43 for programming options
18.1.1 Keylock enable bit (Addr 03 / bit4)
This bit selects either hardware keylock only or both hardware and software keylock.Enable h/w+s/w keylock with PG 0 pw 9 8 1 PG , set h/w keylock only with PG 0 pw 9 8 0 PG .
18.1.2 Hardware keylock (J8):
When this jumper is closed, all keys are locked, except: the M1 and the PG key.
unlocking keyboard:either by opening J8 or by software pincode unlock (PG 1 pin # 6 0 PG ). If keyboard is unlocked bysoftware while J8 remains closed, it will remain locked after next off-hook.
18.1.3 Pincode keylock :
⇒ Keylock enable bit must be setThe programming sequence PG 1 pin # 6 1 PG (addr 43/bit6) provides the same locked status asthe hardware keylock.Unlocking can be performed by software pincode unlock (see above). The keyboard will remainunlocked after next off-hook
18.1.4 Easy keylock ( Addr 43 / bit 5)
⇒ Keylock enable bit must be setCode PG 5 3 9 PG toggles between lock and unlock. This code however can only unlock the “Easykeylock”.
18.2 Call restricion
⇒ see also: description pt. 16.4.1 for Addresses 15 and 16:
A code of 1 or 2 digits can be programmed, which will inhibit dialing if it matches the first 1 or 2 digits of amanual key entry or the contents of a programmed memory being dialed out.
Example: 1st digit = “0”, 2nd digit = disabled: PG 1 pin * 1 0 PG will inhibit all outgoing numbers startingwith “0...”additional programming of 2nd digit = “9”: PG 1 pin * 2 9 PG will inhibit all outgoing numbersstarting with “09”, but allow numbers like “00...,01..., etc. ”Pauses are ignored, numbers like “0 PS 9 ....” will also be inhibited.
To cancel call restriction, enter MUTE as the option during programming of both digits:PG 1 pin * 1 MT PGPG 1 pin * 2 MT PG
Preliminary Application Note AN525
03/08/99 /AN525.doc 23 / 23 REV.B01
19. Related Standards
The product, AS25xx, is designed to be in compliance with ETSI standards for connection to the analoguePSTN of terminal equipment including voice telephony services or other voice band communication wheninstalled into a properly designed syste. The specification of the product is based on following standards andrequirements:
NET 4 ETS 300 001, PSTN basic access; analogue terminal equipmentgeneral requirements, March 1996.
EN55022 EMC ( Electro Magnetic Compatibility)IEC 1000-4-3 Electromagnetic Irradiation (CE approval)TBR 21 pan-European approval for connection to the analogue Public Switched Telephone
Network (line interface part)TBR 38 pan-European approval for connection to the analogue Public Switched Telephone
Network (acoustics). See http://www.etsi.org for further information
Note: Some national PTT authorities may have additional requirements exceeding the above standardsand requirements. Such additional requirements have only been respected to the extent that theywere known to Austria Mikro Systeme prior to designing the product. However, Austria MikroSysteme shall not be liable to recipient or any third party in connection with the approval proceduresof applications in which the AS25xx is used.
20. Approvals
Since the AS25xx is a component and not a complete system, it can not be approved as a stand alone partby the standards bodies. Hence, full conformance to above standards is depending on the application inwhich the AS25xx is being used, and therefore, approvals by the standards bodies are the responsibility ofthe customer and Austria Mikro Systeme will not have tested the product to meet the above standards.
21. General Liability Declaration
The information furnished here by Austria Mikro Systeme is believed to be correct and accurate. However,Austria Mikro Systeme shall not be liable to licensee or any third party for any damages, including but notlimited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect,special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing,performance or use of the technical data. No obligation or liability to licensee or any third party shall arise orflow out of Austria Mikro Systeme rendering technical or other services.
End of Document