• No results found

CVM(PP/FP) EEPROM Layout

N/A
N/A
Protected

Academic year: 2022

Share "CVM(PP/FP) EEPROM Layout"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

CVM(PP/FP) EEPROM Layout

Content

1 Scope ... 2

2 Document history... 2

3 Reference ... 4

4 Introduction ... 5

5 Eeprom Layout ... 6

5.1 EepromInRam ... 6

5.2 EepromNotInRam ... 8

5.3 PSTN Line (FP)... 11

5.3.1 User Settings ... 11

5.3.2 Production Settings ... 11

5.4 PSTN Line driver (FP). ... 14

5.4.1 Line Unit ... 14

5.4.2 Plug/Pol detection ... 17

5.4.3 Line-AGC... 18

5.5 Production Test ... 19

5.6 Audio Setup... 19

5.7 Headset Detect Setting ... 20

5.8 PCM settings ... 21

5.9 CLIP Configuration (FP)... 22

5.10 UART Baud rate... 25

5.11 Battery Configuration (PP)... 25

5.12 Switch Control (FP) ... 26

5.13 Signal Detection (FP) ... 27

5.14 DSP Patch... 28

5.15 Runtime Error Log ... 29

6 Appendix ... 30

6.1 Country Settings... 30

6.1.1 Abbreviations ... 30

6.1.2 PSTN Line... 30

6.2 Plug/Pol Detection... 31

6.3 Line-AGC... 32

6.3.1 Activation ... 32

6.3.2 VMin/VMax ... 32

6.3.3 RLR steps/gain ... 33

6.3.4 SLR steps/gain... 33

6.3.5 Line-AGC update ... 33

6.4 Improved FSK CLIP detection... 34

6.4.1 CAS detector parameters... 34

(2)

1 Scope

The purpose of this document is to describe the layout of the EEPROM for the RTX CVM mixed Base and Handset.

The EEPROM contains hardware, software and user specific parameters. Some parameters must be set during production and some are set by the user when configuring.

2 Document history

File “CVM Eeprom FpPp.doc”

Prepared by LH

Last modified by SS Last date of modification 1/12/2005 Date of creation 09-12-2002

Revision 0.01

Author Date

YYMMDD

Comments

MSJ 030110 PP audio-setup moved to 2C5H LHJ 030114 Protocol parameters updated MSJ 030131 Line-driver parameters updated AES 030203 Audio parameters updated MSJ 030206 CLIP parameters added

MSJ 030218 LU audio parameters updated (248h,24Ch..251h) AES 030219 Mic gain adjustet for earpiece mode

MDA 030227 Battery parameters added

MSJ 030304 PSTN line driver, plug/pol detection parameters MDA 030307 - Unused battery parameters removed.

- Battery default values changed.

MSJ 030313 LU audio parameters changed (248h-251h) CLIP, no D-ACK if parallel offhook (341h) Switch control added

MSJ 030314 LSR gain changed, DTMF attenuation changed

MDA 030325 Parse.Configuration (35Bh–35Ch) default value changed (ProtocolPriority disabled).

MDA 030325 “Automatic update of RealTimeClock from CLIP info” bit added to FpConfig (03Fh)

MDA 030326 - UARTBaudRate (37Fh) added.

- Obsolete battery parameters removed (020h-022h).

LHJ 030331 Unused parameters removed.

AES 030409 Headset detection parameters added, Pcm settings added. Extra battery parameter added.

MSJ 030411 PortCfg added (241H) LHJ 030428 Unused parameters removed.

MDA 030430 CVMBatteryTaskEnabled (3B6h) added.

MSJ 0305005 CPTD parameters changed (0281h). Mode parameter used for selecting between ETSI/US CP-tones.

MSJ 030507 FpConfig, bit1+2 no longer used.

(3)

Switch control parameters changed (03B7..B9)

MSJ 030514 Plug/Pol parameters corrected for PCB v3 and plug in/out detection enabled

MSJ 030519 Country settings chapter added.

DtmfTimeU1, changed to 60ms (021D)

Pulse impedance low during inter-digit period (0210) Clip detection configuration changed to FSK-only (340) MSJ 030520 DSP patch support (400h)

MSJ 030606 UCfg.Mode (200H) changed to 05h MSJ 030623 FlashPreventTimeU200 added (0227h)

PlugD.ParDetThresholdOnh changed to 53h (02B1) Signal detection parameters added (0480h).

MDA 030729 SpiConfig added - possibility to set SPI_INT active high or active low.

MDA 030730 TopDutyCycle default value changed.

MSJ 030731 FpConfig, description changed.

MSJ 030818 D-ACK changed to 80ms and CAS data timeout to 500ms.

Cas.Datatimeout added to country settings table CptDet parameter layout changed (0281h) FskDet.CdTrsHoldOfh parameter added (277h)

MSJ 030908 ANAGC parameters added, Audio. ToneGenTxAtt moved Line-AGC parameters (2B5..) added

Plug/Pol + Line-AGC appendix added AES 030909 Extended Audio settings added

MSJ 030915 CasDetAlgoEnable bit added (EEP 240h) for enabling new improved CASDET algorithm.

Rpas.SilenceTimeout placement corrected.

Cas.MinDuration changed to 55ms.

Signal detection parameters moved to 400h DSP patch parameters extended and moved to 438H LHJ 030923 HighRssiLimit, HighRssiTime and RepeaterControl added.

MSJ 030926 Cfg-1 (240h), added option for enabling FSK-detection via new improved FSK decoder algorithm.

FskDet.MarkDetOn , default value changed to FF.

LHJ 030926 RfBand added.

SS 031003 low gain default RfPatch added

SS 031003 address cleanup. All relative addressing removed

MSJ 031017 Switch control cfg-2 (03B8) - a couple more options added.

Some more description of CLIP "Learn mode” (0340) LHJ 031020 RssiInterferenceLimit eeprom parameter added.

MSJ(KL) 031021 Audio.CodecMicONH (EEP 246..247) changed to 0002h DtmfDet.DtmfTrsHold (EEP 26D..6E) changed to 0104h FskDet. CdTrsHoldOnh (EEP 275..76) changed to 0104h

MSJ 031022 Added appendix 6.4

MSJ 031028 run-time error-log data described (5.15)

MSJ 031114 CLIP, learn-method option added to Clip.options (0341h) MSJ 031120 CLIP, learn-method option modified (0341h)

MSJ 031201 Line-AGC , added some more information to 6.3 SS 031201 FpCradleDetectLimit added

MSJ 031209 FSKDECOD parameters added (028C..91).

MDA 031209 Unused/reserved battery parameters marked as reserved.

MSJ 031210 HoldTone bit moved from UCfg.Mode to UCfg.Cfg2 (203H) Country-settings for PSTN-line includes some more info.

SS 031212 PreChargeValue added to prevent fully discharged batteries to make the handset go into reset-loop

SS 031215 Disable Realtime Clock update from FP in FpConfig MSJ 040112 FSKDECOD.mark_deton parameter added (0292..93H).

MSJ 040115 FSKDECOD mark_deton offhook changed to 18H in order to enable detection of only 40 mark bits. mark_deton_onhook set to 23H.

MSJ 040122 Clip.Options.AckParallelPhone option explained

CAS.AckDelayTimeout added to country-settings table (6.1.2).

(4)

Recommended setting for Clip.Options changed.

SS 040310 Bitfields aligned

SS 040311 PowerupVoltage added

MSJ 040324 PpFrontEnd + FpFrontEnd parameters added (EEP 031A..1B) Pcm0CtrlReg parameter, functionality + description modified (EEP 33C..3D).

KMR 040331 0x039B info added

KMR 040427 Section 5.6, 0x02C5 – 0x02D8 comments modified LVJ 040429 Battery comments added

KMR 040430 DSP patch example added

OM 050111 PCM_CLK settings for PP mode removed

PpFrontEnd and FpFrontEnd are not defined in version 1.56 PowerpVoltage is not defined in version 1.56

3 Reference

(5)

4 Introduction

All hardware specific parameters must be set up before the module leaves the factory. As some of the parameters are vital for the operation of the hardware, a set of default parameters must be programmed before the actual hardware fine-tuning can be initiated. This document lists all default parameters with a short description.

In the tables below values in a range that are similar are not repeated; i.e. Address 00 to 01 contains the value 00 simply means that the value 00 is repeated in all addresses in the range.

The default values marked with

(Factory)

are only modified with a hard default.

All others are modified by soft default.

(6)

5 Eeprom Layout

5.1 EepromInRam

EEPROM parameters; Shadowed in RAM.

Address Mode Default Name Description

0x0000-

0x0009 0xff Reserved

0x000a FP+PP 0x00

(Factory) BmcModulationDeviation Modulation volumen, used in the DECT version. In the 2G4 version “BmcModulationDeviation_Array”

is used.

0x000b FP+PP 0x80

(Factory) BmcDefaultFrequency Frequency adjustment.

0x000c FP+PP 0x50

(Factory) BmcQuadrature BmcQuadrature parameters

0x000d 0xFF Reserved

0x000e 0x2000

(Factory) Reserved Reserved

0x0010- 0x0014

PP 0xFF ParkA(5) PARK for registration 1

0x0015- 0x0019

PP 0xFF ParkB(5) PARK for registration 2

0x001a PP 0xFF PliA Pli for registration 1. If set to FF the registration is deleted.

0x001b PP 0xFF PliB Pli for registration 2. If set to FF the registration is deleted.

