Technics MT5634SMI-92, MT5634SMI-34 SocketModem Parallel Interface a Programmer’s Description

Page 16

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

Chapter 4 – SocketModem Parallel

Interface – A Programmer’s

Description

SocketModem Parallel Interface Internal Registers

The SocketModem parallel interface is a mimic of a 16C550A UART. It is similar to the MIMIC interface used in the Zilog Z80189. The SocketModem mimic (MMM) takes advantage of this standard interface while replacing the serial to parallel data transfer with a less complicated parallel to parallel data transfer.

The MMM interface controls an 8-bit parallel data transfer which is typically interrupt driven. Interrupts usually indicate one or both of two conditions: (1) the receive (RX) FIFO has either reached a trigger level or time-out condition and needs to be emptied and/or (2) the transmit (TX) FIFO is empty and waiting for more data from the Host. An interrupt can also be triggered by a change in the modem status register (i.e., loss of carrier) or by the occurrence of errors in the line status register (overrun, parity, framing, break detect).

In addition to the receive and transmit FIFOs, there are twelve other control/status registers called the MMM register set which can be accessed through this interface.

SocketModem MIMIC (MMM) Operation

Data flow through MMM is bi-directional. Simultaneously, data can flow from the host through the transmit FIFO to the SocketModem controller, and data can flow from SocketModem controller through the receive FIFO to the Host. In the receive path, 8-bit data is asynchronously received (from the SocketModem controller) by the receive FIFO where it is stored along with associated three error bits. The error bits must arrive (via a SocketModem controller I/O write to MMM shadow line status register) prior to receiving the actual data bits. The error bits are then temporarily stored so they may be written, with associated data bits, to the 11-bit wide RX FIFO.

After every data write, the RX FIFO write pointer is incremented. RX FIFO trigger levels, data ready signal, and time-out counter are checked to see if a Host interrupt needs to be sent. The data ready signal will be activated and MMM sits poised to accept another data word.

We highly recommend the host should read the MMM IIR register to determine the type of interrupt. Then it might check bit 7 of the LSR to see if there are any errors in the data currently residing in the receive FIFO. Finally, it will (1) alternately read a data word through the RX FIFO read pointer and the error bits via the MMM LSR until the FIFO is empty, or (2) read successive data words (knowing there were no errors in the FIFO) until the trigger count is met.

A similar sequence occurs when data flows in the other direction (from host through transmit FIFO), except there is no error bit manipulation/checking involved.

SocketModem Global MT5634SMI Developer’s Guide

16

Image 16
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 Features Matrix MT5634SMITechnical Specifications and Features TIA/EIA TR29.2MT5634SMI-IT-92 Industrial Temperature 3.3V Build Option StandardMechanical Specifications Physical Dimensions All ModelsPin # Signal Name I/O Type Description Pin ConfigurationsDigital Ground Tip Signal from Telco Ring Signal from TelcoActive High DCD status Active High RDX statusPin # Signal Description Name Dgnd GNDINT VCC PWRElectrical Characteristics Electrical CharacteristicsHandling Precautions Timing RequirementsTiming Requirements for Parallel Write Timing Requirements for Parallel ReadSocketModem Parallel Interface Internal Registers SocketModem Parallel Interface a Programmer’s DescriptionSocketModem Mimic MMM Operation Register Name Register Description Host Access Time Out Interrupts Register Functional DescriptionsInternal Registers Special Register Set Note *2IER Interrupt Enable Bit Priority Interrupt Source Interrupt Reset ControlRBR Receive Buffer RX Fifo THR Transmit Holding Register TX FifoLCR Line Control FCR Fifo ControlMCR Modem Control LSR Line Status MSR Modem StatusSCR Scratch DLL Divisor Latch LSByteDLM Divisor Latch MSByte Baud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEXAT Commands, S-Registers Result Codes AT Command SummaryModulation Handshake Set Register ValueAT Commands Enter KeyDial string modifiers DS= y Dial Stored Telephone NumberReturn Online to Data Mode Sr= n Set Register Value Sr?XON/XOFF Pacing Control \An Select Maximum MNP Block Size Zy=x Store Dialing Command\Bn Transmit Break \Nn Error Correction Mode Selection \Tn Inactivity Timer\Kn Break Control Data mode. The modem receives the break from the computerDCn AT Command Control \Xn XON/XOFF Pass-Through$RPn Ring Priority vs. AT Command Priority $Dn DTR Dialing$EBn Asynchronous Word Length $MBn Online BPS Speed#CBDn Callback Delay Callback Failed Attempts Reset#CBIn Local Callback Inactivity Timer #CBNy=x Store Callback PasswordEscape AT Commands Commands +MS= Modulation SelectionSubparameters Modulation Possible rates bps1+PCW=n Call Waiting Enable +PMH=n Modem on Hold EnableMod value Valid maxrate values bps +PIG=n PCM Upstream Ignore+PMHF V.92 Modem Hook Flash +PMHT=n Modem on Hold Timer+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 Commands That Change for Voice Mode Support Voice CommandsVoice S-Register Summary Voice +V Commands Summary Voice +V Commands DetailCommand Description +FCLASS= mode Enter Select Modem Operating ModeAT+FCLASS=? Enter Display Service Class Capabilities Touch Tone Signals Digit Low frequency High frequency+FCLASS=8 Dtmf Detect Detect and Control Dtmf +VNH=hookEnter Automatic Hang-Up Control +FMI?Enter Report Manufacturers ID+FMM?Enter Report Product ID +FMR?Enter Report Version Level+VTS=string Produce Dtmf and Tone Generation in Voice Mode Enter Voice Receive State+VTS=? Report Frequency Support AT+VTS=?Start Voice Transmission Process +VGR=gain Set the Gain for Received Voice Samples+VGT=level Set the Volume for Transmitted Voice Samples +VIT=timer Set DTE/DCE Inactivity Timer+VLS=label Select Analog Source/Destination Code Description+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=mask Event Reporting and Masking +VEM=? Report Event Reporting and Masking CapabilitiesInterface Configuration Commands +VPP=enable Enable or Disable Voice Mode Packet Protocol+VBT=? Report Modem Flow Control Assert and Deassert Points AT+VBT=?Flow 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 Voice Mode Shielded Codes Shielded Code Hex Event Report DescriptionAscii Sample Sessions Command ResponseSample Rate Selection and Suggested Compression Method AT+VLS=4 AT+VTXDLE ETX AT+VLS=0AT+VLS=2 AT+VRXDLE NUL AT+VNH=1Related Manuals DTE/DCE Interface RatesAdditional Information Fax Commands Remote Configuration Country Code Configuration Remote ConfigurationBasic Procedure SetupCountry Code Configuration Using the Global Wizard UtilityUsing AT Commands Country AT Command Result Code Hexadecimal DecimalUpgrade Overview Firmware Upgrade ProcedureUpgrade Steps Download the Upgrade File Install the Flash WizardExtract the Firmware Upgrade .Hex Files Identify the Current Version of the FirmwareUsing the Flash Wizard Upgrade the Modem’s FirmwareRestore Your Parameters Multi-Tech Systems, Inc. Flash Programming Protocol Programming the ModemModem Comments Handshake SequenceOther Programming Concerns Other Supported Boot Code CommandsATI4 Intel Hex Format Data Record Char Pos Field Type Value DescriptionExample Extended Address Record in Intel Format 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 JP1Address/COM Port/ IRQ Select Jumpers JP2 and JP3 Parallel Test/Demo Board ComponentsOperating 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 NoticeEMC, Safety, and R&TTE Directive Compliance Industry Canada CS-03International Modem Restrictions 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