Technics MT5634SMI-34 manual RBR Receive Buffer RX Fifo, THR Transmit Holding Register TX Fifo

Page 19

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

RBR Receive Buffer (RX FIFO)

All eight bits are used for receive channel data (host read/data in; host write/data out). The three error bits per byte are copied into bits 2, 3, and 4 of the LSR during each host I/O read; therefore, they are available for monitoring on a per-byte basis.

THR Transmit Holding Register (TX FIFO)

All eight bits are used for transmit channel data (host write/data out; host read/data in).

IER Interrupt Enable

Bits 47:Reserved and will always read 0.

Bits 0-3: Set by host software only and cleared by software control or host reset.

Bit 3: Enables modem status IRQ. If bits 0–3 of the MSR are set and this bit is set to 1 (enabled), a host interrupt is generated.

Bit 2: Enables receive line status IRQ. If bits 1–4 (overrun, parity, framing, break errors) of the LSR are set and this bit is set to a logic 1, a host interrupt is generated.

Bit 1: Enables transmit holding register IRQ. If bit 5 (transmit holding register empty) of the LSR is set and this bit is set to a 1, a host interrupt is generated.

Bit 0: Enables received data available IRQ. If bit 0 (data ready) of the LSR is set and this bit is set to a 1, a host interrupt is generated.

IIR Interrupt Identification (Read Only)

Bits 67:(FIFO enabled bits). These bits will read a 1 if FIFO mode is enabled and the 16450 enable bit is 0 (no force of 16450 mode).

Bits 45:Reserved and always read a 0.

Bits 13:Interrupt ID bits.

Bit 0: Interrupt pending. If logic 0 (in default mode), an interrupt is pending.

When the host accesses IIR, the contents of the register are frozen. Any new interrupts will be recorded, but not acknowledged during the IIR access. This requires buffering bits (0–3, 6–7) during IIR reads.

Bit 3

Bit 2

Bit 1

Priority

Interrupt Source

Interrupt Reset Control

 

 

 

 

 

 

0

1

1

Highest

Overrun, parity, framing, error

Reading the LSR

 

 

 

 

or break detect bits set by

 

 

 

 

 

SocketModem Controller

 

 

 

 

 

 

 

0

1

0

2nd

Received data trigger level

RX FIFO drops below trigger

 

 

 

 

 

level

1

1

0

2nd

Receiver time-out with data in

Read RX FIFO

 

 

 

 

RX FIFO

 

 

 

 

 

 

 

0

0

1

3rd

TX holding register empty

Writing to TX holding register

 

 

 

 

 

or reading IIR when TX

 

 

 

 

 

holding register is source of

 

 

 

 

 

error

 

 

 

 

 

 

0

0

0

4th

MODEM status: CTS, DSR,

Reading the MSR

 

 

 

 

RI or DCD

 

SocketModem Global MT5634SMI Developer’s Guide

19

