UARTE — Universal asynchronous receiver/transmitter with EasyDMA

The Universal asynchronous receiver/transmitter with EasyDMA peripheral (UARTE) provides a full-duplex, asynchronous serial communication interface with hardware flow control.

The main features of UARTE are the following:

Figure 1. UARTE configuration
UARTE configuration
Note: The external crystal oscillator must be enabled to obtain sufficient clock accuracy for stable communication. See CLOCK — Clock control for more information.

Baudrate

The UART baudrate defines the speed at which data is transmitted over the UART interface, measured in bits per second (bps).

The BAUDRATE register lists a set of precalculated values for the most common baudrates and 16 MHz PCLK. For the high speed instances (PCLK > 16 MHz), the baudrate is calculated as follows:

Figure 2. UARTE baudrate
UARTE baudrate calculation equation

EasyDMA

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

If the DMA.TX.PTR and the DMA.RX.PTR are not pointing to the RAM region, an EasyDMA transfer may result in a HardFault or RAM corruption. See Memory for more information about each memory region.

The DMA.RX.PTR, DMA.TX.PTR, DMA.RX.MAXCNT, and DMA.TX.MAXCNT registers are double-buffered. They can be updated and prepared for the next reception or transmission immediately after having received the DMA.RX.READY or DMA.TX.READY events.

The DMA.RX.END and DMA.TX.END events indicate that the EasyDMA is finished accessing the RX or TX buffer in RAM.

For detailed information regarding the use of EasyDMA, see EasyDMA.

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 DMA.TX.PTR, and the number of bytes to transmit from the RAM buffer to DMA.TX.MAXCNT. The UARTE transmission is started by triggering the DMA.TX.START task.

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

When then bytes have been transmitted, the DMA.TX.END event is generated.

A UARTE transmission sequence is stopped by triggering the DMA.TX.STOP task. A TXSTOPPED event will be generated when the UARTE transmitter has stopped.

If the DMA.TX.END event has not been generated when the UARTE transmitter stops, UARTE will generate the DMA.TX.END event explicitly even though all bytes specified in the DMA.TX.MAXCNT register have not been transmitted.

If flow control is enabled in 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 shown in the following figure. A byte that is in transmission when CTS is deactivated will finish transmitting before the transmission is suspended.

Figure 3. UARTE transmission
UARTE transmission

The UARTE transmitter is least active when it is stopped, consuming the least amount of energy. This is before it is started via DMA.TX.START, or after it has been stopped via DMA.TX.STOP and the TXSTOPPED event has been generated. See POWER — Power control for more information about power modes.

Reception

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

The RX buffer is located at the address specified in the DMA.RX.PTR register. The DMA.RX.PTR register is double-buffered and can be updated and prepared for the next DMA.RX.START task immediately after the EVENTS_DMA.RX.READY event is generated. The size of the RX buffer is specified in the DMA.RX.MAXCNT register. UARTE generates an DMA.RX.END event when it has filled up the RX buffer, as seen in the following figure.

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

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

Figure 4. UARTE reception
UARTE reception

The UARTE receiver is stopped by triggering the DMA.RX.STOP task. The RXTO and DMA.RX.END events are generated when UARTE has stopped.

Stopping the UARTE with a RX buffer that is empty or not completely filled up will also cause the DMA.RX.END event to be generated.

The number of bytes stored in the RX buffer can be found by reading the DMA.RX.AMOUNT register following the DMA.RX.END event.

To stop UARTE, trigger the DMA.RX.STOP task. After the STOP task is triggered, UARTE can receive up to four bytes during the timeout period. The data received during the timeout period will be written to DMA.RX.PTR, and limited by DMA.RX.MAXCNT registers. MAXCNT should be set to at least four bytes to allow for this, while following the DMA.RX.END event, the DMA.RX.AMOUNT register will indicate the actual number of bytes received.

Figure 5. UARTE reception with forced stop through DMA.RX.STOP
UARTE reception with forced stop through DMA.RX.STOP

If hardware flow control is enabled in the HWFC field in the CONFIG register, the RTS signal will be deactivated when the receiver is stopped via the DMA.RX.STOP task, or when UARTE can only receive three 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 UARTE is only able to receive three additional bytes in its internal RX FIFO. Data received when the internal RX FIFO is full, will be lost.

The UARTE receiver is least active when it is stopped, consuming the least amount of energy. This is before it is started via DMA.RX.START, or after it has been stopped via DMA.RX.STOP and the RXTO event has been generated. See POWER — Power control for more information about power modes.

Data frame size

UARTE implements a configurable data frame size of 4 bits to 9 bits and is set in the register CONFIG. If a value greater than 9 or less than 4 is written to this register, the frame size will be set to 8 bits and the register will read back a value of 8.

When UARTE is used with the 9 bit frame size, a 9th bit is added after the MSB of the 8 bit data frame, and before the parity and stop bits, as shown in the following figure. This bit indicates if the 8 bit data is an address or data. If the 9th bit is 1, the 8 bit data is interpreted as an address. If the 9th bit is 0, the 8 bit data is interpreted as data.

