UARTE — Universal asynchronous receiver/transmitter with EasyDMA

The Universal asynchronous receiver/transmitter with EasyDMA (UARTE) offers fast, full-duplex, asynchronous serial communication with built-in flow control (CTS, RTS) support in hardware at a rate up to 1 Mbps, and EasyDMA data transfer from/to RAM.

Listed here are the main features for UARTE:

  • Full-duplex operation
  • Automatic hardware flow control
  • Parity checking and generation for the 9th data bit
  • EasyDMA
  • Up to 1 Mbps baudrate
  • Return to IDLE between transactions supported (when using HW flow control)
  • One stop bit
  • Least significant bit (LSB) first
Figure 1. UARTE configuration

The GPIOs used for each UART interface can be chosen from any GPIO on the device and are independently configurable. This enables great flexibility in device pinout and efficient use of board space and signal routing.

Shared resources

The UARTE shares registers and other resources with other peripherals that have the same ID as the UARTE.

Therefore, you must disable all peripherals that have the same ID as the UARTE before the UARTE can be configured and used. Disabling a peripheral that has the same ID as the UARTE will not reset any of the registers that are shared with the UARTE. It is therefore important to configure all relevant UARTE registers explicitly to ensure that it operates correctly.

See the Instantiation table in Instantiation for details on peripherals and their IDs.

EasyDMA

The UARTE implements EasyDMA for reading and writing to and from the RAM.

If the TXD.PTR and the RXD.PTR are not pointing to the Data RAM region, an EasyDMA transfer may result in a HardFault or RAM corruption. See Memory for more information about the different memory regions.

The .PTR and .MAXCNT registers are double-buffered. They can be updated and prepared for the next RX/TX transmission immediately after having received the RXSTARTED/TXSTARTED event.

The ENDRX/ENDTX event indicates that EasyDMA has finished accessing respectively the RX/TX buffer in RAM.

Transmission

The first step of a DMA transmission is storing bytes in the transmit buffer and configuring EasyDMA. This is achieved by writing the initial address pointer to TXD.PTR, and the number of bytes in the RAM buffer to TXD.MAXCNT. The UARTE transmission is started by triggering the STARTTX task.

After each byte has been sent over the TXD line, a TXDRDY event will be generated.

When all bytes in the TXD buffer, as specified in the TXD.MAXCNT register, have been transmitted, the UARTE transmission will end automatically and an ENDTX event will be generated.

A UARTE transmission sequence is stopped by triggering the STOPTX task, a TXSTOPPED event will be generated when the UARTE transmitter has stopped.

If the ENDTX event has not already been generated when the UARTE transmitter has come to a stop, the UARTE will generate the ENDTX event explicitly even though all bytes in the TXD buffer, as specified in the TXD.MAXCNT register, have not been transmitted.

If flow control is enabled, a transmission will be automatically suspended when CTS is deactivated and resumed when CTS is activated again, as illustrated in Figure 2. A byte that is in transmission when CTS is deactivated will be fully transmitted before the transmission is suspended.

Figure 2. UARTE transmission

The UARTE transmitter will be in its lowest activity level, and consume the least amount of energy, when it is stopped, i.e. before it is started via STARTTX or after it has been stopped via STOPTX and the TXSTOPPED event has been generated. See POWER — Power supply for more information about power modes.

Reception

The UARTE receiver is started by triggering the STARTRX task. The UARTE receiver is using EasyDMA to store incoming data in an RX buffer in RAM.

The RX buffer is located at the address specified in the RXD.PTR register. The RXD.PTR register is double-buffered and it can be updated and prepared for the next STARTRX task immediately after the RXSTARTED event is generated. The size of the RX buffer is specified in the RXD.MAXCNT register and the UARTE will generate an ENDRX event when it has filled up the RX buffer, see Figure 3.

For each byte received over the RXD line, an RXDRDY event will be generated. This event is likely to occur before the corresponding data has been transferred to Data RAM.

