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
  • BAUDRATE is the value to be used in the UARTE BAUDRATE register.
  • f_PCLK is the peripheral clock frequency for the UARTE instance, as defined in Instances.
  • desired_baudrate is the desired baudrate in bits per second, such as 9600 or 115200.

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

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

GLOBAL

0x500C6000
0x400C6000

USSSANo

Universal asynchronous receiver/transmitter UARTE20

UARTE21 : S
UARTE21 : NS

GLOBAL

0x500C7000
0x400C7000

USSSANo

Universal asynchronous receiver/transmitter UARTE21

UARTE30 : S
UARTE30 : NS

GLOBAL

0x50104000
0x40104000

USSSANo

Universal 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_FLUSHRX0x01C

Flush RX FIFO into RX buffer

TASKS_DMA.RX.START0x028

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

TASKS_DMA.RX.STOP0x02C

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

TASKS_DMA.RX.ENABLEMATCH[n]0x030

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

TASKS_DMA.RX.DISABLEMATCH[n]0x040

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

TASKS_DMA.TX.START0x050

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

TASKS_DMA.TX.STOP0x054

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

SUBSCRIBE_FLUSHRX0x09C

Subscribe configuration for task FLUSHRX

SUBSCRIBE_DMA.RX.START0x0A8

Subscribe configuration for task START

SUBSCRIBE_DMA.RX.STOP0x0AC

Subscribe configuration for task STOP

SUBSCRIBE_DMA.RX.ENABLEMATCH[n]0x0B0

Subscribe configuration for task ENABLEMATCH[n]

SUBSCRIBE_DMA.RX.DISABLEMATCH[n]0x0C0

Subscribe configuration for task DISABLEMATCH[n]

SUBSCRIBE_DMA.TX.START0x0D0

Subscribe configuration for task START

SUBSCRIBE_DMA.TX.STOP0x0D4

Subscribe configuration for task STOP

EVENTS_CTS0x100

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

EVENTS_NCTS0x104

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

EVENTS_TXDRDY0x10C

Data sent from TXD

EVENTS_RXDRDY0x110

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

EVENTS_ERROR0x114

Error detected

EVENTS_RXTO0x124

Receiver timeout

EVENTS_TXSTOPPED0x130

Transmitter stopped

EVENTS_DMA.RX.END0x14C

Generated after EasyDMA has completed its operation.

EVENTS_DMA.RX.READY0x150

Generated 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.BUSERROR0x154

An error occured during the bus transfer.

EVENTS_DMA.RX.MATCH[n]0x158

Pattern match is detected on the DMA data bus.

EVENTS_DMA.TX.END0x168

Generated after EasyDMA has completed its operation.

EVENTS_DMA.TX.READY0x16C

Generated 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.BUSERROR0x170

An error occured during the bus transfer.

EVENTS_FRAMETIMEOUT0x174

Timed out due to bus being idle while receiving data.

PUBLISH_CTS0x180

Publish configuration for event CTS

PUBLISH_NCTS0x184

Publish configuration for event NCTS

PUBLISH_TXDRDY0x18C

Publish configuration for event TXDRDY

PUBLISH_RXDRDY0x190

Publish configuration for event RXDRDY

PUBLISH_ERROR0x194

Publish configuration for event ERROR

PUBLISH_RXTO0x1A4

Publish configuration for event RXTO

PUBLISH_TXSTOPPED0x1B0

Publish configuration for event TXSTOPPED

PUBLISH_DMA.RX.END0x1CC

Publish configuration for event END

PUBLISH_DMA.RX.READY0x1D0

Publish configuration for event READY

PUBLISH_DMA.RX.BUSERROR0x1D4

Publish configuration for event BUSERROR

PUBLISH_DMA.RX.MATCH[n]0x1D8

Publish configuration for event MATCH[n]

PUBLISH_DMA.TX.END0x1E8

Publish configuration for event END

PUBLISH_DMA.TX.READY0x1EC

Publish configuration for event READY

PUBLISH_DMA.TX.BUSERROR0x1F0

Publish configuration for event BUSERROR

PUBLISH_FRAMETIMEOUT0x1F4

Publish configuration for event FRAMETIMEOUT

SHORTS0x200

Shortcuts between local events and tasks

INTEN0x300

Enable or disable interrupt

INTENSET0x304

Enable interrupt

INTENCLR0x308

