Technics MT5634SMI-92 Time Out Interrupts, Register Functional Descriptions, Internal Registers

Page 18

Chapter 4 – SocketModem Parallel Interface – A Programmer’s Description

Time Out Interrupts

The interrupts are enabled by IER bits 0-3. Care must be taken when handling these interrupts. Following a reset the transmitter interrupt is enabled, the SocketModem will issue an interrupt to indicate that transmit holding register is empty. This interrupt must be serviced prior to continuing operations.

The LSR register provides the current singular highest priority interrupt only. A condition can exist where a higher priority interrupt may mask the lower priority interrupt(s). Only after servicing the higher pending interrupt will the lower priority interrupt(s) be reflected in the status register. Servicing the interrupt without investigating further interrupt conditions can result in data errors. When two interrupt conditions have the same priority, it is important to service these interrupts correctly.

Receive Data Ready and Receive Time Out have the same interrupt priority (when enabled by IER bit-3). The receiver issues an interrupt after the number of characters received have reached the programmed trigger level. In this case the MMM FIFO may hold more characters than the programmed trigger level. Following the removal of a data byte, the user should recheck LSR bit-0 for additional characters. A Receive Time Out will not occur if the receive FIFO is empty. The time out counter is reset at the center of each stop bit received or each time the receive holding register (RHR) is read.

Register Functional Descriptions

The following table delineates the assigned bit functions for the twelve internal registers. The assigned bit functions are more fully defined in the following paragraphs.

Internal Registers

A2 A1 A0

Register

BIT-7

BIT-6

BIT-5

BIT-4

BIT-3

BIT-2

BIT-1

BIT-0

 

 

 

[Default]

 

 

 

 

 

 

 

 

 

 

 

Note *3

 

 

 

 

 

 

 

 

General Register Set: Note 1*

 

 

 

 

 

 

 

0

0

0

RBR [XX]

Bit-7

Bit-6

Bit-5

Bit-4

Bit-3

Bit-2

Bit-1

Bit-0

0

0

0

THR [XX]

Bit-7

Bit-6

Bit-5

Bit-4

Bit-3

Bit-2

Bit-1

Bit-0

0

0

1

IER [00]

0

0

0

0

Modem

Receive

Transmit

Receive

 

 

 

 

 

 

 

 

Status

Line

Holding

Holding

 

 

 

 

 

 

 

 

Interrupt

Status

Register

Register

 

 

 

 

 

 

 

 

 

interrupt

interrupt

interrupt

0

1

0

IIR [XX]

FIFO

FIFO

0

0

Interrupt

Interrupt

Interrupt

Interrupt

 

 

 

 

enable

enable

 

 

ID

ID

ID

Pending

0

1

0

FCR [00]

RX

RX

Detect

TX

DMA

XMIT

RCVR

FIFO

 

 

 

 

Trigger

trigger

change

FIFO

mode

FIFO

FIFO

enable

 

 

 

 

(MSB)

(LSB)

in FCR

overrun

select

reset

reset

 

 

 

 

 

 

 

 

bit

 

 

 

 

0

1

1

LCR [00]

Divisor

Set

Stick

Even

Parity

0

Word

Word

 

 

 

 

latch

break

parity

parity

enable

 

length

length

 

 

 

 

access

 

 

 

 

 

bit-1

bit-0

 

 

 

 

(DLAB)

 

 

 

 

 

 

 

1

0

0

MCR [00]

0

0

0

Loop

INT

OUT 1

-RTS

-DTR

 

 

 

 

 

 

 

back

enable

 

 

 

1 0 1

LSR [60] RX FIFO data error

TX empty

THR empty

THR

Break

Framing

Parity

Empty

interrupt

error

error

 

 

 

 

Overrun error

Receive data ready

1

1

0

MSR [X0]

CD

RI

DSR

CTS

Delta

Delta

Delta

Delta

 

 

 

 

 

 

 

 

-CD

-RI

-DSR

-CTS

1

1

1

SCR [FF]

Bit-7

Bit-6

Bit-5

Bit-4

Bit-3

