Registers

nRF5340 Product Specification

Instances

Instance Domain Base address TrustZone Split access Description
Map Att DMA

UARTE0 : S
UARTE0 : NS

APPLICATION

0x50008000
0x40008000

US S SA No

Universal asynchronous receiver/transmitter with EasyDMA 0

UARTE1 : S
UARTE1 : NS

APPLICATION

0x50009000
0x40009000

US S SA No

Universal asynchronous receiver/transmitter with EasyDMA 1

UARTE2 : S
UARTE2 : NS

APPLICATION

0x5000B000
0x4000B000

US S SA No

Universal asynchronous receiver/transmitter with EasyDMA 2

UARTE3 : S
UARTE3 : NS

APPLICATION

0x5000C000
0x4000C000

US S SA No

Universal asynchronous receiver/transmitter with EasyDMA 3

UARTE0 NETWORK 0x41013000 HF NS NA No

Universal asynchronous receiver/transmitter

Register overview

Register Offset TZ Description
TASKS_STARTRX 0x000

Start UART receiver

TASKS_STOPRX 0x004

Stop UART receiver

TASKS_STARTTX 0x008

Start UART transmitter

TASKS_STOPTX 0x00C

Stop UART transmitter

TASKS_FLUSHRX 0x02C

Flush RX FIFO into RX buffer

SUBSCRIBE_STARTRX 0x080

Subscribe configuration for task STARTRX

SUBSCRIBE_STOPRX 0x084

Subscribe configuration for task STOPRX

SUBSCRIBE_STARTTX 0x088

Subscribe configuration for task STARTTX

SUBSCRIBE_STOPTX 0x08C

Subscribe configuration for task STOPTX

SUBSCRIBE_FLUSHRX 0x0AC

Subscribe configuration for task FLUSHRX

EVENTS_CTS 0x100

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

EVENTS_NCTS 0x104

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

EVENTS_RXDRDY 0x108

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

EVENTS_ENDRX 0x110

Receive buffer is filled up

EVENTS_TXDRDY 0x11C

Data sent from TXD

EVENTS_ENDTX 0x120

Last TX byte transmitted

EVENTS_ERROR 0x124

Error detected

EVENTS_RXTO 0x144

Receiver timeout

EVENTS_RXSTARTED 0x14C

UART receiver has started

EVENTS_TXSTARTED 0x150

UART transmitter has started

EVENTS_TXSTOPPED 0x158

Transmitter stopped

PUBLISH_CTS 0x180

Publish configuration for event CTS

PUBLISH_NCTS 0x184

Publish configuration for event NCTS

PUBLISH_RXDRDY 0x188

Publish configuration for event RXDRDY

PUBLISH_ENDRX 0x190

Publish configuration for event ENDRX

PUBLISH_TXDRDY 0x19C

Publish configuration for event TXDRDY

PUBLISH_ENDTX 0x1A0

Publish configuration for event ENDTX

PUBLISH_ERROR 0x1A4

Publish configuration for event ERROR

PUBLISH_RXTO 0x1C4

Publish configuration for event RXTO

PUBLISH_RXSTARTED 0x1CC

Publish configuration for event RXSTARTED

PUBLISH_TXSTARTED 0x1D0

Publish configuration for event TXSTARTED

PUBLISH_TXSTOPPED 0x1D8

Publish configuration for event TXSTOPPED

SHORTS 0x200

Shortcuts between local events and tasks

INTEN 0x300

Enable or disable interrupt

INTENSET 0x304

Enable interrupt

INTENCLR 0x308

Disable interrupt

ERRORSRC 0x480

Error source

ENABLE 0x500

Enable UART

PSEL.RTS 0x508

Pin select for RTS signal

PSEL.TXD 0x50C

Pin select for TXD signal

PSEL.CTS 0x510

Pin select for CTS signal

PSEL.RXD 0x514

Pin select for RXD signal

BAUDRATE 0x524

Baud rate. Accuracy depends on the HFCLK source selected.

RXD.PTR 0x534

Data pointer

RXD.MAXCNT 0x538

Maximum number of bytes in receive buffer

RXD.AMOUNT 0x53C

Number of bytes transferred in the last transaction

TXD.PTR 0x544

Data pointer

TXD.MAXCNT 0x548

Maximum number of bytes in transmit buffer

TXD.AMOUNT 0x54C

Number of bytes transferred in the last transaction

CONFIG 0x56C

Configuration of parity and hardware flow control