Intel 537EX Line Status Register LSR, Bit Framing error, Stack, Bit Host reads the LSR register

Page 96

9.2.3Line Status Register (LSR)

Figure 16. Line Status Register (LSR)

Register 5

RCVR Err

TEMT

THRE

BI

FE

PE

OE

DR

This read-only register provides UART status information to the host. Bits 4:1 report error conditions. These bits are reset to ‘0’ any time the host reads this register. An interrupt is generated to the host whenever any one of the bits (4:1) is set to ‘1’ and the RLSIE (receiver line status interrupt) has been enabled. Bits 0, 5, and 6 provide status information for sending and receiving data through the THR (Transmit Holding register) and the RBR (Receiver Buffer register). Bits 0, 5, 6 are reset to ‘1’ only when the host performs a specified action.

In FIFO mode, the modem keeps track of the character in which an error has occurred and does not report the error to the DTE until the associated character gets to the top of the stack.

Note: In FIFO mode, the DTE must write a data byte in the RX FIFO by the loopback mode to write to LSR2–LSR4. LSR0 and LSR7 cannot be written to in FIFO mode.

 

Error in RCVR FIFO—In 16C450 emulation mode, this bit is always a ‘0’.

Bit 7

In FIFO mode, this bit is set to ‘1’ by the DCE whenever at least one parity error, framing error, or break indication has

occurred in the RCVR FIFO. This bit is cleared when the DTE reads the LSR register and there are no subsequent FIFO

 

 

errors.

 

 

 

TEMT (Transmitter Empty)—This bit is set to ‘1’ by the DCE whenever the THR (Transmit Holding register) and

Bit 6

transmitter shift register are empty. This bit is automatically reset to ‘0’ by the DCE whenever the host writes a byte to the

THR.

 

 

In FIFO mode, this bit is set to ‘1’ whenever the transmitter FIFO and shift register are both empty.

 

 

 

THRE (Transmitter Holding Register Empty)—This bit is set to ‘1’ whenever the THR (Transmit Holding register) is

 

empty. This bit is set to ‘0’ whenever the host writes data into the THR. Additionally, if the THREIE (Transmitter Holding

Bit 5

Register Empty Interrupt Enable) is set to ‘1’, the modem causes an interrupt to the host whenever THRE goes to ‘1’.

 

In FIFO mode, this bit is set to ‘1’ whenever the XMIT FIFO is empty. This bit is then reset to ‘0’ when at least one byte is

 

written to the XMIT FIFO.

 

 

 