0x001c PP

0xDE PowerParameters

The following bits control the power management (BIT0 = LSB):

BIT0: Low duty cycle BIT5: Scan sleep 0x001d-

0x0022 0xFF Reserved

0x0023- 0x0028

0x34, 0x05, 0x03, 0x82, 0x60, 0x00

AudioParam(6)

0x0029 0x0F

(Factory) Bandgap

0x002a- 0x002f

FP+PP

0x00

(Factory) BmcModulationDeviation_Array(6)

Modulation volumen over the frequency band. Only used in the 2G4 version, in the DECT version only on value is used.

Parm 0: Used for the frequencies 0..15.

Parm 1: Used for the frequencies 16..31.

Parm 2: Used for the frequencies 32..47.

Parm 3: Used for the frequencies 48..65.

Parm 4: Used for the frequencies 66..78.

Parm 5: Used for the frequencies 79..94

0x0030 FP+PP 0x02 Rf Rf configuration.

0x0031-

0x0034 Reserved(4)

0x0035

FP+PP

0x00 DiversityMode

Antenna diversity mode: 00 : Antenna diversity (frame based or Prolonged preamble, determined by BASE) 01: Use antenna 1 always. 02: Use antenna 2 always.

(7)

EEPROM parameters; Shadowed in RAM.

Address Mode Default Name Description

0x0036-

0x0037 Reserved

0x0038

FP+PP 0x01

(Factory) RfLMX4x68Length

Used to patch RF initialization parameters to the LMX4168 (2G4 version) or the LMX4168 (DECT version) based RF. The length of the patch data.

The patch data are placed at address 0x00F8.

0x0039-

0x003d FP 0xFF

(Factory) Rfpi(5) Fixed part identity.

0x003e FP

0x0A FpRegistrationkeyDelay Defines the time to press the registreation key before registration is processed.

Time in secs

0x003f FP

0x0A

(Factory) FpConfig

Fixed part Configuration bits:

Bit

0 : Remote line-client, 1=enable, 0=disable 1 : Remote spph-client, 1=enable, 0=disable 2 : Reserved

3 : FP mode, 1=StandAlone , 0=with external MCU.

* The RegKey and BasePage are only enabled when in StandAlone mode. StandAlone mode overrules settings in bit 0..2

4: Automatic update of RealTimeClock from CLIP info (default = 0).

5: Enable FP autoregistration. (default=0) 6: Disable Realtime Clock update from FP 7 :Reserved.

0x0040 FP 0x04 DualSlotReleaseHysteresis Used in the dual slot algorithm.

0x0041 FP 0x18 DualSlotReleaseOnDifference Used in the dual slot algorithm.

0x0042 FP 0x14 FreqHopNoOfExcludeFreqs Used in the dual slot algorithm.

0x0043 FP+PP 0x0000 FixedEmc The EMC used in the IWU-TO- IWU information elements, see EN 300 175-5, chapter 7.7.23.

0x0045 FP 0x05 RssiInterferenceLimit RSSI limit used in the frequency exclusion algoritm.

0x0046-

0x0049 Reserved(5)

0x004A FP+PP 0x02 AlternatingRf Used to dertermine if alternating bits are send during the synthesis slot on the LMX4168 RF.

0x004b-

0x004d 0xFF Reserved(4)

0x004e FP

0x94 FpCradleDetectLimit

Selects the limit of where the FP detects PP placement in cradle.

Its directly compared to the value read on the connected ADC2

If the voltage is below the limit, it means that the PP is placed in the cradle.

If above the limit the PP is uncradled

**the current ADC2 value can be checked by the readadc.bat production batch file with parameter 2 for adjustment.

0x004f FP+PP 0x01

(Factory) SpiConfig 0x00: SPI_INT active low.

0x01-0xFF: SPI_INT active high.

(8)

5.2 EepromNotInRam

EEPROM parameters, NOT Shadowed in RAM.

Address Mode Default Name Description

0x0050-

0x005F 0xFF Reserved

0x0060- 0x006f

PP 0xFF DeleteCauseArr(16) Used to trace disenrollment.

0x0070-

0x0074 PP 0xFF DeleteRfpi_1(5) Used to trace disenrollment.

0x0075-

0x0079 PP 0xFF DeleteRfpi_2(5) Used to trace disenrollment.

0x007a

FP+PP

0x00 InitialTestmode

Used to set the device in testmode during power up.

0x00: Start in normal mode.

0x0f: Start in testmode, in the PP lock to the RFPI specified in “LockToFp”.

0x10: Only used in PP, start in walkie mode.

0x007b- 0x007f

PP 0xFF LockToFp(5) RFPI to lock when the device is started in testmode.

0x0080- 0x0081

FP+PP

0x03 0xFF UsedRfCarriers

This parameter is only used in the DECT version. It specifies which frequencies to use.

In base – handset communication the base decides which frequencies to use, and the used carriers are broadcasted from the base to the handset. In walkie mode the parameter is read in PP mode.

One bit is used for each carrier. The carrier is used if the bit is set. First byte:

Bit0: Carrier 1 Bit1: Carrier 0 Second byte:

Bit0 (LSB): Carrier 9 ...

Bit6: Carrier 3 Bit7: Carrier 2

0x0082 FP 0x01 AdvanceTimingEnable 0: Disable advance timing in the FP.

1: Enable advance timing in the FP.

0x0083 PP

0x28 HighRssiLimi

Used during enrollment. For the first

“HighRssiTime” seconds of the enrolment only FP’s with a rssi higher than “HighRssiLimit” will be checked if the enroll bit is set.

0x0084 PP 0x05 HighRssiTime

0x0085 FP

0x01 RepeaterControl

Used to control repeaters:

Bit0: If set accept messages from repeaters to enrol repeaters.

Bit1: Always allow repeaters.

0x0086 FP

0xFF PoweronDeregMsk

Deregistration bitmask that defines which PP’s should be deregistered when booting up the FP in deregistration mode: (RegKey down while powerin on FP. Dereg after 2,5secs)

Bit:0: Dereg PP #1 Bit:1: Dereg PP #2 Bit:2: Dereg PP #3 Bit:3: Dereg PP #4

(9)

EEPROM parameters, NOT Shadowed in RAM.

Address Mode Default Name Description

Bit:4: Dereg PP #5 Bit:5: Dereg PP #6 0x0086-

0x008a 0xFF Reserved(5)

0x008b- 0x008f

PP 0x00, 0x00, 0x00, 0x00, 0x00 (Factory)

Ipei(5) Portable part identity.

Subscriber(0)

0x0090-

0x0094 PP 0xFF RFPI(5) RFPI for registration 1

0x0095 PP 0xFF ServiceClass Service class for registration 1 0x0096 PP 0xFF LAL Location area level for registration 1 0x0097 PP 0xFF IpuiLen IPUI length for registration 1 0x0098-

0x00a4

PP 0xFF IPUI(13) IPUI for registration 1

0x00a5 PP 0xFF ZAP ZAP for registration 1

0x00a6 PP 0xFF Status Status for registration 1

0x00a7-

0x00b6 PP 0xFF UAK(16) UAK for registration 1

0x00b7-

0x00bf 0xFF Fill(9)

Subscriber(1)

0x00c0- 0x00c4

PP 0xFF RFPI(5) RFPI for registration 2

0x00c5 PP 0xFF ServiceClass Service class for registration 2 0x00c6 PP 0xFF LAL Location area level for registration 2 0x00c7 PP 0xFF IpuiLen IPUI length for registration 2 0x00c8-

0x00d4

PP 0xFF IPUI(13) IPUI for registration 2

0x00d5 PP 0xFF ZAP ZAP for registration 2

0x00d6 PP 0xFF Status Status for registration 2

0x00d7-

0x00e6 PP 0xFF UAK(16) UAK for registration 2

0x00e7-

0x00ef 0xFF Fill(9)

0x00f0 FP

0x00 Tbr_22

0x00: Normal mode.

0x01: Disable PP authentisation and encryption during conversation. Used during some TBR22 testcase (DLC test cases).

0x00f1-

0x00f2 FP 0x12,

0x34 Ac(2) AC code, used during registration.

0x00f3

PP+FP 0x00

(Factory) StartupMode

0x00: PP 2G4 mode.

0x01: FP 2G4 mode.

0x10: PP DECT mode.

0x11: FP DECT mode.

0x00f4

FP+PP

0x01 RfBand

DECT frequency band.

0x00: South America 0x01: Europe

0x00f5-

0x00f7 Reserved(4)

(10)

EEPROM parameters, NOT Shadowed in RAM.

Address Mode Default Name Description

0x00f8- 0x0120

PP+FP

0x0C, 0x0B, 0x00 , 0x7F

RfLMX4x68Data(40)

If used in DECT mode the following patch settings can be used:

Used to patch initialization data for the LMX4168 and LMX4268.

By default the LMX parameters are loaded with the low gain parmeters.

Examples of 3 different gain settings:

Low : 0x0C 0x0B 0x00 0x0F Med : 0x0C 0x0B 0x00 0x3F

High : 0x0C 0x0B 0x00 0x7F (default)

* to enable the patch code the patch length field (eeprom adr 0x38) should be set (to 0x01) 0x0120-

0x0124

FP 0xFF Ipui_1(5) Ipui for handset 1. If set to FF .. FF the handset is not enrolled.

0x0125-

0x0129 FP 0xFF Ipui_2(5) Ipui for handset 2. If set to FF .. FF the handset is not enrolled.