Figure 6. UARTE frame
UARTE frame

When UART is in RX configured with a 9 bit frame size, all frames are ignored until a frame with the address bit set is received, and the 8 remaining bits of the data frame matches the address set in the register ADDRESS. The frames following the matching address are received as an 8 bit data frame until the next frame where the address bit set is received, the address bit is not stored. If the address does not match ADDRESS, the following frames are ignored.

If the parity bit is enabled, the address bit is not included in the parity calculation.

When UART TX is started, the first byte in the buffer read by EasyDMA is treated as an address, and transmitted with the address bit set to 1. The next bits in the buffer are treated as data and transmitted with the address bit set to 0.

When UARTE uses a data frame size less than an 8 bits, the data is trimmed from an 8 bit frame size in the RAM buffer for TX, and padded before being stored in the RAM buffer for RX. The ENDIAN field in the register CONFIG defines if the data is trimmed from MSB or LSB of the 8 bit buffer frame.

Frame timeout interrupt

UARTE can generate an event after a programmable timeout.

If enabled with the FRAMETIMEOUT field in register CONFIG, a counter starts at the start flag, and counts the number of bit periods given in register FRAMETIMEOUT. The period time of the counter is equal to the period of one bit on the UART TX line given by the BAUDRATE register. When the timeout expires, the event EVENTS_FRAMETIMEOUT is generated. The STOP task also stops the timeout counter. UARTE reception can be stopped on timeout by setting the short from the FRAMETIMEOUT event to the DMA.RX.STOP task in register SHORTS.

This feature can be used to support variable length UART transmission with no end of transmission tag. After the last UART frames are received within the configured timeout, an interrupt is generated and the data can be processed.

The following figure shows an example where the UART receives a transmission that times out after byte 12.

Figure 7. UARTE reception frame timeout
UARTE reception frame timeout

The minimum value of the FRAMETIMEOUT register must be set to a value larger than the configured UART frame length.

Note: Frames received after the RXTO event are discarded and not stored in memory. Reception will commence when DMA.RX.START is triggered.

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. 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 is still transferred into RAM along with any following bytes. If a framing error occurs (wrong stop bit), that byte will not be stored in RAM but the next 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 held active.

Parity and stop bit configuration

Automatic even parity generation for both transmission and reception can be configured using the register CONFIG. If odd parity is required, it can be configured using the register CONFIG. See the register description for details.

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

Compare match filter

UARTE has a compare match filter that can watch for a specific sequence of data. This feature is implemented in EasyDMA on the RX channel.

UARTE can generate events or interrupts when the specific data sequence is received. The event EVENTS_DMA.RX.MATCH[n] (n=0..3) is generated when there is a match in the data stream being received. The number of MATCH can be different for each instance. See Registers for how many MATCH events are implemented per instance.

Register DMA.RX.MATCH.CANDIDATE[n] (n=0..3) configures the pattern for comparison. The filter is enabled with the corresponding ENABLE bit in register DMA.RX.MATCH.CONFIG. The DMA.RX.ENABLEMATCH task can be used to set that bit, and the DMA.RX.DISABLEMATCH task will clear that bit. If the ONESHOT[i] field in the CONFIG register is set, the corresponding ENABLE[i] bit will be cleared on a successful match.

For detailed information regarding the use of pattern matching in the EasyDMA engine, see EasyDMA.

Low power

To ensure lowest possible power consumption when the peripheral is not needed, stop and disable UARTE.

The DMA.TX.STOP and DMA.RX.STOP tasks are not always needed (the peripheral might already be stopped). If DMA.TX.STOP or DMA.RX.STOP is sent, software waits until the TXSTOPPED or RXTO event is received before disabling the peripheral through the ENABLE register.

Pin configuration

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

These registers and their configurations are only used when UARTE is enabled, and retained while the device is in System ON mode. The PSEL.n registers can be configured only when UARTE is disabled.

To ensure correct behavior when in System OFF mode, the pins must be configured in the GPIO peripheral as described in the following table.

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

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
UARTE20 : S
UARTE20 : NS
GLOBAL0x500C6000
0x400C6000
USSSANoUniversal asynchronous receiver/transmitter UARTE20
UARTE21 : S
UARTE21 : NS
GLOBAL0x500C7000
0x400C7000
USSSANoUniversal asynchronous receiver/transmitter UARTE21
UARTE30 : S
UARTE30 : NS
GLOBAL0x50104000
0x40104000
USSSANoUniversal asynchronous receiver/transmitter UARTE30

Configuration

InstanceDomainConfiguration
UARTE20 : S
UARTE20 : NS
GLOBAL

Use GPIO port P1

Supports up to 1 Mbps

Timeout interrupt is included.

Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.

Peripheral clock frequency is 16 MHz.

UARTE21 : S
UARTE21 : NS
GLOBAL

Use GPIO port P1

Supports up to 1 Mbps

Timeout interrupt is included.

Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.

