MaxLinear XR17V358 Скачать руководство пользователя страница 48

XR17V358

 

48

HIGH PERFORMANCE OCTAL PCI EXPRESS UART

REV. 1.0.6

3.7

Receiver

The receiver section contains an 8-bit Receive Shift Register (RSR) and Receive Holding Register (RHR). The 
RSR uses the 16X, 8X or 4X clock for timing. It verifies and validates every bit on the incoming character in the 
middle  of  each  data  bit.  On  the  falling  edge  of  a  start  or  false  start  bit,  an  internal  receiver  counter  starts 
counting at the 16X, 8X or 4X clock rate. After 8 or 4 or 2 clocks the start bit period should be at the center of 
the start bit. At this time the start bit is sampled and if it is still a logic 0 it is validated. Evaluating the start bit in 
this manner prevents the receiver from assembling a false character. The rest of the data bits and stop bits are 
sampled  and  validated  in  this  same  manner  to  prevent  false  framing.  If  there  were  any  error(s),  they  are 
reported  in  the  LSR  register  bits  [4:1].  Upon  unloading  the  receive  data  byte  from  RHR,  the  receive  FIFO 
pointer is bumped and the error flags are immediately updated to reflect the status of the data byte in RHR 
register. RHR can generate a receive data ready interrupt upon receiving a character or delay until it reaches 
the FIFO trigger level. Furthermore, data delivery to the host is guaranteed by a receive data ready time-out 
function when receive data does not reach the receive FIFO trigger level. This time-out delay is 4 word lengths 
as defined by LCR bits [1:0] plus 12 bits time. The RHR interrupt is enabled by IER bit [0].

3.7.1

 Receiver Operation in non-FIFO Mode

F

IGURE

 16.  R

ECEIVER

 O

PERATION

 

IN

 

NON

-FIFO M

ODE

Receive Data Shift

Register (RSR)

Receive

Data Byte

and Errors

RHR Interrupt (ISR bit-2)

Receive Data

Holding Register

(RHR)

16X or 8X or 4X 

Clock

Receive Data Characters

Data Bit

Validation

Error

Flags in

LSR bits

4:2

Содержание XR17V358

Страница 1: ...S CTS or DTR DSR hardware flow control with programmable hysteresis Automatic Xon Xoff software flow control RS 485 half duplex direction control output with programmable turn around delay Multi drop...

Страница 2: ...TMRCK TEST2 GND LX LX NC CD5 DTR5 CTS5 CD4 DTR4 RX4 CD2 DTR2 RX2 ENIR TEST1 GND VCC33 VCC33 VCC33 MPIO0 RI5 DSR5 RTS5 DSR4 RTS4 RI2 CTS2 TX2 EN485 FB GND VCC33 ENABLE D0 MPIO2 MPIO1 RX5 GND VCC33 GND...

Страница 3: ...se output active LOW CTS0 N14 I UART channel 0 Clear to Send or general purpose input active LOW If unused a pull up or pull down resistor is recommended on this pin DTR0 N15 O UART channel 0 Data Ter...

Страница 4: ...is pin CD2 B7 I UART channel 2 Carrier Detect or general purpose input active LOW If unused a pull up or pull down resistor is recommended on this pin RI2 C7 I UART channel 2 Ring Indicator or general...

Страница 5: ...FCTR bit 4 If unused a pull up or pull down resistor is recommended on this pin RTS5 C4 O UART channel 5 Request to Send or general purpose output active LOW CTS5 B3 I UART channel 5 Clear to Send or...

Страница 6: ...channel 7 Ring Indicator or general purpose input active LOW If unused a pull up or pull down resistor is recommended on this pin EXPANSION INTERFACE MODE G15 I Expansion Interface Mode Select Connec...

Страница 7: ...between master and slave with trace capacitance of less than 25 pF Leave unconnected if no slave device is present PRES H14 I Slave Present has internal pull down resistor In master mode pull this pi...