Disable interrupt

ERRORSRC0x480

Error source

ENABLE0x500

Enable UART

BAUDRATE0x524

Baud rate. Accuracy depends on the HFCLK source selected.

CONFIG0x56C

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

ADDRESS0x574

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

FRAMETIMEOUT0x578

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

PSEL.TXD0x604

Pin select for TXD signal

PSEL.CTS0x608

Pin select for CTS signal

PSEL.RXD0x60C

Pin select for RXD signal

PSEL.RTS0x610

Pin select for RTS signal

DMA.RX.PTR0x704

RAM buffer start address

DMA.RX.MAXCNT0x708

Maximum number of bytes in channel buffer

DMA.RX.AMOUNT0x70C

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

Also updated after each MATCH event.

DMA.RX.TERMINATEONBUSERROR0x71C

Terminate the transaction if a BUSERROR event is detected.

DMA.RX.BUSERRORADDRESS0x720

Address of transaction that generated the last BUSERROR event.

DMA.RX.MATCH.CONFIG0x724

Configure individual match events

DMA.RX.MATCH.CANDIDATE[n]0x728

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

DMA.TX.PTR0x73C

RAM buffer start address

DMA.TX.MAXCNT0x740

Maximum number of bytes in channel buffer

DMA.TX.AMOUNT0x744

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

Also updated after each MATCH event.

DMA.TX.TERMINATEONBUSERROR0x754

Terminate the transaction if a BUSERROR event is detected.

DMA.TX.BUSERRORADDRESS0x758

Address 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
A

W

TASKS_FLUSHRX

Flush RX FIFO into RX buffer

Trigger

1

Trigger 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
A

W

START

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

Trigger

1

Trigger 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
A

W

STOP

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

Trigger

1

Trigger 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
A

W

ENABLEMATCH

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

Trigger

1

Trigger 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
A

W

DISABLEMATCH

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

Trigger

1

Trigger 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
A

W

START

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

Trigger

1

Trigger 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
A

W

STOP

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

Trigger

1

Trigger task

SUBSCRIBE_FLUSHRX

Address offset: 0x09C

Subscribe configuration for task FLUSHRX

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that task FLUSHRX will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that task START will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable subscription

SUBSCRIBE_DMA.RX.STOP

Address offset: 0x0AC

Subscribe configuration for task STOP

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that task STOP will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that task ENABLEMATCH[n] will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that task DISABLEMATCH[n] will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that task START will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable subscription

SUBSCRIBE_DMA.TX.STOP

Address offset: 0x0D4

Subscribe configuration for task STOP

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that task STOP will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable subscription

EVENTS_CTS

Address offset: 0x100

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

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_CTS

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

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_NCTS

Address offset: 0x104

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

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_NCTS

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

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_TXDRDY

Address offset: 0x10C

Data sent from TXD

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_TXDRDY

Data sent from TXD

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

EVENTS_RXDRDY

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

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_ERROR

Address offset: 0x114

Error detected

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_ERROR

Error detected

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_RXTO

Address offset: 0x124

Receiver timeout

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_RXTO

Receiver timeout

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_TXSTOPPED

Address offset: 0x130

Transmitter stopped

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_TXSTOPPED

Transmitter stopped

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

END

Generated after EasyDMA has completed its operation.

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

READY

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

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

BUSERROR

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.

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

MATCH

Pattern match is detected on the DMA data bus.

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

END

Generated after EasyDMA has completed its operation.

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

READY

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

NotGenerated

0

Event not generated

Generated

1

Event 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
A

RW

BUSERROR

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.

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_FRAMETIMEOUT

Address offset: 0x174

Timed out due to bus being idle while receiving data.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_FRAMETIMEOUT

Timed out due to bus being idle while receiving data.

NotGenerated

0

Event not generated

Generated

1

Event generated

PUBLISH_CTS

Address offset: 0x180

Publish configuration for event CTS

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event CTS will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_NCTS

Address offset: 0x184

Publish configuration for event NCTS

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event NCTS will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_TXDRDY

Address offset: 0x18C

Publish configuration for event TXDRDY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event TXDRDY will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_RXDRDY

Address offset: 0x190

Publish configuration for event RXDRDY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event RXDRDY will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_ERROR

Address offset: 0x194

Publish configuration for event ERROR

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event ERROR will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_RXTO