Peripheral clock frequency is 16 MHz.

UARTE30 : S
UARTE30 : NS
GLOBAL

Use GPIO port P0

Supports up to 1 Mbps

Timeout interrupt is included.

Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.

Peripheral clock frequency is 16 MHz.

Register overview

RegisterOffsetTZDescription
TASKS_FLUSHRX0x01CFlush RX FIFO into RX buffer
TASKS_DMA.RX.START0x028Starts operation using easyDMA to load the values. See peripheral description for operation using easyDMA.
TASKS_DMA.RX.STOP0x02CStops operation using easyDMA. This does not trigger an END event.
TASKS_DMA.RX.ENABLEMATCH[n]0x030Enables the MATCH[n] event by setting the ENABLE[n] bit in the CONFIG register.
TASKS_DMA.RX.DISABLEMATCH[n]0x040Disables the MATCH[n] event by clearing the ENABLE[n] bit in the CONFIG register.
TASKS_DMA.TX.START0x050Starts operation using easyDMA to load the values. See peripheral description for operation using easyDMA.
TASKS_DMA.TX.STOP0x054Stops operation using easyDMA. This does not trigger an END event.
SUBSCRIBE_FLUSHRX0x09CSubscribe configuration for task FLUSHRX
SUBSCRIBE_DMA.RX.START0x0A8Subscribe configuration for task START
SUBSCRIBE_DMA.RX.STOP0x0ACSubscribe configuration for task STOP
SUBSCRIBE_DMA.RX.ENABLEMATCH[n]0x0B0Subscribe configuration for task ENABLEMATCH[n]
SUBSCRIBE_DMA.RX.DISABLEMATCH[n]0x0C0Subscribe configuration for task DISABLEMATCH[n]
SUBSCRIBE_DMA.TX.START0x0D0Subscribe configuration for task START
SUBSCRIBE_DMA.TX.STOP0x0D4Subscribe configuration for task STOP
EVENTS_CTS0x100CTS is activated (set low). Clear To Send.
EVENTS_NCTS0x104CTS is deactivated (set high). Not Clear To Send.
EVENTS_TXDRDY0x10CData sent from TXD
EVENTS_RXDRDY0x110Data received in RXD (but potentially not yet transferred to Data RAM)
EVENTS_ERROR0x114Error detected
EVENTS_RXTO0x124Receiver timeout
EVENTS_TXSTOPPED0x130Transmitter stopped
EVENTS_DMA.RX.END0x14CGenerated after EasyDMA has completed its operation.
EVENTS_DMA.RX.READY0x150Generated when EasyDMA has buffered the .PTR and .MAXCNT registers for the channel, allowing them to be written to prepare for the next sequence.
EVENTS_DMA.RX.BUSERROR0x154An error occured during the bus transfer.
EVENTS_DMA.RX.MATCH[n]0x158Pattern match is detected on the DMA data bus.
EVENTS_DMA.TX.END0x168Generated after EasyDMA has completed its operation.
EVENTS_DMA.TX.READY0x16CGenerated when EasyDMA has buffered the .PTR and .MAXCNT registers for the channel, allowing them to be written to prepare for the next sequence.
EVENTS_DMA.TX.BUSERROR0x170An error occured during the bus transfer.
EVENTS_FRAMETIMEOUT0x174Timed out due to bus being idle while receiving data.
PUBLISH_CTS0x180Publish configuration for event CTS
PUBLISH_NCTS0x184Publish configuration for event NCTS
PUBLISH_TXDRDY0x18CPublish configuration for event TXDRDY
PUBLISH_RXDRDY0x190Publish configuration for event RXDRDY
PUBLISH_ERROR0x194Publish configuration for event ERROR
PUBLISH_RXTO0x1A4Publish configuration for event RXTO
PUBLISH_TXSTOPPED0x1B0Publish configuration for event TXSTOPPED
PUBLISH_DMA.RX.END0x1CCPublish configuration for event END
PUBLISH_DMA.RX.READY0x1D0Publish configuration for event READY
PUBLISH_DMA.RX.BUSERROR0x1D4Publish configuration for event BUSERROR
PUBLISH_DMA.RX.MATCH[n]0x1D8Publish configuration for event MATCH[n]
PUBLISH_DMA.TX.END0x1E8Publish configuration for event END
PUBLISH_DMA.TX.READY0x1ECPublish configuration for event READY
PUBLISH_DMA.TX.BUSERROR0x1F0Publish configuration for event BUSERROR
PUBLISH_FRAMETIMEOUT0x1F4Publish configuration for event FRAMETIMEOUT
SHORTS0x200Shortcuts between local events and tasks
INTEN0x300Enable or disable interrupt
INTENSET0x304Enable interrupt
INTENCLR0x308Disable interrupt
ERRORSRC0x480Error source
ENABLE0x500Enable UART
BAUDRATE0x524Baud rate. Accuracy depends on the HFCLK source selected.
CONFIG0x56CConfiguration of parity, hardware flow control, framesize, and packet timeout.
ADDRESS0x574Set the address of the UARTE for RX when used in 9 bit data frame mode.
FRAMETIMEOUT0x578Set the number of UARTE bits to count before triggering packet timeout.
PSEL.TXD0x604Pin select for TXD signal
PSEL.CTS0x608Pin select for CTS signal
PSEL.RXD0x60CPin select for RXD signal
PSEL.RTS0x610Pin select for RTS signal
DMA.RX.PTR0x704RAM buffer start address
DMA.RX.MAXCNT0x708Maximum number of bytes in channel buffer
DMA.RX.AMOUNT0x70C

