Tews Technologies TPMC371-10 Скачать руководство пользователя страница 12

 

 

TPMC371 User Manual Issue 1.1.5 

Page 12 of 22 

3.2.3  UART Channel Configuration Registers 

Each UART channel has its own set of internal UART configuration registers for its own operation 
control and status reporting. The following table provides the register offsets within a register set, 
access types and access control: 

Register 
Offset 

Comment 

Register 

Access  Reset 

Value 

16550 Compatible 

LCR[7] = 0 

RHR – Receive Holding Register 
THR – Transmit Holding Register 

W

 

0xXX 

0x00 

LCR[7] = 1 

DLL – Baud Rate Generator Divisor Latch Low 

R/W 

0xXX 

LCR[7] = 0 

IER – Interrupt Enable Register 

R/W 

0x00 

0x01 

LCR[7] = 1 

DLM – Baud Rate Generator Divisor Latch High 

R/W 

0xXX 

R 0x01 

0x02 

 

ISR – Interrupt Status Register 
FCR – FIFO Control Register 

W

 

0x00

 

0x03 

 

LCR – Line Control Register 

R/W 

0x00 

0x04 

 

MCR – Modem Control Register 

R/W 

0x00 

0x05 

 

LSR – Line Status Register 
Reserved 

W

 

0x60 

0x06 

 

MSR – Modem Status Register 

MSR

 – Auto RS485 Delay (not supported by the 

TPMC371) 

W

 

0xX0 

0x07 

User Data 

SPR – Scratch Pad Register 

R/W 

0xFF 

Enhanced Registers 

0x08 

 

FCTR – Feature Control Register 

R/W 

0x00 

0x09 

 

EFR – Enhanced Function Register 

R/W 

0x00 

0x0A 

 

TXCNT – Transmit FIFO Level Counter 
TXTRG – Transmit FIFO Trigger Level 

W

 

0x00 

0x0B 

 

RXCNT – Receiver FIFO Level Counter 
RXTRG – Receiver FIFO Trigger Level 

W

 

0x00 

0x0C 

 

Xchar – Xon, Xoff Received Flags 
Xoff-1 – Xoff Character 1 

W

 

0x00 

R

 

0x0D

 

 

Reserved 
Xoff-2 – Xoff Character 2 

0x00

 

R

 

0x0E

 

 

Reserved 
Xon-1 – Xon Character 1 

0x00

 

R

 

0x0F

 

 

Reserved 
Xon-2 – Xon Character 2 

0x00

 

Table 3-6 :  UART Channel Configuration Registers 

Содержание TPMC371-10

Страница 1: ...ue 1 1 5 January 2009 TEWS TECHNOLOGIES GmbH TEWS TECHNOLOGIES LLC Am Bahnhof 7 25469 Halstenbek Germany www tews com Phone 49 0 4101 4058 0 Fax 49 0 4101 4058 19 e mail info tews com 9190 Double Diam...

Страница 2: ...y effort to ensure that this manual is accurate and complete However TEWS TECHNOLOGIES GmbH reserves the right to change the product described in this document at any time without notice TEWS TECHNOLO...

Страница 3: ...sion 1 1 Updated Power Specifications Expanded Configuration EEPROM data November 2004 1 2 Configuration EEPROM data Pinout clarification October 2005 1 3 Channel numbering clarification August 2006 1...

Страница 4: ...Device Configuration Registers 11 3 2 3 UART Channel Configuration Registers 12 4 XR17D158 TARGET CHIP 14 4 1 PCI Configuration Registers PCR 14 4 2 Configuration EEPROM 15 5 CONFIGURATION HINTS 17 6...

Страница 5: ...T 10 TABLE 3 5 DEVICE CONFIGURATION REGISTERS 11 TABLE 3 6 UART CHANNEL CONFIGURATION REGISTERS 12 TABLE 4 1 PCI HEADER 14 TABLE 4 2 CONFIGURATION EEPROM TPMC371 XX 15 TABLE 4 3 PHYSICAL CONFIGURATION...

Страница 6: ...ll modem support TxD RxD CTS RTS DSR DTR CD RI and GND for RS232 Two channels of the TPMC371 11 support RxD TxD RTS CTS and GND for RS422 Each channel has 64 byte transmit and receive FIFOs to signifi...

Страница 7: ...C371 11 8 RS422 2 with RTS CTS TPMC371 12 4 RS232 2 Full Modem 4 RS422 Serial Channel I O Signals RS232 TxD RxD RTS CTS GND RS232 Full Modem TxD RxD RTS CTS DTR DSR CD RI GND RS422 TxD RxD GND TPMC371...

