Technics MT5634SMI-34, MT5634SMI-92 manual Register Name Register Description Host Access

Page 17

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

FIFO Operation

The 16-byte transmit and receive data FIFOs are enabled by the FIFO Control Register (FCR) bit-0. You can set the receive trigger level via FCR bits 6/7. The receiver FIFO section includes a time-out function to ensure data is delivered to the external host. An interrupt is generated whenever the Receive Holding Register (RHR) has not been read following the loading of a character or the receive trigger level has been reached.

Receive (RX) FIFO

The RX FIFO can be configured to be 16 words deep and 11 bits wide. Each word in the RX FIFO consists of 8 data bits and 3 error bits. The RX block of the MMM contains read and write pointers and status flag circuitry that need only to be presented with data (for input), reset, read/write control signals, and read/write clock signals. The RX block of the MMM internally manages the FIFO register file and pointers, and it provides simultaneous read/write capability (no contention problems).

The RX block of the MMM provides data (for output), FIFO full flag, FIFO empty flag, and an almost full flag which uses an associated predefined trigger level (obtained from the MMM FCR control register) to signal when the trigger level has been met. Four possible trigger levels may be selected by programming bits 6-7 of the FCR control register.

A typical (interrupt driven) write to the RX block is a two-step process. The MMM micro-controller must first write the 3 error bits to a shadow MMM LSR status register. Next, the micro-controller writes the data to the RX FIFO and during this write operation, the 3 error bits are directly loaded from the LSR shadow register into the bits 8- 10 of the selected (11 bit-wide) FIFO register. These error bits represent the parity error, framing error, and break interrupt signals associated with each data work transmission into the receive FIFO. When the receive FIFO is read, these error bits are loaded directly into bits 2-4 of the MMM LSR register.

A2

A1

A0

Register Name

Register Description

Host Access

0

0

0

RBR

Receive Buffer (RX FIFO)

DLAB = 0

R only

0

0

0

THR

Transmit Holding (TX

DLAB = 0

W only

0

0

1

IER

FIFO)

DLAB = 0

R/W

0

1

0

IIR

Interrupt Enable

DLAB = X

R only

0

1

0

FCR

Interrupt Identification

DLAB = X

W only

0

1

1

LCR

FIFO Control

DLAB = X

R/W

1

0

0

MCR

Line Control

DLAB = 0

R/W

1

0

1

LSR

Modem Control

DLAB = X

R only

1

1

0

MSR

Line Status

DLAB = X

R only

1

1

1

SCR

Modem Status

DLAB = 0

R/W

 

 

 

 

Scratch pad

 

 

0

0

0

DLL

LSB of Divisor Latch

DLAB = 1

R/W

0

0

1

DLM

MSB of Divisor Latch

DLAB = 1

R/W

1

1

1

DLX

Divisor Latch

DLAB = 1

R/W

1

0

0

MCX

Status/Control

DLAB = 1

R/W

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.

SocketModem Global MT5634SMI Developer’s Guide

17