Страница 8: ...ut output 10 This pin defaults to an input with interrupts disabled and is controlled using the MPIOSEL MPIOLVL MPIOINV MPIO3T MPIOOD and MPIOINT configuration registers If unused a pull up or pull do...

Страница 9: ...up resistor TDO P4 O JTAG Data Output BUCK REGULATOR SIGNALS ENABLE C14 I Logic 1 enables logic 0 disables buck regulator output LX LX A13 A14 O O Output of internal buck regulator Use 4 7 uH inducto...

Страница 10: ...s recommended on this pin VCC33P B13 C13 Pwr 3 3V power supply voltage for output stage of buck regulator VCC33B B14 B15 Pwr 3 3V power supply for the analog blocks of the buck regulator VCC12 D7 D11...

Страница 11: ...ing conditions to the cards One of the definitions is the base address loaded into the Base Address Register BAR where the card will be operating in the PCI local bus memory space All this is describe...

Страница 12: ...in detail FIGURE 4 THE XR17V358 REGISTER SETS C hannel 0 IN T M PIO TIM E R R EG D evice C onfiguration and U AR T 7 0 C onfiguration R egisters are m apped on to the Base A ddress R egister B AR in a...

Страница 13: ...ble 0b 20 RO Capabilities List 1b 19 16 RO Reserved Status bits 0000b 15 11 9 7 5 4 3 2 RO Command bits reserved 0x0000 10 RWR This bit disables the device from asserting INTx logic 1 disable assertio...

Страница 14: ...EEPROM by customer 0x0000 0x30 31 0 RO Expansion ROM Base Address Unimplemented 0x00000000 0x34 31 8 RO Reserved returns zeros 0x000000 7 0 RO Capability Pointer 0x50 0x38 31 0 RO Reserved returns ze...

Страница 15: ...ot implemented or not applicable return zeros 00b 21 18 RO Not implemented or not applicable return zeros 0000b 17 15 RO L1 Exit Latency 1 us 000b 14 12 RO L0s Exit Latency 64 ns 000b 11 10 RO Active...

Страница 16: ...14 Final Address If 1 this will be the last data to be read If 0 there will be more data to be read after this 13 8 Reserved Bits must be 0 7 0 Target Address See Table 3 Table 3 shows the Target Addr...

Страница 17: ...space These addresses are offset onto the basic memory address a value loaded into the Memory Base Address Register BAR in the PCI local bus configuration register set The UART Configuration Register...

Страница 18: ...Only 256 bytes of RX FIFO data 0x0500 0x05FF UART 1 Write FIFO Write Only 256 bytes of TX FIFO data 0x0600 0x07FF UART 1 Read FIFO with errors Read Only 256 bytes of RX FIFO data LSR 0x0800 0x080F UAR...

Страница 19: ...FIFO with errors Read Only 256 bytes of RX FIFO data LSR 0x1800 0x180F UART channel 6 Regs Table 13 Table 14 First 8 regs are 16550 compatible 0x1810 0x187F Reserved 0x1880 0x189A DEVICE CONFIGURATION...

Страница 20: ...00 0x085 REGA Reserved Bits 7 0 0x00 0x086 TIMERLSB Read Write Timer LSB Bits 7 0 0x00 0x087 TIMERMSB Read Write Timer MSB Bits 7 0 0x00 Individual UART channels can only control the bit pertaining to...

Страница 21: ...RT channel 0 interrupts must first be cleared before any of the global interrupts can be reported in INT1 bits 10 8 GLOBAL INTERRUPT REGISTER DWORD default 0x00 00 00 00 INT3 31 24 INT2 23 16 INT1 15...

Страница 22: ...r interrupt and MPIO interrupt are only reported in channel 0 of INT1 bits 10 8 These interrupts are not reported in any other location FIGURE 5 THE GLOBAL INTERRUPT REGISTER INT0 INT1 INT2 AND INT3 C...

Страница 23: ...as the clock source for the timer counter The timer can be set to be a single shot for a one time event or re triggerable for a periodic signal An interrupt may be generated when the timer times out...

Страница 24: ...up a hardware reset or upon the issue of a Timer Reset command are Timer Interrupt Disabled Re triggerable mode selected Internal 125 MHz clock master or 62 5 MHz clock slave selected as clock source...

Страница 25: ...are blocked after the Timer has been started Any write to TIMER MSB LSB registers Issue of any command other than Start Timer Stop Timer and Reset Timer Timer Operation in Re triggerable Mode In the...

Страница 26: ...ing the TIMERCNTL register or when a Timer Reset command is issued which brings the Timer back to its default settings The TIMERCNTL will read a value of 0x01 when the Timer interrupt is enabled and t...

Страница 27: ...f using the 8XMODE the corresponding bit in this register should be logic 0 Ch 6 Ch 7 Ch 5 Ch 4 Ch 3 Ch 2 Ch 1 Ch 0 4XMODE Register Individual UART Channel 4X Clock Mode Enable Bit 7 Bit 6 Bit 5 Bit 4...

Страница 28: ...ep mode automatically after all interrupting conditions have been serviced and cleared It will stay in the sleep mode of operation until it is disabled by resetting the SLEEP register bits 1 4 6 Devic...

Страница 29: ...tion for signal sharing The MPIO 0 pin can be programmed to show the Timer output When it is programmed to be the Timer output all the above 5 registers lose control over the MPIO 0 pin For details on...

Страница 30: ...hen it can be selected to generate an interrupt MPIOINT bit 0 enables input pin MPIO0 for interrupt and bit 7 enables input pin 7 No interrupt is enable if the pin is selected to be an output The inte...

Страница 31: ...ate Enable Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 MPIOINV 15 0 default 0x00 The MPIO inputs can be inverted by the MPIOINV register A logic 0 default does not invert the input pin logic A log...

Страница 32: ...OD register When the MPIOOD register is a logic 0 default the MPIO is not an open drain output A logic 1 enables the MPIO as an open drain output This register has no effect when the MPIO is an input...

Страница 33: ...IT FORMAT The XR17V358 supports 32 bit Read and 32 bit Write transactions anywhere in the mapped memory region except reserved areas In addition to utilize this feature fully the device provides a sep...

Страница 34: ...w this clearly READ RX FIFO WITH LSR ERRORS BYTE 3 BYTE 2 BYTE 1 BYTE 0 Read n 0 to n 1 FIFO Data n 1 LSR n 1 FIFO Data n 0 LSR n 0 Read n 2 to n 3 FIFO Data n 3 LSR n 3 FIFO Data n 2 LSR n 2 Etc PCI...

Страница 35: ...LE 10 TRANSMIT AND RECEIVE DATA REGISTER IN BYTE FORMAT 16C550 COMPATIBLE THR and RHR Address Locations For CH0 to CH7 16C550 Compatible CH0 0x0000 Write THR CH0 0x0000 Read RHR CH1 0x0400 Write THR C...

Страница 36: ...gisters DLL DLM and DLD provides the capability for selecting the operating data rate Table 11 shows the divisor for some standard and non standard data rates when using the internal 125 MHz clock at...

Страница 37: ...R Bit 7 0 default MCR Bit 7 1 DLL DLM and DLD Registers Prescaler Divide by 1 Prescaler Divide by 4 16X 8X or 4X Sampling Rate Clock to Transmitter and Receiver To Other Channels Fractional Baud Rate...

Страница 38: ...00 CB 7 0 01 50000 156 25 156 4 16 00 9C 4 0 57600 135 63 135 10 16 00 87 A 0 01 75000 104 17 104 2 16 00 68 3 0 02 100000 78 125 78 2 16 00 4E 2 0 115200 67 82 67 13 16 00 43 D 0 01 153600 50 86 50 1...

Страница 39: ...6 00 65 C 0 02 50000 78 13 78 2 16 00 4E 2 0 57600 67 82 67 13 16 00 43 D 0 01 75000 52 08 52 1 16 00 34 1 0 04 100000 39 06 39 1 16 00 27 1 0 115200 33 91 33 14 16 00 21 F 0 09 153600 25 43 25 6 16 0...

Страница 40: ...st be started by asserting RTS DTR output pin MCR bit 0 or bit 1 to logic 1 after it is enabled Figure 11 below explains how it works Two interrupts associated with RTS DTR and CTS DSR flow control ha...

Страница 41: ...es and fills UARTA receive FIFO 4 When RXA data fills up to its receive FIFO trigger level UARTA activates its RXA data ready interrupt 5 and continues to receive and put data into its FIFO If interru...

Страница 42: ...is signal encoding reduces the on time of the infrared LED hence reduces the power consumption See Figure 12 below Typical max data rate for the infrared encoder with a 3 16 of a bit wide pulse is 115...

Страница 43: ...mit data from the transmit shift register output is internally routed to the receive shift register input allowing the system to receive the same data that it was sending The TX pin is held at HIGH or...

Страница 44: ...FO Control Register Read only Write only LCR 7 0 0 0 1 0 DLD Divisor Fractional Read Write LCR 7 1 0 0 1 1 LCR Line Control Register Read Write 0 1 0 0 MCR Modem Control Register Read Write 0 1 0 1 LS...

Страница 45: ...Enable 0 0 INT Source Bit 3 INT Source Bit 2 INT Source Bit 1 INT Source Bit 0 LCR 7 0 Delta Flow Cntl Xoff special char 0 0 1 0 FCR W RXFIFO Trigger RXFIFO Trigger 0 0 DMA Mode TX FIFO Reset RX FIFO...

Страница 46: ...by FCR bit 0 A THR empty interrupt can be generated when it is enabled in IER bit 1 3 6 2 Transmitter Operation in non FIFO Mode The host loads transmit data to THR one character at a time The THR emp...

Страница 47: ...output is not changed until the last stop bit of the last character is shifted out 3 6 4 Auto RS485 Operation The auto RS485 half duplex direction control changes the behavior of the transmitter when...

Страница 48: ...er to prevent false framing If there were any error s they are reported in the LSR register bits 4 1 Upon unloading the receive data byte from RHR the receive FIFO pointer is bumped and the error flag...

Страница 49: ...te and enables the receiver if the address matches its slave address otherwise it does not enable the receiver If the receiver has been enabled the receiver will receive the subsequent data If an addr...

Страница 50: ...if they have parity errors DLD 4 Fast IR Mode Logic 0 If IR mode is enabled IR pulsewidth will be 3 16th of bit time Logic 1 If IR mode is enabled IR pulsewidth will be 1 4th of bit time 4 4 Interrupt...

Страница 51: ...rrupt default Logic 1 Enable the software flow control receive Xoff interrupt See Software Flow Control section for details IER 4 Reserved IER 3 Modem Status Interrupt Enable The Modem Status Register...

Страница 52: ...pending interrupt is serviced The Interrupt Source Table Table 15 shows the data values bit 5 0 for the six prioritized interrupt levels and the interrupt sources associated with each of these interru...

Страница 53: ...ogic 1 No interrupt pending default condition 4 6 FIFO Control Register FCR Write Only This register is used to enable the FIFOs clear the FIFOs set the transmit receive FIFO trigger levels and select...

Страница 54: ...ve Logic 0 No receive FIFO reset default Logic 1 Reset the receive FIFO pointers and FIFO level counter logic the receive shift register is not cleared or altered This bit will return to a logic 0 aft...

Страница 55: ...Logic 0 No TX break condition default Logic 1 Forces the transmitter output TX to a space LOW for alerting the remote receiver of a line break condition LCR 5 TX and RX Parity Select If the parity bi...