The RXD.AMOUNT register can be queried following an ENDRX event to see how many new bytes have been transferred to the RX buffer in RAM since the previous ENDRX event.

Figure 3. UARTE reception

The UARTE receiver is stopped by triggering the STOPRX task. An RXTO event is generated when the UARTE has stopped. The UARTE will make sure that an impending ENDRX event will be generated before the RXTO event is generated. This means that the UARTE will guarantee that no ENDRX event will be generated after RXTO, unless the UARTE is restarted or a FLUSHRX command is issued after the RXTO event is generated.

Important: If the ENDRX event has not already been generated when the UARTE receiver has come to a stop, which implies that all pending content in the RX FIFO has been moved to the RX buffer, the UARTE will generate the ENDRX event explicitly even though the RX buffer is not full. In this scenario the ENDRX event will be generated before the RXTO event is generated.

To be able to know how many bytes have actually been received into the RX buffer, the CPU can read the RXD.AMOUNT register following the ENDRX event or the RXTO event.

The UARTE is able to receive up to four bytes after the STOPRX task has been triggered as long as these are sent in succession immediately after the RTS signal is deactivated. This is possible because after the RTS is deactivated the UARTE is able to receive bytes for an extended period equal to the time it takes to send 4 bytes on the configured baud rate.

After the RXTO event is generated the internal RX FIFO may still contain data, and to move this data to RAM the FLUSHRX task must be triggered. To make sure that this data does not overwrite data in the RX buffer, the RX buffer should be emptied or the RXD.PTR should be updated before the FLUSHRX task is triggered. To make sure that all data in the RX FIFO is moved to the RX buffer, the RXD.MAXCNT register must be set to RXD.MAXCNT > 4, see Figure 4. The UARTE will generate the ENDRX event after completing the FLUSHRX task even if the RX FIFO was empty or if the RX buffer does not get filled up. To be able to know how many bytes have actually been received into the RX buffer in this case, the CPU can read the RXD.AMOUNT register following the ENDRX event.

Figure 4. UARTE reception with forced stop via STOPRX

If HW flow control is enabled the RTS signal will be deactivated when the receiver is stopped via the STOPRX task or when the UARTE is only able to receive four more bytes in its internal RX FIFO.

With flow control disabled, the UARTE will function in the same way as when the flow control is enabled except that the RTS line will not be used. This means that no signal will be generated when the UARTE has reached the point where it is only able to receive four more bytes in its internal RX FIFO. Data received when the internal RX FIFO is filled up, will be lost.

The UARTE receiver will be in its lowest activity level, and consume the least amount of energy, when it is stopped, i.e. before it is started via STARTRX or after it has been stopped via STOPRX and the RXTO event has been generated. See POWER — Power supply for more information about power modes.

Error conditions

An ERROR event, in the form of a framing error, will be generated if a valid stop bit is not detected in a frame. Another ERROR event, in the form of a break condition, will be generated if the RXD line is held active low for longer than the length of a data frame. Effectively, a framing error is always generated before a break condition occurs.

An ERROR event will not stop reception. If the error was a parity error, the received byte will still be transferred into Data RAM, and so will following incoming bytes. If there was a framing error (wrong stop bit), that specific byte will NOT be stored into Data RAM, but following incoming bytes will.

Using the UARTE without flow control

If flow control is not enabled, the interface will behave as if the CTS and RTS lines are kept active all the time.

Parity configuration

When parity is enabled, the parity will be generated automatically from the even parity of TXD and RXD for transmission and reception respectively.

Low power

When putting the system in low power and the peripheral is not needed, lowest possible power consumption is achieved by stopping, and then disabling the peripheral.

The STOPTX and STOPRX tasks may not be always needed (the peripheral might already be stopped), but if STOPTX and/or STOPRX is sent, software shall wait until the TXSTOPPED and/or RXTO event is received in response, before disabling the peripheral through the ENABLE register.

Pin configuration

The different signals RXD, CTS (Clear To Send, active low), RTS (Request To Send, active low), and TXD associated with the UARTE are mapped to physical pins according to the configuration specified in the PSEL.RXD, PSEL.CTS, PSEL.RTS, and PSEL.TXD registers respectively.

The PSEL.RXD, PSEL.CTS, PSEL.RTS, and PSEL.TXD registers and their configurations are only used as long as the UARTE is enabled, and retained only for the duration the device is in ON mode. PSEL.RXD, PSEL.RTS, PSEL.RTS and PSEL.TXD must only be configured when the UARTE is disabled.

To secure correct signal levels on the pins by the UARTE when the system is in OFF mode, the pins must be configured in the GPIO peripheral as described in Table 1.

Only one peripheral can be assigned to drive a particular GPIO pin at a time. Failing to do so may result in unpredictable behavior.

Table 1. GPIO configuration before enabling peripheral
UARTE signalUARTE pinDirectionOutput value
RXDAs specified in PSEL.RXDInputNot applicable
CTSAs specified in PSEL.CTSInputNot applicable
RTSAs specified in PSEL.RTSOutput1
TXDAs specified in PSEL.TXDOutput1

Registers

Table 2. Instances
Base addressPeripheralInstanceDescriptionConfiguration
0x40002000UARTEUARTE0

Universal Asynchronous Receiver/Transmitter with EasyDMA

  
Table 3. Register Overview
RegisterOffsetDescription
TASKS_STARTRX0x000

Start UART receiver

 
TASKS_STOPRX0x004

Stop UART receiver

 
TASKS_STARTTX0x008

Start UART transmitter

 
TASKS_STOPTX0x00C

Stop UART transmitter

 
TASKS_FLUSHRX0x02C

Flush RX FIFO into RX buffer

 
EVENTS_CTS0x100

CTS is activated (set low). Clear To Send.

 
EVENTS_NCTS0x104

CTS is deactivated (set high). Not Clear To Send.

 
EVENTS_RXDRDY0x108

Data received in RXD (but potentially not yet transferred to Data RAM)

 
EVENTS_ENDRX0x110

Receive buffer is filled up

 
EVENTS_TXDRDY0x11C

Data sent from TXD

 
EVENTS_ENDTX0x120

Last TX byte transmitted

 
EVENTS_ERROR0x124

Error detected

 
EVENTS_RXTO0x144

Receiver timeout

 
EVENTS_RXSTARTED0x14C

UART receiver has started

 
EVENTS_TXSTARTED0x150

UART transmitter has started

 
EVENTS_TXSTOPPED0x158

Transmitter stopped

 
SHORTS0x200

Shortcut register

 
INTEN0x300

Enable or disable interrupt

 
INTENSET0x304

Enable interrupt

 
INTENCLR0x308

Disable interrupt

 
ERRORSRC0x480

Error source

 
ENABLE0x500

Enable UART

 
PSEL.RTS0x508

Pin select for RTS signal

 
PSEL.TXD0x50C

Pin select for TXD signal

 
PSEL.CTS0x510

Pin select for CTS signal

 
PSEL.RXD0x514

Pin select for RXD signal

 
BAUDRATE0x524

Baud rate. Accuracy depends on the HFCLK source selected.

 
RXD.PTR0x534

Data pointer

 
RXD.MAXCNT0x538

Maximum number of bytes in receive buffer

 
RXD.AMOUNT0x53C

Number of bytes transferred in the last transaction

 
TXD.PTR0x544

Data pointer

 
TXD.MAXCNT0x548

Maximum number of bytes in transmit buffer

 
TXD.AMOUNT0x54C

Number of bytes transferred in the last transaction

 
CONFIG0x56C

Configuration of parity and hardware flow control

 

SHORTS

Address offset: 0x200

Shortcut register

Bit number313029282726252423222120191817161514131211109876543210
Id                         DC   
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
CRW