0x012a-

0x012e FP 0xFF Ipui_3(5) Ipui for handset 3. If set to FF .. FF the handset is not enrolled.

0x012f- 0x0133

FP 0xFF Ipui_4(5) Ipui for handset 4. If set to FF .. FF the handset is not enrolled.

0x0134- 0x0139

FP FP Ipui_5(5) Ipui for handset 5. If set to FF .. FF the handset is not enrolled.

0x013a-

0x013f FP 0xFF Ipui_6(5) Ipui for handset 6. If set to FF .. FF the handset is not enrolled.

0x0140- 0x014f

FP 0xFF Uak_1(16) UAK for handset 1.

0x0150- 0x015f

FP 0xFF Uak_2(16) UAK for handset 2.

0x0160- 0x016f

FP 0xFF Uak_3(16) UAK for handset 3.

0x0170-

0x017f FP 0xFF Uak_4(16) UAK for handset 4.

0x0180- 0x018F

FP 0xFF Uak_5(16) UAK for handset 5.

0x0190- 0x019f

FP 0xFF Uak_6(16) UAK for handset 6.

0x01a0-

0x01ff - Unused

(11)

5.3 PSTN Line (FP) 5.3.1 User Settings

Address Default

Name

Description

0x0200 05 UCfg.Mode Mode

Bit

1..0 : Dial-mode , 00:pulse, 01: DTMF 7..2 : Reserved (do not change) 0x0201 03 UCfg.DialPauseTime Dial-pause time configuration

Bit

3..0 : dial pause in 1 sec units , zero not allowed, default 3 sec.

7..4 : Reserved (do not change)

0x0202 41 UCfg.RKey R-key configuration.

Bit

0..0: "R" mode, 0=earth break, 1=loop break 3..1: Reserved (do not change)

5..4: time-selection for short “R” key 00= short, 01=long, 10=extra-long 7..6: time-selection for long "R" key 00= short, 01=long, 10=extra-long,

11=undef (uses same time as specified for short R key)

0x0203 01 UCfg.Cfg2 Configuration 2

Bit

0 : Hold tone, 1=enable, 0=disable 1..7 : Reserved (do not change) 0x0204-

0x0207

FF FF FF FF

UCfg.Reserved1[4] Reserved 0x0208-

0x020F

FF FF FF FF FF FF FF

FF

Reserved1[8] Reserved

5.3.2 Production Settings

Address Default

Name

Description

0x0210 2E Cfg-1 PSTN line configuration 1

Bit 0: Reserved

1: RLoopBreakEnable, R-key Loop-break 1=enable,0=disable 2: PulseDialEnable, Pulse dial 1=enable 0=disable

3: RPauseEnable, usage of “RPauseTimeU50”

1=enable, 0=disable 4: PulseType, 0=normal puls-type