Address offset: 0x1A4

Publish configuration for event RXTO

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event RXTO will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_TXSTOPPED

Address offset: 0x1B0

Publish configuration for event TXSTOPPED

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event TXSTOPPED will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that event END will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_DMA.RX.READY

Address offset: 0x1D0

Publish configuration for event READY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event READY will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that event BUSERROR will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that event MATCH[n] will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that event END will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_DMA.TX.READY

Address offset: 0x1EC

Publish configuration for event READY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event READY will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable 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
A

RW

CHIDX

[0..255]

DPPI channel that event BUSERROR will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

PUBLISH_FRAMETIMEOUT

Address offset: 0x1F4

Publish configuration for event FRAMETIMEOUT

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event FRAMETIMEOUT will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

SHORTS

Address offset: 0x200

Shortcuts between local events and tasks

Bit number313029282726252423222120191817161514131211109876543210
IDLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

DMA_RX_END_DMA_RX_START

Shortcut between event DMA.RX.END and task DMA.RX.START

Disabled

0

Disable shortcut

Enabled

1

Enable shortcut

B

RW

DMA_RX_END_DMA_RX_STOP

Shortcut between event DMA.RX.END and task DMA.RX.STOP

Disabled

0

Disable shortcut

Enabled

1

Enable shortcut

C

RW

DMA_TX_END_DMA_TX_STOP

Shortcut between event DMA.TX.END and task DMA.TX.STOP

Disabled

0

Disable shortcut

Enabled

1

Enable shortcut

D-G

RW

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

Disabled

0

Disable shortcut

Enabled

1

Enable shortcut

H-K

RW

DMA_RX_MATCH[i]_DMA_RX_DISABLEMATCH[i] (i=0..3)

Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]

Disabled

0

Disable shortcut

Enabled

1

Enable shortcut

L

RW

FRAMETIMEOUT_DMA_RX_STOP

Shortcut between event FRAMETIMEOUT and task DMA.RX.STOP

Disabled

0

Disable shortcut

Enabled

1

Enable shortcut

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CTS

Enable or disable interrupt for event CTS

Disabled

0

Disable

Enabled

1

Enable

B

RW

NCTS

Enable or disable interrupt for event NCTS

Disabled

0

Disable

Enabled

1

Enable

C

RW

TXDRDY

Enable or disable interrupt for event TXDRDY

Disabled

0

Disable

Enabled

1

Enable

D

RW

RXDRDY

Enable or disable interrupt for event RXDRDY

Disabled

0

Disable

Enabled

1

Enable

E

RW

ERROR

Enable or disable interrupt for event ERROR

Disabled

0

Disable

Enabled

1

Enable

F

RW

RXTO

Enable or disable interrupt for event RXTO

Disabled

0

Disable

Enabled

1

Enable

G

RW

TXSTOPPED

Enable or disable interrupt for event TXSTOPPED

Disabled

0

Disable

Enabled

1

Enable

H

RW

DMARXEND

Enable or disable interrupt for event DMARXEND

Disabled

0

Disable

Enabled

1

Enable

I

RW

DMARXREADY

Enable or disable interrupt for event DMARXREADY

Disabled

0

Disable

Enabled

1

Enable

J

RW

DMARXBUSERROR

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.

Disabled

0

Disable

Enabled

1

Enable

K-N

RW

DMARXMATCH[i] (i=0..3)

Enable or disable interrupt for event DMARXMATCH[i]

Disabled

0

Disable

Enabled

1

Enable

O

RW

DMATXEND

Enable or disable interrupt for event DMATXEND

Disabled

0

Disable

Enabled

1

Enable

P

RW

DMATXREADY

Enable or disable interrupt for event DMATXREADY

Disabled

0

Disable

Enabled

1

Enable

Q

RW

DMATXBUSERROR

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.

Disabled

0

Disable

Enabled

1

Enable

R

RW

FRAMETIMEOUT

Enable or disable interrupt for event FRAMETIMEOUT

Disabled

0

Disable

Enabled

1

Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1S

CTS

Write '1' to enable interrupt for event CTS

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

B

RW
W1S

NCTS

Write '1' to enable interrupt for event NCTS

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

C

RW
W1S

TXDRDY

Write '1' to enable interrupt for event TXDRDY

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

D

RW
W1S

RXDRDY

Write '1' to enable interrupt for event RXDRDY

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