Number of bytes transferred in the last transaction, updated after the END event.

For channels that supports the compare match filter, this register is also updated after each MATCH event.

DMA.RX.LIST0x714EasyDMA list type
DMA.RX.TERMINATEONBUSERROR0x71CTerminate the transaction if a BUSERROR event is detected.
DMA.RX.BUSERRORADDRESS0x720Address of transaction that generated the last BUSERROR event.
DMA.RX.MATCH.CONFIG0x724Configure individual match events
DMA.RX.MATCH.CANDIDATE[n]0x728The data to look for - any match will trigger the MATCH[n] event, if enabled.
DMA.TX.PTR0x73CRAM buffer start address
DMA.TX.MAXCNT0x740Maximum number of bytes in channel buffer
DMA.TX.AMOUNT0x744

Number of bytes transferred in the last transaction, updated after the END event.

For channels that supports the compare match filter, this register is also updated after each MATCH event.

DMA.TX.LIST0x74CEasyDMA list type
DMA.TX.TERMINATEONBUSERROR0x754Terminate the transaction if a BUSERROR event is detected.
DMA.TX.BUSERRORADDRESS0x758Address of transaction that generated the last BUSERROR event.

TASKS_FLUSHRX

Address offset: 0x01C

Flush RX FIFO into RX buffer

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_FLUSHRXFlush RX FIFO into RX buffer
Trigger1Trigger task

TASKS_DMA

Peripheral tasks.

TASKS_DMA.RX

Peripheral tasks.

TASKS_DMA.RX.START

Address offset: 0x028

Starts operation using easyDMA to load the values. See peripheral description for operation using easyDMA.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSTARTStarts operation using easyDMA to load the values. See peripheral description for operation using easyDMA.
Trigger1Trigger task
TASKS_DMA.RX.STOP

Address offset: 0x02C

Stops operation using easyDMA. This does not trigger an END event.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSTOPStops operation using easyDMA. This does not trigger an END event.
Trigger1Trigger task
TASKS_DMA.RX.ENABLEMATCH[n]

Address offset: 0x030 + (n × 0x4)

Enables the MATCH[n] event by setting the ENABLE[n] bit in the CONFIG register.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWENABLEMATCHEnables the MATCH[n] event by setting the ENABLE[n] bit in the CONFIG register.
Trigger1Trigger task
TASKS_DMA.RX.DISABLEMATCH[n]

Address offset: 0x040 + (n × 0x4)

Disables the MATCH[n] event by clearing the ENABLE[n] bit in the CONFIG register.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWDISABLEMATCHDisables the MATCH[n] event by clearing the ENABLE[n] bit in the CONFIG register.
Trigger1Trigger task

TASKS_DMA.TX

Peripheral tasks.

TASKS_DMA.TX.START

Address offset: 0x050

Starts operation using easyDMA to load the values. See peripheral description for operation using easyDMA.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSTARTStarts operation using easyDMA to load the values. See peripheral description for operation using easyDMA.
Trigger1Trigger task
TASKS_DMA.TX.STOP

Address offset: 0x054

Stops operation using easyDMA. This does not trigger an END event.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSTOPStops operation using easyDMA. This does not trigger an END event.
Trigger1Trigger task

SUBSCRIBE_FLUSHRX

Address offset: 0x09C

Subscribe configuration for task FLUSHRX

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task FLUSHRX will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription

SUBSCRIBE_DMA

Subscribe configuration for tasks

SUBSCRIBE_DMA.RX

Subscribe configuration for tasks

SUBSCRIBE_DMA.RX.START

Address offset: 0x0A8

Subscribe configuration for task START

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task START will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription
SUBSCRIBE_DMA.RX.STOP

Address offset: 0x0AC

Subscribe configuration for task STOP

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task STOP will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription
SUBSCRIBE_DMA.RX.ENABLEMATCH[n]

Address offset: 0x0B0 + (n × 0x4)

Subscribe configuration for task ENABLEMATCH[n]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task ENABLEMATCH[n] will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription
SUBSCRIBE_DMA.RX.DISABLEMATCH[n]

Address offset: 0x0C0 + (n × 0x4)

Subscribe configuration for task DISABLEMATCH[n]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task DISABLEMATCH[n] will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription

SUBSCRIBE_DMA.TX

Subscribe configuration for tasks

SUBSCRIBE_DMA.TX.START

Address offset: 0x0D0

Subscribe configuration for task START

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task START will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription
SUBSCRIBE_DMA.TX.STOP

Address offset: 0x0D4

Subscribe configuration for task STOP

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task STOP will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription

EVENTS_CTS

Address offset: 0x100

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

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_CTSCTS 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
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_NCTSCTS is deactivated (set high). Not Clear To Send.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_TXDRDY

Address offset: 0x10C

Data sent from TXD

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_TXDRDYData sent from TXD
NotGenerated0Event not generated
Generated1Event generated

EVENTS_RXDRDY

Address offset: 0x110

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

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_RXDRDYData received in RXD (but potentially not yet transferred to Data RAM)
NotGenerated0Event not generated
Generated1Event generated

EVENTS_ERROR

Address offset: 0x114

Error detected

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_ERRORError detected
NotGenerated0Event not generated
Generated1Event generated

EVENTS_RXTO

Address offset: 0x124

Receiver timeout

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_RXTOReceiver timeout
NotGenerated0Event not generated
Generated1Event generated

EVENTS_TXSTOPPED

Address offset: 0x130

Transmitter stopped

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_TXSTOPPEDTransmitter stopped
NotGenerated0Event not generated
Generated1Event generated

EVENTS_DMA

Peripheral events.

EVENTS_DMA.RX

Peripheral events.

EVENTS_DMA.RX.END

Address offset: 0x14C

Generated after EasyDMA has completed its operation.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENDGenerated after EasyDMA has completed its operation.
NotGenerated0Event not generated
Generated1Event generated
EVENTS_DMA.RX.READY

Address offset: 0x150

Generated when EasyDMA has buffered the .PTR and .MAXCNT registers for the channel, allowing them to be written to prepare for the next sequence.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWREADYGenerated when EasyDMA has buffered the .PTR and .MAXCNT registers for the channel, allowing them to be written to prepare for the next sequence.
NotGenerated0Event not generated
Generated1Event generated
EVENTS_DMA.RX.BUSERROR

Address offset: 0x154

An error occured during the bus transfer.

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWBUSERROR

An error occured during the bus transfer.

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

NotGenerated0Event not generated
Generated1Event generated
EVENTS_DMA.RX.MATCH[n]

Address offset: 0x158 + (n × 0x4)

Pattern match is detected on the DMA data bus.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWMATCHPattern match is detected on the DMA data bus.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_DMA.TX

Peripheral events.

EVENTS_DMA.TX.END

Address offset: 0x168

Generated after EasyDMA has completed its operation.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENDGenerated after EasyDMA has completed its operation.
NotGenerated0Event not generated
Generated1Event generated
EVENTS_DMA.TX.READY

Address offset: 0x16C

Generated when EasyDMA has buffered the .PTR and .MAXCNT registers for the channel, allowing them to be written to prepare for the next sequence.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWREADYGenerated when EasyDMA has buffered the .PTR and .MAXCNT registers for the channel, allowing them to be written to prepare for the next sequence.
NotGenerated0Event not generated
Generated1Event generated
EVENTS_DMA.TX.BUSERROR

Address offset: 0x170

An error occured during the bus transfer.

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWBUSERROR

An error occured during the bus transfer.

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

NotGenerated0Event not generated
Generated1Event generated

EVENTS_FRAMETIMEOUT

Address offset: 0x174

Timed out due to bus being idle while receiving data.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FRAMETIMEOUTTimed out due to bus being idle while receiving data.
NotGenerated0Event not generated
Generated1Event generated

PUBLISH_CTS

Address offset: 0x180

Publish configuration for event CTS

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event CTS will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_NCTS

Address offset: 0x184

Publish configuration for event NCTS

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event NCTS will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_TXDRDY

Address offset: 0x18C

Publish configuration for event TXDRDY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event TXDRDY will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_RXDRDY

Address offset: 0x190

Publish configuration for event RXDRDY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event RXDRDY will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_ERROR

Address offset: 0x194

Publish configuration for event ERROR

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event ERROR will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_RXTO

Address offset: 0x1A4

Publish configuration for event RXTO

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event RXTO will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_TXSTOPPED

Address offset: 0x1B0

Publish configuration for event TXSTOPPED

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event TXSTOPPED will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_DMA

Publish configuration for events

PUBLISH_DMA.RX

Publish configuration for events

PUBLISH_DMA.RX.END

Address offset: 0x1CC

Publish configuration for event END

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event END will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing
PUBLISH_DMA.RX.READY

Address offset: 0x1D0

Publish configuration for event READY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event READY will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing
PUBLISH_DMA.RX.BUSERROR

Address offset: 0x1D4

Publish configuration for event BUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event BUSERROR will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing
PUBLISH_DMA.RX.MATCH[n]

Address offset: 0x1D8 + (n × 0x4)

Publish configuration for event MATCH[n]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event MATCH[n] will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_DMA.TX

Publish configuration for events

PUBLISH_DMA.TX.END

Address offset: 0x1E8

Publish configuration for event END

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event END will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing
PUBLISH_DMA.TX.READY

Address offset: 0x1EC

Publish configuration for event READY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event READY will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing
PUBLISH_DMA.TX.BUSERROR

Address offset: 0x1F0

Publish configuration for event BUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event BUSERROR will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_FRAMETIMEOUT

Address offset: 0x1F4

Publish configuration for event FRAMETIMEOUT

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event FRAMETIMEOUT will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

SHORTS

Address offset: 0x200

Shortcuts between local events and tasks

Bit number313029282726252423222120191817161514131211109876543210
IDLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWDMA_RX_END_DMA_RX_STARTShortcut between event DMA.RX.END and task DMA.RX.START
Disabled0Disable shortcut
Enabled1Enable shortcut
BRWDMA_RX_END_DMA_RX_STOPShortcut between event DMA.RX.END and task DMA.RX.STOP
Disabled0Disable shortcut
Enabled1Enable shortcut
CRWDMA_TX_END_DMA_TX_STOPShortcut between event DMA.TX.END and task DMA.TX.STOP
Disabled0Disable shortcut
Enabled1Enable shortcut
D-GRWDMA_RX_MATCH[i]_DMA_RX_ENABLEMATCH[(i+1)%4] (i=0..3)

Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[(i+1)%4]

Allows daisy-chaining match events.

Disabled0Disable shortcut
Enabled1Enable shortcut
H-KRWDMA_RX_MATCH[i]_DMA_RX_DISABLEMATCH[i] (i=0..3)Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Disabled0Disable shortcut
Enabled1Enable shortcut
LRWFRAMETIMEOUT_DMA_RX_STOPShortcut between event FRAMETIMEOUT and task DMA.RX.STOP
Disabled0Disable shortcut
Enabled1Enable shortcut

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCTSEnable or disable interrupt for event CTS
Disabled0Disable
Enabled1Enable
BRWNCTSEnable or disable interrupt for event NCTS
Disabled0Disable
Enabled1Enable
CRWTXDRDYEnable or disable interrupt for event TXDRDY
Disabled0Disable
Enabled1Enable
DRWRXDRDYEnable or disable interrupt for event RXDRDY
Disabled0Disable
Enabled1Enable
ERWERROREnable or disable interrupt for event ERROR
Disabled0Disable
Enabled1Enable
FRWRXTOEnable or disable interrupt for event RXTO
Disabled0Disable
Enabled1Enable
GRWTXSTOPPEDEnable or disable interrupt for event TXSTOPPED
Disabled0Disable
Enabled1Enable
HRWDMARXENDEnable or disable interrupt for event DMARXEND
Disabled0Disable
Enabled1Enable
IRWDMARXREADYEnable or disable interrupt for event DMARXREADY
Disabled0Disable
Enabled1Enable
JRWDMARXBUSERROR

Enable or disable interrupt for event DMARXBUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Disabled0Disable
Enabled1Enable
K-NRWDMARXMATCH[i] (i=0..3)Enable or disable interrupt for event DMARXMATCH[i]
Disabled0Disable
Enabled1Enable
ORWDMATXENDEnable or disable interrupt for event DMATXEND
Disabled0Disable
Enabled1Enable
PRWDMATXREADYEnable or disable interrupt for event DMATXREADY
Disabled0Disable
Enabled1Enable
QRWDMATXBUSERROR

Enable or disable interrupt for event DMATXBUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Disabled0Disable
Enabled1Enable
RRWFRAMETIMEOUTEnable or disable interrupt for event FRAMETIMEOUT
Disabled0Disable
Enabled1Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1S
CTSWrite '1' to enable interrupt for event CTS
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRW
W1S
NCTSWrite '1' to enable interrupt for event NCTS
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRW
W1S
TXDRDYWrite '1' to enable interrupt for event TXDRDY
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
DRW
W1S
RXDRDYWrite '1' to enable interrupt for event RXDRDY
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
ERW
W1S
ERRORWrite '1' to enable interrupt for event ERROR
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
FRW
W1S
RXTOWrite '1' to enable interrupt for event RXTO
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
GRW
W1S
TXSTOPPEDWrite '1' to enable interrupt for event TXSTOPPED
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
HRW
W1S
DMARXENDWrite '1' to enable interrupt for event DMARXEND
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
IRW
W1S
DMARXREADYWrite '1' to enable interrupt for event DMARXREADY
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
JRW
W1S
DMARXBUSERROR

Write '1' to enable interrupt for event DMARXBUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
K-NRW
W1S
DMARXMATCH[i] (i=0..3)Write '1' to enable interrupt for event DMARXMATCH[i]
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
ORW
W1S
DMATXENDWrite '1' to enable interrupt for event DMATXEND
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
PRW
W1S
DMATXREADYWrite '1' to enable interrupt for event DMATXREADY
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
QRW
W1S
DMATXBUSERROR