1= ('0'=1 puls,..'9'=10 puls's).

5: InterDigitLowImp. controls pulse interdigit impedance.

1: keep low-impedance during interdigit pause 0: normal impedance during interdigit pause

6: LowImpLineSeizure. Special low-imp line seizure (Australian) , 1=enable , 0=disable

7: TwoLines. line config 0=one line, 1=two lines Defaults to 0000 1110B.

0x0211 00 Cfg-2 PSTN line configuration 2

Bit 0: Reserved

(12)

1: Reserved 2: Reserved 3: Reserved 4: Reserved

1=enable 0=disable

5: DialToneMode, dial tone detection 1=enable 0=disable 6: Reserved

7: Reserved

Defaults to 0000 0000B.

0x0212 FF Reserved1 Reserved

0x0213 64 RingTermToU100 Ring terminate time-out period. This is the max time that must elapse between two ring-voltage bursts before the new ring- voltage is registered as a new incoming call.

Unit: 100 ms. defaults to approx 10 sec.

0x0214 08 RingPatternToU100 Ring pattern timeout. Max. silence period during distinctive ringing. As long as the silence period does not exceed this period of time the ring is still considered and counted as one single ring.

Unit : 100 ms. Defaults to 800 ms

0x0215 0A LineSeizureTimeU10 Line seizure time. The period of time that the PSTN line or the PSTN HW needs after the hook-switch is activated in order to be ready. During this period audio is muted. Only used during outgoing calls or if the special-line seizure mode is enabled (Cfg:6).

Unit : 10 ms, min/max: 01/FF. Defaults to 100 ms.

0x0216 FF LineSeizureEndTime Line seizure end-time - time after hook-on. Meter-pulse detection continues during this period of time. 00h or FFh means 10 ms.

Unit : 10 ms, defaults to 10 ms.

0x0217 66 InitDialPauseU500 Init-dial-pause. Dial pause inserted after hook-off when making an outgoing call.

Bit

3..0: init dial pause if PULSE dial-mode. If “1111” then normal dial-pause is used.

7..4: init dial pause if DTMF dial-mode. If “1111” then normal dial-pause is used.

Unit : 500 ms, min/max: 00/0F.

Defaults to 3 sec and 3 sec.

0x0218 00 PrePulseTimeU10 Pre-pulsing period - initial pulse-dial delay. During this period of time, audio will be muted and the line-impedance low. 00H is allowed.

Unit 10ms, Defaults to 0ms meaning "disabled".

0x0219 28 MakeTimeU1 Pulse make time.

Unit : 1 ms. defaults to 40 ms.

0x021A 3C BreakTimeU1 Pulse break time

Unit : 1 ms, defaults to 60 ms.

0x021B 4A InterDigitPulseTime Inter-digit time in Pulse mode.

Unit : 10 ms, defaults to 740 ms.

0x021C 55 DtmfTimeU1 DTMF tone pulse time.

Unit : 1 ms, defaults to 85 ms.

0x021D 0A InterDigitDtmfTime Inter-digit time in DTMF mode.

Unit : 10 ms , defaults to 100ms.

0x021E 08 CalibBreakTime[0] Calibrated loop-break time for short break Unit : 10 ms, defaults to 80 ms.

0x021F 14 CalibBreakTime[1] Calibrated loop-break time for long break Unit : 10 ms, defaults to 200 ms.

0x0220 46 CalibBreakTime[2] Calibrated loop-break time for extra-long break Unit : 10 ms, defaults to 700 ms.

0x0221 28 CalibBreakTime[3] Calibrated earth-break time for short break Unit : 10 ms, defaults to 400 ms.

0x0222 82 CalibBreakTime[4] Calibrated earth-break time for long break Unit : 10 ms, defaults to 1300 ms.

0x0223 82 CalibBreakTime[5] Calibrated earth-break time for extra-long break Unit : 10 ms, defaults to 1300 ms.

0x0224 10 RKey. RPauseTimeU50 Pause after R-key. If disabled (RPauseEnable=0), normal dial-

(13)

pause (DialPauseTime) is used.

Bit 7..0 : "R" pause time, zero value allowed Unit : 50 ms, defaults to 800 ms.

0x0225 10 LineSeparationTimeU100 Line separation time (IWU_IWU_SEPARATION_REQ).

Unit: 100ms. Defaults to 1600 ms.

0x0226 FF AgcUpdateTime Line AGC update time. The period of time between each line AGC update. If FFh, line-AGC is disabled. If used recommended value is 64h (1 sec).

Unit : 10ms, min/max: 10/FF, Defaults to disabled.

0x0227 FF FlashPreventTimeU200 Hook-flash prevention time Unit: 200ms, FF=disabled.

0x0228- 0x022B

F1 F2 F3 F4

Reserved[5] Reserved by line-task

0x022C-

0x023F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

Reserved[20] Reserved

(14)

5.4 PSTN Line driver (FP).

5.4.1 Line Unit

Address Default

Name

Description

0x0240 01 Cfg-1 Driver configuration 1

Bit

0: FSK standard, 0=ETSI, 1=Bellcore 1: CasDetAlgoEnable, 0=disable, 1=enable 2: FskDecodAlgoEnable, 0=disable , 1=enable 3 : AnAgcMicGainCtrl, ANAGC mic-gain control, 0=by driver , 1=by GENDSP

4..5: FESelect, FrontEnd selection, 0=codec1 (CODEC_MIC/LSR)

6..7: Reserved

0x0241 31 PortCfg Port configuration

Bit

0: LowImpEnable, 1=enable pulse dial low-imp port (pulse) 1: HookRelayEnable, 1=enable hook-relay port

2: EarthBreakEnable, 1=enable earth-break port (earth) 3: ClipImpEnable, 1=enable clip-imp port (clipstate) 4: PolAEnable, 1=enable Pol-A adc-port (linesense) 5: PolBEnable, 1=enable Pol-B adc-port (rev_pol) 6: Reserved

7: Reserved

If any of these port-functions shares the same physical port then only one of them must be enabled.

0x0242- 0x0243

00 00 Reserved

0x0244 00 Reserved

0x0245 00 Reserved

Audio Settings 0x0246-

0x0247

02 00 LSB MSB

Audio.CodecMicONH CODEC_MIC_REG setting during on-hook state.

(SC14429: CODEC_LINE_IN_REG) 0x0248-

0x0249

51 00 LSB MSB

Audio.CodecMicOFH CODEC_MIC_REG setting during off-hook state.

(SC14429: CODEC_LINE_IN_REG).

0x024A- 0x024B

20 01 LSB MSB

Audio.CodecLsrONH CODEC_LSR_REG setting during on-hook state (SC14429: CODEC_LINE_OUT_REG) 0x024C-

0x024D 1C 1B

LSB MSB Audio.CodecLsrOFH CODEC_LSR_REG setting during off-hook state (SC14429: CODEC_LINE_OUT_REG)

0x024E- 0x024F

00 31 LSB MSB

Audio.DtmfGen.TwistAtt DTMF generator - twist attenuation. Low-group uses attenuation- factor 4000H. TwistAtt is the attenuation-factor for the high- group.

0x0250-

0x0251 FF 7B

LSB MSB Audio.DtmfGen.TxAtt DTMF generator – attenuation (SUMM2) in the Tx-direction (towards PSTN line)

0x0252- 0x0253

FF 7B LSB MSB

Audio.DtmfGen.RxAtt DTMF generator - attenuation (SUMM1) in the Rx-direction (towards handset)

0x0254- 0x0255

FF FF LSB MSB

Audio.Agc2.AGClvl5 AGClvl5 for AGC2 (Tx soft-limiter). If AGCLvl5<0 then AGC2 is bypassed.

0x0256- 0x0257

00 20 LSB MSB

Audio. ToneGenTxAtt Tone generator - attenuation (SUMM2) in the Tx-direction 0x0258-

0x0259

00 00 LSB MSB

Audio.AnAgc1.clvlmin Clvlmin for ANAGC1

If both ClvlMin and ClvlMax are zero then the ANAGC1 is

(15)

disabled.

0x025A- 0x025B

00 00 LSB MSB

Audio.AnAgc1.clvlmax Clvlmax for ANAGC1

0x025C 00 Audio.AnAgc1.MicGainMi ANAGC1, Minimum bound for mic gain (range 0..F) 0x025D 04 Audio.AnAgc1.MicGainMa

x

ANAGC1, Maximum bound for mic gain (range 0..F) 0x025E-

0x0267

F0 FF F1 FF F2 FF F3 FF F4 FF

Audio.Reserved Reserved

Ring detector

0x0268 02 RingDet.CycleCntMin Ring detection, ring-cycle-count – minimum number of ring- cycles required.

0x0269- 0x026A

09 08 LSB MSB

RingDet.FreqCntMin Ring detection, max frequency FreqCntMin=144000/Fmax Defaults to 70Hz.

0x026B-

0x026C 2D 28

LSB MSB RingDet.FreqCntMax Ring detection, min frequency FreqCntMax=144000/Fmin Defaults to 14Hz.

DTMF detector 0x026D-

0x026E 04 01

LSB MSB DtmfDet.DtmfTrsHold DTMF detection, DTMF threshold level FSK DTAS/CAS detector

0x026F- 0x0270

48 01 LSB MSB

FskAtDet. DtasTrsHold DTAS detection, DTAS threshold level 0x0271-

0x0272 FF FF

LSB MSB FskAtDet. CasTrsHold CAS detection , CAS threshold level. If FFFFh then DtasTrsHold setting is used.

0x0273-

0x0274 00 00

LSB MSB FskAtDet. DAckAtt D-ACK signal, attenuation in the Rx-direction. If 0000H audio is completely muted.

FSK detector 1 (used if Cfg.1.FskDecodAlgoEnable=0) 0x0275-

0x0276

04 01 LSB MSB

FskDet. CdTrsHoldOnh FSK detection, CD threshold level when on-hook 0x0277-

0x0278

FF FF LSB MSB

FskDet. CdTrsHoldOfh FSK detection, CD threshold level when off-hook. If FFFFh use CdTrsHoldOnh.

0x0279 FF FskDet.CHSZDetOn FSK detection, minimum number of seizure patterns "01".

FFh=use hard-coded value

0x027A FF FskDet. MARKDetOn FSK detection, minimum number of mark patterns "11"

FFh=use hard-coded value (34 bits)

00h=use HW-support block for MARK detection FSK generator

0x027B-

0x027C 2B 01

LSB MSB FskGen.CHSZ_Len

0x027D-

0x027E B3 00

LSB MSB FskGen.MARK_Len

0x027F- 0x0280

FF 7F LSB MSB

FskGen.FSK_Attn Call-Progress Tone detector

0x0281 01 CptDet.Cfg CPT detection , detection config

Bit1..0: Mode, 00 = use only the zero-cross CPT detector 01 = use both zero-cross CPT detector and dual-tone/single-tone CPT detectors Bit7..2: Reserved

0x0282- 0x0283

69 01 LSB MSB

CptDet.Level CPT detection , signal threshold level (-36dBm) 0x0284-

0x0285

27 01 LSB MSB

CptDet.M0.FreqMin CPT detection mode 0, min frequency in Hz.

0x0286- 0x0287

85 02 LSB MSB

CptDet.M0.FreqMax CPT detection mode 0 , max frequency in Hz.

0x0288 0B CptDet.M0.IntegratorTime CPT detection mode 0, integrator on/off time in 10 ms steps

0x0289 30 CptDet.M1.DialTone CPT detection mode 1 , dial-tone frequencies Bit 7..4 : upper frequency

(16)

Bit 3..0 : lower frequency Frequency coding:

0 = 350Hz , 5 = 620Hz 1 = 400Hz , 6 = 1100Hz 2 = 425Hz, 7= 2130Hz 3 = 440Hz, 8= 2750Hz

4 = 480Hz F=use zero-cross CPT detector 5 = 620Hz

If both frequencies are programmed to same frequency then the single-tone detector is selected.

0x028A 54 CptDet.M1.BusyTone CPT detection mode 1 , busy-tone frequencies 0x028B 43 CptDet.M1.RingTone CPT detection mode 1 , audible ring-tone frequencies FSK detector 2 (used if Cfg.1.FskDecodAlgoEnable=1)

028C..8D FF FF

LSB MSB FskDecod.threshmin FSKDECOD parameter 6, adaptive threshold-value init-value (min). If FFFFh hardcoded default value is used (TBD).

028E..8F FF FF

LSB MSB FskDecod. attackcd FSKDECOD parameter 1, carrier sensitivity can be increased/decreased by changing attackcd.

If FFFFh hardcoded default value is used (TBD).

0290..91 FF FF

LSB MSB FskDecod. adaptmin_fac FSKDECOD parameter 5, SNR threshold.

If FFFFh hardcoded default value is used (TBD).

0292 23 FskDecod.

mark_deton_onh

FSKDECOD parameter 21, no of mark bits for valid MARK detection (on-hook)

If FFh hardcoded default value is used. If different from FF, markdet_ofh must also be set!!.

0293 18 FskDecod. mark_deton_ofh FSKDECOD parameter 21, no of mark bits for valid MARK detection (off-hook)

If FFh hardcoded default value is used. If different from FF, markdet_onh must also be set!!.

Reserved 0x0294-

0x0298

FF..FF Reserved4[5] Reserved

0x0299-

0x029F FF FF FF FF FF FF

F1

Reserved[7] Reserved

0x02A0- 0x02AB

- Reserved[12]

(17)

5.4.2 Plug/Pol detection

Address Default

Name

Description

0x02AC A3 PlugD.Option Plug/Pol detection options:

Bit 0 : Par, 1=detect parallel offhook, 1 = enable Bit 1 : Plug, 1=detect plug in/out, 0=disable plug in/out Bit 2 : CPC, 1=enable CPC, 0 = disable CPC

Bit 3..4: Unused

Bit 5 : Hw_PolAdc, pol-A+pPol-B adc's, 1=present, 0=not present Bit 6 : Hw_AgcAdc, AGC-adc , 1=present, 0=not present Bit 7 : Enable detector, 1=enable, 0=disable. Disabling the detector overrules all other options.

0x02AD 0A PlugD.IntegrateTime Integrate-time for detecting plug-in/out, line-reversal, and parallel-offhook. If FFh plug/pol detection is completely disabled.

Unit : 10 ms, defaults to 100 ms

0x02AE 20 PlugD.LvIdleAvgCnt Number of samples to use when finding the idle line-voltage LvIdle.

Unit : samples (rate 1/10ms), defaults to 32

0x02AF 0C PlugD.LvDetThresh Minimum voltage level in order to detect line-voltage / plug-in.

Range : 00..fe, ffh = disabled Unit : adc-steps.

Default setting correspond to:

LvDetThresh <<3V and LvDetThresh>2V.

2V ~0AH, 3V~0FH.

0x02B0 FF PlugD.LrDetThreshOnh Onhook: minimum voltage level in order to detect polarity.

Range : 00..fe, ffh = disabled Unit: adc-steps

0x02B1 53 PlugD.ParDetThreshOnh Onhook: threshold for detecting parallel-offhook.

Range : 01..ff, 00h = disabled Unit: adc-steps

Default settings corresponds to:

LrDetThreshOnh<<18V and LrDetThreshOnh>16V 16V~51H, 18V~5C.

0x02B2 FF PlugD.LrDetThreshOffh Offhook: minimum voltage level in order to detect polarity.

Range : 00..fe, ffh = disabled Unit: adc-steps.

0x02B3 FF PlugD.ParDetThreshOffh Offhook: threshold for detecting parallel-offhook.

Range : 00..fe, ffh = disabled Unit: adc-steps.

PolA/PolB HW : Default setting correspond to a delta-detection- voltage of 1V.

Line-Current HW: see above

0x02B4 28 PlugD.CpcMinDisTime Offhook: CPC detection, minimum line-current break time Unit : 10 ms, range 05..ff.

(18)

5.4.3 Line-AGC

Address Default

Name

Description

0x02B5 44 AGC.Ctrl Line-AGC control

Bit

0..2 : SLR steps, range 2-7 (0=disable SLR AGC) 3 : 0, reserved

4..6: RLR steps, range 2-7 (0=disable RLR AGC) 7 : Line-AGC, 1=enable, 0=disable

Notes:

1) If either AGC.Ctrl(7)=0 or AgcUpdateTime is FF, line- AGC is disabled and the line-AGC driver parameters does not matter.’