E

RW
W1S

ERROR

Write '1' to enable interrupt for event ERROR

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

F

RW
W1S

RXTO

Write '1' to enable interrupt for event RXTO

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

G

RW
W1S

TXSTOPPED

Write '1' to enable interrupt for event TXSTOPPED

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

H

RW
W1S

DMARXEND

Write '1' to enable interrupt for event DMARXEND

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

I

RW
W1S

DMARXREADY

Write '1' to enable interrupt for event DMARXREADY

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

J

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

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

K-N

RW
W1S

DMARXMATCH[i] (i=0..3)

Write '1' to enable interrupt for event DMARXMATCH[i]

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

O

RW
W1S

DMATXEND

Write '1' to enable interrupt for event DMATXEND

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

P

RW
W1S

DMATXREADY

Write '1' to enable interrupt for event DMATXREADY

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

Q

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

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

R

RW
W1S

FRAMETIMEOUT

Write '1' to enable interrupt for event FRAMETIMEOUT

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

CTS

Write '1' to disable interrupt for event CTS

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

B

RW
W1C

NCTS

Write '1' to disable interrupt for event NCTS

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

C

RW
W1C

TXDRDY

Write '1' to disable interrupt for event TXDRDY

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

D

RW
W1C

RXDRDY

Write '1' to disable interrupt for event RXDRDY

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

E

RW
W1C

ERROR

Write '1' to disable interrupt for event ERROR

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

F

RW
W1C

RXTO

Write '1' to disable interrupt for event RXTO

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

G

RW
W1C

TXSTOPPED

Write '1' to disable interrupt for event TXSTOPPED

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

H

RW
W1C

DMARXEND

Write '1' to disable interrupt for event DMARXEND

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

I

RW
W1C

DMARXREADY

Write '1' to disable interrupt for event DMARXREADY

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

J

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

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

K-N

RW
W1C

DMARXMATCH[i] (i=0..3)

Write '1' to disable interrupt for event DMARXMATCH[i]

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

O

RW
W1C

DMATXEND

Write '1' to disable interrupt for event DMATXEND

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

P

RW
W1C

DMATXREADY

Write '1' to disable interrupt for event DMATXREADY

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

Q

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

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

R

RW
W1C

FRAMETIMEOUT

Write '1' to disable interrupt for event FRAMETIMEOUT

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

ERRORSRC

Address offset: 0x480

Error source

This register is read/write one to clear.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

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

B

RW
W1C

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

C

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

NotPresent

0

Read: error not present

Present

1

Read: error present

D

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

NotPresent

0

Read: error not present

Present

1

Read: error present

ENABLE

Address offset: 0x500

Enable UART

Bit number313029282726252423222120191817161514131211109876543210
IDAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

ENABLE

Enable or disable UARTE

Disabled

0

Disable UARTE

Enabled

8

Enable UARTE

BAUDRATE

Address offset: 0x524

Baud rate. Accuracy depends on the HFCLK source selected.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0400000000000100000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

BAUDRATE

Baud rate

Baud1200

0x0004F000

1200 baud (actual rate: 1205) when UARTE has 16 MHz peripheral clock frequency

Baud2400

0x0009D000

2400 baud (actual rate: 2396) when UARTE has 16 MHz peripheral clock frequency

Baud4800

0x0013B000

4800 baud (actual rate: 4808) when UARTE has 16 MHz peripheral clock frequency

Baud9600

0x00275000

9600 baud (actual rate: 9598) when UARTE has 16 MHz peripheral clock frequency

Baud14400

0x003AF000

14400 baud (actual rate: 14401) when UARTE has 16 MHz peripheral clock frequency

Baud19200

0x004EA000

19200 baud (actual rate: 19208) when UARTE has 16 MHz peripheral clock frequency

Baud28800

0x0075C000

28800 baud (actual rate: 28777) when UARTE has 16 MHz peripheral clock frequency

Baud31250

0x00800000

31250 baud when UARTE has 16 MHz peripheral clock frequency

Baud38400

0x009D0000

38400 baud (actual rate: 38369) when UARTE has 16 MHz peripheral clock frequency

Baud56000

0x00E50000

56000 baud (actual rate: 55944) when UARTE has 16 MHz peripheral clock frequency

Baud57600

0x00EB0000

57600 baud (actual rate: 57554) when UARTE has 16 MHz peripheral clock frequency