Write '1' to enable interrupt for event DMATXBUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
RRW
W1S
FRAMETIMEOUTWrite '1' to enable interrupt for event FRAMETIMEOUT
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1C
CTSWrite '1' to disable interrupt for event CTS
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRW
W1C
NCTSWrite '1' to disable interrupt for event NCTS
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRW
W1C
TXDRDYWrite '1' to disable interrupt for event TXDRDY
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
DRW
W1C
RXDRDYWrite '1' to disable interrupt for event RXDRDY
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
ERW
W1C
ERRORWrite '1' to disable interrupt for event ERROR
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
FRW
W1C
RXTOWrite '1' to disable interrupt for event RXTO
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
GRW
W1C
TXSTOPPEDWrite '1' to disable interrupt for event TXSTOPPED
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
HRW
W1C
DMARXENDWrite '1' to disable interrupt for event DMARXEND
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
IRW
W1C
DMARXREADYWrite '1' to disable interrupt for event DMARXREADY
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
JRW
W1C
DMARXBUSERROR

Write '1' to disable interrupt for event DMARXBUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
K-NRW
W1C
DMARXMATCH[i] (i=0..3)Write '1' to disable interrupt for event DMARXMATCH[i]
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
ORW
W1C
DMATXENDWrite '1' to disable interrupt for event DMATXEND
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
PRW
W1C
DMATXREADYWrite '1' to disable interrupt for event DMATXREADY
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
QRW
W1C
DMATXBUSERROR

Write '1' to disable interrupt for event DMATXBUSERROR

When this event is generated, the address which caused the error can be read from the BUSERRORADDRESS register.

Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
RRW
W1C
FRAMETIMEOUTWrite '1' to disable interrupt for event FRAMETIMEOUT
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled

ERRORSRC

Address offset: 0x480

Error source

This register is read/write one to clear.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1C
OVERRUN

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
BRW
W1C
PARITY

Parity error

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

NotPresent0Read: error not present
Present1Read: error present
CRW
W1C
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.

NotPresent0Read: error not present
Present1Read: error present
DRW
W1C
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.)

NotPresent0Read: error not present
Present1Read: error present

ENABLE

Address offset: 0x500

Enable UART

Bit number313029282726252423222120191817161514131211109876543210
IDAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENABLEEnable or disable UARTE
Disabled0Disable UARTE
Enabled8Enable UARTE

BAUDRATE

Address offset: 0x524

Baud rate. Accuracy depends on the HFCLK source selected.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0400000000000100000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWBAUDRATEBaud rate
Baud12000x0004F0001200 baud (actual rate: 1205) when UARTE has 16 MHz peripheral clock frequency
Baud24000x0009D0002400 baud (actual rate: 2396) when UARTE has 16 MHz peripheral clock frequency
Baud48000x0013B0004800 baud (actual rate: 4808) when UARTE has 16 MHz peripheral clock frequency
Baud96000x002750009600 baud (actual rate: 9598) when UARTE has 16 MHz peripheral clock frequency
Baud144000x003AF00014400 baud (actual rate: 14401) when UARTE has 16 MHz peripheral clock frequency
Baud192000x004EA00019200 baud (actual rate: 19208) when UARTE has 16 MHz peripheral clock frequency
Baud288000x0075C00028800 baud (actual rate: 28777) when UARTE has 16 MHz peripheral clock frequency
Baud312500x0080000031250 baud when UARTE has 16 MHz peripheral clock frequency
Baud384000x009D000038400 baud (actual rate: 38369) when UARTE has 16 MHz peripheral clock frequency
Baud560000x00E5000056000 baud (actual rate: 55944) when UARTE has 16 MHz peripheral clock frequency
Baud576000x00EB000057600 baud (actual rate: 57554) when UARTE has 16 MHz peripheral clock frequency
Baud768000x013A900076800 baud (actual rate: 76923) when UARTE has 16 MHz peripheral clock frequency
Baud1152000x01D60000115200 baud (actual rate: 115108) when UARTE has 16 MHz peripheral clock frequency
Baud2304000x03B00000230400 baud (actual rate: 231884) when UARTE has 16 MHz peripheral clock frequency
Baud2500000x04000000250000 baud when UARTE has 16 MHz peripheral clock frequency
Baud4608000x07400000460800 baud (actual rate: 457143) when UARTE has 16 MHz peripheral clock frequency
Baud9216000x0F000000921600 baud (actual rate: 941176) when UARTE has 16 MHz peripheral clock frequency
Baud1M0x100000001 megabaud when UARTE has 16 MHz peripheral clock frequency

CONFIG

Address offset: 0x56C