2) RLR steps/gain. The adjustment takes place in CODEC_MIC_REG.MIC_GAIN. Possible values for MIC_GAIN is 0..F with approx 2dB/step. If say 5 steps are specified for RLR the line-AGC will be allowed to adjust the RLR from [rlr_nom_gain ... rlr_nom_gain+10dB].

3) SLR steps/gain. The adjustment takes place in CODEC_LSR_REG.LSRATT. Possible values for LSRATT is 0..7 with approx -2dB/step.

0x02B6 30 AGC.Vmin Lower VAGC limit.

Unit: ADC steps.

0x02B7 81 AGC.Vmax Upper VAGC limit. Line-AGC adjustment is carried out from AGC.Vmin to AGC.Vmax.

Unit: ADC steps.

0x02B8 05 AGC.VHysteresis VAGC hysteresis

0x02B9- 0x02BC

- Reserved[4] Reserved by line-driver

(19)

5.5

Production Test

0x02BD - TestStateFlag Production test parameters

-written in production to keep track of product 0x02BE - CalibrationLow Production test parameters

-written in production to keep track of product 0x02BF - CalibrationHigh Production test parameters

-written in production to keep track of product

0x02C0 - Testdate0 Production test parameters

-written in production to keep track of product

0x02C1 - Testdate1 Production test parameters

-written in production to keep track of product

0x02C2 - Testdate2 Production test parameters

-written in production to keep track of product

0x02C3 - Testdate3 Production test parameters

-written in production to keep track of product

0x02C4 - Checksum Production test parameters

-written in production to keep track of product

5.6 Audio Setup

AudioEepSettings 0x02C5-

0x02D8 0x02D4 0x0400 0x05A4 0x0800 0x0B54 0x1000 0x16A8 0x2000 0x2D4F 0x4000

VolumeSteps[10] Volume step table for voice

Data format for volume settings is a 15-bit normalized fixed- point number representation.

Bit 14-0 represents steps of 2-(15-n).

The largest positive number that can be represented is:

32767/32768 = 0.999969482421875 = 0x7fff The smallest positive number is:

2-15 = 1/32768 = 0.000030517578125 = 0x0001 Since the volume control default multiplies with 2, the attenuation range for volume settings is between 0x0000 and 0x4000

Bit 15 is used for Joint Acting Volume control. If bit 15 is set the 3 highest volume steps changes the mic gain as below.

Step max: Mic gain modification: -6 dB Step max - 1: Mic gain modification: -4 dB Step max - 2: Mix gain modification: - 2 dB Step max - 3: Mix gain modification: 0 dB Step max - 4: Mix gain modification: 0 dB Step max - x: Mix gain modification: 0 dB 0x02D9-

0x02EC

0x02D4 0x0400 0x05A4 0x0800 0x0B54 0x1000 0x16A8 0x2000 0x2D4F

VolumeStepsSpk [10] Volume step table for speakerphone

(20)

0x4000 0x02ED-

0x0300

0x02D4 0x0400 0x05A4 0x0800 0x0B54 0x1000 0x16A8 0x2000 0x2D4F 0x4000

RingerVolSteps[10] Volume step table for tones

0x0301- 0x0302

0x2FFF SideToneGain Attenuation block from mic to earpiece.

0x2000 equals -12dB.

0x1000 equals -18dB.

The adjustment is linear. For a complete reference of the DSP data format please refer volume settings

0x0303- 0x0304

0x0524 CodecLsrRegIdle CODEC_LSR_REG Idle setting, (refer to CVM datasheet for details)

0x0305- 0x0306

0x0074 CodecMicRegIdle CODEC_MIC_REG Idle setting, (refer to CVM datasheet for details)

0x0307-

0x0308 0x1912 CodecLsrRegEarPcs CODEC_LSR_REG Earpiece setting, (refer to CVM datasheet for details)

0x0309-

0x030A 0x00A1 CodecMicRegEarPcs CODEC_MIC_REG Earpiece setting (refer to CVM datasheet for details)

0x030B-

0x030C 0x0B33 CodecLsrRegSpkPhone CODEC_LSR_REG Speakerphone setting (refer to CVM datasheet for details)

0x030D-

0x030E 0x00D1 CodecMicRegSpkPhone CODEC_MIC_REG Speakerphone setting (refer to CVM datasheet for details)

0x030F-

0x0310 0x1AF6 CodecLsrRegHeadset CODEC_LSR_REG Headset setting (refer to CVM datasheet for details)

0x0311-

0x0312 0x0072 CodecMicRegHeadset CODEC_MIC_REG Headset setting (refer to CVM datasheet for details)

0x0313-

0x0314 0x0333 CodecLsrRegAlert CODEC_LSR_REG Alert Setting (refer to CVM datasheet for details)

0x0315 0x01 PowerManagement If 1 then VREF is shutdown in idle. Otherwise VREF always on 0x0316 0x05 HsCodecPowerUpTime Time between powering up the codec/external amp. and playing

sounds 0x0317-

0x318 0x0190 HsCodecPowerDownTime Time from playing last sound until codec and external amplifier is shutdown

0x319 0x00 ToneEnvelopeDisable Disable tone envelope algorithm. This can lead increased click sounds during starting and stopping of tones.

0x31A - PpFrontEnd Not defined in version 1.56

0x31B - FpFrontEnd Not defined in version 1.56

0x031C-

0x0337 - Reserved

5.7 Headset Detect Setting

HeadsetDetectSettings

0x0338 0xA0 HeadsetPlugTreshold ADC threshold for headset plug detection.

0x0339 0x25 HeadsetHookTreshold ADC threshold for headset hook detection

0x033A 0x14 PowerUpTime Time between powering up VREF and ADC measurement (Only valid if (AudioSetting.PowerManagement = 1 ). If 0xff then headset detection will not be performed in Idle mode.

0x033B 0x25 DetectionInterval Time between each detection. If 0xff headset detection is disabled

(21)

5.8 PCM settings

PcmSettings 0x033C-

0x033D

0x0007 Pcm0CtrlReg PCM0_CTRL_REG setting. Register is configured at start-up.

This register must be setup to control Clk output on CVM. Please refer to CVM datasheet for a detailed description

One special setting exist:

Pcm0CtrlReg = FFFFh : Disable PCM interface. In PP-mode default behavior is to make P03..P07 available as general-purpose ports and defaulting them to low-level outputs.

Related settings: PpFrontEnd (31A), FpFrontEnd (31B).

0x033E- 0x033F

0x9000 Pcm1CtrlReg PCM1_CTRL_REG setting. Register is configured at start-up.

Please refer to CVM datasheet for a detailed description.

(22)

5.9 CLIP Configuration (FP)

Address Default

Name

Description

0x0340 72 Detect CLIP detect configuration Bit

0-2: Mode:

0: Learn mode. Method used depends on Options.LearnMethod.

1: DTMF only 2: FSK only.

3: Generic mode. Corresponds to “learn mode” without learn-capability.

4: Russian CLIP only (option not supported) 3: Unused4

4: Onhook: 1=enable 0=disable 5: Offhook: 1=enable 0=disable

6: MsgWaiting: 1=enable 0=disable (option not supported) 7: Unused7

Notes:

• "Learn mode” - the base is able to detect both CLIP-types (DTMF/FSK). Having learned the CLIP-type it changes to only looking for the "learned" CLIP-type. So for example when having learned FSK CLIP then it stops looking for DTAS and DTMF and solely looks for FSK.

0x0341 01 Options CLIP detect options

Bit

0: MuteOnCas: 1=enable 0=disable 1: AttenuateOnCas: 1=enable 0=disable

2: AckParallelPhone: 1=enable , 0=no T-ACK if parallel phone is detected. AckParallelPhone=0 will cause the line- driver to make a parallel offhook-check between CAS detected and D-ACK. The check lasts 20ms and is done by shortly hooking on the line.

3: CasOnOnly: 1=enable 0=disable

4: Learn-method, 0=DTAS+DTMF before first ring and FSK between ring, 1=DTAS+DTMF+FSK before first ring and DTMF+FSK between rings.

5: Unused5 6: Unused6 7: Unused7 0x0342 00 Ring configuration Ring configuration

Bit

0: Rpas: 1=enable 0=disable

1: RpasAlert: 1=enable 0=disable, only used if Rpas is enabled.

2: Rpas2LongAlert: 1=enable 0=disable, only used if Rpas is enabled.

3: Power: 1=enable 0=disable (not supported) 4: PowerAlert: 1=enable 0=disable (not supported) 5: Silence: 1=enable 0=disable (not supported)

6: SuppressFirstRing: 1=enable, 0=disable, suppress first-ring (or ring-pattern if distinctive ringing). This option can be used no matter which detect-mode has been selected.

7: Unused7

0x0343 12 Rpas.RpasMinDuration RPAS minimum duration.

Unit : 10 ms, defaults to 180 ms.

0x0344 20 Rpas.RpasMaxDuration RPAS maximum duration.

Unit : 10 ms, defaults to 320 ms.

0x0345 00 Rpas.SilenceTimeout Silence period after RPAS.

Unit : 10 ms, defaults to 0 ms.

(23)

0x0346 01 Dtas.Configuration DTAS Configuration Bit

0: TimeValidate: 1=enable 0=disable

Enabled: DTAS pulse width is examined and validated.

Disabled: DTAS start is used as FSK trigger.

1: Unused1 2: Unused2 3: Unused3 4: Unused4 5: Unused5 6: Unused6 7: Unused7

0x0347 46 Dtas.DtasMinDuration DTAS minimum duration.

Unit : 1 ms, defaults to 70 ms.

0x0348 82 Dtas.DtasMaxDuration DTAS maximum duration.

Unit : 1 ms, defaults to 130 ms.

0x0349 3C Dtas.DataTimeout DTAS to FSK data timeout Unit : 10 ms, defaults to 600 ms.

0x034A 01 Clip.ImpSet Impedance set configuration Bit

0: Polarity: 1=enable 0=disable 1: DtasStart: 1=enable 0=disable 2: DtasEnd: 1=enable 0=disable 3: Rpas: 1=enable 0=disable 4: RpasSilence: 1=enable 0=disable 5: PowerRing: 1=enable 0=disable 6: Unused6

7: Unused7

0x034B 0F Clip.ImpRemove Impedance remove configuration Bit

0: Polarity: 1=enable 0=disable 1: Ringing: 1=enable 0=disable 2: ClipReceived: 1=enable 0=disable 3: Offhook: 1=enable 0=disable 4: Unused4: 1=enable 0=disable 5: Unused5: 1=enable 0=disable 6: Unused6

7: Unused7

0x034C 0A Clip.ImpTimeout CLIP impedance set timeout Unit : 100 ms, defaults to 1000 ms.

0x034D 37 Cas.MinDuration CAS minimum duration.

Unit : 1 ms, defaults to 55 ms.

0x034E 82 Cas.MaxDuration CAS maximum duration.

Unit : 1 ms, defaults to 130 ms.

0x034F 00 Cas.AckDelayTimeout CAS to Acknowledge DTMF Delay Timeout.

Note: If Options. AckParallelPhone=0 , then Cas.AckDelayTimeout should be longer than 40ms - parallel offhook check takes 20ms, and approx 20-30ms is needed for the line dc-voltage to stabilize.

Unit : 1 ms, defaults to 0 ms.

0x0350 0D Cas.AckDtmf CAS acknowledge DTMF tone 00: DTMF 0

. 09: DTMF 9 0A: DTMF A 0B: DTMF B 0C: DTMF C 0D: DTMF D 0E: DTMF * 0F: DTMF # Defaults to DTMF D.

0x0351 50 Cas.AckDuration Acknowledge DTMF tone duration.

Unit : 1 ms, defaults to 80 ms.

(24)

0x0352 32 Cas.DataTimeout CAS to FSK data timeout Unit : 10 ms, defaults to 500 ms.

0x0353 08 ClipExt.MinAddZeroLen Automatic addition of top zero to CLIP.

Add top most zero if most significant digit is not zero and detected CLIP length is greater than MinAddZeroLen. This length is only validated when Parse.Configuration.AddTop0IfNo0 is enabled.

Defaults to 8 digits.

0x0354 FF ClipExt.Unused1 Unused

0x0355 FF Dtmf.Unused1 Unused

0x0356 FF Dtmf.Unused2 Unused

0x0357 04 Dtmf.MinDigitsOnlyLen Minimum CLIP length accepted when using digits only. Clip’s with length below specified are discarded. This length is only validated when Parse.Configuration.DtmfDigitsOnly is enabled.

Defaults to 4 digits.

0x0358 32 Dtmf.InterdigitTimeout DTMF Interdigit Timeout Unit : 10 ms, defaults to 500 ms.

0x0359 08 Fsk.InterdigitTimeout FSK Interdigit Timeout Unit : 10 ms, defaults to 80 ms.

0x035A 0A Fsk.MarkoutTimeout FSK Markout Timeout after FSK received.

Unit : 10 ms, defaults to 100 ms.

0x035B -0x035C

3D 00 Parse.Configuration Clip parse set configuration Bit

0: Etsi: 1=enable 0=disable

1: ForwardNumber: 1=enable 0=disable 2: Danish: 1=enable 0=disable 3: Dutch: 1=enable 0=disable 4: Canadian: 1=enable 0=disable 5: Swedish: 1=enable 0=disable 6: UserDefined: 1=enable 0=disable 7: KPN vmwi: 1=enable 0=disable 8: ProtocolPriority:

If 2 mutually exclusive parameters occurs, the 1st in the protocol message has priority.

1=enable 0=disable 9: UseCallType:

Verify the Call Type parameter, if available, when receiving Call Back CLIP at busy subscriber.

1=enable 0=disable 10:AddTop0IfNo0

Automatic addition of 0 if top of Caller ID is not 0.

1=enable 0=disable

11: DtmfDigitsOnly Parse DTMF clip without start and/or stop code.

1=enable 0=disable 12..15: Reserved10..Reserved15

0x035D 0x0E RingVmwi.MinTime KPN Visual Message Waiting Indication minimum ring time.

Unit: 1 second. Defaults to 14 seconds.

0x035E 0x16 RingVmwi.MaxTime KPN Visual Message Waiting Indication maximum ring time.

Unit: 1 second. Defaults to 22 seconds.

0x035F 0x00 RingVmwi.RingEndTime KPN Visual Message Waiting Indication last ring to call timeout.

Unit: 100 ms. Defaults to 0.

0x0360 0x3C RingVmwi.RingPulseMin KPN Visual Message Waiting Indication Minimum ring pulse time. If ring pulse duration is less than RingPulseMin, then KPN voice mail is not activated. (To avoid WMVI behind a PABX) Unit: 10 ms. Defaults to 600 ms.

0x0361- 0x0374

FF..FF Reserved[20]

(25)

0x0375 0x20 PowerupVoltage Not defined in version 1.56 0x037D-

0x037E - Production Parameters Production patameters

5.10 UART Baud rate

Address Default

Name

Description

0x037F 01

(factory)

UARTBaudRate Sets the UART Baud rate during power on:

0x00: 9600 baud 0x01: 19200 baud 0x02: 57600 baud 0x03: 115200 baud

0x04 -> 0xFF: Unused (default: 19200 baud) NOTE: This setting can be overruled by connecting P1.2 to ground during power on. Whereby the UART will be forced to operate at 19200 baud regardless the setting of the UARTBaudRate parameter.

5.11 Battery Configuration (PP)

Address Default

Name

Description

0x0380 20 BattNoVoltage The voltage at which the handset powers off.

Unit = Number of ADC steps on the voltage measurement.

0x0381 2A BattLowVoltage The voltage at which the user is notified of a low battery.

Unit = Number of ADC steps on the voltage measurement.

0x0382 81 BattHighVoltage The voltage at which the handset stops charging.

Unit = Number of ADC steps on the voltage measurement.

0x0383 05 Reserved

0x0384- 0x0387

00 00 D6 D8 BatterySize The nominal size of the battery.

Unit = [100mAh]

0x0388- 0x038B

00 00 00 00 EstimatedCapacity The Estimated capacity of the battery.

Unit = [100mAh]

0x038C 10 BattInitialChargeTimeout Timeout for initial charge (2 x Tick). 1 Tick = 60seconds, so e.g. 0x10 means 16x60x2s = 1920s.

0x038D 5A BattFastChargeTimeout Timeout for fast charge (2 x Tick). 1 Tick = 60seconds, so e.g.

0x5A means 90x60x2s = 10800s.

0x038E 5A BattTopChargeTimeout Timeout for top charge (2 x Tick). 1 Tick = 60seconds, so e.g.

0x5A means 90x60x2s = 10800s

0x038F 00 BattTrickleTimeout Timeout for tickle charge (2 x Tick). 1 Tick = 60seconds. Must be 0x00.

0x0390 00 BattTimeoutError The bit-mask, which decides on state-change after a battery error. 0 = do not change state/1 = change state.

Bit 0 = Init Charge State, Bit 1 = Fast Charge State, Bit 2 = Top Charge State, Bit 3 = Trickle Charge State, Bit 4-7 = Not used.

Since BattTimeoutError = 0x00, no state change is done if an error happens.

0x0391 00 PowerMark Power mark, which indicates if the handset was powered down correctly.

0x0392 28 InitialChargeLevel The initial charge level.

Unit = Number of ADC steps on the voltage measurement.

0x0393 5A FastChargeBattEstimate The estimate in percent, which is considered end of fast charge. Unit = Percent.

0x0394 22 InitialDutyCycle The charge cycle during initial charge. Bit0-3 = On-time [100ms]. Bit 4-7 = Off-time [100ms]. “0x10” = Always ON 0x0395 10 FastDutyCycle The charge cycle during fast charge. Bit0-3 = On-time

[100ms]. Bit 4-7 = Off-time [100ms]. “0x10” = Always ON 0x0396 13 TopDutyCycle The charge cycle during top charge. Bit0-3 = On-time

[100ms]. Bit 4-7 = Off-time [100ms]. “0x10” = Always ON

(26)

0x0397 1F TrickleDutyCycle The charge cycle during trickle charge. Bit0-3 = On-time [100ms]. Bit 4-7 = Off-time [100ms]. “0x10” = Always ON

0x0398 40 Reserved

0x0399 05 Reserved

0x039A 64 AgingFactor The aging factor of the battery (0-100). Unit = Percent.

0x039B 2D ChargeCurrent The charge current. Unit = [4*mAh], so e.g. 0x2D = 45x4mAh

= 180mAh.

0x039C A0 BattIllegalVoltage The threshold-value at which charging is immediately stopped.

Used to detect non-chargeable batteries.

Unit = Number of ADC steps on the voltage measurement.

0x039D 64 PreChargeValue Defines the time the battery will always be constantly charged after powering up the handset.

(needed for fully discharged batteries) Unit = [100ms]

0x039E- 0x03B5

-- Reserved[24]

0x3B6 01 (factory)

CVMBatteryTaskEnabled Enable/Disable CVM PP’s own battery task (For applications where the MCU has its own battery task).

00: CVM Battery task disabled 01-FF: CVM Battery task enabled

5.12 Switch Control (FP)

Address Default

Name

Description

0x03B7 40 Cfg1 Misc. configurations

Bit 7: 0

6: SpeakerPhone-audio, 1=enable, 0=disable. In CVM this bit is overruled by FpConfig.Standalone(bit 3).

5..0: 0

0x03B8 01 Cfg2 Bit

5..7: 0

4: ServiceCallIfExtRng_Enable, 1=allow service call during external ringing.

3: 0, reserved

2 0, ExtendClip_Disable, 1=disable CLIP during call- transfer/callback

1 : StarCallPp_Enable, 1=enable star-call from PP 0 : BargeInExt, 1=enable barge-in on external call 0x03B9 00 Debug Reserved for debugging purposes

0x03BA FF Reserved1

0x03BB FF HsRegInfo.RegFlags Handset registration info - registration Bit

6..7: not used

0..5: handset 1..6 info, 1=reg, 0=no reg 0x03BC 00 HsRegInfo.EmcFlags Handset registration info - EMC flags

Bit

6..7: not used

0..5: handset 1..6 info, 1=known , 0=unknown

0x03BD 21 RingMode Ring mode.

Bit

7..5: Mode (001=group) 4 : Not used

3..0: Id (001= id of first group) 0x03BE 08 NumberOfRing Number of ring per handset or ring-group 0x03BF FF RingGroup0.HsMask Ring-group 0 handset bit-mask.

Bit 7: Not used

6..1: Handset 1..6, 1=include, 0=exclude 0x03C0 12 RingGroup0.Config Ring-group 0 configuration

Bit

(27)

7..4: next ring-group (1111=none), defaults to ring-group 1 3..2: not used

1 : MAC-connection, 0=disabled, 1=enabled, establish MAC connection to handset(s) during ringing

0 : broadcast ring-status, 0=disabled, 1=enabled 0x03C1 FF RingGroup1.HsMask Ring-group 1 handset bit-mask. All handsets 0x03C2 F2 RingGroup1.Config Ring-group 1 configuration. No next-group.

0x03C3 FF RingGroup2.HsMask Ring-group 2 handset bit-mask. All handsets 0x03C4 F2 RingGroup2.Config Ring-group 2 configuration. No next-group.

0x03C5 FF RingGroup3.HsMask Ring-group 3 handset bit-mask. All handsets 0x03C6 F2 RingGroup3.Config Ring-group 3 configuration. No next-group.

0x03C7 FF RingGroup4.HsMask Ring-group 4 handset bit-mask. All handsets 0x03C8 F2 RingGroup4.Config Ring-group 4 configuration. No next-group.

0x03C9 FF RingGroup5.HsMask Ring-group 5 handset bit-mask. All handsets 0x03CA F2 RingGroup5.Config Ring-group 5 configuration. No next-group.

0x03CB-

0x03D6 - Reserved[12] Reserved

0x03D7- 0x03FF

- Unused[29h] Reserved

5.13 Signal Detection (FP)

Address Default

Name

Description

0x0400-

0x0401

20 03 LSB MSB

Dial.SignalOnMin Dial tone on min duration.

Unit: 1ms. Defaults to 800ms.

0x0402- 0x0403

FF FF LSB MSB

Dial.SignalOnMax Dial tone on max duration.

Unit: 1ms. Defaults to “no limit” e.g. continuous dial tone 0x0404-

0x0405

FF FF LSB MSB

Dial.SignalOffMin Dial tone off min duration.

Unit: 1ms. Defaults to “no limit” e.g. continuous dial tone 0x0406-

0x0407

FF FF LSB MSB

Dial.SignalOffMax Dial tone off max duration.

Unit: 1ms. Defaults to “no limit” e.g. continuous dial tone 0x0408 01 Dial. Repetitions Dial tone pulse repetitions.

Bit 5..0: Number of pulses to detect. If bit 6,7 is configured for 2 or 3 burst tone cadence then number of seconds to detect correct cadence.

Unit: Number of pulses or 1 sec. if not single cadence.

Bit 7,6: 0,0 = single cadence 1,0 = double cadence 0,1 = three burst tone cadence.

Defaults to single cadence and 1 pulse.

0x0409- 0x040A

90 01 LSB MSB

Busy.SignalOnMin Busy tone on min duration.

Unit: 1ms. Defaults to 400ms.

0x040B- 0x040C

58 02 LSB MSB

Busy.SignalOnMax Busy tone on max duration.

Unit: 1ms. Defaults to 600ms 0x040D-

0x040E

90 01 LSB MSB

Busy.SignalOffMin Busy tone off min duration.

Unit: 1ms. Defaults to 400ms 0x040F-

0x0410

58 02 LSB MSB

Busy.SignalOffMax Busy tone off max duration.

Unit: 1ms. Defaults to 600ms 0x0411 0A Busy. Repetitions Busy tone pulse repetitions.

Bit 5..0: Number of pulses to detect. If bit 6,7 is configured for 2 or 3 burst tone cadence then number of seconds to detect correct cadence.

Unit: Number of pulses or 1 sec. if not single cadence.

Bit 7,6: 0,0 = single cadence 1,0 = double cadence 0,1 = three burst tone cadence.

Defaults to single cadence and 10 pulses.

0x0412 0x0437

- Reserved Reserved

(28)

5.14 DSP Patch

The echo suppressor can be switched of by a batch file, and as such by the API.

LEC (line echo canceller) control can be controlled by the DSP patch interface in eeprom.

The patch is loaded during CVM initialisation. We recommend to use the patch area with care, since it is possible to change all DSP parameters, which can lead to mal function of CVM features.

The DSP patch variables can be found in the DSP RAM tree, and for detailed description of all the DSP parameters you will need the application note AND-60 from National.

Address Default

Name

Description

0x0438-

0x0439 FF FF

LSB MSB DspPatch_0.Address Address of DSP patch 0. If an invalid patch address specified then patching stops at corresponding patch-entry.

0x043A-

0x043B FF FF

LSB MSB DspPatch_0.Data Data of DSP patch 0.

0x043C-

0x043D - DspPatch_1.Address Address of DSP patch 1.

0x043E-

0x043F - DspPatch_1.Data Data of DSP patch 1.

0x0430-

0x0431 - DspPatch_2.Address Address of DSP patch 2 0x0432-

0x0433

- DspPatch_2.Data Data of DSP patch 2.

0x0434- 0x0435

- DspPatch_3.Address Address of DSP patch 3.

0x0436- 0x0437

- DspPatch_3.Data Data of DSP patch 3.

0x0438- 0x0439

- DspPatch_4.Address Address of DSP patch 4.

0x043A- 0x043B

- DspPatch_4.Data Data of DSP patch 4.

0x043C- 0x043D

- DspPatch_5.Address Address of DSP patch 5.

0x043E-

0x043F - DspPatch_5.Data Data of DSP patch 5.

0x0440-

0x0441 - DspPatch_6.Address Address of DSP patch 6.

0x0442-

0x0443 - DspPatch_6.Data Data of DSP patch 6.

0x0444-

0x0445 - DspPatch_7.Address Address of DSP patch 7.

0x0446-

0x0447 - DspPatch_7.Data Data of DSP patch 7.

0x0448-

0x0534 - DspPatch_8…63 Adresses/Data of DSP patches 8..63

Below is an example of an eeprom patch modifying the speakerphone parameter “RxRatio” found in the DSP RAM tree on RAM address 0x949C to 0x949D modified to the new value 0xE000:

Address 0x438 = 0x9C (LSB) Address 0x439 = 0x94 (MSB) Address 0x43A = 0x00 (LSB) Address 0x43B = 0xE0 (MSB)

0x0538 0xF1 NextUnusedLocation Not used

(29)

5.15 Runtime Error Log

Address Default

Name

Description

7D7..D8 - Error[0].Error Error 0, Error code 7D9..DA - Error[0].Task Error 0, Task Id 7DB..DC - Error[1].Error Error 1, Error code 7DD..DE - Error[1].Task Error 1, Task Id

7DF..E0 - Error[2].Error Error 2, Error code 7E1..E2 - Error[2].Task Error 2, Task Id 7E3..E4 - Error[3].Error Error 3, Error code 7E5..E6 - Error[3].Task Error 3, Task Id 7E7..E8 - Error[4].Error Error 4, Error code 7E9..EA - Error[4].Task Error 4, Task Id

7EB - Dummy

7EC..ED - ErrorCnt Total number of errors

7EE..7EF - AsertLineNo Line number for ASSERT 7F0 - WatchdogError.PC_high Watchdog Error, PC

7F1 - WatchdogError.PC_mid

7F2 - WatchdogError.PC_low

7F3..F4 - WatchdogError.PSR Watchdog Error, PSR 7F5 - WatchdogError.Task Watchdog Error, Task Id

7F6..F7 - WatchdogError.Cnt Total number of watchdog exeception errors 7F8 - ExceptionError.PC_high Watchdog Error, PC

7F9 - ExceptionError.PC_mid

7FA - ExceptionError.PC_low

7FB..FC - ExceptionError.PSR Watchdog Error, PSR 7FD - ExceptionError.Task Watchdog Error, Task Id 7FE..FF - ExceptionError.Cnt Total number of exeception errors

(30)

6 Appendix

6.1 Country Settings.

6.1.1 Abbreviations

US United States G Germany HK Hong-kong FR France

6.1.2 PSTN Line

Address Name Def. Description US ETSI G FR HK

0x0202 UCfg.RKey 41 Line, user config for R-key n/a n/a n/a n/a n/a 0x0210 Cfg-1 2E Line, configuration 1 n/a n/a 2E n/a n/a 0x0217 InitDialPauseU50

0 66 Initial dial pause when making

outgoing call n/a n/a 66 n/a n/a

0x0219 MakeTimeU1 28 Pulse make-time n/a n/a 28 n/a n/a

0x021A BreakTimeU1 3C Pulse break-time n/a n/a 3C n/a n/a 0x021B InterDigitPulse-

Time

4A Interdigit time in pulse mode n/a n/a 4A n/a n/a 0x021C DtmfTimeU1 55 DTMF tone width 55 64 64 n/a n/a 0x021E CalibBreakTime0 08 Calibrated loop-break for short

break

n/a n/a 08 n/a n/a 0x021F CalibBreakTime1 14 Calibrated loop-break for long

break

n/a n/a 14 n/a n/a 0x0220 CalibBreakTime2 46 Calibrated loop-break for extra

short break

n/a n/a 46 n/a n/a 0x0221 CalibBreakTime3 28 Calibrated earth-break for short

break

n/a n/a 28 n/a n/a 0x0222 CalibBreakTime4 82 Calibrated earth-break for long

break

n/a n/a 82 n/a n/a 0x0240 Cfg-1 01 Line-driver configuration 1 (old

FSK and CAS detector) (01) 00 00 00 01 0x0240 Cfg-1 01 Line-driver configuration 1

(improved FSK and CAS detector – see 6.4).

07 06 06 06 07

0x0241 PortCfg 31 Port configuration n/a n/a n/a n/a n/a

0x0289 CptDet.M1.Dialto

ne 30 CPT detection mode 1, dial tone

frequencies 30 FF FF FF n/a

0x028A CptDet.M1.BusyT

one 54 CPT detection mode 1, busy

tone frequencies 54 FF FF FF n/a

0x0340 Clip.Detect 72 Clip detect configuration 72 70 70 73 73 0x0341 Clip.Options 01 Clip detect options.

Note:

If using the old CAS-detector ( Cfg-1.CasDetAlgoEnable=0) then its recommended to set AckParallelPhone = 1.

01 05 05 05 15

0x342 Clip.RingConfig 00 Clip ring-configuration 00 00 00 05 00 0x34F Cas.AckDelayTi

meout 00 CAS to TE-ACK delay 3C 3C 3C 3C 3C

0x0352 Cas.DataTimeout 32 TE-ACK to FSK-data timeout 32 1E 1E 1E 1E

n/a = not available, refer to the PSTN line requirement for the specific country.

(31)

6.2 Plug/Pol Detection.

Va (/Vb) Plug/Pol Detection : on-hook

no parallel-offhook parallel-offhook LvDetThreshold

LrDetThresholdOnh

ParDetThresholdOnh

Va (/Vb/Vagc) Plug/Pol Detection : off-hook

no parallel-offhook parallel-offhook LvDetThreshold

LrDetThresholdOffh

ParDetThresholdOffh note: not

same scale as in the figure above

Hw_PolAdc=1 Hw_AgcAdc=0/1

Hw_PolAdc=1 Hw_AgcAdc=0/1 or

Hw_PolAdc=0 Hw_AgcAdc=1 No line Lv

(typ <2V) Idle onhook Lv

(typ. 18..48V)

Parallel offhook Lv (typ. 3..16V)

(32)

6.3 Line-AGC.

The LINE-AGC measures the line-current on the "POL_REV/LINE_AGC" ADC. RLR is then adjusted in CODEC_MIC_REG.MIC_GAIN and SLR in CODEC_LSR_REG.LSRATT. The Line- AGC adjustment is illustrated in the following figure:

Gain Step

VAGC 0

+1 +2 +3 +4 +5

AGC.VMax (ex 3Ch) AGC.VMin

(ex 28H)

AGC.VHysteresis=2

AGC Adjustment (SLR or RLR)

5 AGC steps (Steps=5)

Nominel Gain Step

6.3.1 Activation

In order to activate the Line-AGC the following EEPROM-parameters must be changed:

Parameter Address Value Comment

PortCfg.PolBEnable 241h 31h -> 31h PolBEnable must be 1 AgcUpdateTime 226h FFh -> 64h must be different from FF AGC.Ctrl 2B5h 44h -> C4h bit7 of AGC.Ctrl must be 1

6.3.2 VMin/VMax

The Line-AGC measures the line-current on the POL_REV/LINE_AGC ADC. The unit of this ADC is approx 7.03mV/step.

The current value can be read by using the ‘READADC.BAT’ batch file with parameter 1 ie.

READADC 1.

(33)

6.3.3 RLR steps/gain

The adjustment takes place in CODEC_MIC_REG.MIC_GAIN. Possible values for MIC_GAIN is 0..F with approx 2dB/step. If 5 steps are specified for RLR the line-AGC will be allowed to adjust the RLR from [nominal_rlr_gain ... nominal_rlr_gain+10dB]. This of course requires that:

nominal_rlr_gain_step <= (0Fh-RLR_steps)

So in case of 5 RLR steps, nominal_gain_step should be <=0Ah. Or which is probably more relevant since nominal gain is probably already fixed:

RLR_steps <= 0Fh-nominal_rlr_gain_step

The current value of the RLR gain-step can be read using the ‘READ_RLR.BAT’ batch file.

'WRT_RLR.BAT' should be used when setting the RLR.

6.3.4 SLR steps/gain

The adjustment takes place in CODEC_LSR_REG.LSRATT. Possible values for LSRATT is 0..7 with approx -2dB/step.

Since SLR is -2dB /step (not +2dB/step) the formula becomes:

nominal_slr_gain_step ≥ SLR_steps or:

SLR_steps ≤ nominal_slr_gain_step

The current value of the SLR gain-step can be read using the ‘READ_SLR.BAT’ batch file.

'WRT_SLR.BAT' should be used when setting the SLR.

If RLR/SLR number of steps is set to zero then the corresponding RLR/SLR Line-AGC adjustment will be disabled. This might be helpful when initially adjusting the line-AGC.

6.3.5 Line-AGC update

During idle offhook-state the line-AGC is updated every AgcUpdateTime (EEP 226H). Before dialing any digit, the Line-AGC is set back to nominal.

When initially hooking off the Line-AGC is updated as described below:

• Hook-off (T1) , Line-AGC is set to nominal

• Line-seizure ended (T1+LineSeizureTimeU10 ), Line-AGC updated

• Init-dial-pause ended (T1+LineSeizuretimeU10+InitDialPauseU500) , Line-AGC updated (only outgoing call)

• Idle hook-off , Line-AGC updated every AgcUpdateTime

If the line-voltage takes too long time (>LineSeizureTimeU10) to stabilize then the Line-AGC gain could be wrong for InitDialPauseU500 time. One solution for this problem could be to increase LineSeizureTimeU10 to say 200..250ms.

In all cases, if the Line-AGC voltage has not changed since last update then no Line-AGC adjustment

takes place.

(34)

6.4 Improved FSK CLIP detection

SC14428E (revision E and later) contains two new DSP algorithms for detecting CAS and FSK. Since the algorithms are not fully verified they are default disabled.

Enabling the algorithms can be done via the two bits CasDetAlgoEnable and FskDecodAlgoEnable in Cfg-1 (EEP 240h):

Clip Type Address Value

ETSI 240H 06

BELLCORE 240H 07

6.4.1 CAS detector parameters

When using the new CAS detector the parameters FskAt.DtasTrsHold and FskAt.CasTrsHold are used for specifying the detection threshold (CASDET , parameter Cas_min_tresh, see AN-D-060).

References

Related documents

SOLIVIA inverters are the ideal solution for private home- owners. The inverters are fanless and therefore fairly quiet. The quality aluminium housing will look like new for years

My account thus explains why high income taxation posed no major obstacle to the emergence and resilience of a large tax/welfare state and why increasing tax competi- tion did

The data were collected as plant height, spike length, number of fertile tillers per plots, thousand seed weight, and total above ground biomass.. Soil Sampling

Spreadsheet versus excel template, per share price by using microsoft will run both us to track income every time and refine them out their site uses for.. Get them should have it

1.. TE TEST STOS OSTE TERO RON N.. diffuse toxic

Hib vaccine failure can also be attributed to other factors such as changes in the vaccination schedule or the type of carrier protein used, non- specific immunological memory to

Up until recently HIV prevention has been mainly focused on the use of condoms or trying to generate an HIV vaccine. The development of vaginal films containing

When prompted by walmart pay, you like it was sent many of the discussion in sc walmart people it any and track of walmart receipts does not accepting refunds the exceptions posted