Baud76800

0x013A9000

76800 baud (actual rate: 76923) when UARTE has 16 MHz peripheral clock frequency

Baud115200

0x01D60000

115200 baud (actual rate: 115108) when UARTE has 16 MHz peripheral clock frequency

Baud230400

0x03B00000

230400 baud (actual rate: 231884) when UARTE has 16 MHz peripheral clock frequency

Baud250000

0x04000000

250000 baud when UARTE has 16 MHz peripheral clock frequency

Baud460800

0x07400000

460800 baud (actual rate: 457143) when UARTE has 16 MHz peripheral clock frequency

Baud921600

0x0F000000

921600 baud (actual rate: 941176) when UARTE has 16 MHz peripheral clock frequency

Baud1M

0x10000000

1 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
A

RW

HWFC

Hardware flow control

Disabled

0

Disabled

Enabled

1

Enabled

B

RW

PARITY

Parity

Excluded

0x0

Exclude parity bit

Included

0x7

Include parity bit

C

RW

STOP

Stop bits

One

0

One stop bit

Two

1

Two stop bits

D

RW

PARITYTYPE

Even or odd parity type

Even

0

Even parity

Odd

1

Odd parity

E

RW

FRAMESIZE

Set the data frame size

9bit

9

9 bit data frame size. 9th bit is treated as address bit.

8bit

8

8 bit data frame size.

7bit

7

7 bit data frame size.

6bit

6

6 bit data frame size.

5bit

5

5 bit data frame size.

4bit

4

4 bit data frame size.

F

RW

ENDIAN

Select if data is trimmed from MSB or LSB end when the data frame size is less than 8.

MSB

0

Data is trimmed from MSB end.

LSB

1

Data is trimmed from LSB end.

G

RW

FRAMETIMEOUT

Enable packet timeout.

DISABLED

0

Packet timeout is disabled.

ENABLED

1

Packet timeout is enabled.

Disabled

0

Packet timeout is disabled.

Enabled

1

Packet 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
A

RW

ADDRESS

Set 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
A

RW

COUNTERTOP

Number of UARTE bits before timeout.

PSEL.TXD

Address offset: 0x604

Pin select for TXD signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

[0..31]

Pin number

B

RW

PORT

[0..7]

Port number

C

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.CTS

Address offset: 0x608

Pin select for CTS signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

[0..31]

Pin number

B

RW

PORT

[0..7]

Port number

C

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.RXD

Address offset: 0x60C

Pin select for RXD signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

[0..31]

Pin number

B

RW

PORT

[0..7]

Port number

C

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.RTS

Address offset: 0x610

Pin select for RTS signal

Bit number313029282726252423222120191817161514131211109876543210
IDCBBBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

[0..31]

Pin number

B

RW

PORT

[0..7]

Port number

C

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

DMA.RX.PTR

Address offset: 0x704

RAM buffer start address

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x2000000000100000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

PTR

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
A

RW

MAXCNT

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

Also updated after each MATCH event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

R

AMOUNT

[1..0xffff]

Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte.

DMA.RX.TERMINATEONBUSERROR

Address offset: 0x71C

Terminate the transaction if a BUSERROR event is detected.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

ENABLE

Disabled

0

Disable

Enabled

1

Enable

DMA.RX.BUSERRORADDRESS

Address offset: 0x720

Address of transaction that generated the last BUSERROR event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

R

ADDRESS

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-D

RW

ENABLE[i] (i=0..3)

Enable match filter i

Disabled

0

Match filter disabled

Enabled

1

Match filter enabled

E-H

RW

ONESHOT[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.

Continuous

0

Match filter stays enabled until disabled by task

Oneshot

1

Match 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
A

RW

DATA

Data to look for

DMA.TX.PTR

Address offset: 0x73C

RAM buffer start address

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x2000000000100000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

PTR

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
A

RW

MAXCNT

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

Also updated after each MATCH event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

R

AMOUNT

[1..0xffff]

Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte.

DMA.TX.TERMINATEONBUSERROR

Address offset: 0x754

Terminate the transaction if a BUSERROR event is detected.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

ENABLE

Disabled

0

Disable

Enabled

1

Enable

DMA.TX.BUSERRORADDRESS

Address offset: 0x758

Address of transaction that generated the last BUSERROR event.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

R

ADDRESS