Configuration of parity, hardware flow control, framesize, and packet timeout.

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEEDCBBBA
Reset 0x0000100000000000000000000001000000000000
IDR/WFieldValue IDValueDescription
ARWHWFCHardware flow control
Disabled0Disabled
Enabled1Enabled
BRWPARITYParity
Excluded0x0Exclude parity bit
Included0x7Include parity bit
CRWSTOPStop bits
One0One stop bit
Two1Two stop bits
DRWPARITYTYPEEven or odd parity type
Even0Even parity
Odd1Odd parity
ERWFRAMESIZESet the data frame size
9bit99 bit data frame size. 9th bit is treated as address bit.
8bit88 bit data frame size.
7bit77 bit data frame size.
6bit66 bit data frame size.
5bit55 bit data frame size.
4bit44 bit data frame size.
FRWENDIANSelect if data is trimmed from MSB or LSB end when the data frame size is less than 8.
MSB0Data is trimmed from MSB end.
LSB1Data is trimmed from LSB end.
GRWFRAMETIMEOUTEnable packet timeout.
DISABLED0Packet timeout is disabled.
ENABLED1Packet timeout is enabled.
Disabled0Packet timeout is disabled.
Enabled1Packet timeout is enabled.

ADDRESS

Address offset: 0x574

Set the address of the UARTE for RX when used in 9 bit data frame mode.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWADDRESSSet address

FRAMETIMEOUT

Address offset: 0x578

Set the number of UARTE bits to count before triggering packet timeout.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
ARWCOUNTERTOPNumber of UARTE bits before timeout.

PSEL.TXD

Address offset: 0x604

Pin select for TXD signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPIN[0..31]Pin number
BRWPORT[0..7]Port number
CRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.CTS

Address offset: 0x608

Pin select for CTS signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPIN[0..31]Pin number
BRWPORT[0..7]Port number
CRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.RXD

Address offset: 0x60C

Pin select for RXD signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPIN[0..31]Pin number
BRWPORT[0..7]Port number
CRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.RTS

Address offset: 0x610

Pin select for RTS signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPIN[0..31]Pin number
BRWPORT[0..7]Port number
CRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

DMA.RX.PTR

Address offset: 0x704

RAM buffer start address

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x2000000000100000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPTR

RAM buffer start address for this EasyDMA channel. This address is a word aligned Data RAM address.

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

DMA.RX.MAXCNT

Address offset: 0x708

Maximum number of bytes in channel buffer

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWMAXCNT[1..0xffff]Maximum number of bytes in channel buffer

DMA.RX.AMOUNT

Address offset: 0x70C

Number of bytes transferred in the last transaction, updated after the END event.

For channels that supports the compare match filter, this register is also updated after each MATCH event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARAMOUNT[1..0xffff]Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte.

DMA.RX.LIST

Address offset: 0x714

EasyDMA list type

Bit number313029282726252423222120191817161514131211109876543210
IDAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWTYPEList type
Disabled0Disable EasyDMA list
ArrayList1Use array list

DMA.RX.TERMINATEONBUSERROR

Address offset: 0x71C

Terminate the transaction if a BUSERROR event is detected.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENABLE
Disabled0Disable
Enabled1Enable

DMA.RX.BUSERRORADDRESS

Address offset: 0x720

Address of transaction that generated the last BUSERROR event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARADDRESS

DMA.RX.MATCH

Registers to control the behavior of the pattern matcher engine

DMA.RX.MATCH.CONFIG

Address offset: 0x724

Configure individual match events

Bit number313029282726252423222120191817161514131211109876543210
IDHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-DRWENABLE[i] (i=0..3)Enable match filter i
Disabled0Match filter disabled
Enabled1Match filter enabled
E-HRWONESHOT[i] (i=0..3)

Configure match filter i as one-shot or continous

One-shot operation will disable the filter on a match, while Continous operation will keep it enabled until explicitly disabled.

Continuous0Match filter stays enabled until disabled by task
Oneshot1Match filter stays enabled until next data word is received

DMA.RX.MATCH.CANDIDATE[n]

Address offset: 0x728 + (n × 0x4)

The data to look for - any match will trigger the MATCH[n] event, if enabled.

Note: This register can be updated while a transfer is in progress, but the new value will not take effect until either the DMA is restarted or the match event is generated. That makes it possible to write a new set of match words which will be searched for immediately after the event triggers.
Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWDATAData to look for

DMA.TX.PTR

Address offset: 0x73C

RAM buffer start address

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x2000000000100000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPTR

RAM buffer start address for this EasyDMA channel. This address is a word aligned Data RAM address.

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

DMA.TX.MAXCNT

Address offset: 0x740

Maximum number of bytes in channel buffer

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWMAXCNT[1..0xffff]Maximum number of bytes in channel buffer

DMA.TX.AMOUNT

Address offset: 0x744

Number of bytes transferred in the last transaction, updated after the END event.

For channels that supports the compare match filter, this register is also updated after each MATCH event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARAMOUNT[1..0xffff]Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte.

DMA.TX.LIST

Address offset: 0x74C

EasyDMA list type

Bit number313029282726252423222120191817161514131211109876543210
IDAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWTYPEList type
Disabled0Disable EasyDMA list
ArrayList1Use array list

DMA.TX.TERMINATEONBUSERROR

Address offset: 0x754

Terminate the transaction if a BUSERROR event is detected.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENABLE
Disabled0Disable
Enabled1Enable

DMA.TX.BUSERRORADDRESS

Address offset: 0x758

Address of transaction that generated the last BUSERROR event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARADDRESS