SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4806 A000 0x4806 C000 0x4802 0000 0x4806 E000 0x4806 6000 0x4806 8000 0x4842 0000 0x4842 2000 0x4842 4000 0x4AE2 B000 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | The transmitter section consists of the transmit holding register (THR) and the transmit shift register. The THR is a 64-byte FIFO. The local host (LH) writes data to the THR. The data is placed in the transmit shift register where it is shifted out serially on the TX output. If the FIFO is disabled, location 0 of the FIFO stores the data. | ||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | THR |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Write has no effect. | W | 0x000000 |
7:0 | THR | Transmit holding register | W | 0x- |
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4806 A000 0x4806 C000 0x4802 0000 0x4806 E000 0x4806 6000 0x4806 8000 0x4842 0000 0x4842 2000 0x4842 4000 0x4AE2 B000 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | The receiver section consists of the receiver holding register (RHR) and the receiver shift register. The RHR is a 64-byte FIFO. The receiver shift register receives serial data from RX input. The data is converted to parallel data and moved to the RHR. If the FIFO is disabled, location 0 of the FIFO stores the single data character. Note: If an overflow occurs, the data in the RHR is not overwritten. | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RHR |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0 | R | 0x000000 |
7:0 | RHR | Receive holding register | R | 0x- |
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4806 A000 0x4806 C000 0x4802 0000 0x4806 E000 0x4806 6000 0x4806 8000 0x4842 0000 0x4842 2000 0x4842 4000 0x4AE2 B000 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | This register, with UART_DLH, stores the 14-bit divisor for generation of the baud clock in the baud rate generator. DLH stores the most-significant part of the divisor. DLL stores the least-significant part of the divisor. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CLOCK_LSB |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | CLOCK_LSB | Stores the 8-bit LSB divisor value | RW | 0x00 |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4806 A004 0x4806 C004 0x4802 0004 0x4806 E004 0x4806 6004 0x4806 8004 0x4842 0004 0x4842 2004 0x4842 4004 0x4AE2 B004 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Interrupt enable register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CTS_IT | RTS_IT | XOFF_IT | SLEEP_MODE | MODEM_STS_IT | LINE_STS_IT | THR_IT | RHR_IT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | CTS_IT | RW | 0 | |
0x0: Disables the CTS* interrupt | ||||
0x1: Enables the CTS* interrupt | ||||
6 | RTS_IT | RW | 0 | |
0x0: Disables the RTS* interrupt | ||||
0x1: Enables the RTS* interrupt | ||||
5 | XOFF_IT | RW | 0 | |
0x0: Disables the XOFF interrupt | ||||
0x1: Enables the XOFF interrupt | ||||
4 | SLEEP_MODE | RW | 0 | |
0x0: Disables sleep mode | ||||
0x1: Enables sleep mode (stop baud rate clock when the module is inactive) | ||||
3 | MODEM_STS_IT | RW | 0 | |
0x0: Disables the modem status register interrupt | ||||
0x1: Enables the modem status register interrupt | ||||
2 | LINE_STS_IT | RW | 0 | |
0x0: Disables the receiver line status interrupt | ||||
0x1: Enables the receiver line status interrupt | ||||
1 | THR_IT | RW | 0 | |
0x0: Disables the THR interrupt | ||||
0x1: Enables the THR interrupt | ||||
0 | RHR_IT | RW | 0 | |
0x0: Disables the RHR interrupt and time-out interrupt | ||||
0x1: Enables the RHR interrupt and time-out interrupt |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4806 A004 0x4806 C004 0x4802 0004 0x4806 E004 0x4806 6004 0x4806 8004 0x4842 0004 0x4842 2004 0x4842 4004 0x4AE2 B004 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | There are 8 types of
interrupt in these modes, received EOF, LSR interrupt, TX status,
status FIFO interrupt, RX overrun, last byte in RX FIFO, THR
interrupt and RHR interrupt and they can be enabled/disabled
individually. Note: The TX_STATUS_IT interrupt reflects two possible conditions. The UART_MDR2[0] should be read to determine the status in the event of this interrupt. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EOF_IT | LINE_STS_IT | TX_STATUS_IT | STS_FIFO_TRIG_IT | RX_OVERRUN_IT | LAST_RX_BYTE_IT | THR_IT | RHR_IT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | EOF_IT | RW | 0 | |
0x0: Disables the received EOF interrupt | ||||
0x1: Enables the received EOF interrupt | ||||
6 | LINE_STS_IT | RW | 0 | |
0x0: Disables the receiver line status interrupt | ||||
0x1: Enables the receiver line status interrupt | ||||
5 | TX_STATUS_IT | RW | 0 | |
0x0: Disables the TX status interrupt | ||||
0x1: Enables the TX status interrupt | ||||
4 | STS_FIFO_TRIG_IT | RW | 0 | |
0x0: Disables status FIFO trigger level interrupt | ||||
0x1: Enables status FIFO trigger level interrupt | ||||
3 | RX_OVERRUN_IT | RW | 0 | |
0x0: Disables the RX overrun interrupt | ||||
0x1: Enables the RX overrun interrupt | ||||
2 | LAST_RX_BYTE_IT | RW | 0 | |
0x0: Disables the last byte of frame in RX FIFO interrupt | ||||
0x1: Enables the last byte of frame in RX FIFO interrupt | ||||
1 | THR_IT | RW | 0 | |
0x0: Disables the THR interrupt | ||||
0x1: Enables the THR interrupt | ||||
0 | RHR_IT | RW | 0 | |
0x0: Disables the RHR interrupt and time-out interrupt | ||||
0x1: Enables the RHR interrupt and time-out interrupt |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4806 A004 0x4806 C004 0x4802 0004 0x4806 E004 0x4806 6004 0x4806 8004 0x4842 0004 0x4842 2004 0x4842 4004 0x4AE2 B004 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | There are 6 types of
interrupt in these modes, TX status, status FIFO interrupt, RX
overrun, last byte in RX FIFO, THR interrupt and RHR interrupt and
they can be enabled/disabled individually. Notes: The RX_STOP_IT interrupt is generated based on the value set in the BOF Length register (UART_EBLR). In IR-CIR mode, contrary to the IR-IRDA mode, the TX_STATUS_IT has only one meaning corresponding to the case UART_MDR2[0] = 0. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | TX_STATUS_IT | RESERVED | RX_OVERRUN_IT | RX_STOP_IT | THR_IT | RHR_IT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:6 | RESERVED | Not used in CIR mode | RW | 0x0 |
5 | TX_STATUS_IT | RW | 0 | |
0x0: Disables the TX status interrupt | ||||
0x1: Enables the TX status interrupt | ||||
4 | RESERVED | Not used in CIR mode | RW | 0 |
3 | RX_OVERRUN_IT | RW | 0 | |
0x0: Disables the RX overrun interrupt | ||||
0x1: Enables the RX overrun interrupt | ||||
2 | RX_STOP_IT | RW | 0 | |
0x0: Disables the receive stop interrupt | ||||
0x1: Enables the receive stop interrupt | ||||
1 | THR_IT | RW | 0 | |
0x0: Disables the THR interrupt | ||||
0x1: Enables the THR interrupt | ||||
0 | RHR_IT | RW | 0 | |
0x0: Disables the RHR interrupt | ||||
0x1: Enables the RHR interrupt |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4806 A004 0x4806 C004 0x4802 0004 0x4806 E004 0x4806 6004 0x4806 8004 0x4842 0004 0x4842 2004 0x4842 4004 0x4AE2 B004 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | This register, with UART_DLL, stores the 14-bit divisor for generating the baud clock in the baud rate generator. DLH stores the most-significant part of the divisor. DLL stores the least-significant part of the divisor. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | CLOCK_MSB |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:6 | RESERVED | Read returns 0. Write has no effect. | RW | 0x0 |
5:0 | CLOCK_MSB | Stores the 6-bit MSB divisor value | RW | 0x00 |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4806 A008 0x4806 C008 0x4802 0008 0x4806 E008 0x4806 6008 0x4806 8008 0x4842 0008 0x4842 2008 0x4842 4008 0x4AE2 B008 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Interrupt identification register. | ||
The IIR is a read-only register that provides the source of the interrupt in a prioritized manner. | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | FCR_MIRROR | IT_TYPE | IT_PENDING |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | R | 0x000000 |
7:6 | FCR_MIRROR | Mirror the contents of UART_FCR[0] on both bits. | R | 0x0 |
5:1 | IT_TYPE | Read 0x0: Modem interrupt. Priority = 4 | R | 0x00 |
Read 0x1: THR interrupt. Priority = 3 | ||||
Read 0x2: RHR interrupt. Priority = 2 | ||||
Read 0x3: Receiver line status error. Priority = 3 | ||||
Read 0x6: Rx time-out. Priority = 2 | ||||
Read 0x8: XOFF/special character. Priority = 5 | ||||
Read 0x10: CTS, RTS, DSR change state from active (low) to inactive (high) Priority = 6 | ||||
0 | IT_PENDING | Read 0x0: An interrupt is pending. | R | 1 |
Read 0x1: No interrupt is pending. |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4806 A008 0x4806 C008 0x4802 0008 0x4806 E008 0x4806 6008 0x4806 8008 0x4842 0008 0x4842 2008 0x4842 4008 0x4AE2 B008 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | The interrupt line is activated whenever one of the 8 interrupts is active. | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EOF_IT | LINE_STS_IT | TX_STATUS_IT | STS_FIFO_IT | RX_OE_IT | RX_FIFO_LAST_BYTE_IT | THR_IT | RHR_IT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | R | 0x000000 |
7 | EOF_IT | R | 0 | |
Read 0x0: Receive EOF interrupt inactive | ||||
Read 0x1: Received EOF interrupt active | ||||
6 | LINE_STS_IT | R | 0 | |
Read 0x0: Receiver line status interrupt inactive | ||||
Read 0x1: Receiver line status interrupt active | ||||
5 | TX_STATUS_IT | R | 0 | |
Read 0x0: TX status interrupt inactive | ||||
Read 0x1: TX status interrupt active | ||||
4 | STS_FIFO_IT | R | 0 | |
Read 0x0: Status FIFO trigger level interrupt inactive | ||||
Read 0x1: Status FIFO trigger level interrupt active | ||||
3 | RX_OE_IT | R | 0 | |
Read 0x0: RX overrun interrupt inactive | ||||
Read 0x1: RX overrun interrupt active | ||||
2 | RX_FIFO_LAST_BYTE_IT | R | 0 | |
Read 0x0: Last byte of frame in RX FIFO interrupt inactive | ||||
Read 0x1: Last byte of frame in RX FIFO interrupt active | ||||
1 | THR_IT | R | 0 | |
Read 0x0: THR interrupt inactive | ||||
Read 0x1: THR interrupt active | ||||
0 | RHR_IT | R | 1 | |
Read 0x0: RHR interrupt inactive | ||||
Read 0x1: RHR interrupt active |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4806 A008 0x4806 C008 0x4802 0008 0x4806 E008 0x4806 6008 0x4806 8008 0x4842 0008 0x4842 2008 0x4842 4008 0x4AE2 B008 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | The interrupt line is activated whenever one of the 6 interrupts is active. | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | TX_STATUS_IT | RESERVED | RX_OE_IT | RX_STOP_IT | THR_IT | RHR_IT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | R | 0x000000 |
7:6 | RESERVED | Not used in CIR mode | R | 0x0 |
5 | TX_STATUS_IT | Read 0x0: TX status interrupt inactive | R | 0 |
Read 0x1: TX status interrupt active | ||||
4 | RESERVED | Not used in CIR mode | R | 0 |
3 | RX_OE_IT | Read 0x0: RX overrun interrupt inactive | R | 0 |
Read 0x1: RX overrun interrupt active | ||||
2 | RX_STOP_IT | Read 0x0: Receive stop interrupt inactive | R | 0 |
Read 0x1: Receive stop interrupt active | ||||
1 | THR_IT | Read 0x0: THR interrupt inactive | R | 0 |
Read 0x1: THR interrupt active | ||||
0 | RHR_IT | Read 0x0: RHR interrupt inactive | R | 0 |
Read 0x1: RHR interrupt active |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4806 A008 0x4806 C008 0x4802 0008 0x4806 E008 0x4806 6008 0x4806 8008 0x4842 0008 0x4842 2008 0x4842 4008 0x4AE2 B008 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | FIFO control register | ||
Notes: Bits 4 and 5 can only be written to when UART_EFR[4] = 1. Bits 0 and 3 can be changed only when the baud clock is not running (DLL and DLH set to 0). See Table 24-99 for UART_FCR[5:4] setting restriction when UART_SCR[6] = 1. See Table 24-100 for UART_FCR[7:6] setting restriction when UART_SCR[7] = 1. | |||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_FIFO_TRIG | TX_FIFO_TRIG | DMA_MODE | TX_FIFO_CLEAR | RX_FIFO_CLEAR | FIFO_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Write has no effect. | W | 0x000000 |
7:6 | RX_FIFO_TRIG | Sets the trigger level for the RX
FIFO: If UART_SCR[7] = 0 and UART_TLR[7:4] = 0000: 00: 8 characters 01: 16 characters 10: 56 characters 11: 60 characters If UART_SCR[7] = 0 and UART_TLR[7:4] != 0000, RX_FIFO_TRIG is not considered. If UART_SCR[7] = 1, RX_FIFO_TRIG is 2 LSBs of the trigger level (1-63 on 6 bits) with the granularity 1. | W | 0x0 |
5:4 | TX_FIFO_TRIG | Sets the trigger level for the TX
FIFO: If UART_SCR[6] = 0 and UART_TLR[3:0] = 0000: 00: 8 spaces 01: 16 spaces 10: 32 spaces 11: 56 spaces If UART_SCR[6] = 0 and UART_TLR[3:0] != 0000, TX_FIFO_TRIG is not considered. If UART_SCR[6] = 1, TX_FIFO_TRIG is 2 LSBs of the trigger level (1-63 on 6 bits) with the granularity 1 | W | 0x0 |
3 | DMA_MODE | This register is considered if UART_SCR[0] = 0. | W | 0 |
Write 0x0: DMA_MODE 0 (No DMA) | ||||
Write 0x1: DMA_MODE 1 (UART_nDMA_REQ[0] in TX (UARTi_DREQ_TX), UART_nDMA_REQ[1] in RX (UARTi_DREQ_RX)) | ||||
2 | TX_FIFO_CLEAR | W | 0 | |
Write 0x0: No change | ||||
Write 0x1: Clears the TX FIFO and resets its counter logic to 0. Returns to 0 after clearing FIFO. | ||||
1 | RX_FIFO_CLEAR | W | 0 | |
Write 0x0: No change | ||||
Write 0x1: Clears the RX FIFO and resets its counter logic to 0. Returns to 0 after clearing FIFO. | ||||
0 | FIFO_EN | W | 0 | |
Write 0x0: Disables the transmit and RX FIFOs. The transmit and receive holding registers are 1-byte FIFOs. | ||||
Write 0x1: Enables the transmit and RX FIFOs. The transmit and receive holding registers are 64-byte FIFOs. |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4806 A008 0x4806 C008 0x4802 0008 0x4806 E008 0x4806 6008 0x4806 8008 0x4842 0008 0x4842 2008 0x4842 4008 0x4AE2 B008 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Enhanced feature register | ||
This register enables or disables enhanced features. Most of the enhanced functions apply only to UART modes, but UART_EFR[4] enables write accesses to UART_FCR[5:4], the TX trigger level, which is also used in IrDA modes. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | AUTO_CTS_EN | AUTO_RTS_EN | SPECIAL_CHAR_DETECT | ENHANCED_EN | SW_FLOW_CONTROL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | AUTO_CTS_EN | Auto-CTS enable bit | RW | 0 |
0x0: Normal operation | ||||
0x1: Auto-CTS flow control is enabled. Transmission is halted when the CTS* pin is high (inactive). | ||||
6 | AUTO_RTS_EN | Auto-RTS enable bit | RW | 0 |
0x0: Normal operation | ||||
0x1: Auto-RTS flow control is enabled. RTS* pin goes high (inactive) when the RX FIFO HALT trigger level, UART_TCR[3:0], is reached, and goes low (active) when the RX FIFO RESTORE transmission trigger level is reached. | ||||
5 | SPECIAL_CHAR_DETECT | RW | 0 | |
0x0: Normal operation | ||||
0x1: Special character detect enable. Received data is compared with XOFF2 data. If a match occurs, the received data is transferred to the RX FIFO and the UART_IIR[4] bit is set to 1 to indicate that a special character was detected. | ||||
4 | ENHANCED_EN | Enhanced functions write enable bit | RW | 0 |
0x0: Disables writing to IER bits 4-7, UART_FCR bits 4-5, and UART_MCR bits 5-7. | ||||
0x1: Enables writing to IER bits 4-7, UART_FCR bits 4-5, and UART_MCR bits 5-7. | ||||
3:0 | SW_FLOW_CONTROL | Combinations of software flow control can be selected by programming bit 3 - bit 0. See Table 24-113. | RW | 0x0 |
Address Offset | 0x0000 000C | ||
Physical Address | 0x4806 A00C 0x4806 C00C 0x4802 000C 0x4806 E00C 0x4806 600C 0x4806 800C 0x4842 000C 0x4842 200C 0x4842 400C 0x4AE2 B00C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Line control register | ||
LCR[6:0] define transmission and reception parameters. Note: When LCR[6] is set to 1, the TX line is forced to 0 and remains in this state as long as LCR[6] = 1. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DIV_EN | BREAK_EN | PARITY_TYPE2 | PARITY_TYPE1 | PARITY_EN | NB_STOP | CHAR_LENGTH |
Bits | Field Name | Description | Type | Reset | |||
---|---|---|---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 | |||
7 | DIV_EN | RW | 0 | ||||
0x0: Normal operating condition | |||||||
0x1: Divisor latch enable. Allows access to UART_DLL, UART_DLH, and other registers (see Table 24-101). | |||||||
6 | BREAK_EN | Break control bit | RW | 0 | |||
0x0: Normal operating condition | |||||||
0x1: Forces the transmitter output to go low to alert the communication terminal | |||||||
5 | PARITY_TYPE2 | Selects the forced parity format (if UART_LCR[3] = 1). If UART_LCR[5] = 1 and UART_LCR[4] = 0, the parity bit is forced to 1 in the transmitted and received data. If UART_LCR[5] = 1 and UART_LCR[4] = 1, the parity bit is forced to 0 in the transmitted and received data. | RW | 0 | |||
UART_LCR[3] | UART_LCR[4] | UART_LCR[5] | Parity | ||||
0 | N/A | N/A | No parity | ||||
1 | 0 | 0 | Odd parity | ||||
1 | 1 | 0 | Even parity | ||||
1 | 0 | 1 | Forced 1 | ||||
1 | 1 | 1 | Forced 0 | ||||
4 | PARITY_TYPE1 | RW | 0 | ||||
0x0: Odd parity is generated (if UART_LCR[3] = 1). | |||||||
0x1: Even parity is generated (if UART_LCR[3] = 1). | |||||||
3 | PARITY_EN | 0x0: No parity | RW | 0 | |||
0x1: A parity bit is generated during transmission and the receiver checks for received parity. | |||||||
2 | NB_STOP | Specifies the number of stop-bits | RW | 0 | |||
0x0: 1 stop-bit (word length = 5, 6, 7, 8) | |||||||
0x1: 1.5 stop-bits (word length = 5) 2 stop-bits (word length = 6, 7, 8) | |||||||
1:0 | CHAR_LENGTH | Specifies the word length to be transmitted or received | RW | 0x0 | |||
0x0: 5 bits | |||||||
0x1: 6 bits | |||||||
0x2: 7 bits | |||||||
0x3: 8 bits |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4806 A010 0x4806 C010 0x4802 0010 0x4806 E010 0x4806 6010 0x4806 8010 0x4842 0010 0x4842 2010 0x4842 4010 0x4AE2 B010 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | UART mode: XON1 character, IrDA mode: ADDR1 address | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | XON_WORD1 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | XON_WORD1 | Stores the 8-bit XON1 character in UART modes and ADDR1 address 1 for IrDA modes | RW | 0x00 |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4806 A010 0x4806 C010 0x4802 0010 0x4806 E010 0x4806 6010 0x4806 8010 0x4842 0010 0x4842 2010 0x4842 4010 0x4AE2 B010 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Modem control register | ||
MCR[3:0] controls the interface with the modem, data set, or peripheral device that emulates the modem. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | TCR_TLR | XON_EN | LOOPBACK_EN | CD_STS_CH | RI_STS_CH | RTS | DTR |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | RESERVED | Read returns 0. Write has no effect. | RW | 0 |
6 | TCR_TLR | 0x0: No action | RW | 0 |
0x1: Enables access to the UART_TCR and UART_TLR registers | ||||
5 | XON_EN | 0x0: Disable XON any function. | RW | 0 |
0x1: Enable XON any function. | ||||
4 | LOOPBACK_EN | 0x0: Normal operating mode | RW | 0 |
0x1: Enable local loopback mode (internal). In this mode, the MCR[3:0] signals are looped back into the UART_MSR[7:4] bit field. The transmit output is looped back to the receive input internally. | ||||
3 | CD_STS_CH | 0x0: In loopback, forces DCD* input high and IRQ outputs to inactive state | RW | 0 |
0x1: In loopback, forces DCD* input low and IRQ outputs to inactive state | ||||
2 | RI_STS_CH | 0x0: In loopback, forces RI* input high | RW | 0 |
0x1: In loopback, forces RI* input low | ||||
1 | RTS | In loopback, controls the UART_MSR[4] bit. If auto-RTS is enabled, the RTS* output is controlled by hardware flow control. | RW | 0 |
0x0: Force RTS* output to inactive (high). | ||||
0x1: Force RTS* output to active (low). | ||||
0 | DTR | 0x0: Force DTR* output to inactive (high). | RW | 0 |
0x1: Force DTR* output to active (low). |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4806 A014 0x4806 C014 0x4802 0014 0x4806 E014 0x4806 6014 0x4806 8014 0x4842 0014 0x4842 2014 0x4842 4014 0x4AE2 B014 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Line status register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_FIFO_STS | TX_SR_E | TX_FIFO_E | RX_BI | RX_FE | RX_PE | RX_OE | RX_FIFO_E |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7 | RX_FIFO_STS | Read 0x0: Normal operation | R | 0 |
Read 0x1: At least one parity error, framing error, or break indication in the RX FIFO. Bit 7 is cleared when no more errors are present in the RX FIFO. | ||||
6 | TX_SR_E | Read 0x0: Transmitter hold (TX FIFO) and shift registers are not empty. | R | 1 |
Read 0x1: Transmitter hold (TX FIFO) and shift registers are empty. | ||||
5 | TX_FIFO_E | Read 0x0: Transmit hold register (TX FIFO) is not empty. | R | 1 |
Read 0x1: Transmit hold register (TX FIFO) is empty. The transmission is not necessarily complete. | ||||
4 | RX_BI | Read 0x0: No break condition | R | 0 |
Read 0x1: A break was detected while the data from the RX FIFO was received (for example, RX input was low for one character + 1 bit time frame). | ||||
3 | RX_FE | Read 0x0: No framing error in data RX FIFO | R | 0 |
Read 0x1: Framing error occurred in data from RX FIFO (received data did not have a valid stop-bit). | ||||
2 | RX_PE | Read 0x0: No parity error in data from RX FIFO | R | 0 |
Read 0x1: Parity error in data from RX FIFO | ||||
1 | RX_OE | Read 0x0: No overrun error | R | 0 |
Read 0x1: Overrun error occurred. Set when the character in the receive shift register is not transferred to the RX FIFO. This occurs only when the RX FIFO is full. | ||||
0 | RX_FIFO_E | Read 0x0: No data in the RX FIFO | R | 0 |
Read 0x1: At least one data character in the RX FIFO |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4806 A014 0x4806 C014 0x4802 0014 0x4806 E014 0x4806 6014 0x4806 8014 0x4842 0014 0x4842 2014 0x4842 4014 0x4AE2 B014 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | When the LSR is read, LSR[4:2] reflect the error bits [FL, CRC, ABORT] of the frame at the top of the STATUS FIFO (next frame status to be read). | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | THR_EMPTY | STS_FIFO_FULL | RX_LAST_BYTE | FRAME_TOO_LONG | ABORT | CRC | STS_FIFO_E | RX_FIFO_E |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7 | THR_EMPTY | Read 0x0: Transmit holding register (TX FIFO) is not empty. | R | 1 |
Read 0x1: Transmit hold register (TX FIFO) is empty. The transmission is not necessarily complete. | ||||
6 | STS_FIFO_FULL | Read 0x0: Status FIFO not full | R | 0 |
Read 0x1: Status FIFO full | ||||
5 | RX_LAST_BYTE | Read 0x0: The RX FIFO (RHR) does not contain the last byte of the frame to be read. | R | 0 |
Read 0x1: The RX FIFO (RHR) contains the last byte of the frame to be read. This bit is set only when the last byte of a frame is available to be read. It determines the frame boundary. It is cleared on a single read of the LSR register. See the note below. | ||||
4 | FRAME_TOO_LONG | Read 0x0: No frame-too-long error in frame | R | 0 |
Read 0x1: Frame-too-long error in the frame at the top of the STATUS FIFO, (next character to be read). This bit is set to 1 when a frame exceeding the maximum length (set by RXFLH and RXFLL registers) is received. When this error is detected, current frame reception is terminated. Reception is stopped until the next START flag is detected. | ||||
3 | ABORT | Read 0x0: No abort pattern error in frame | R | 0 |
Read 0x1: Abort pattern is received. SIR and MIR: Abort pattern FIR: Illegal symbol | ||||
2 | CRC | Read 0x0: No CRC error in frame | R | 0 |
Read 0x1: CRC error in the frame at the top of the STATUS FIFO (next character to be read) | ||||
1 | STS_FIFO_E | Read 0x0: Status FIFO not empty | R | 1 |
Read 0x1: Status FIFO empty | ||||
0 | RX_FIFO_E | Read 0x0: No data in the RX FIFO | R | 1 |
Read 0x1: At least one data character in the RX FIFO |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4806 A014 0x4806 C014 0x4802 0014 0x4806 E014 0x4806 6014 0x4806 8014 0x4842 0014 0x4842 2014 0x4842 4014 0x4AE2 B014 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Line status register in CIR mode | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | THR_EMPTY | RESERVED | RX_STOP | RESERVED | RX_FIFO_E |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7 | THR_EMPTY | Read 0x0: Transmit holding register (TX FIFO) is not empty. | R | 1 |
Read 0x1: Transmit hold register (TX FIFO) is empty. The transmission is not necessarily complete. | ||||
6 | RESERVED | Not used in CIR mode | R | 0 |
5 | RX_STOP | The RX_STOP is generated based on the value set in the BOF Length register (UART_EBLR). It is cleared on a single read of the UART_LSR register. | R | 0 |
Read 0x0: Reception is ongoing or waiting for a new frame. | ||||
Read 0x1: Reception is complete. | ||||
4:1 | RESERVED | Not used in CIR mode | R | 0x0 |
0 | RX_FIFO_E | Read 0x0: At least one data character in the RX FIFO | R | 1 |
Read 0x1: No data in the RX FIFO |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4806 A014 0x4806 C014 0x4802 0014 0x4806 E014 0x4806 6014 0x4806 8014 0x4842 0014 0x4842 2014 0x4842 4014 0x4AE2 B014 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Stores the 8-bit XON2 character in UART moldes and ADDR2 address 2 for IrDA modes | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | XON_WORD2 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | XON_WORD2 | Stores the 8-bit XON2 character in UART modes and ADDR2 address 2 for IrDA modes | RW | 0x00 |
Address Offset | 0x0000 0018 | ||
Physical Address | 0x4806 A018 0x4806 C018 0x4802 0018 0x4806 E018 0x4806 6018 0x4806 8018 0x4842 0018 0x4842 2018 0x4842 4018 0x4AE2 B018 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Transmission control register | ||
This register stores the RX FIFO threshold levels to start/stop transmission during hardware/software flow control. Notes: Trigger levels from 0 to 60 bytes are available with a granularity of 4. (Trigger level = 4 x [4-bit register value]) The programmer must ensure that UART_TCR[3:0] > UART_TCR[7:4] when auto-RTS or software flow control is enabled to avoid a mis-operation of the device. In FIFO interrupt mode with flow control, the programmer must ensure that the trigger level to halt transmission is greater than or equal to the RX FIFO trigger level (UART_TLR[7:4] or UART_FCR[7:6]); otherwise, FIFO operation stalls. In FIFO DMA mode with flow control, this concept does not exist because a DMA request is sent each time a byte is received. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_FIFO_TRIG_START | RX_FIFO_TRIG_HALT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:4 | RX_FIFO_TRIG_START | RX FIFO trigger level to RESTORE transmission (0 - 60) | RW | 0x0 |
3:0 | RX_FIFO_TRIG_HALT | RX FIFO trigger level to HALT transmission (0 - 60) | RW | 0xF |
Address Offset | 0x0000 0018 | ||
Physical Address | 0x4806 A018 0x4806 C018 0x4802 0018 0x4806 E018 0x4806 6018 0x4806 8018 0x4842 0018 0x4842 2018 0x4842 4018 0x4AE2 B018 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | UART mode XOFF1 character | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | XOFF_WORD1 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | XOFF_WORD1 | Stores the 8-bit XOFF1 character used in UART modes | RW | 0x00 |
Address Offset | 0x0000 0018 | ||
Physical Address | 0x4806 A018 0x4806 C018 0x4802 0018 0x4806 E018 0x4806 6018 0x4806 8018 0x4842 0018 0x4842 2018 0x4842 4018 0x4AE2 B018 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Modem status register. UART mode only. | ||
This register provides information about the current state of the control lines from the modem, data set, or peripheral device to the LH. It also indicates when a control input from the modem changes state. | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | NCD_STS | NRI_STS | NDSR_STS | NCTS_STS | DCD_STS | RI_STS | DSR_STS | CTS_STS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7 | NCD_STS | This bit is the complement of the DCD* input. In loopback mode, it is equivalent to UART_MCR[3]. | R | - |
6 | NRI_STS | This bit is the complement of the RI* input. In loopback mode, it is equivalent to UART_MCR[2]. | R | - |
5 | NDSR_STS | This bit is the complement of the DSR* input. In loopback mode, it is equivalent to UART_MCR[0]. | R | - |
4 | NCTS_STS | This bit is the complement of the CTS* input. In loopback mode, it is equivalent to UART_MCR[1]. | R | - |
3 | DCD_STS | Indicates that DCD* input (or UART_MCR[3] in loopback) changed. Cleared on a read. | R | 0 |
2 | RI_STS | Indicates that RI* input (or UART_MCR[2] in loopback) changed state from low to high. Cleared on a read. | R | 0 |
1 | DSR_STS | R | 0 | |
Read 0x1: Indicates that DSR* input (or UART_MCR[0] in loopback) changed state. Cleared on a read. | ||||
0 | CTS_STS | R | 0 | |
Read 0x1: Indicates that CTS* input (or UART_MCR[1] in loopback) changed state. Cleared on a read. |
Address Offset | 0x0000 001C | ||
Physical Address | 0x4806 A01C 0x4806 C01C 0x4802 001C 0x4806 E01C 0x4806 601C 0x4806 801C 0x4842 001C 0x4842 201C 0x4842 401C 0x4AE2 B01C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Scratchpad register | ||
This read/write register does not control the module. It is a scratchpad register to be used by the programmer to hold temporary data. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SPR_WORD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | SPR_WORD | Scratchpad register | RW | 0x00 |
Address Offset | 0x0000 001C | ||
Physical Address | 0x4806 A01C 0x4806 C01C 0x4802 001C 0x4806 E01C 0x4806 601C 0x4806 801C 0x4842 001C 0x4842 201C 0x4842 401C 0x4AE2 B01C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Trigger level register | ||
This register stores the programmable transmit and RX FIFO trigger levels for DMA and IRQ generation. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_FIFO_TRIG_DMA | TX_FIFO_TRIG_DMA |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:4 | RX_FIFO_TRIG_DMA | Receive FIFO trigger level | RW | 0x0 |
3:0 | TX_FIFO_TRIG_DMA | Transmit FIFO trigger level | RW | 0x0 |
Address Offset | 0x0000 001C | ||
Physical Address | 0x4806 A01C 0x4806 C01C 0x4802 001C 0x4806 E01C 0x4806 601C 0x4806 801C 0x4842 001C 0x4842 201C 0x4842 401C 0x4AE2 B01C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | UART mode XOFF2 character | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | XOFF_WORD2 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | XOFF_WORD2 | Stores the 8-bit XOFF2 character used in UART modes. | RW | 0x00 |
Address Offset | 0x0000 0020 | ||
Physical Address | 0x4806 A020 0x4806 C020 0x4802 0020 0x4806 E020 0x4806 6020 0x4806 8020 0x4842 0020 0x4842 2020 0x4842 4020 0x4AE2 B020 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Mode definition register 1 | ||
The mode of operation can be programmed by writing to MDR1[2:0] and therefore the MDR1 must be programmed on startup after configuration of the configuration registers (UART_DLL, UART_DLH, and UART_LCR). The value of MDR1[2:0] must not be changed again during normal operation. Note: If the module is disabled by setting the MODE_SELECT field to 111, interrupt requests can still be generated unless disabled through the interrupt enable register (UART_IER). In this case, UART mode interrupts are visible. Reading the interrupt identification register (UART_IIR) shows UART mode interrupt flags. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | FRAME_END_MODE | SIP_MODE | SCT | SET_TXIR | IR_SLEEP | MODE_SELECT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | FRAME_END_MODE | IrDA mode only | RW | 0 |
0x0: Frame-length method | ||||
0x1: Set EOT bit method | ||||
6 | SIP_MODE | MIR/FIR modes only | RW | 0 |
0x0: Manual SIP mode: SIP is generated with the control of UART_ACREG[3]. | ||||
0x1: Automatic SIP mode: SIP is generated after each transmission. | ||||
5 | SCT | Store and control the transmission. | RW | 0 |
0x0: Starts the infrared transmission when a value is written to UART_THR | ||||
0x1: Starts the infrared
transmission with the control of UART_ACREG[2]. Note: Before starting any transmission, there must be no reception ongoing. | ||||
4 | SET_TXIR | Used to configure the infrared transceiver | RW | 0 |
0x0: a) No action if UART_MDR2[7] = 0 b) TXIR pin output is forced low if UART_MDR2[7] = 1. | ||||
0x1: IRTX pin output is forced high (not dependent on UART_MDR2[7] value). | ||||
3 | IR_SLEEP | 0x0: IrDA/CIR sleep mode disabled | RW | 0 |
0x1: IrDA/CIR sleep mode enabled | ||||
2:0 | MODE_SELECT | 0x0: UART 16x mode | RW | 0x7 |
0x1: SIR mode | ||||
0x2: UART 16x auto-baud | ||||
0x3: UART 13x mode | ||||
0x4: MIR mode | ||||
0x5: FIR mode | ||||
0x6: CIR mode | ||||
0x7: Disable (default state) |
Address Offset | 0x0000 0024 | ||
Physical Address | 0x4806 A024 0x4806 C024 0x4802 0024 0x4806 E024 0x4806 6024 0x4806 8024 0x4842 0024 0x4842 2024 0x4842 4024 0x4AE2 B024 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Mode definition register 2 | ||
IR-IrDA and IR-CIR
modes only. UART_MDR2[0] describes the status of the interrupt in
UART_IIR[5]. The IRTX_UNDERRUN bit should be read after an
UART_IIR[5] TX_STATUS_IT interrupt. The bits [2:1] of this register
set the trigger level for the frame status FIFO (8 entries) and must
be programmed before the mode is programmed in UART_MDR1[2:0]. Note: The UART_MDR2[6] gives the flexibility to invert the RX pin in the UART to ensure that the protocol at the input of the transceiver module has the same polarity at module level. By default, the RX pin is inverted because most transceivers invert the IR receive pin. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SET_TXIR_ALT | IRRXINVERT | CIR_PULSE_MODE | UART_PULSE | STS_FIFO_TRIG | IRTX_UNDERRUN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | SET_TXIR_ALT | Provide alternate function for UART_MDR1[4] (SET_TXIR). | R | 0 |
0x0: Normal mode | ||||
0x1: Alternate mode for SET_TXIR | ||||
6 | IRRXINVERT | IR mode only (IrDA and CIR). Invert RX pin in the module before the voting or sampling system logic of the infrared block. This does not affect the RX path in UART modem modes. | RW | 0 |
0x0: Inversion is performed. | ||||
0x1: No inversion is performed. | ||||
5:4 | CIR_PULSE_MODE | CIR pulse modulation definition. Defines high level of the pulse width associated with a digit: | RW | 0x0 |
0x0: Pulse width of 3 from 12 cycles | ||||
0x1: Pulse width of 4 from 12 cycles | ||||
0x2: Pulse width of 5 from 12 cycles | ||||
0x3: Pulse width of 6 from 12 cycles | ||||
3 | UART_PULSE | UART mode only. Allows pulse shaping in UART mode. | RW | 0 |
0x0: Normal UART mode | ||||
0x1: UART mode with a pulse shaping | ||||
2:1 | STS_FIFO_TRIG | IR-IrDA mode only. Frame status FIFO threshold select: | RW | 0x0 |
0x0: 1 entry | ||||
0x1: 4 entries | ||||
0x2: 7 entries | ||||
0x3: 8 entries | ||||
0 | IRTX_UNDERRUN | IrDA transmission status interrupt. When the UART_IIR[5] interrupt occurs, the meaning of the interrupt is: | R | 0 |
Read 0x0: The last bit of the frame transmitted successfully without error. | ||||
Read 0x1: An underrun occurred. The last bit of the frame was transmitted but with an underrun error. The bit is reset to 0 when the UART_RESUME register is read. |
Address Offset | 0x0000 0028 | ||
Physical Address | 0x4806 A028 0x4806 C028 0x4802 0028 0x4806 E028 0x4806 6028 0x4806 8028 0x4842 0028 0x4842 2028 0x4842 4028 0x4AE2 B028 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Status FIFO line status register | ||
IrDA modes only. Reading this register effectively reads frame status information from the status FIFO (this register does not physically exist). Reading this register increments the status FIFO read pointer (UART_SFREGL and UART_SFREGH must be read first). | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | OE_ERROR | FRAME_TOO_LONG_ERROR | ABORT_DETECT | CRC_ERROR | RESERVED |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:5 | RESERVED | Read returns 0. | R | 0x0 |
4 | OE_ERROR | Read 0x1: Overrun error in RX FIFO when frame at top of RX FIFO was received Note: Top of RX FIFO = Next frame to be read from RX FIFO | R | - |
3 | FRAME_TOO_LONG_ERROR | Read 0x1: Frame-length too long error in frame at top of RX FIFO | R | - |
2 | ABORT_DETECT | Read 0x1: Abort pattern detected in frame at top of RX FIFO | R | - |
1 | CRC_ERROR | Read 0x1: CRC error in frame at top of RX FIFO | R | - |
0 | RESERVED | R | 0 |
Address Offset | 0x0000 0028 | ||
Physical Address | 0x4806 A028 0x4806 C028 0x4802 0028 0x4806 E028 0x4806 6028 0x4806 8028 0x4842 0028 0x4842 2028 0x4842 4028 0x4AE2 B028 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Transmit frame length register low | ||
IrDA modes only. The UART_TXFLL and UART_TXFLH registers hold the 13-bit transmit frame length (expressed in bytes). UART_TXFLL holds the LSBs and UART_TXFLH holds the MSBs. The frame length value is used if the frame length method of frame closing is used. | |||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TXFLL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Write has no effect. | W | 0x000000 |
7:0 | TXFLL | LSB register used to specify the frame length | W | 0x00 |
Address Offset | 0x0000 002C | ||
Physical Address | 0x4806 A02C 0x4806 C02C 0x4802 002C 0x4806 E02C 0x4806 602C 0x4806 802C 0x4842 002C 0x4842 202C 0x4842 402C 0x4AE2 B02C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | IR-IrDA and IR-CIR modes only. This register is used to clear internal flags, which halt transmission/reception when an underrun/overrun error occurs. Reading this register resumes the halted operation. This register does not physically exist and reads always as 0x00. | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESUME |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:0 | RESUME | Dummy read to restart the TX or RX | R | 0x00 |
Address Offset | 0x0000 002C | ||
Physical Address | 0x4806 A02C 0x4806 C02C 0x4802 002C 0x4806 E02C 0x4806 602C 0x4806 802C 0x4842 002C 0x4842 202C 0x4842 402C 0x4AE2 B02C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Transmit frame length register high | ||
IrDA modes only. The UART_TXFLL and UART_TXFLH registers hold the 13-bit transmit frame length (expressed in bytes). UART_TXFLL holds the LSBs and UART_TXFLH holds the MSBs. The frame length value is used if the frame length method of frame closing is used. | |||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | TXFLH |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Write has no effect. | W | 0x000000 |
7:5 | RESERVED | Write has no effect. | W | 0x0 |
4:0 | TXFLH | MSB register used to specify the frame length | W | 0x00 |
Address Offset | 0x0000 0030 | ||
Physical Address | 0x4806 A030 0x4806 C030 0x4802 0030 0x4806 E030 0x4806 6030 0x4806 8030 0x4842 0030 0x4842 2030 0x4842 4030 0x4AE2 B030 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Status FIFO register low | ||
IrDA modes only. The frame lengths of received frames are written into the status FIFO. This information can be read by reading the UART_SFREGL and UART_SFREGH registers (these registers do not physically exist). The LSBs are read from UART_SFREGL and the MSBs are read from UART_SFREGH. Reading these registers does not alter the status FIFO read pointer. These registers should be read before the pointer is incremented by reading the UART_SFLSR register. | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SFREGL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:0 | SFREGL | LSB part of the frame length | R | 0x- |
Address Offset | 0x0000 0030 | ||
Physical Address | 0x4806 A030 0x4806 C030 0x4802 0030 0x4806 E030 0x4806 6030 0x4806 8030 0x4842 0030 0x4842 2030 0x4842 4030 0x4AE2 B030 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Received frame length register low | ||
IrDA modes only. The UART_RXFLL and UART_RXFLH registers hold the 12-bit receive maximum frame length. UART_RXFLL holds the LSBs and UART_RXFLH holds the MSBs. If the intended maximum receive frame length is n bytes, program the UART_RXFLL and UART_RXFLH registers to be n + 3 in SIR or MIR modes and n + 6 in FIR mode (+3 and +6 are the result of frame format with CRC and stop flag; 2 bytes are associated with the FIR stop flag). | |||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RXFLL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Write has no effect. | W | 0x000000 |
7:0 | RXFLL | LSB register used to specify the frame length in reception | W | 0x00 |
Address Offset | 0x0000 0034 | ||
Physical Address | 0x4806 A034 0x4806 C034 0x4802 0034 0x4806 E034 0x4806 6034 0x4806 8034 0x4842 0034 0x4842 2034 0x4842 4034 0x4AE2 B034 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Status FIFO register high | ||
IrDA modes only. The frame lengths of received frames are written into the status FIFO. This information can be read by reading the UART_SFREGL and UART_SFREGH registers (these registers do not physically exist). The LSBs are read from UART_SFREGL and the MSBs are read from UART_SFREGH. Reading these registers does not alter the status FIFO read pointer. These registers should be read before the pointer is incremented by reading the UART_SFLSR register. | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | SFREGH |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:4 | RESERVED | Read returns 0. | R | 0x0 |
3:0 | SFREGH | MSB part of the frame length | R | 0x- |
Address Offset | 0x0000 0034 | ||
Physical Address | 0x4806 A034 0x4806 C034 0x4802 0034 0x4806 E034 0x4806 6034 0x4806 8034 0x4842 0034 0x4842 2034 0x4842 4034 0x4AE2 B034 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Received frame length register high | ||
IrDA modes only. The UART_RXFLL and UART_RXFLH registers hold the 12-bit receive maximum frame length. UART_RXFLL holds the LSBs and UART_RXFLH holds the MSBs. If the intended maximum receive frame length is n bytes, program the UART_RXFLL and UART_RXFLH to be n + 3 in SIR or MIR modes and n + 6 in FIR mode (+3 and +6 are the result of frame format with CRC and stop flag; 2 bytes are associated with the FIR stop flag). | |||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | RXFLH |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Write has no effect. | W | 0x000000 |
7:4 | RESERVED | Write has no effect. | W | 0x0 |
3:0 | RXFLH | MSB register used to specify the frame length in reception | W | 0x0 |
Address Offset | 0x0000 0038 | ||
Physical Address | 0x4806 A038 0x4806 C038 0x4802 0038 0x4806 E038 0x4806 6038 0x4806 8038 0x4842 0038 0x4842 2038 0x4842 4038 0x4AE2 B038 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | BOF control register | ||
IrDA modes only. The UART_BLR[6] bit selects whether 0xC0 or 0xFF start patterns are to be used, when multiple start flags are required in SIR mode. If only one start flag is required, this is always 0xC0. If n start flags are required, (-1) 0xC0 or (-1) 0xFF flags are sent, followed by a single 0xC0 flag (immediately preceding the first data byte). | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | STS_FIFO_RESET | XBOF_TYPE | RESERVED |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | STS_FIFO_RESET | Status FIFO reset. This bit is self-clearing. | RW | 0 |
6 | XBOF_TYPE | SIR xBOF select | RW | 1 |
0x0: 0xFF | ||||
0x1: 0xC0 | ||||
5:0 | RESERVED | Read returns 0. | R | 0x00 |
Address Offset | 0x0000 0038 | ||
Physical Address | 0x4806 A038 0x4806 C038 0x4802 0038 0x4806 E038 0x4806 6038 0x4806 8038 0x4842 0038 0x4842 2038 0x4842 4038 0x4AE2 B038 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | UART autobauding status register | ||
UART autobauding mode
only. This status register returns the speed, the number of bits by
characters, and the type of the parity in UART autobauding mode. In
autobauding mode, the input frequency of the UART modem must be
fixed to 48 MHz. Any other module clock frequency results in
incorrect baud rate recognition. Note: When the UART is in autobauding mode, this register, instead of the UART_LCR, UART_DLL, and UART_DLH registers, is used to set up transmission according to the characteristics of the previous reception. To reset the autobauding hardware (to start a new AT detection), set UART_MDR1[2:0] to 111 (reset value), then set UART_MDR1[2:1] to 010 (UART in autobaud mode). To set the UART to standard mode (no autobaud), set UART_MDR1[2:1] to 000. | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PARITY_TYPE | BIT_BY_CHAR | SPEED |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:6 | PARITY_TYPE | Read 0x0: No parity identified | R | 0x0 |
Read 0x1: Parity space | ||||
Read 0x2: Even parity | ||||
Read 0x3: Odd parity | ||||
5 | BIT_BY_CHAR | Read 0x0: 7-bit character identified | R | 0 |
Read 0x1: 8-bit character identified | ||||
4:0 | SPEED | Used to report the speed identified | R | 0x00 |
Read 0x0: No speed identified | ||||
Read 0x1: 115,200 baud | ||||
Read 0x2: 57,600 baud | ||||
Read 0x3: 38,400 baud | ||||
Read 0x4: 28,800 baud | ||||
Read 0x5: 19,200 baud | ||||
Read 0x6: 14,400 baud | ||||
Read 0x7: 9,600 baud | ||||
Read 0x8: 4,800 baud | ||||
Read 0x9: 2,400 baud | ||||
Read 0xA: 1,200 baud |
Address Offset | 0x0000 003C | ||
Physical Address | 0x4806 A03C 0x4806 C03C 0x4802 003C 0x4806 E03C 0x4806 603C 0x4806 803C 0x4842 003C 0x4842 203C 0x4842 403C 0x4AE2 B03C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Auxiliary control register. IR-IrDA and IR-CIR modes only. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PULSE_TYPE | SD_MOD | DIS_IR_RX | DIS_TX_UNDERRUN | SEND_SIP | SCTX_EN | ABORT_EN | EOT_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | PULSE_TYPE | SIR pulse width select | RW | 0 |
0x0: 3/16 of baud-rate pulse width | ||||
0x1: 1.6 µs | ||||
6 | SD_MOD | Primary output used to configure transceivers. Connected to the SD/MODE input pin of IrDA transceivers. | RW | 0 |
0x0: SD pin is set to high. | ||||
0x1: SD pin is set to low. | ||||
5 | DIS_IR_RX | 0x0: Normal operation (RX input automatically disabled during transmit but enabled outside of transmit operation) | RW | 0 |
0x1: Disables RX input (permanent state - independent of transmit) | ||||
4 | DIS_TX_UNDERRUN | It is recommended to disable TX FIFO underrun capability by masking corresponding underrun interrupt. When disabling underrun by setting UART_ACREG[4] = 1, garbage data is sent over TX line. | RW | 0 |
0x0: Long stop-bits cannot be transmitted; TX underrun is enabled. | ||||
0x1: Long stop-bits can be transmitted; TX underrun is disabled. | ||||
3 | SEND_SIP | MIR/FIR modes only. Send serial infrared interaction pulse (SIP). If this bit is set during an MIR/FIR transmission, the SIP is sent at the end of it. This bit is cleared automatically at the end of the SIP transmission. | RW | 0 |
0x0: No action | ||||
0x1: Send SIP pulse. | ||||
2 | SCTX_EN | Store and controlled TX start. When UART_MDR1[5] = 1 and the LH writes 1 to this bit, the TX state-machine starts frame transmission. This bit is self-clearing. | RW | 0 |
1 | ABORT_EN | Frame abort. The LH can intentionally abort transmission of a frame by writing 1 to this bit. Neither the end flag nor the CRC bits are appended to the frame. If TX FIFO is not empty and UART_MDR1[5] = 1, UART IrDA starts a new transfer with data of the previous frame when the abort frame is sent. Therefore, TX FIFO must be reset before sending an abort frame. | RW | 0 |
0 | EOT_EN | EOT (end of transmission) bit. The LH writes 1 to this bit just before it writes the last byte to the TX FIFO in set-EOT bit frame closing method. This bit is cleared automatically when the LH writes to the THR (TX FIFO). | RW | 0 |
Address Offset | 0x0000 0040 | ||
Physical Address | 0x4806 A040 0x4806 C040 0x4802 0040 0x4806 E040 0x4806 6040 0x4806 8040 0x4842 0040 0x4842 2040 0x4842 4040 0x4AE2 B040 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Supplementary control register | ||
Note: Bit 4 enables the wake-up interrupt, but this interrupt is not mapped into the UART_IIR register. Therefore, when an interrupt occurs and there is no interrupt pending in the UART_IIR register, the UART_SSR[1] bit must be checked. To clear the wake-up interrupt, bit UART_SCR[4] must be reset to 0. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_TRIG_GRANU1 | TX_TRIG_GRANU1 | DSR_IT | RX_CTS_DSR_WAKE_UP_ENABLE | TX_EMPTY_CTL_IT | DMA_MODE_2 | DMA_MODE_CTL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | RX_TRIG_GRANU1 | 0x0: Disables the granularity of 1 for trigger RX level | RW | 0 |
0x1: Enables the granularity of 1 for trigger RX level | ||||
6 | TX_TRIG_GRANU1 | 0x0: Disables the granularity of 1 for trigger TX level | RW | 0 |
0x1: Enables the granularity of 1 for trigger TX level | ||||
5 | DSR_IT | 0x0: Disables DSR* interrupt | RW | 0 |
0x1: Enables DSR* interrupt | ||||
4 | RX_CTS_DSR_WAKE_UP_ENABLE | 0x0: Disables the wake-up interrupt and clears SSR[1] | RW | 0 |
0x1: Waits for a falling edge of pins RX, CTS*, or DSR* to generate an interrupt | ||||
3 | TX_EMPTY_CTL_IT | 0x0: Normal mode for THR interrupt (see UART mode interrupts table) | RW | 0 |
0x1: The THR interrupt is generated when TX FIFO and TX shift register are empty. | ||||
2:1 | DMA_MODE_2 | Used to specify the DMA mode valid if the UART_SCR[0] bit = 1 | RW | 0x0 |
0x0: DMA mode 0 (no DMA) | ||||
0x1: DMA mode 1 (UART_nDMA_REQ[0] in TX, UART_nDMA_REQ[1] in RX) | ||||
0x2: DMA mode 2 (UART_nDMA_REQ[0] in RX) | ||||
0x3: DMA mode 3 (UART_nDMA_REQ[0] in TX) | ||||
0 | DMA_MODE_CTL | 0x0: The DMA_MODE is set with UART_FCR[3]. | RW | 0 |
0x1: The DMA_MODE is set with UART_SCR[2:1]. |
Address Offset | 0x0000 0044 | ||
Physical Address | 0x4806 A044 0x4806 C044 0x4802 0044 0x4806 E044 0x4806 6044 0x4806 8044 0x4842 0044 0x4842 2044 0x4842 4044 0x4AE2 B044 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Supplementary status register | ||
Note: Bit 1 is reset only when UART_SCR[4] is reset to 0. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | DMA_COUNTER_RST | RX_CTS_DSR_WAKE_UP_STS | TX_FIFO_FULL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:3 | RESERVED | Read returns 0. | R | 0x00 |
2 | DMA_COUNTER_RST | 0x0: The DMA counter will not be reset if the corresponding FIFO is reset (through UART_FCR[1] or UART_FCR[2]). | RW | 1 |
0x1: The DMA counter will be reset if corresponding FIFO is reset (through UART_FCR[1] or UART_FCR[2]). | ||||
1 | RX_CTS_DSR_WAKE_UP_STS | Read 0x0: No falling edge event on RX, CTS*, and DSR* | R | 0 |
Read 0x1: A falling edge occurred on RX, CTS*, or DSR*. | ||||
0 | TX_FIFO_FULL | Read 0x0: TX FIFO is not full. | R | 0 |
Read 0x1: TX FIFO is full. |
Address Offset | 0x0000 0048 | ||
Physical Address | 0x4806 A048 0x4806 C048 0x4802 0048 0x4806 E048 0x4806 6048 0x4806 8048 0x4842 0048 0x4842 2048 0x4842 4048 0x4AE2 B048 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | BOF length register | ||
IR-IrDA and IR-CIR
modes only. In IR-IrDA SIR operation, this register specifies the
number of BOF + xBOFs to transmit. Value set into this register must
account for the BOF character; therefore, to send only one BOF with
no XBOF, this register must be set to 1. To send one BOF with N
XBOF, this register must be set to N + 1. The value 0 sends 1 BOF
plus 255 XBOF. In IR-IrDA MIR mode, this register specifies the
number of additional start flags (MIR protocol mandates a minimum of
2 start flags). In IR-CIR mode, this register specifies the number
of consecutive 0s to be received before generating the RX_STOP
interrupt (UART_IIR[2]). All received 0s are stored in the RX FIFO.
When the register is set to 0, this feature is deactivated and
always in reception state, which can be disabled by setting the
UART_ACREG[5] to 1. Note: If the RX_STOP interrupt occurs before a byte boundary, the remaining bits of the last byte are filled with 0s and passed into the RX FIFO. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EBLR |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:0 | EBLR | IR-IrDA mode: This register allows definition of up to 176 xBOFs, the maximum required by IrDA specification. | RW | 0x00 |
IR-CIR mode: This register specifies the number of consecutive 0s to be received before generating the RX_STOP interrupt (UART_IIR[2]). | ||||
0x00: Feature disabled | ||||
0x01: Generate RX_STOP interrupt after receiving one zero bit. | ||||
... | ||||
0xFF: Generate RX_STOP interrupt after receiving 255 zero bits. |
Address Offset | 0x0000 0050 | ||
Physical Address | 0x4806 A050 0x4806 C050 0x4802 0050 0x4806 E050 0x4806 6050 0x4806 8050 0x4842 0050 0x4842 2050 0x4842 4050 0x4AE2 B050 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Module version register | ||
The reset value is fixed by hardware and corresponds to the RTL revision of this module. A reset has no effect on the value returned. | |||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REV |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | REV | Revision number | R | 0x-- TI internal data |
Address Offset | 0x0000 0054 | ||
Physical Address | 0x4806 A054 0x4806 C054 0x4802 0054 0x4806 E054 0x4806 6054 0x4806 8054 0x4842 0054 0x4842 2054 0x4842 4054 0x4AE2 B054 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | System configuration register | ||
The AUTOIDLE bit controls a power-saving technique to reduce the logic power consumption of the open-core protocol (OCP) interface. When the feature is enabled, the clock is gated off until an OCP command for this device is detected. When the software reset bit is set high, it causes a full device reset. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | IDLEMODE | ENAWAKEUP | SOFTRESET | AUTOIDLE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7:5 | RESERVED | Read returns 0. | R | 0x0 |
4:3 | IDLEMODE | Power management req/ack control ref: OCP Design Guidelines Version 1.1 | RW | 0x0 |
0x0: Force-idle: Idle request is acknowledged unconditionally. | ||||
0x1: No-idle: Idle request is never acknowledged. | ||||
0x2: Smart-idle: Idle request is acknowledged based in module internal activity. | ||||
0x3: Smart-idle Wake-up: Acknowledgement to an idle request is given based in the internal activity of the module. The module is allowed to generate wake-up request. | ||||
2 | ENAWAKEUP | Wake-up feature control | RW | 0 |
0x0: Wakeup is disabled. | ||||
0x1: Wake-up capability is enabled. | ||||
1 | SOFTRESET | Software reset. Set this bit to 1 to trigger a module reset. This bit is automatically reset by the hardware. Read returns 0. | RW | 0 |
0x0: Normal mode | ||||
0x1: The module is reset. | ||||
0 | AUTOIDLE | Internal OCP clock gating strategy | RW | 0 |
0x0: Clock is running. | ||||
0x1: Automatic OCP clock gating strategy is applied, based on OCP interface activity |
Address Offset | 0x0000 0058 | ||
Physical Address | 0x4806 A058 0x4806 C058 0x4802 0058 0x4806 E058 0x4806 6058 0x4806 8058 0x4842 0058 0x4842 2058 0x4842 4058 0x4AE2 B058 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | System status register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | RESETDONE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:1 | RESERVED | Read returns 0. | R | 0x00 |
0 | RESETDONE | Internal reset monitoring | R | 0 |
Read 0x0: Internal module reset is ongoing. | ||||
Read 0x1: Reset complete |
Address Offset | 0x0000 005C | ||
Physical Address | 0x4806 A05C 0x4806 C05C 0x4802 005C 0x4806 E05C 0x4806 605C 0x4806 805C 0x4842 005C 0x4842 205C 0x4842 405C 0x4AE2 B05C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Wake-up enable register | ||
The UART wake-up enable register is used to mask and unmask a UART event that would subsequently notify the system. An event is any activity in the logic that could cause an interrupt and/or an activity that would require the system to wake up. Even if the wakeup is disabled for certain events, if these events are also an interrupt to the UART, the UART registers the interrupt. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TX_WAKEUP_EN | EVENT_6_RECEIVER_LINE_STATUS_INTERRUPT | EVENT_5_RHR_INTERRUPT | EVENT_4_RX_ACTIVITY | EVENT_3_DCD_CD_ACTIVITY | EVENT_2_RI_ACTIVITY | EVENT_1_DSR_ACTIVITY | EVENT_0_CTS_ACTIVITY |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 |
7 | TX_WAKEUP_EN | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system: it can be THR_IT or TX_DMA request and/or TX_STATUS_IT. | ||||
6 | EVENT_6_RECEIVER_LINE_STATUS_INTERRUPT | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system. | ||||
5 | EVENT_5_RHR_INTERRUPT | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system. | ||||
4 | EVENT_4_RX_ACTIVITY | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system. | ||||
3 | EVENT_3_DCD_CD_ACTIVITY | 0x0: Event is not allowed to wake up the system | RW | 1 |
0x1: Event can wake up the system | ||||
2 | EVENT_2_RI_ACTIVITY | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system. | ||||
1 | EVENT_1_DSR_ACTIVITY | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system. | ||||
0 | EVENT_0_CTS_ACTIVITY | 0x0: Event is not allowed to wake up the system. | RW | 1 |
0x1: Event can wake up the system. |
Address Offset | 0x0000 0060 | ||
Physical Address | 0x4806 A060 0x4806 C060 0x4802 0060 0x4806 E060 0x4806 6060 0x4806 8060 0x4842 0060 0x4842 2060 0x4842 4060 0x4AE2 B060 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Carrier frequency prescaler | ||
Because the consumer IR works at modulation rates of 30 to 56.8 kHz, the 48-MHz clock must be prescaled before the clock can drive the IR logic. This register sets the divisor rate to give a range to accommodate the remote-control requirements in baud multiples of 12x. The value of the CFPS at reset is 0105 decimal, which equals 38.1 kHz output from starting conditions. The 48-MHz carrier is prescaled by the CFPS, which is then divided by the 12x baud multiple. | |||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CFPS |
Bits | Field Name | Description | Type | Reset | ||
---|---|---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x000000 | ||
7:0 | CFPS | System clock frequency prescaler at (12x multiple). Examples for CFPS values: | RW | 0x69 | ||
Target Freq (kHz) | CFPS (decimal) | Actual Freq (kHz) | ||||
30 | 133 | 30.08 | ||||
32.75 | 122 | 32.79 | ||||
36 | 111 | 36.04 | ||||
36.7 | 109 | 36.69 | ||||
38* | 105 | 38.1 | ||||
40 | 100 | 40 | ||||
56.8 | 70 | 57.14 | ||||
*configured at reset to this value | ||||||
Note: CFPS = 0 is not supported. |
Address Offset | 0x0000 0064 | ||
Physical Address | 0x4806 A064 0x4806 C064 0x4802 0064 0x4806 E064 0x4806 6064 0x4806 8064 0x4842 0064 0x4842 2064 0x4842 4064 0x4AE2 B064 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Level of the RX FIFO | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RXFIFO_LVL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:0 | RXFIFO_LVL | Shows the number of received bytes in the RX FIFO | R | 0x00 |
Address Offset | 0x0000 0068 | ||
Physical Address | 0x4806 A068 0x4806 C068 0x4802 0068 0x4806 E068 0x4806 6068 0x4806 8068 0x4842 0068 0x4842 2068 0x4842 4068 0x4AE2 B068 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Level of the TX FIFO | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TXFIFO_LVL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. | R | 0x000000 |
7:0 | TXFIFO_LVL | Shows the number of written bytes in the TX FIFO | R | 0x00 |
Address Offset | 0x0000 006C | ||
Physical Address | 0x4806 A06C 0x4806 C06C 0x4802 006C 0x4806 E06C 0x4806 606C 0x4806 806C 0x4842 006C 0x4842 206C 0x4842 406C 0x4AE2 B06C | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Enables RX/TX FIFOs empty corresponding interrupts | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EN_TXFIFO_EMPTY | EN_RXFIFO_EMPTY |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | Read returns 0. Write has no effect. | RW | 0x0000 0000 |
1 | EN_TXFIFO_EMPTY | Enables TX FIFO empty corresponding interrupt | RW | 0 |
0x0: Disables EN_TXFIFO_EMPTY interrupt | ||||
0x1: Enables EN_TXFIFO_EMPTY interrupt | ||||
0 | EN_RXFIFO_EMPTY | Enables RX FIFO empty corresponding interrupt | RW | 0 |
0x0: Disables EN_RXFIFO_EMPTY interrupt | ||||
0x1: Enables EN_RXFIFO_EMPTY interrupt |
Address Offset | 0x0000 0070 | ||
Physical Address | 0x4806 A070 0x4806 C070 0x4802 0070 0x4806 E070 0x4806 6070 0x4806 8070 0x4842 0070 0x4842 2070 0x4842 4070 0x4AE2 B070 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Status of RX/TX FIFOs empty corresponding interrupts | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TXFIFO_EMPTY_STS | RXFIFO_EMPTY_STS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | Read returns 0. Write has no effect. | RW | 0x0000 0000 |
1 | TXFIFO_EMPTY_STS | Used to generate interrupt if the TX_FIFO is empty (software flow control) | RW | 1 |
0x0: TXFIFO_EMPTY interrupt not pending. | ||||
0x1: TXFIFO_EMPTY interrupt pending. | ||||
0 | RXFIFO_EMPTY_STS | Used to generate interrupt if the RX_FIFO is empty (software flow control) | RW | 1 |
0x0: RXFIFO_EMPTY interrupt not pending. | ||||
0x1: RXFIFO_EMPTY interrupt pending. |
Address Offset | 0x0000 0074 | ||
Physical Address | 0x4806 A074 0x4806 C074 0x4802 0074 0x4806 E074 0x4806 6074 0x4806 8074 0x4842 0074 0x4842 2074 0x4842 4074 0x4AE2 B074 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Sample per bit selector | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | FREQ_SEL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Read returns 0. Write has no effect. | RW | 0x0000 0000 |
7:0 | FREQ_SEL | Sets the sample per bit if nondefault frequency is used. UART_MDR3[1] must be set to 1 after this value is set. Must be equal to or higher than 6. | RW | 0x1A |
Address Offset | 0x0000 0080 | ||
Physical Address | 0x4806 A080 0x4806 C080 0x4802 0080 0x4806 E080 0x4806 6080 0x4806 8080 0x4842 0080 0x4842 2080 0x4842 4080 0x4AE2 B080 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Mode definition register 3 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SET_DMA_TX_THRESHOLD | NONDEFAULT_FREQ | DISABLE_CIR_RX_DEMOD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:3 | RESERVED | Read returns 0. Write has no effect. | RW | 0x0000 0000 |
2 | SET_DMA_TX_THRESHOLD | Enable to set different TXDMA threshold in UART_TX_DMA_THRESHOLD register. | RW | 0 |
1 | NONDEFAULT_FREQ | Used to enable the NONDEFAULT fclk frequencies. | RW | 0 |
0x0: Disables using NONDEFAULT fclk frequencies. | ||||
0x1: Enables using NONDEFAULT fclk frequencies (set UART_FREQ_SEL and UART_DLH/UART_DLL). | ||||
0 | DISABLE_CIR_RX_DEMOD | Used to enable CIR RX demodulation. | RW | 0 |
0x0: Enables CIR RX demodulation. | ||||
0x1: Disables CIR RX demodulation. |
Address Offset | 0x0000 0084 | ||
Physical Address | 0x4806 A084 0x4806 C084 0x4802 0084 0x4806 E084 0x4806 6084 0x4806 8084 0x4842 0084 0x4842 2084 0x4842 4084 0x4AE2 B084 | Instance | UART1 UART2 UART3 UART4 UART5 UART6 UART7 UART8 UART9 UART10 |
Description | Use to manually set
the TX DMA threshold level. UART_MDR3[2] SET_TX_DMA_THRESHOLD must be 1 and must be value + tx_trigger_level = 64 (TX FIFO size). If not, 64-tx_trigger_level will be used without modifying the value of this register. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TX_DMA_THRESHOLD |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:6 | RESERVED | Reserved | RW | 0x0000000 |
5:0 | TX_DMA_THRESHOLD | Used to manually set the TX DMA threshold level | RW | 0x00 |