Image 19
Contents MT5634SMI-34 MT5634SMI-92 Revisions Table of Contents Multi-Tech’s Flash Programming Protocol Appendix C Country Configuration and Result Codes Index Introduction Product Description SpecificationsProduct Description MT5634SMI Features MatrixTIA/EIA TR29.2 Technical Specifications and FeaturesStandard MT5634SMI-IT-92 Industrial Temperature 3.3V Build OptionPhysical Dimensions All Models Mechanical SpecificationsPin # Signal Name I/O Type Description Pin ConfigurationsDigital Ground Active High RDX status Tip Signal from TelcoRing Signal from Telco Active High DCD statusVCC PWR Pin # Signal Description NameDgnd GND INTElectrical Characteristics Electrical CharacteristicsTiming Requirements for Parallel Read Handling PrecautionsTiming Requirements Timing Requirements for Parallel Write SocketModem Parallel Interface Internal Registers SocketModem Parallel Interface a Programmer’s Description SocketModem Mimic MMM Operation Register Name Register Description Host Access Special Register Set Note *2 Time Out InterruptsRegister Functional Descriptions Internal RegistersTHR Transmit Holding Register TX Fifo IER Interrupt EnableBit Priority Interrupt Source Interrupt Reset Control RBR Receive Buffer RX FifoLCR Line Control FCR Fifo ControlMCR Modem Control MSR Modem Status LSR Line StatusBaud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEX SCR ScratchDLL Divisor Latch LSByte DLM Divisor Latch MSByteAT Command Summary AT Commands, S-Registers Result CodesSet Register Value Modulation HandshakeDS= y Dial Stored Telephone Number AT CommandsEnter Key Dial string modifiersReturn Online to Data Mode Sr? Sr= n Set Register ValueXON/XOFF Pacing Control \An Select Maximum MNP Block Size Zy=x Store Dialing Command\Bn Transmit Break Data mode. The modem receives the break from the computer \Nn Error Correction Mode Selection\Tn Inactivity Timer \Kn Break Control\Xn XON/XOFF Pass-Through DCn AT Command Control$MBn Online BPS Speed $RPn Ring Priority vs. AT Command Priority$Dn DTR Dialing $EBn Asynchronous Word Length#CBNy=x Store Callback Password #CBDn Callback DelayCallback Failed Attempts Reset #CBIn Local Callback Inactivity TimerEscape AT Commands Modulation Possible rates bps1 Commands+MS= Modulation Selection Subparameters+PIG=n PCM Upstream Ignore +PCW=n Call Waiting Enable+PMH=n Modem on Hold Enable Mod value Valid maxrate values bps+PMHF V.92 Modem Hook Flash +PMHT=n Modem on Hold Timer+PMHR=n Modem on Hold Initiate +VCID=n Caller ID Selection +PQC=n Quick Connect Control#S=x Store Setup Password #Sx Enter Setup PasswordRegisters Register Unit Range Default DescriptionS48=7 S48=128 S38Terse Verbose Description Result Codes111 Voice Commands Commands That Change for Voice Mode Support Voice CommandsVoice S-Register Summary +FCLASS= mode Enter Select Modem Operating Mode Voice +V Commands SummaryVoice +V Commands Detail Command DescriptionAT+FCLASS=? Enter Display Service Class Capabilities Touch Tone Signals Digit Low frequency High frequency+FCLASS=8 Dtmf Detect Detect and Control Dtmf +FMR?Enter Report Version Level +VNH=hookEnter Automatic Hang-Up Control+FMI?Enter Report Manufacturers ID +FMM?Enter Report Product IDEnter Voice Receive State +VTS=string Produce Dtmf and Tone Generation in Voice Mode+VGR=gain Set the Gain for Received Voice Samples +VTS=? Report Frequency SupportAT+VTS=? Start Voice Transmission ProcessCode Description +VGT=level Set the Volume for Transmitted Voice Samples+VIT=timer Set DTE/DCE Inactivity Timer +VLS=label Select Analog Source/Destination+VRA=interval Set Ring Back Goes Away Timer +VSD=sds,sdi Set Silence Detection Sensitivity +VRN=interval Set Ring Back Never Appeared Timer+VSM=cml,vsr,scs,sel Select Voice Compression Method AT+VSM=? +VSM=? Report Voice Compression MethodIdentifier Description +VDT=enable,report Control Tone Cadence Reporting Enable Report DescriptionLsltcq +VEM=? Report Event Reporting and Masking Capabilities +VEM=mask Event Reporting and MaskingAT+VBT=? Interface Configuration Commands+VPP=enable Enable or Disable Voice Mode Packet Protocol +VBT=? Report Modem Flow Control Assert and Deassert PointsFlow Control Voice Mode Result Codes+VPR=rate Select DTE/DCE Interface Rate Turn Off Autobaud Valid Complex Event Report Tags Unsolicited Voice Mode Result CodesTag Description Shielded Code Hex Event Report Description Voice Mode Shielded CodesAscii Sample Sessions Command ResponseSample Rate Selection and Suggested Compression Method AT+VLS=0 AT+VLS=4AT+VTX DLE ETXAT+VNH=1 AT+VLS=2AT+VRX DLE NULRelated Manuals DTE/DCE Interface RatesAdditional Information Fax Commands Setup Remote Configuration Country Code ConfigurationRemote Configuration Basic ProcedureCountry AT Command Result Code Hexadecimal Decimal Country Code ConfigurationUsing the Global Wizard Utility Using AT CommandsUpgrade Overview Firmware Upgrade ProcedureUpgrade Steps Identify the Current Version of the Firmware Download the Upgrade FileInstall the Flash Wizard Extract the Firmware Upgrade .Hex FilesUsing the Flash Wizard Upgrade the Modem’s FirmwareRestore Your Parameters Handshake Sequence Multi-Tech Systems, Inc. Flash Programming ProtocolProgramming the Modem Modem CommentsOther Programming Concerns Other Supported Boot Code CommandsATI4 End of File Record Char Pos Field Type Value Description Intel Hex FormatData Record Char Pos Field Type Value Description Example Extended Address Record in Intel FormatExample End of File in Intel Format Serial Test/Demo Board Components Appendix a Mechanical Details5V / 3.3V Jumper JP1 Serial Test/Demo Board Block DiagramAddress/COM Port/ IRQ Select Jumpers JP2 and JP3 Parallel Test/Demo Board ComponentsOperating Voltage Select Jumper JP4 Figure A-4. Parallel Test/Demo Board Block Diagram Parallel Test/Demo Board Block DiagramTelecom Approvals Safety and EMC ApprovalsHardware Considerations Regulatory Design ConsiderationsSafety 5V Tolerant Inputs for 3.3V Modules Industry Canada FCC Part 15 RegulationTelecom Labeling Requirements FCC Part 68 TelecomReregistration From FCC Part 68 Subpart D Conditions for RegistrationCanadian Limitations Notice Fax Branding StatementMultiple Listing EMC, Safety, and R&TTE Directive ComplianceIndustry Canada CS-03 International Modem RestrictionsSouth African Notice New Zealand Telecom Warning NoticeCountry Country Config. hex ATI9 Response Appendix C Country Configuration Result CodesAppendix 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