Bit-2

Bit-1

Bit-0

Special Register Set: Note *2

 

 

 

 

 

 

 

0

0

0

DLL [00]

Bit-7

Bit-6

Bit-5

Bit-4

Bit-3

Bit-2

Bit-1

Bit-0

0

0

1

DLM [00]

Bit-7

Bit-6

Bit-5

Bit-4

Bit-3

Bit-2

Bit-1

Bit-0

Note 1* The General Register set is accessible only when DS is a logic 0.

Note 2* The Baud Rate register set is accessible only when DS is a logic 0 and LCR bit-7 is a logic 1. Note 3* The value between the square brackets represents the register's initialized HEX value, X = N/A.

SocketModem Global MT5634SMI Developer’s Guide

18

Image 18
Contents MT5634SMI-34 MT5634SMI-92 Revisions Table of Contents Multi-Tech’s Flash Programming Protocol Appendix C Country Configuration and Result Codes Index Product Description Specifications IntroductionProduct Description Features Matrix MT5634SMITechnical Specifications and Features TIA/EIA TR29.2MT5634SMI-IT-92 Industrial Temperature 3.3V Build Option StandardMechanical Specifications Physical Dimensions All ModelsPin Configurations Pin # Signal Name I/O Type DescriptionDigital Ground Active High DCD status Tip Signal from TelcoRing Signal from Telco Active High RDX statusINT Pin # Signal Description NameDgnd GND VCC PWRElectrical Characteristics Electrical Characteristics Timing Requirements for Parallel Write Handling Precautions Timing Requirements Timing Requirements for Parallel ReadSocketModem Parallel Interface a Programmer’s Description SocketModem Parallel Interface Internal RegistersSocketModem Mimic MMM Operation Register Name Register Description Host Access Internal Registers Time Out InterruptsRegister Functional Descriptions Special Register Set Note *2RBR Receive Buffer RX Fifo IER Interrupt EnableBit Priority Interrupt Source Interrupt Reset Control THR Transmit Holding Register TX FifoFCR Fifo Control LCR Line ControlMCR Modem Control LSR Line Status MSR Modem StatusDLM Divisor Latch MSByte SCR ScratchDLL Divisor Latch LSByte Baud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEXAT Commands, S-Registers Result Codes AT Command SummaryModulation Handshake Set Register ValueDial string modifiers AT CommandsEnter Key DS= y Dial Stored Telephone NumberReturn Online to Data Mode Sr= n Set Register Value Sr?XON/XOFF Pacing Control Zy=x Store Dialing Command \An Select Maximum MNP Block Size\Bn Transmit Break \Kn Break Control \Nn Error Correction Mode Selection\Tn Inactivity Timer Data mode. The modem receives the break from the computerDCn AT Command Control \Xn XON/XOFF Pass-Through$EBn Asynchronous Word Length $RPn Ring Priority vs. AT Command Priority$Dn DTR Dialing $MBn Online BPS Speed#CBIn Local Callback Inactivity Timer #CBDn Callback DelayCallback Failed Attempts Reset #CBNy=x Store Callback PasswordEscape AT Commands Subparameters Commands+MS= Modulation Selection Modulation Possible rates bps1Mod value Valid maxrate values bps +PCW=n Call Waiting Enable+PMH=n Modem on Hold Enable +PIG=n PCM Upstream Ignore+PMHT=n Modem on Hold Timer +PMHF V.92 Modem Hook Flash+PMHR=n Modem on Hold Initiate +PQC=n Quick Connect Control +VCID=n Caller ID Selection#Sx Enter Setup Password #S=x Store Setup PasswordRegister Unit Range Default Description RegistersS38 S48=7 S48=128Result Codes Terse Verbose Description111 Voice Commands Voice Commands Commands That Change for Voice Mode SupportVoice S-Register Summary Command Description Voice +V Commands SummaryVoice +V Commands Detail +FCLASS= mode Enter Select Modem Operating ModeTouch Tone Signals Digit Low frequency High frequency AT+FCLASS=? Enter Display Service Class Capabilities+FCLASS=8 Dtmf Detect Detect and Control Dtmf +FMM?Enter Report Product ID +VNH=hookEnter Automatic Hang-Up Control+FMI?Enter Report Manufacturers ID +FMR?Enter Report Version Level+VTS=string Produce Dtmf and Tone Generation in Voice Mode Enter Voice Receive StateStart Voice Transmission Process +VTS=? Report Frequency SupportAT+VTS=? +VGR=gain Set the Gain for Received Voice Samples+VLS=label Select Analog Source/Destination +VGT=level Set the Volume for Transmitted Voice Samples+VIT=timer Set DTE/DCE Inactivity Timer Code Description+VRA=interval Set Ring Back Goes Away Timer +VRN=interval Set Ring Back Never Appeared Timer +VSD=sds,sdi Set Silence Detection Sensitivity+VSM=cml,vsr,scs,sel Select Voice Compression Method +VSM=? Report Voice Compression Method AT+VSM=?Identifier Description Enable Report Description +VDT=enable,report Control Tone Cadence ReportingLsltcq +VEM=mask Event Reporting and Masking +VEM=? Report Event Reporting and Masking Capabilities+VBT=? Report Modem Flow Control Assert and Deassert Points Interface Configuration Commands+VPP=enable Enable or Disable Voice Mode Packet Protocol AT+VBT=?Voice Mode Result Codes Flow Control+VPR=rate Select DTE/DCE Interface Rate Turn Off Autobaud Unsolicited Voice Mode Result Codes Valid Complex Event Report TagsTag Description Voice Mode Shielded Codes Shielded Code Hex Event Report DescriptionAscii Command Response Sample SessionsSample Rate Selection and Suggested Compression Method DLE ETX AT+VLS=4AT+VTX AT+VLS=0DLE NUL AT+VLS=2AT+VRX AT+VNH=1DTE/DCE Interface Rates Related ManualsAdditional Information Fax Commands Basic Procedure Remote Configuration Country Code ConfigurationRemote Configuration SetupUsing AT Commands Country Code ConfigurationUsing the Global Wizard Utility Country AT Command Result Code Hexadecimal DecimalFirmware Upgrade Procedure Upgrade OverviewUpgrade Steps Extract the Firmware Upgrade .Hex Files Download the Upgrade FileInstall the Flash Wizard Identify the Current Version of the FirmwareUpgrade the Modem’s Firmware Using the Flash WizardRestore Your Parameters Modem Comments Multi-Tech Systems, Inc. Flash Programming ProtocolProgramming the Modem Handshake SequenceOther Supported Boot Code Commands Other Programming ConcernsATI4 Example Extended Address Record in Intel Format Intel Hex FormatData Record Char Pos Field Type Value Description End of File Record Char Pos Field Type Value DescriptionExample End of File in Intel Format Appendix a Mechanical Details Serial Test/Demo Board ComponentsSerial Test/Demo Board Block Diagram 5V / 3.3V Jumper JP1Parallel Test/Demo Board Components Address/COM Port/ IRQ Select Jumpers JP2 and JP3Operating Voltage Select Jumper JP4 Parallel Test/Demo Board Block Diagram Figure A-4. Parallel Test/Demo Board Block DiagramSafety and EMC Approvals Telecom ApprovalsRegulatory Design Considerations Hardware ConsiderationsSafety 5V Tolerant Inputs for 3.3V Modules FCC Part 15 Regulation Industry CanadaFCC Part 68 Telecom Telecom Labeling RequirementsFrom FCC Part 68 Subpart D Conditions for Registration ReregistrationFax Branding Statement Canadian Limitations NoticeInternational Modem Restrictions EMC, Safety, and R&TTE Directive ComplianceIndustry Canada CS-03 Multiple ListingNew Zealand Telecom Warning Notice South African NoticeAppendix C Country Configuration Result Codes Country Country Config. hex ATI9 ResponseAppendix C Country Configuration and Result Codes Appendix C Country Configuration and Result Codes Appendix C Country Configuration and Result Codes Page Index Index Index Index