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
  • Optional even parity bit checking and generation
  • EasyDMA
  • Up to 1 Mbps baudrate
  • Return to IDLE between transactions supported (when using HW flow control)
  • One or two stop bit
  • Least significant bit (LSB) first
Figure 1. UARTE configuration
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.

Note: External crystal oscillator must be enabled to obtain sufficient clock accuracy for stable communication. See CLOCK — Clock control for more information.

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 through the HWFC field in the CONFIG register, a transmission will be automatically suspended when CTS is deactivated and resumed when CTS is activated again, as illustrated in UARTE transmission. A byte that is in transmission when CTS is deactivated will be fully transmitted before the transmission is suspended.

Figure 2. UARTE transmission
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 UARTE reception.

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
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 UARTE reception with forced stop via STOPRX. 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
UARTE reception with forced stop via STOPRX

If HW flow control is enabled through the HWFC field in the CONFIG register, 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 and stop bit configuration

Automatic even parity generation for both transmission and reception can be configured using the register CONFIG. See the register description for details.

The amount of stop bits can also be configured through the register CONFIG.

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 GPIO configuration before enabling peripheral.

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
0x40002000UARTEUARTE0Universal asynchronous receiver/transmitter with EasyDMA  
Table 3. Register overview
RegisterOffsetDescription
TASKS_STARTRX0x000Start UART receiver 
TASKS_STOPRX0x004Stop UART receiver 
TASKS_STARTTX0x008Start UART transmitter 
TASKS_STOPTX0x00CStop UART transmitter 
TASKS_FLUSHRX0x02CFlush RX FIFO into RX buffer 
EVENTS_CTS0x100CTS is activated (set low). Clear To Send. 
EVENTS_NCTS0x104CTS is deactivated (set high). Not Clear To Send. 
EVENTS_RXDRDY0x108Data received in RXD (but potentially not yet transferred to Data RAM) 
EVENTS_ENDRX0x110Receive buffer is filled up 
EVENTS_TXDRDY0x11CData sent from TXD 
EVENTS_ENDTX0x120Last TX byte transmitted 
EVENTS_ERROR0x124Error detected 
EVENTS_RXTO0x144Receiver timeout 
EVENTS_RXSTARTED0x14CUART receiver has started 
EVENTS_TXSTARTED0x150UART transmitter has started 
EVENTS_TXSTOPPED0x158Transmitter stopped 
SHORTS0x200Shortcuts between local events and tasks 
INTEN0x300Enable or disable interrupt 
INTENSET0x304Enable interrupt 
INTENCLR0x308Disable interrupt 
ERRORSRC0x480

Error source

Note : this register is read / write one to clear.

 
ENABLE0x500Enable UART 
PSEL.RTS0x508Pin select for RTS signal 
PSEL.TXD0x50CPin select for TXD signal 
PSEL.CTS0x510Pin select for CTS signal 
PSEL.RXD0x514Pin select for RXD signal 
BAUDRATE0x524Baud rate. Accuracy depends on the HFCLK source selected. 
RXD.PTR0x534Data pointer 
RXD.MAXCNT0x538Maximum number of bytes in receive buffer 
RXD.AMOUNT0x53CNumber of bytes transferred in the last transaction 
TXD.PTR0x544Data pointer 
TXD.MAXCNT0x548Maximum number of bytes in transmit buffer 
TXD.AMOUNT0x54CNumber of bytes transferred in the last transaction 
CONFIG0x56CConfiguration of parity and hardware flow control 

TASKS_STARTRX

Address offset: 0x000

Start UART receiver

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
AWTASKS_STARTRX  Start UART receiver
   Trigger1Trigger task

TASKS_STOPRX

Address offset: 0x004

Stop UART receiver

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
AWTASKS_STOPRX  Stop UART receiver
   Trigger1Trigger task

TASKS_STARTTX

Address offset: 0x008

Start UART transmitter

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
AWTASKS_STARTTX  Start UART transmitter
   Trigger1Trigger task

TASKS_STOPTX

Address offset: 0x00C

Stop UART transmitter

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
AWTASKS_STOPTX  Stop UART transmitter
   Trigger1Trigger task

TASKS_FLUSHRX

Address offset: 0x02C

Flush RX FIFO into RX buffer

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
AWTASKS_FLUSHRX  Flush RX FIFO into RX buffer
   Trigger1Trigger task

EVENTS_CTS

Address offset: 0x100

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

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_CTS  CTS is activated (set low). Clear To Send.
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_NCTS

Address offset: 0x104

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

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_NCTS  CTS is deactivated (set high). Not Clear To Send.
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_RXDRDY

Address offset: 0x108

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

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_RXDRDY  Data received in RXD (but potentially not yet transferred to Data RAM)
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_ENDRX

Address offset: 0x110

Receive buffer is filled up

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_ENDRX  Receive buffer is filled up
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_TXDRDY

Address offset: 0x11C

Data sent from TXD

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_TXDRDY  Data sent from TXD
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_ENDTX

Address offset: 0x120

