English
Language : 

XR17C152 Datasheet, PDF (17/62 Pages) Exar Corporation – 5V PCI BUS DUAL UART
áç
REV. 1.2.0
XR17C152
5V PCI BUS DUAL UART
REGB [23:16] (default 0x00)
REGB register provides a control for simultaneous write to both UARTs configuration register or individually.
This is very useful for device initialization in the power up and reset routines. Also, the register provides a
facility to interface to the non-volatile memory device such as a 93C46 EEPROM. In embedded applications,
the user can use this facility to store proprietary data.
1.2.8 REGB Register
REGB[16] (Read/Write) Logic 0 (default) write to each UART configuration registers individually.
Logic 1 enables simultaneous write to both UARTs configuration register.
REGB[19:17]
Reserved.
REGB[20] (Write-Only)
Control the EECK, clock, output (pin 84) on the EEPROM interface.
REGB[21] (Write-Only)
Control the EECS, chips select, output (pin 83) to the EEPROM device.
REGB[22] (Write-Only)
EEDI (pin 82) data input. Write data to the EEPROM device.
REGB[23] (Read-Only)
EEDO (pin 81) data output. Read data from the EEPROM device.
1.2.9 Multi-Purpose Inputs and Outputs
The 152 provides 8 multi-purpose inputs/outputs [MPIO7:0] for general use. Each pin can be programmed to
be an input or output function. The input logic state can be set for normal or inverted level, and optionally set to
generate an interrupt. The outputs can be set to be normal HIGH or LOW state, or three-state. Their functions
and definitions are programmed through 5 registers: MPIOINT, MPIOLVL, MPIO3T, MPIOINV and MPIOSEL. If
all 8 pins are set for inputs, all 8 interrupts would be or’ed together. The Or’ed interrupt is reported in the
channel 0 UART interrupt status, see Interrupt Status Register. The pins may also be programmed to be
outputs and to the three-state condition for signal sharing.
1.2.10 MPIO REGISTER
Bit 7 represents MPIO7 pin and bit 0 represents MPIO0 pin. There are 5 registers that select, control and
monitor the 8 multipurpose inputs and output pins. Figure 6 shows the internal circuitry.
17