BI (Break Interrupt)—This bit is set to ‘1’ whenever the received data are spaces (logic 0) for at least 2M + 3 bits (M =

 

start bit + # of data character bits + parity bit + # of stop bits). This bit is reset to ‘0’ whenever the host reads the LSR

Bit 4

register. The modem waits for the valid start bit, before again transferring data to the FIFO.

 

When a break occurs in FIFO mode, a single null character is placed in the RVCR FIFO. The BI bit is then set when the

 

zero character gets to the top of the FIFO stack.

 

 

 

FE (Framing Error)—This bit is set to ‘1’ whenever a valid stop bit (logic 1) has not been detected after the last data bit or

 

parity bit. This bit is reset to ‘0’ whenever the host reads the LSR register. The UART tries to re-synchronize after a

Bit 3

framing error.

 

In FIFO mode, the modem FE bit is set to ‘1’ whenever the associated framing error character has reached the top of the

 

stack.

 

 

 

PE (Parity Error)—This bit is set to ‘1’ whenever the received data character does not have the correct even or odd parity,

 

as selected by the EPS (even parity select) bit [LCR4] and the stick parity bit [LCR 5]. This bit is reset to ‘0’ whenever the

Bit 2

host reads the LSR register.

 

In FIFO mode, the modem PE bit is set to ‘1’ whenever the associated framing error character has reached the top of the

 

stack.

 

 

Bit 1

OE (Overrun Error)—Not supported.

 

 

Bit 0

Data Ready—This bit is set to ‘1’ whenever the modem writes a new received data character into the RBR (Receiver

Buffer register) or FIFO. This bit is reset to ‘0’ whenever the DTE reads the RBR or FIFO.

 

 

 

Image 96
Contents 537EX Chipset Developer’s ManualIntel Confidential Contents Figures Tables Revision History Date Revision Description001 Initial release Introduction Controllerless Modem Driver OverviewWindows 95 and Windows V.90/V.92 and V.34 Data Modes TapiUnimodem Intelsdb.VXDModem Connection Overview AT Commands Overview DTE-to-DCE Data Rates for Each ModeDCE-to-DCE Data Rates for Each Mode DCE-to-ISP Data Rates for V.90 ModeSending Commands Delayed CallDTE-Modem Data Rate Response Codes Numeric TextCommand Function AT Escape SequencesDial Modifier Dialing digitsData Mode Command Summary Command Function Default Range Reported By &VnIntel Confidential Intel Confidential Intel Confidential +EB +ESA+ESR +ETBM44/V.42/V.42 bis MNP Command Summary Processes flow control characters and passes to local Fax Identity Command Summary Fax Class 1 Command SummaryIS-101 Voice Command Summary Voice DTE→DCE Character PairsResponse Hex Code Function Voice DTE →DCE Character Pairs Voice DTE←DCE Character PairsDEL ESCRegister Function Default Range Units Reported by &Vn Dial ModifiersRegister Summary AsciiRegister Function Default Range Units Using AT Commands to Access the S-Registers Sn?, Sn=x, ? Modem Responses and Command Echo En, Vn, Xn, Wn, QnModem Setup Host Modem Response Command Disable Enable Data Reporting Wn MappingDTE Resets and then configures the modem to Nvram user profile AT Commands Product Information Establishing a Modem Connection A, D, DS = n, S0Product Identification Information Online Command Mode Escape Codes, On Hanging Up Hn, S10, Zn, &D2Modem-to-Modem Connection Data Rates Intel Confidential Modem-on-Hold Incoming Voice Call in Data Mode Modem-on-Hold Initiating a Voice Call in Data Mode Intel Confidential Supported Modulation Types Carrier DescriptionDiagnostic Testing S18, &Tn Local Analog Loopback AT&T1Local Analog Loopback With Self-Test AT&T8 Local Modem or Test ModemAT Escape Sequences Time-Independent Escape SequenceLicensing Requirements for Hayes Escape Sequence Example Data Mode Command Descriptions Command Default DescriptionHayes* Escape Sequence Previously stored in the Nvram with the AT&Zn=x command Host in either online or off-line command modeEcho disabled Echo enabledATI2 DTESn=x Command Modem dials a telephone number touch tone dialingNumeric or verbose form Numeric formDisconnecting Subsequent commands to be ignoredResets the modem and recalls user profile DCD or Rlsd signalAT&V0 Active ProfileStored Profile Telephone NumbersS-register configurations into the Nvram user profile ‘n’ Command to see the stored telephone numberSelect profile = 0-9 a B C D # * T P R W @Command Default Indication Definition+EB CRC generation and checking disabled Nrzi encoding and decoding disabledSecondary channel operation, and vice versa 12/V.34+ESR +ETBM+GMR +GSN+IFC +ILRR=m+MS command description +MA? will display a list of enabled alternative modulations= carrier,carrier,…carrier If +MS = ,0,, no alternative modulations will be availableCarrier Description BELL103BELL212 +MS=m See ‘m’+PHSW= +PMHFValue Description +PMHRConjunction with the +PSS command Enable Short Phase 1 and Short PhaseEnable Short Phase Disable short Phase 1 and Short PhaseMode Features Operating Modes44/V.42/V.42 bis and MNP Data Modem Command Descriptions +ES Settings Answer ModemResulting +ES Connection Types +ES=1, 0 +ES=4, 4 +ES=3, 0 +ES=3, 2\Bn \Kn +DR=m Direction+DS=m Max string3768 +EFCS=mDisplay messages when +ER = Decimal value and the format is as follows+ER=m +ER LapmSetting is ignored if origrqst=6 Control during non-error control operationNon-error control operation +ES=mFax Identity Commands Fax Class 1 CommandsFax Identity Command Descriptions +FMFR?/+FMIMod Selection Table Value Modulation Speed bps30 Hdlc Frame Format Class 1 DTE-Generated Hdlc Frame Information AT+FTH=modFax Mode Command Descriptions +FCLASS?+FCLASS +FRH=m +FRS=m+FTH=m IS-101 Voice Mode AT Commands Voice Mode Command Descriptions Dtmf Detection ReportingRelay Control +FLO=m Enable report Function +VDR=m See ‘m’Defaults = ‘C’, BB860980, BFE63883, BB863EE0 Caller ID report Command Reserved Distinctive ringing AllEvent Description +VEM=m See ‘m’EIGHT-DIGIT HEX Code B B 8 6 3 E E EX Value BIT Value EventHEX Digit Location Local telephone, or speaker 128 Nominal transmit level+VIP Preassigned Voice I/O Labels Label+VLS=m Voice I/O Primitive Codes Relay/Playback ControlPrimitive Code Description +VRX +VSD=m See ‘m’+VSM=? command to obtain supported sampling rates 141 AD3 3-bit Adaptive differential pulse code modulation+VSM=m Range 4800, 7200, 8000, and 11025 samples/secondCml SerialHard Disk CompressionFactory default is ‘0’ 100 Default value 1 second100 Range 5-255 units of 0.01 secondsDual tones may be sent using the following format +VTS=m NoneSpecified by +VTD=m This sends a 500 ms period of silenceCommand Default Description Register Command Descriptions S10 Range Seconds Default 0 seconds Escape sequencesS16 S21 S22 118S25 S30Modem exits sleep mode whenever the host reads or writes to Modem or when a ring signal is detectedSleep mode is disabled by setting S33 to ‘0’ Inactive state whenCaller ID Tags for Formatted Reporting Tag DescriptionRing Uart Emulation in the Controllerless Modem Uart Emulation in Intelsdb.VxDUart THRRBR Parallel Host Interface Uart Register Bit Assignments Uart Register Definitions Scratch Register SCRModem Status Register MSR Bit Framing error OE Overrun Error-Not supportedLine Status Register LSR StackIER Interrupt Enable register Procedure is as followsModem Control Register MCR Line Control Register LCRFifo Control Register FCR BitInterrupt Identity Register IIR Interrupt Control FunctionsID1 ID0 Interrupt Enable Register IER ID bit 2 for Fifo modeTransmitter Holding Register THR Dlab =Receiver Buffer Register RBR Divisor Latch Registers DLM and DLLProgrammable Data Rates Data Rate Divisor Number Divisor Latch HexFifo Interrupt Mode Operation Fifo Polled Mode Operation16C550A Uart Fifo Operation 102536EX Chipset Developer’s Manual 103

537EX specifications

The Intel 537EX is a powerful and innovative embedded processor designed for a range of applications, particularly in the fields of industrial automation, telecommunications, and transport management systems. This processor is a member of Intel's embedded product line, tailored specifically to meet the demands of systems that require high reliability and long lifecycle support.

One of the main features of the Intel 537EX is its multi-core architecture, which enables efficient parallel processing capabilities. This allows for the execution of multiple tasks simultaneously, significantly improving overall system performance. The processor also incorporates Intel’s advanced power management technology, which ensures that the device consumes energy efficiently, enhances thermal performance, and prolongs the lifespan of the system.

The Intel 537EX supports a range of connectivity options, including high-speed Ethernet and Serial ATA interfaces. This ensures that it can easily integrate into existing systems, seamlessly supporting applications that require robust data transfer capabilities. Additionally, the processor is equipped with multiple I/O ports, facilitating the connection of various peripherals and sensors, which is crucial in industrial applications.

One of the standout technologies within the Intel 537EX is its support for hardware virtualization. This feature allows for the creation of multiple virtual environments within a single physical structure, optimizing resource utilization and enhancing system flexibility. Additionally, Intel’s integrated security technologies provide a significant layer of protection against potential threats, ensuring that embedded systems remain secure.

Another characteristic of the Intel 537EX is its extensive software support, which includes compatibility with various operating systems and development environments. This versatility makes it an attractive choice for developers looking to build or upgrade their embedded systems. With access to Intel's comprehensive software tools, developers can quickly optimize applications to take full advantage of the processor's capabilities.

The Intel 537EX also boasts excellent thermal performance, allowing it to operate efficiently in harsh environments. This is crucial for embedded applications in industrial settings where temperature fluctuations are common. Overall, the Intel 537EX is engineered to deliver high-performance processing power, superior connectivity, and enhanced security, solidifying its position as a reliable choice for demanding embedded applications.