Last TX byte transmitted

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_ENDTX  Last TX byte transmitted
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_ERROR

Address offset: 0x124

Error detected

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_ERROR  Error detected
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_RXTO

Address offset: 0x144

Receiver timeout

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_RXTO  Receiver timeout
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_RXSTARTED

Address offset: 0x14C

UART receiver has started

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_RXSTARTED  UART receiver has started
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_TXSTARTED

Address offset: 0x150

UART transmitter has started

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_TXSTARTED  UART transmitter has started
   NotGenerated0Event not generated
   Generated1Event generated

EVENTS_TXSTOPPED

Address offset: 0x158

Transmitter stopped

Bit number313029282726252423222120191817161514131211109876543210
ID                               A
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWEVENTS_TXSTOPPED  Transmitter stopped
   NotGenerated0Event not generated
   Generated1Event generated

SHORTS

Address offset: 0x200

Shortcuts between local events and tasks

Bit number313029282726252423222120191817161514131211109876543210
ID                         DC   
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
CRWENDRX_STARTRX  Shortcut between event ENDRX and task STARTRX
   Disabled0Disable shortcut
   Enabled1Enable shortcut
DRWENDRX_STOPRX  Shortcut between event ENDRX and task STOPRX
   Disabled0Disable shortcut
   Enabled1Enable shortcut

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
ID         LJI H       GFE  D CBA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWCTS  Enable or disable interrupt for event CTS
   Disabled0Disable
   Enabled1Enable
BRWNCTS  Enable or disable interrupt for event NCTS
   Disabled0Disable
   Enabled1Enable
CRWRXDRDY  Enable or disable interrupt for event RXDRDY
   Disabled0Disable
   Enabled1Enable
DRWENDRX  Enable or disable interrupt for event ENDRX
   Disabled0Disable
   Enabled1Enable
ERWTXDRDY  Enable or disable interrupt for event TXDRDY
   Disabled0Disable
   Enabled1Enable
FRWENDTX  Enable or disable interrupt for event ENDTX
   Disabled0Disable
   Enabled1Enable
GRWERROR  Enable or disable interrupt for event ERROR
   Disabled0Disable
   Enabled1Enable
HRWRXTO  Enable or disable interrupt for event RXTO
   Disabled0Disable
   Enabled1Enable
IRWRXSTARTED  Enable or disable interrupt for event RXSTARTED
   Disabled0Disable
   Enabled1Enable
JRWTXSTARTED  Enable or disable interrupt for event TXSTARTED
   Disabled0Disable
   Enabled1Enable
LRWTXSTOPPED  Enable or disable interrupt for event TXSTOPPED
   Disabled0Disable
   Enabled1Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
ID         LJI H       GFE  D CBA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWCTS  Write '1' to enable interrupt for event CTS
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
BRWNCTS  Write '1' to enable interrupt for event NCTS
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
CRWRXDRDY  Write '1' to enable interrupt for event RXDRDY
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
DRWENDRX  Write '1' to enable interrupt for event ENDRX
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ERWTXDRDY  Write '1' to enable interrupt for event TXDRDY
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
FRWENDTX  Write '1' to enable interrupt for event ENDTX
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
GRWERROR  Write '1' to enable interrupt for event ERROR
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
HRWRXTO  Write '1' to enable interrupt for event RXTO
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
IRWRXSTARTED  Write '1' to enable interrupt for event RXSTARTED
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
JRWTXSTARTED  Write '1' to enable interrupt for event TXSTARTED
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
LRWTXSTOPPED  Write '1' to enable interrupt for event TXSTOPPED
   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
ID         LJI H       GFE  D CBA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWCTS  Write '1' to disable interrupt for event CTS
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
BRWNCTS  Write '1' to disable interrupt for event NCTS
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
CRWRXDRDY  Write '1' to disable interrupt for event RXDRDY
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
DRWENDRX  Write '1' to disable interrupt for event ENDRX
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ERWTXDRDY  Write '1' to disable interrupt for event TXDRDY
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
FRWENDTX  Write '1' to disable interrupt for event ENDTX
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
GRWERROR  Write '1' to disable interrupt for event ERROR
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
HRWRXTO  Write '1' to disable interrupt for event RXTO
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
IRWRXSTARTED  Write '1' to disable interrupt for event RXSTARTED
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
JRWTXSTARTED  Write '1' to disable interrupt for event TXSTARTED
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
LRWTXSTOPPED  Write '1' to disable interrupt for event TXSTOPPED
   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled

ERRORSRC

Address offset: 0x480

Error source

Note : this register is read / write one to clear.

Bit number313029282726252423222120191817161514131211109876543210
ID                            DCBA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWOVERRUN  

Overrun error

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

   NotPresent0Read: error not present
   Present1Read: error present
BRWPARITY  

Parity error

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

   NotPresent0Read: error not present
   Present1Read: error present
CRWFRAMING  

Framing error occurred

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

   NotPresent0Read: error not present
   Present1Read: error present
DRWBREAK  

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.).

   NotPresent0Read: error not present
   Present1Read: error present

ENABLE

Address offset: 0x500

