Technics MT5634SMI-92, MT5634SMI-34 manual FCR Fifo Control, LCR Line Control, MCR Modem Control

Page 20

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

FCR FIFO Control

Bits 6–7:Used to determine RX FIFO trigger levels.

Bit 5: Used to detect a change in the FCR.

Bit 4: TX FIFO overrun bit.

Bit 3: DMA mode select. If bit 3 is a 0, the 16450 mode is enabled which does only single-byte transfers. When bit 3 is a 1, it enables a multiple byte (FIFO mode) data transfer.

Bit 2: TX FIFO reset. This will cause TX FIFO pointer logic to be reset (any data in TX FIFO will be lost). This bit is self clearing; however, a shadow bit exists that is cleared only when read by the host, thus allowing the host to monitor a FIFO reset.

Bit 1: RX FIFO reset. This will cause RX FIFO pointer logic to be reset (any data in RX FIFO will be lost). This bit is self clearing; however, a shadow bit exists that is cleared only when read by the host, thus allowing the host to monitor a FIFO reset.

Bit 0: FIFO enable. The host writes this bit to logic 1 to put the block in FIFO mode. This bit must be a 1 when writing other bits in this register or they will not be programmed. When this bit changes state, any data in the FIFOs or the RBR and THR registers will be lost and any pending interrupts are cleared.

Bit 7

Bit 6

16 Deep FIFO Trigger Levels (# of bytes)

 

 

Default

0

0

1

0

1

4

1

0

8

1

1

14

LCR Line Control

Bit 7: Divisor latch access bit. This bit allows the host, access to the divisor latch. Under normal circumstances, the bit is set to 0 (provides access to the RX and TX FIFOs at address 0). If the bit is set to 1, access to transmitter, receiver, interrupt enable, and modem control registers is disabled. In this case, when an access is made to address 0, the divisor latch least (DLL) significant byte is accessed. Address 1 accesses the most significant byte (DLM). Address 7 accesses the DLX divisor latch register. Address 4 accesses the MCX status/control register.

Bit 6: Used to denote a host-generated set break condition.

Bits 0,1,3,4,5: Used only in parity bit generation for the 7 bit data byte case. Bits 0 and 1 are used for word length select (b0 = 0 and b1 = 1 is used for 7 bit data). Bit 3 is parity enable. Bit 4 is even parity select. Bit 5 is stick parity.

MCR Modem Control

Bits 57:

Reserved, and will always be 0.

Bit 4:

Used for loopback. When a 1, bits 0–3 of the MCR are reflected in modem status register (MSR) as

 

follows: RI <= OUT1, DCD <= OUT2, DSR <= DTR,CTS <= RTS. Emulation of loopback feature of

 

16550 UART must be done by the host except for the above conditions. Also, when this bit is set, it

 

allows for data loop back. This means the host can write a data word to the TX and immediately

 

read back the same data word from the RX (in a manner similar to the 16550A).

Bit 3:

Controls the signal used to 3-state the host interrupt. If 0, then an active-low L33xV output will be

 

set to 0, and this signal will be used to 3-state the host interrupt output pin.

Bits 02:

Used during LOOP function.

Bit 2:

OUT1.

Bit 1:

Request to Send (RTS).

Bit 0:

Data terminal ready (DTR).

SocketModem Global MT5634SMI Developer’s Guide

20

Image 20
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 Features Matrix MT5634SMITechnical Specifications and Features TIA/EIA TR29.2MT5634SMI-IT-92 Industrial Temperature 3.3V Build Option StandardMechanical Specifications Physical Dimensions All ModelsDigital Ground Pin ConfigurationsPin # Signal Name I/O Type Description 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 Mimic MMM Operation SocketModem Parallel Interface a Programmer’s DescriptionSocketModem Parallel Interface Internal Registers 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 FifoMCR Modem Control FCR Fifo ControlLCR Line 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 \Bn Transmit Break Zy=x Store Dialing Command\An Select Maximum MNP Block Size \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+PMHR=n Modem on Hold Initiate +PMHT=n Modem on Hold Timer+PMHF V.92 Modem Hook Flash +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 S-Register Summary Voice CommandsCommands That Change for Voice Mode Support Voice +V Commands Summary Voice +V Commands DetailCommand 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 +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 +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=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=?+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 Voice Mode Shielded Codes Shielded Code Hex Event Report DescriptionAscii Sample Rate Selection and Suggested Compression Method Command ResponseSample Sessions AT+VLS=4 AT+VTXDLE ETX AT+VLS=0AT+VLS=2 AT+VRXDLE NUL AT+VNH=1Additional Information DTE/DCE Interface RatesRelated Manuals 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 Steps Firmware Upgrade ProcedureUpgrade Overview Download the Upgrade File Install the Flash WizardExtract the Firmware Upgrade .Hex Files Identify the Current Version of the FirmwareRestore Your Parameters Upgrade the Modem’s FirmwareUsing the Flash Wizard Multi-Tech Systems, Inc. Flash Programming Protocol Programming the ModemModem Comments Handshake SequenceATI4 Other Supported Boot Code CommandsOther Programming Concerns 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 JP1Operating Voltage Select Jumper JP4 Parallel Test/Demo Board ComponentsAddress/COM Port/ IRQ Select Jumpers JP2 and JP3 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