Страница 8: ...TPMC371 User Manual Issue 1 1 5 Page 8 of 22 MTBF TPMC371 10 740 000 h TPMC371 11 570 000 h TPMC371 12 670 000 h Humidity 5 95 non condensing Weight 52 g Table 2 1 Technical Specification...

Страница 9: ...et PCI Base Address 0 0x0000 to 0x007F 32 Device Configuration Registers PCI Base Address 0 0x0080 to 0x009F 32 UART 0 Register Set PCI Base Address 0 0x0100 to 0x01FF 32 UART 1 Register Set PCI Base...

Страница 10: ...Serial Channel 7 0x0E00 Table 3 3 UART Register Set Offset Offset Address Description Access Data Width 0x000 0x00F UART Channel Configuration Registers First 8 registers are 16550 compatible R W 8 16...

Страница 11: ...d 0x00 0x086 TIMERLSB R W 0x00 0x087 TIMERMSB Programmable Timer Value R W 0x00 0x088 8XMODE Sampling Rate Select R W 0x00 0x089 REGA Reserved 0x00 0x08A RESET UART Reset W 0x00 0x08B SLEEP UART Sleep...

Страница 12: ...SR Interrupt Status Register FCR FIFO Control Register W 0x00 0x03 LCR Line Control Register R W 0x00 0x04 MCR Modem Control Register R W 0x00 R 0x05 LSR Line Status Register Reserved W 0x60 R 0x06 MS...

Страница 13: ...g example The address for the LCR register of UART channel 5 is PCI Base Address PCI Base Address for the Device Configuration Space 0x0A00 Offset of the UART register set for serial channel 5 0x0003...

Страница 14: ...mented N 00000000 0x18 Base Address Register 0 Unimplemented N 00000000 0x1C Base Address Register 1 Unimplemented N 00000000 0x20 Base Address Register 2 Unimplemented N 00000000 0x24 Base Address Re...

Страница 15: ...or ID 0x2E 0x1498 0x03 Subsystem ID 0x2C s b Table 4 2 Configuration EEPROM TPMC371 xx Subsystem ID Value Offset 0x0C TPMC371 10 0x000A TPMC371 11 0x000B TPMC371 12 0x000C The words following the conf...

Страница 16: ...Data Rate RS232 low 0x4240 0x4240 0x4240 0x22 Max Data Rate RS422 high 0x0098 0x0098 0x0098 0x23 Max Data Rate RS422 low 0x9680 0x9680 0x9680 0x24 Max Data Rate TTL high 0x0098 0x0098 0x0098 0x25 Max...

Страница 17: ...1 11 TPMC371 12 RS232 RS422 RS232 RS422 RS232 RS422 UART0 X X X UART1 X X X UART2 X X X UART3 X X X UART4 X X X UART5 X X X UART6 X X X UART7 X X X Table 5 1 UART interface mapping Other configuration...

Страница 18: ...DLM Value DLL Value 400 100 0x1B00 0x1B 0x00 600 150 0x1200 0x12 0x00 1200 300 0x0900 0x09 0x00 2400 600 0x0480 0x04 0x80 4800 1200 0x0240 0x02 0x40 9600 2400 0x0120 0x01 0x20 19 2k 4800 0x0090 0x00 0...

Страница 19: ...ster bit 7 of an UART channel set baud rate generator prescaler 1 Set UART channel EFR register bit 4 to 1 enable modification of MCR register bits 5 7 2 Modify UART channel MCR register bit 7 3 Set U...

Страница 20: ...xD7 RS232 7 TxD1 RS232 39 RTS7 RS232 8 RxD1 RS232 40 CTS7 RS232 9 RTS1 RS232 41 GND 10 CTS1 RS232 42 5V Termination Supply unfused 11 GND 43 CD0 RS232 12 TxD2 RS232 44 DTR0 RS232 13 RxD2 RS232 45 RI0...

Страница 21: ...41 GND 10 RxD1 RS422 42 5V Termination Supply unfused 11 GND 43 RTS0 RS422 12 TxD2 RS422 44 RTS0 RS422 13 TxD2 RS422 45 CTS0 RS422 14 RxD2 RS422 46 CTS0 RS422 15 RxD2 RS422 47 RTS1 RS422 16 GND 48 RTS...

Страница 22: ...2 41 GND 10 CTS1 RS232 42 5V Termination Supply unfused 11 GND 43 CD0 RS232 12 TxD2 RS232 44 DTR0 RS232 13 RxD2 RS232 45 RI0 RS232 14 RTS2 RS232 46 DSR0 RS232 15 CTS2 RS232 47 CD1 RS232 16 GND 48 DTR1...

Отзывы: