Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 3

Advertising
background image

UG_1x22_053

73M1822/73M1922 Control Module User Guide

Rev. 1.0

3

Table of Contents

1

Introduction ................................................................................................................................... 7

1.1

Purpose and Scope ................................................................................................................. 7

1.2

Conventions Used in this Guide ............................................................................................... 7

1.3

Acronyms................................................................................................................................. 7

2

Overview ........................................................................................................................................ 8

2.1

Driver Architecture ................................................................................................................... 8

2.2

Functional Overview ................................................................................................................ 9

2.2.1

Event Generation ...................................................................................................... 10

2.2.2

Modem Channel Configuration and Management ...................................................... 10

2.2.3

Line State Analysis via Current and Voltage Measurements....................................... 10

2.2.4

GPIO Support ............................................................................................................ 11

2.2.5

Loopback and Testing Modes .................................................................................... 12

2.2.6

Call Progress Monitor ................................................................................................ 12

2.2.7

Billing Tone Filter....................................................................................................... 12

3

Driver Service Interface ............................................................................................................... 13

3.1

Linux Operating System ......................................................................................................... 13

3.2

Other Operating Systems ....................................................................................................... 13

4

Country Specific Settings ........................................................................................................... 14

5

Modem Events ............................................................................................................................. 15

5.1

M1X22_MDM_EVENT_t ........................................................................................................ 15

5.2

Event Identification................................................................................................................. 16

5.2.1

M1X22_BATTERY_DROPPED ................................................................................. 16

5.2.2

M1X22_BATTERY_FEEDED .................................................................................... 16

5.2.3

M1X22_APOH_DETECT ........................................................................................... 16

5.2.4

M1X22_NOPOH_DETECT ........................................................................................ 17

5.2.5

M1X22_POLARITY_CHG .......................................................................................... 17

5.2.6

M1X22_RING_DETECT ............................................................................................ 17

5.2.7

M1X22_RING_DETECT_END ................................................................................... 18

5.2.8

M1X22_SYNC_LOSS_DETECT ................................................................................ 18

5.2.9

M1X22_OV_DETECT ................................................................................................ 18

5.2.10

M1X22_OI_DETECT ................................................................................................. 19

5.2.11

M1X22_LINE_STATE ................................................................................................ 19

5.2.12

M1X22_DIAL_COMPLETE ........................................................................................ 19

5.2.13

M1X22_DIAL_ABORTED .......................................................................................... 20

5.2.14

M1X22_SYNC_RECOVERED ................................................................................... 20

5.2.15

M1X22_GPIO_INTERRUPT ...................................................................................... 20

6

IOCTL Commands Description ................................................................................................... 21

6.1

Initialization and Configuration IOCTLs................................................................................... 21

6.1.1

M1X22_CH_INIT ....................................................................................................... 22

6.1.2

M1X22_CNTRY_NMBR_GET ................................................................................... 23

6.1.3

M1X22_GET_COUNTRY_CONFIG ........................................................................... 24

6.1.4

M1X22_SET_COUNTRY_CONFIG ........................................................................... 25

6.1.5

M1X22_PHONE_VOLUME_SET ............................................................................... 26

6.1.6

M1X22_SET_SAMPLING_FREQ .............................................................................. 27

6.1.7

M1X22_GET_SAMPLING_FREQ .............................................................................. 28

6.2

Events and Status Service ..................................................................................................... 29

6.2.1

M1X22_RNG_GET .................................................................................................... 29

6.2.2

M1X22_POL_GET .................................................................................................... 30

6.2.3

M1X22_BAT_GET ..................................................................................................... 31

6.2.4

M1X22_POH_GET .................................................................................................... 32

6.2.5

M1X22_EVENT_GET ................................................................................................ 33

6.2.6

M1X22_ERROR_CODE_GET ................................................................................... 34

Advertising