Enable UART

Bit number313029282726252423222120191817161514131211109876543210
ID                            AAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWENABLE  Enable or disable UARTE
   Disabled0Disable UARTE
   Enabled8Enable UARTE

PSEL.RTS

Address offset: 0x508

Pin select for RTS signal

Bit number313029282726252423222120191817161514131211109876543210
IDC                         AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDAccessFieldValue IDValueDescription
ARWPIN [0..31]Pin number
CRWCONNECT  Connection
   Disconnected1Disconnect
   Connected0Connect

PSEL.TXD

Address offset: 0x50C

Pin select for TXD signal

Bit number313029282726252423222120191817161514131211109876543210
IDC                         AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDAccessFieldValue IDValueDescription
ARWPIN [0..31]Pin number
CRWCONNECT  Connection
   Disconnected1Disconnect
   Connected0Connect

PSEL.CTS

Address offset: 0x510

Pin select for CTS signal

Bit number313029282726252423222120191817161514131211109876543210
IDC                         AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDAccessFieldValue IDValueDescription
ARWPIN [0..31]Pin number
CRWCONNECT  Connection
   Disconnected1Disconnect
   Connected0Connect

PSEL.RXD

Address offset: 0x514

Pin select for RXD signal

Bit number313029282726252423222120191817161514131211109876543210
IDC                         AAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDAccessFieldValue IDValueDescription
ARWPIN [0..31]Pin number
CRWCONNECT  Connection
   Disconnected1Disconnect
   Connected0Connect

BAUDRATE

Address offset: 0x524

Baud rate. Accuracy depends on the HFCLK source selected.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0400000000000100000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWBAUDRATE  Baud rate
   Baud12000x0004F0001200 baud (actual rate: 1205)
   Baud24000x0009D0002400 baud (actual rate: 2396)
   Baud48000x0013B0004800 baud (actual rate: 4808)
   Baud96000x002750009600 baud (actual rate: 9598)
   Baud144000x003AF00014400 baud (actual rate: 14401)
   Baud192000x004EA00019200 baud (actual rate: 19208)
   Baud288000x0075C00028800 baud (actual rate: 28777)
   Baud312500x0080000031250 baud
   Baud384000x009D000038400 baud (actual rate: 38369)
   Baud560000x00E5000056000 baud (actual rate: 55944)
   Baud576000x00EB000057600 baud (actual rate: 57554)
   Baud768000x013A900076800 baud (actual rate: 76923)
   Baud1152000x01D60000115200 baud (actual rate: 115108)
   Baud2304000x03B00000230400 baud (actual rate: 231884)
   Baud2500000x04000000250000 baud
   Baud4608000x07400000460800 baud (actual rate: 457143)
   Baud9216000x0F000000921600 baud (actual rate: 941176)
   Baud1M0x100000001Mega baud

RXD.PTR

Address offset: 0x534

Data pointer

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWPTR  

Data pointer

Note: See the memory chapter for details about which memories are available for EasyDMA.

RXD.MAXCNT

Address offset: 0x538

Maximum number of bytes in receive buffer

Bit number313029282726252423222120191817161514131211109876543210
ID                      AAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWMAXCNT [0..0x3FF]Maximum number of bytes in receive buffer

RXD.AMOUNT

Address offset: 0x53C

Number of bytes transferred in the last transaction

Bit number313029282726252423222120191817161514131211109876543210
ID                      AAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARAMOUNT [0..0x3FF]Number of bytes transferred in the last transaction

TXD.PTR

Address offset: 0x544

Data pointer

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWPTR  

Data pointer

Note: See the memory chapter for details about which memories are available for EasyDMA.

TXD.MAXCNT

Address offset: 0x548

Maximum number of bytes in transmit buffer

Bit number313029282726252423222120191817161514131211109876543210
ID                      AAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWMAXCNT [0..0x3FF]Maximum number of bytes in transmit buffer

TXD.AMOUNT

Address offset: 0x54C

Number of bytes transferred in the last transaction

Bit number313029282726252423222120191817161514131211109876543210
ID                      AAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARAMOUNT [0..0x3FF]Number of bytes transferred in the last transaction

CONFIG

Address offset: 0x56C

Configuration of parity and hardware flow control

Bit number313029282726252423222120191817161514131211109876543210
ID                          CBBBA
Reset 0x0000000000000000000000000000000000000000
IDAccessFieldValue IDValueDescription
ARWHWFC  Hardware flow control
   Disabled0Disabled
   Enabled1Enabled
BRWPARITY  Parity
   Excluded0x0Exclude parity bit
   Included0x7Include even parity bit
CRWSTOP  Stop bits
   One0One stop bit
   Two1Two stop bits

Electrical specification

UARTE electrical specification

SymbolDescriptionMin.Typ.Max.Units
fUARTEBaud rate for UARTE1.1000kbps
tUARTE,CTSHCTS high time1µs
tUARTE,STARTTime from STARTRX/STARTTX task to transmission started......µs
1 High baud rates may require GPIOs to be set as High Drive, see GPIO chapter for more details.