Image 17
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 Product Description SpecificationsIntroduction MT5634SMI Features MatrixTIA/EIA TR29.2 Technical Specifications and FeaturesStandard MT5634SMI-IT-92 Industrial Temperature 3.3V Build OptionPhysical Dimensions All Models Mechanical SpecificationsDigital Ground Pin ConfigurationsPin # Signal Name I/O Type Description Ring Signal from Telco Tip Signal from TelcoActive High DCD status Active High RDX statusDgnd GND Pin # Signal Description NameINT VCC PWRElectrical Characteristics Electrical CharacteristicsTiming Requirements Handling PrecautionsTiming Requirements for Parallel Write Timing Requirements for Parallel ReadSocketModem Mimic MMM Operation SocketModem Parallel Interface a Programmer’s DescriptionSocketModem Parallel Interface Internal Registers Register Name Register Description Host Access Register Functional Descriptions Time Out InterruptsInternal Registers Special Register Set Note *2Bit Priority Interrupt Source Interrupt Reset Control IER Interrupt EnableRBR Receive Buffer RX Fifo THR Transmit Holding Register TX FifoMCR Modem Control FCR Fifo ControlLCR Line Control MSR Modem Status LSR Line StatusDLL Divisor Latch LSByte SCR ScratchDLM Divisor Latch MSByte Baud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEXAT Command Summary AT Commands, S-Registers Result CodesSet Register Value Modulation HandshakeEnter Key AT CommandsDial string modifiers DS= y Dial Stored Telephone NumberReturn Online to Data Mode Sr? Sr= n Set Register ValueXON/XOFF Pacing Control \Bn Transmit Break Zy=x Store Dialing Command\An Select Maximum MNP Block Size \Tn Inactivity Timer \Nn Error Correction Mode Selection\Kn Break Control Data mode. The modem receives the break from the computer\Xn XON/XOFF Pass-Through DCn AT Command Control$Dn DTR Dialing $RPn Ring Priority vs. AT Command Priority$EBn Asynchronous Word Length $MBn Online BPS SpeedCallback Failed Attempts Reset #CBDn Callback Delay#CBIn Local Callback Inactivity Timer #CBNy=x Store Callback PasswordEscape AT Commands +MS= Modulation Selection CommandsSubparameters Modulation Possible rates bps1+PMH=n Modem on Hold Enable +PCW=n Call Waiting EnableMod value Valid maxrate values bps +PIG=n PCM Upstream Ignore+PMHR=n Modem on Hold Initiate +PMHT=n Modem on Hold Timer+PMHF V.92 Modem Hook Flash +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 Voice S-Register Summary Voice CommandsCommands That Change for Voice Mode Support Voice +V Commands Detail Voice +V Commands SummaryCommand Description +FCLASS= mode Enter Select Modem Operating Mode+FCLASS=8 Dtmf Detect Detect and Control Dtmf Touch Tone Signals Digit Low frequency High frequencyAT+FCLASS=? Enter Display Service Class Capabilities +FMI?Enter Report Manufacturers ID +VNH=hookEnter Automatic Hang-Up Control+FMM?Enter Report Product ID +FMR?Enter Report Version LevelEnter Voice Receive State +VTS=string Produce Dtmf and Tone Generation in Voice ModeAT+VTS=? +VTS=? Report Frequency SupportStart Voice Transmission Process +VGR=gain Set the Gain for Received Voice Samples+VIT=timer Set DTE/DCE Inactivity Timer +VGT=level Set the Volume for Transmitted Voice Samples+VLS=label Select Analog Source/Destination Code Description+VRA=interval Set Ring Back Goes Away Timer +VSM=cml,vsr,scs,sel Select Voice Compression Method +VRN=interval Set Ring Back Never Appeared Timer+VSD=sds,sdi Set Silence Detection Sensitivity Identifier Description +VSM=? Report Voice Compression MethodAT+VSM=? Lsltcq Enable Report Description+VDT=enable,report Control Tone Cadence Reporting +VEM=? Report Event Reporting and Masking Capabilities +VEM=mask Event Reporting and Masking+VPP=enable Enable or Disable Voice Mode Packet Protocol Interface Configuration Commands+VBT=? Report Modem Flow Control Assert and Deassert Points AT+VBT=?+VPR=rate Select DTE/DCE Interface Rate Turn Off Autobaud Voice Mode Result CodesFlow Control Tag Description Unsolicited Voice Mode Result CodesValid Complex Event Report Tags Shielded Code Hex Event Report Description Voice Mode Shielded CodesAscii Sample Rate Selection and Suggested Compression Method Command ResponseSample Sessions AT+VTX AT+VLS=4DLE ETX AT+VLS=0AT+VRX AT+VLS=2DLE NUL AT+VNH=1Additional Information DTE/DCE Interface RatesRelated Manuals Fax Commands Remote Configuration Remote Configuration Country Code ConfigurationBasic Procedure SetupUsing the Global Wizard Utility Country Code ConfigurationUsing AT Commands Country AT Command Result Code Hexadecimal DecimalUpgrade Steps Firmware Upgrade ProcedureUpgrade Overview Install the Flash Wizard Download the Upgrade FileExtract the Firmware Upgrade .Hex Files Identify the Current Version of the FirmwareRestore Your Parameters Upgrade the Modem’s FirmwareUsing the Flash Wizard Programming the Modem Multi-Tech Systems, Inc. Flash Programming ProtocolModem Comments Handshake SequenceATI4 Other Supported Boot Code CommandsOther Programming Concerns Data Record Char Pos Field Type Value Description Intel Hex FormatExample Extended Address Record in Intel Format End of File Record Char Pos Field Type Value DescriptionExample End of File in Intel Format Serial Test/Demo Board Components Appendix a Mechanical Details5V / 3.3V Jumper JP1 Serial Test/Demo Board Block DiagramOperating Voltage Select Jumper JP4 Parallel Test/Demo Board ComponentsAddress/COM Port/ IRQ Select Jumpers JP2 and JP3 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 StatementIndustry Canada CS-03 EMC, Safety, and R&TTE Directive ComplianceInternational Modem Restrictions Multiple ListingSouth 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