ENDRX_STARTRX

  

Shortcut between ENDRX event and STARTRX task

See EVENTS_ENDRX and TASKS_STARTRX

   

Disabled

0

Disable shortcut

   

Enabled

1

Enable shortcut

DRW

ENDRX_STOPRX

  

Shortcut between ENDRX event and STOPRX task

See EVENTS_ENDRX and TASKS_STOPRX

   

Disabled

0

Disable shortcut

   

Enabled

1

Enable shortcut

 

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id         LJI H       GFE  D CBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

CTS

  

Enable or disable interrupt for CTS event

See EVENTS_CTS

   

Disabled

0

Disable

   

Enabled

1

Enable

BRW

NCTS

  

Enable or disable interrupt for NCTS event

See EVENTS_NCTS

   

Disabled

0

Disable

   

Enabled

1

Enable

CRW

RXDRDY

  

Enable or disable interrupt for RXDRDY event

See EVENTS_RXDRDY

   

Disabled

0

Disable

   

Enabled

1

Enable

DRW

ENDRX

  

Enable or disable interrupt for ENDRX event

See EVENTS_ENDRX

   

Disabled

0

Disable

   

Enabled

1

Enable

ERW

TXDRDY

  

Enable or disable interrupt for TXDRDY event

See EVENTS_TXDRDY

   

Disabled

0

Disable

   

Enabled

1

Enable

FRW

ENDTX

  

Enable or disable interrupt for ENDTX event

See EVENTS_ENDTX

   

Disabled

0

Disable

   

Enabled

1

Enable

GRW

ERROR

  

Enable or disable interrupt for ERROR event

See EVENTS_ERROR

   

Disabled

0

Disable

   

Enabled

1

Enable

HRW

RXTO

  

Enable or disable interrupt for RXTO event

See EVENTS_RXTO

   

Disabled

0

Disable

   

Enabled

1

Enable

IRW

RXSTARTED

  

Enable or disable interrupt for RXSTARTED event

See EVENTS_RXSTARTED

   

Disabled

0

Disable

   

Enabled

1

Enable

JRW

TXSTARTED

  

Enable or disable interrupt for TXSTARTED event

See EVENTS_TXSTARTED

   

Disabled

0

Disable

   

Enabled

1

Enable

LRW

TXSTOPPED

  

Enable or disable interrupt for TXSTOPPED event

See EVENTS_TXSTOPPED

   

Disabled

0

Disable

   

Enabled

1

Enable

 

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id         LJI H       GFE  D CBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

CTS

  

Write '1' to Enable interrupt for CTS event

See EVENTS_CTS

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

BRW

NCTS

  

Write '1' to Enable interrupt for NCTS event

See EVENTS_NCTS

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

CRW

RXDRDY

  

Write '1' to Enable interrupt for RXDRDY event

See EVENTS_RXDRDY

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

DRW

ENDRX

  

Write '1' to Enable interrupt for ENDRX event

See EVENTS_ENDRX

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

ERW

TXDRDY

  

Write '1' to Enable interrupt for TXDRDY event

See EVENTS_TXDRDY

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

FRW

ENDTX

  

Write '1' to Enable interrupt for ENDTX event

See EVENTS_ENDTX

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

GRW

ERROR

  

Write '1' to Enable interrupt for ERROR event

See EVENTS_ERROR

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

HRW

RXTO

  

Write '1' to Enable interrupt for RXTO event

See EVENTS_RXTO

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

IRW

RXSTARTED

  

Write '1' to Enable interrupt for RXSTARTED event

See EVENTS_RXSTARTED

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

JRW

TXSTARTED

  

Write '1' to Enable interrupt for TXSTARTED event

See EVENTS_TXSTARTED

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

LRW

TXSTOPPED

  

Write '1' to Enable interrupt for TXSTOPPED event

See EVENTS_TXSTOPPED

   

Set

1

Enable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

 

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id         LJI H       GFE  D CBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

CTS

  

Write '1' to Disable interrupt for CTS event

See EVENTS_CTS

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

BRW

NCTS

  

Write '1' to Disable interrupt for NCTS event

See EVENTS_NCTS

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

CRW

RXDRDY

  

Write '1' to Disable interrupt for RXDRDY event

See EVENTS_RXDRDY

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

DRW

ENDRX

  

Write '1' to Disable interrupt for ENDRX event

See EVENTS_ENDRX

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

ERW

TXDRDY

  

Write '1' to Disable interrupt for TXDRDY event

See EVENTS_TXDRDY

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

FRW

ENDTX

  

Write '1' to Disable interrupt for ENDTX event

See EVENTS_ENDTX

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

GRW

ERROR

  

Write '1' to Disable interrupt for ERROR event

See EVENTS_ERROR

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

HRW

RXTO

  

Write '1' to Disable interrupt for RXTO event

See EVENTS_RXTO

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

IRW

RXSTARTED

  

Write '1' to Disable interrupt for RXSTARTED event

See EVENTS_RXSTARTED

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

JRW

TXSTARTED

  

Write '1' to Disable interrupt for TXSTARTED event

See EVENTS_TXSTARTED

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

LRW

TXSTOPPED

  

Write '1' to Disable interrupt for TXSTOPPED event

See EVENTS_TXSTOPPED

   

Clear

1

Disable

   

Disabled

0

Read: Disabled

   

Enabled

1

Read: Enabled

 

ERRORSRC

Address offset: 0x480

Error source

Bit number313029282726252423222120191817161514131211109876543210
Id                            DCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

OVERRUN

  

Overrun error

A start bit is received while the previous data still lies in RXD. (Previous data is lost.)

   

NotPresent

0

Read: error not present

   

Present

1

Read: error present

BRW

PARITY

  

Parity error

A character with bad parity is received, if HW parity check is enabled.

   

NotPresent

0

Read: error not present

   

Present

1

Read: error present

CRW

FRAMING

  

Framing error occurred

A valid stop bit is not detected on the serial data input after all bits in a character have been received.

   

NotPresent

0

Read: error not present

   

Present

1

Read: error present

DRW

BREAK

  

Break condition

The serial data input is '0' for longer than the length of a data frame. (The data frame length is 10 bits without parity bit, and 11 bits with parity bit.).

   

NotPresent

0

Read: error not present

   

Present

1

Read: error present

 

ENABLE

Address offset: 0x500

Enable UART

Bit number313029282726252423222120191817161514131211109876543210
Id                            AAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

ENABLE

  

Enable or disable UARTE

   

Disabled

0

Disable UARTE

   

Enabled

8

Enable UARTE

 

PSEL.RTS

Address offset: 0x508

Pin select for RTS signal

Bit number313029282726252423222120191817161514131211109876543210
IdB                          AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IdRWFieldValue IdValueDescription
ARW

PIN

 

[0..31]

Pin number

BRW

CONNECT

  

Connection

   

Disconnected

1

Disconnect

   

Connected

0

Connect

 

PSEL.TXD

Address offset: 0x50C

Pin select for TXD signal

Bit number313029282726252423222120191817161514131211109876543210
IdB                          AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IdRWFieldValue IdValueDescription
ARW

PIN

 

[0..31]

Pin number

BRW

CONNECT

  

Connection

   

Disconnected

1

Disconnect

   

Connected

0

Connect

 

PSEL.CTS

Address offset: 0x510

Pin select for CTS signal

Bit number313029282726252423222120191817161514131211109876543210
IdB                          AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IdRWFieldValue IdValueDescription
ARW

PIN

 

[0..31]

Pin number

BRW

CONNECT

  

Connection

   

Disconnected

1

Disconnect

   

Connected

0

Connect

 

PSEL.RXD

Address offset: 0x514

Pin select for RXD signal

Bit number313029282726252423222120191817161514131211109876543210
IdB                          AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IdRWFieldValue IdValueDescription
ARW

PIN

 

[0..31]

Pin number

BRW

CONNECT

  

Connection

   

Disconnected

1

Disconnect

   

Connected

0

Connect

 

BAUDRATE

Address offset: 0x524

Baud rate. Accuracy depends on the HFCLK source selected.

Bit number313029282726252423222120191817161514131211109876543210
IdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0400000000000100000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

BAUDRATE

  

Baud rate

   

Baud1200

0x0004F000

1200 baud (actual rate: 1205)

   

Baud2400

0x0009D000

2400 baud (actual rate: 2396)

   

Baud4800

0x0013B000

4800 baud (actual rate: 4808)

   

Baud9600

0x00275000

9600 baud (actual rate: 9598)

   

Baud14400

0x003AF000

14400 baud (actual rate: 14401)

   

Baud19200

0x004EA000

19200 baud (actual rate: 19208)

   

Baud28800

0x0075C000

28800 baud (actual rate: 28777)

   

Baud38400

0x009D0000

38400 baud (actual rate: 38369)

   

Baud57600

0x00EB0000

57600 baud (actual rate: 57554)

   

Baud76800

0x013A9000

76800 baud (actual rate: 76923)

   

Baud115200

0x01D60000

115200 baud (actual rate: 115108)

   

Baud230400

0x03B00000

230400 baud (actual rate: 231884)

   

Baud250000

0x04000000

250000 baud

   

Baud460800

0x07400000

460800 baud (actual rate: 457143)

   

Baud921600

0x0F000000

921600 baud (actual rate: 941176)

   

Baud1M

0x10000000

1Mega baud

 

RXD.PTR

Address offset: 0x534

Data pointer

Bit number313029282726252423222120191817161514131211109876543210
IdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

PTR

  

Data pointer

 

RXD.MAXCNT

Address offset: 0x538

Maximum number of bytes in receive buffer

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

MAXCNT

  

Maximum number of bytes in receive buffer

 

RXD.AMOUNT

Address offset: 0x53C

Number of bytes transferred in the last transaction

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
AR

AMOUNT

  

Number of bytes transferred in the last transaction

 

TXD.PTR

Address offset: 0x544

Data pointer

Bit number313029282726252423222120191817161514131211109876543210
IdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

PTR

  

Data pointer

 

TXD.MAXCNT

Address offset: 0x548

Maximum number of bytes in transmit buffer

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

MAXCNT

  

Maximum number of bytes in transmit buffer

 

TXD.AMOUNT

Address offset: 0x54C

Number of bytes transferred in the last transaction

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
AR

AMOUNT

  

Number of bytes transferred in the last transaction

 

CONFIG

Address offset: 0x56C

Configuration of parity and hardware flow control

Bit number313029282726252423222120191817161514131211109876543210
Id                            BBBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARW

HWFC

  

Hardware flow control

   

Disabled

0

Disabled

   

Enabled

1

Enabled

BRW

PARITY

  

Parity

   

Excluded

0x0

Exclude parity bit

   

Included

0x7

Include parity bit

 

Electrical specification

UARTE electrical specification

SymbolDescriptionMin.Typ.Max.Units
fUARTE

Baud rate for UARTE1.

1000kbps
IUARTE1M

Run current at max baud rate.

55µA
IUARTE115k

Run current at 115200 bps.

55µA
IUARTE1k2

Run current at 1200 bps.

55µA
IUARTE,IDLE

Idle current for UARTE (STARTed, no XXX activity)

1µA
tUARTE,CTSH

CTS high time

1µs
tUARTE,START,LP

Time from STARTRX/STARTTX task to transmission started, low power mode

tUARTE,START,CL + tSTART_HFINTµs
tUARTE,START,CL

Time from STARTRX/STARTTX task to transmission started, constant latency mode

1µs
1 Higher baud rates may require GPIOs to be set as High Drive, see GPIO chapter for more details.