Страница 56: ...nsmitted character The receiver must be programmed to check the same format LCR 3 TX and RX Parity Select Parity or no parity can be selected via this bit The parity bit is a simple way used in commun...

Страница 57: ...e Xon Any function In this mode any RX character received will enable Xon resume data transmission MCR 4 Internal Loopback Enable Logic 1 Disable loopback mode default Logic 1 Enable local loopback mo...

Страница 58: ...is in the FIFO data This bit clears when there are no more errors in the FIFO LSR 6 Transmitter Empty Flag This bit is the Transmitter Empty indicator This bit is set to a logic 1 whenever both the t...

Страница 59: ...tatus Normally this bit is the complement of the RI input In the loopback mode this bit is equivalent to bit 2 in the MCR register The RI input may be used as a general purpose input when the modem in...

Страница 60: ...S input has changed state since the last time it was monitored A modem status interrupt will be generated if MSR interrupt is enabled IER bit 3 4 11 Modem Status Register MSR Write Only The upper four...

Страница 61: ...sable This bit can be used to disable the transmitter by halting the Transmit Shift Register TSR When this bit is set to a logic 1 the bytes already in the FIFO will not be sent out Also any more data...

Страница 62: ...led If there is a pending xon xoff character to be sent while the transmitter is disabled it will be transmitted No additional xon xoff characters will be sent Logic 1 Xon xoff software flow control c...

Страница 63: ...terrupt from transmit holding to transmit shift register TSR empty If software flow control is enabled the RTS DTR output will not change if the TX FIFO is empty and the RX FIFO level generates an XON...

Страница 64: ...ll function as a general purpose output when hardware flow control is disabled Logic 0 Automatic RTS DTR flow control is disabled default Logic 1 Enable Automatic RTS DTR flow control EFR 5 Special Ch...

Страница 65: ...e direction of the half duplex transceiver to the transmit mode when data is being transmitted from the UART on the TX output However the RTS DTR output will remain in the receive direction if the TX...

Страница 66: ...register will be reset to 0x00 if at anytime the Software Flow Control is disabled XCHAR 7 4 Reserved XCHAR 3 Transmit Xon Indicator If the last transmitted control character was a Xon character or c...

Страница 67: ...W FCR Bits 7 0 0x00 EEDI LOW ISR Bits 7 0 0x01 LCR Bits 7 0 0x00 MCR Bits 7 0 0x00 LSR Bits 7 0 0x60 MSR Bits 3 0 logic 0 Bits 7 4 logic levels of the inputs SPR Bits 7 0 0xFF FCTR Bits 7 0 0x00 EFR B...

Страница 68: ...GE VCC33 3 3V 10 SYMBOL PARAMETER MIN TYP MAX UNITS CONDITION NOTES VIL Input Low Voltage 0 3 0 6 V VIH Input High Voltage 2 4 VCC33 V VOL Output Low Voltage 0 4 V IOL 6 mA VOH Output High Voltage 2 4...

Страница 69: ...MECHANICAL DIMENSIONS 176 FPBGA Revision A Drawing No POD TOP VIEW BOTTOM VIEW TERMINAL DETAILS SIDE VIEW DETAIL A DETAIL B 00000136 XR17V358 69 REV 1 0 6 HIGH PERFORMANCE OCTAL PCI EXPRESS UART...

Страница 70: ...COMMENDED LAND PATTERN AND STENCIL 176 FPBGA Revision A Drawing No POD TYPICAL RECOMMENDED STENCIL TYPICAL RECOMMENDED LAND PATTERN 00000136 XR17V358 70 HIGH PERFORMANCE OCTAL PCI EXPRESS UART REV 1 0...

Страница 71: ...stered trademarks or trademarks of the respective owners with which they are associated 2015 2018 MaxLinear Inc All rights reserved XR17V358 REV 1 0 6 HIGH PERFORMANCE OCTAL PCI EXPRESS UART Corporate...

Отзывы: