SAADC — Successive approximation analog-to-digital converter

The SAADC peripheral is a differential successive approximation register (SAR) analog-to-digital converter.

The main features of the SAADC are the following:

Figure 1. Block diagram
Block diagram

Channel and input configuration

Up to eight SAADC channels can be enabled and configured for SAADC.

A channel is connected to an analog input using the registers CH[n].PSELP and CH[n].PSELN. Each SAADC channel can be configured to use either single-ended mode or differential input mode. Setting register CH[n].PSELP enables the corresponding channel. Setting register CH[n].PSELN has no effect for single-ended channels.

Register CH[n].CONFIG configures SAADC channels. In Single-ended mode, the negative channel input is shorted to ground internally. In Single-ended mode, the assumption is that the internal ground of the ADC is the same as the external ground that the measured voltage is referred to. This makes SAADC sensitive to ground bounce on the PCB. To avoid this, use the differential input mode instead.

Before sampling is started, the length and location of the memory buffer in RAM must be configured. Use registers RESULT.MAXCNT and RESULT.PTR to configure the length and location where the output values are to be written. The START task must be triggered to apply the configuration. See EasyDMA for details on memory configuration and how the results are stored in memory.

SAADC is stopped by triggering the STOP task. The STOP task also terminates the ongoing sampling. SAADC generates a STOPPED event when it has stopped. If SAADC is not started when the STOP task is triggered, the STOPPED event is still generated.

Shared resources

The SAADC peripheral shares analog resources with other analog peripherals.

While it is possible to use COMP and SAADC at the same time, selecting the same analog input pin for both peripherals is not supported.

Acquisition time

To sample input voltage, SAADC connects a capacitor to the input, as shown in the following figure.

Figure 2. Simplified SAADC sample network

Acquisition time is the amount of time the capacitor is connected, see the TACQ field in the CH[n].CONFIG register. The required acquisition time depends on the source resistance Rsource. For high source resistance, increase the acquisition time according to the following table:

Table 1. Acquisition time
TACQ [µs]Maximum source resistance [kΩ]
310
540
10100
15200
20400
40800

When using VDDHDIV5 as input, the acquisition time must be 10 µs or longer.

Internal resistor string (resistor ladder)

SAADC has an internal resistor string for positive and negative input. The resistors are controlled in register CH[n].CONFIG.

The following figure illustrates the resistor ladder for positive and negative input:

Figure 3. Resistor ladder for positive input (negative input is equivalent, using RESN instead of RESP)

Reference voltage and gain settings

Each SAADC channel can have individual reference and gain settings. These settings are configured in register CH[n].CONFIG.

The following configuration options are available:

The gain setting controls the effective input range of SAADC, as shown in the following equation:

Input range = (±0.6 V or ±VDD/4)/gain

For example, selecting VDD as reference, single-ended input (grounded negative input), and a gain of 1/4 gives the following input range:

Input range = (VDD/4)/(1/4) = VDD

With internal reference, single-ended input (grounded negative input) and a gain of 1/6, the input range is the following:

Input range = (0.6 V)/(1/6) = 3.6 V

Inputs AIN0 to AIN7 cannot exceed VDD or be lower than VSS.

Operation modes

The SAADC configuration supports Single-channel Single Conversion mode, Single-channel Continuous Conversion mode, and scan mode. Only one mode can be enabled at a time.

Single-channel sampling happens in either Single Conversion mode or Continuous Conversion mode. Scan mode is entered when more than one channel is enabled.

Oversampling can be used to improve the signal-to-noise ratio (SNR). It is not recommended to use oversampling for scan mode. For more information about oversampling, see Oversampling.

Single-channel Single Conversion mode

SAADC performs one conversion of a single channel and stops once complete.

This mode of operation is configured by enabling only one of the available channels defined by the registers CH[n].PSELP, CH[n].PSELN, and CH[n].CONFIG. When the SAMPLE task is triggered, SAADC starts sampling the input voltage.

A DONE event signals that the sample was taken. In this mode, the RESULTDONE and DONE events are equal when oversampling does not happen. Both events can occur before EasyDMA transfers the value to RAM. For more information, see EasyDMA. The END event is generated when RESULT.MAXCNT values are transferred to RAM.

Single-channel Continuous Conversion mode

In Single-channel Continuous Conversion mode, a single channel is sampled continuously.

Continuous sampling is achieved with an internal timer in the SAADC peripheral. The register SAMPLERATE configures the Single-channel Continuous Conversion mode and sample rate.

The sample rate must fulfill the following criteria:

 fSAMPLE  < 1 / (tACQ + tconv)

When Single-channel Continuous Conversion mode is selected, SAADC is started by triggering the SAMPLE task once. Triggering the STOP task stops sampling. A DONE event signals that one sample was taken. In this mode, the RESULTDONE and DONE events are equal when oversampling does not happen. Both events may occur before EasyDMA transfers the value to RAM. For more information, see EasyDMA. The END event is generated when RESULT.MAXCNT values are transferred to RAM.

Scan mode

If more than one channel is enabled, SAADC functions in scan mode.

In scan mode, one SAMPLE task triggers one conversion per enabled channel.

The time it takes to sample all channels is less than the sum of the conversion time of all enabled channels. The conversion time for a channel is defined as the sum of the acquisition time tACQ and the conversion time tCONV.

The events DONE and RESULTDONE are generated when one sample is taken. Both events may occur before EasyDMA transfers the values into RAM, see EasyDMA for more information.

Note: Continuous conversion mode is not supported in scan mode.

Oversampling

An accumulator in SAADC can be used to find the average of several analog input samples. In general, oversampling improves the signal-to-noise ratio (SNR). Oversampling does not improve the integral non-linearity (INL) or differential non-linearity (DNL).

Oversampling is configured in register OVERSAMPLE. When oversampling, 2OVERSAMPLE samples are averaged before one result is transferred to memory. The mode used to sample the input determines when and how those samples are taken.

When oversampling is configured, DONE event is generated for every input sample taken. RESULTDONE event is generated for every averaged value ready to be transferred into RAM. END event is generated when RESULT.MAXCNT averaged values are transferred into RAM.

Note: Oversampling should only be used when a single input channel is enabled, as averaging is performed over all enabled channels.

Digital output

The digital output value is calculated using the following formula.

RESULT = [V(P) – V(N)] * (GAIN/REFERENCE) * 2(RESOLUTION - m)

where V(P) is the voltage at input P, V(N) is the voltage at input N, GAIN is the selected gain, REFERENCE is the selected reference voltage, RESOLUTION is output resolution in bits, as configured in register RESOLUTION, and m being 0 for single-ended channels and 1 for differential channels.

Results are sign extended to 16 bits and stored in RAM in little-endian byte order.

Results generated by SAADC deviate due to DC errors like offset, gain, differential non-linearity (DNL), and integral non-linearity (INL). See Electrical specification for details on these parameters. The result can also vary due to AC errors like non-linearities in the gain block, settling errors due to high source impedance, and sampling jitter. DC errors affect the most for battery measurement.

EasyDMA

SAADC resources are started by triggering the START task. The SAADC uses EasyDMA to store results in a buffer in RAM.

Registers RESULT.PTR and RESULT.MAXCNT must be configured before SAADC is started.

The result buffer is located at the address specified in register RESULT.PTR. This register is double-buffered, and it can be updated and prepared for the next START task immediately after the STARTED event is generated. Register RESULT.MAXCNT specifies the size of the result buffer. SAADC generates an END event when the result buffer is full, as shown in the following figure.

Figure 4. SAADC
SAADC

The following figure provides an example of results in Data RAM with an even RESULT.MAXCNT and channels 1, 2, and 5 enabled.

Figure 5. Example of RAM placement (even RESULT.MAXCNT), channels 1, 2, and 5 enabled

The following figure provides an example of results in Data RAM with an odd RESULT.MAXCNT and channels 1, 2, and 5 enabled.

Figure 6. Example of RAM placement (odd RESULT.MAXCNT), channels 1, 2, and 5 enabled

The last 32-bit word is populated with only one 16-bit result.

See Memory for more information about the different memory regions.

EasyDMA is finished accessing RAM when events END or STOPPED are generated. To see the number of results transferred to the RAM result buffer since the START task was triggered, read register RESULT.AMOUNT.

Event monitoring using limits

Using limits allows event monitoring on channels.

A high and low limit can be configured in the CH[n].LIMIT register. The high limit must be higher than or equal to the low limit.

Relevant events are generated when the conversion results (sampled input signals) are outside of the defined limits. It is not possible to generate an event when the input signal is inside a defined range by switching the high and low limit. An example of event monitoring using limits is illustrated in the following figure:

Figure 7. Event monitoring on channel[n] using limits
Example: Event monitoring on channel n using limits

Limit comparison does not need to be enabled. If event monitoring is not required, related events should be ignored.

Calibration

The SAADC peripheral has a temperature dependent offset.

It is recommended to calibrate SAADC at least once before use, and recalibrate when the ambient temperature changes by more than 10°C.

Offset calibration is started by triggering the CALIBRATEOFFSET task. The CALIBRATEDONE event is generated when calibration is finished.

Registers

Instances

InstanceBase addressDescription
SAADC0x40007000Analog to digital converter

Register overview

RegisterOffsetDescription
TASKS_START0x000Starts the SAADC and prepares the result buffer in RAM
TASKS_SAMPLE0x004Takes one SAADC sample
TASKS_STOP0x008Stops the SAADC and terminates all on-going conversions
TASKS_CALIBRATEOFFSET0x00CStarts offset auto-calibration
EVENTS_STARTED0x100The SAADC has started
EVENTS_END0x104The SAADC has filled up the result buffer
EVENTS_DONE0x108A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM.
EVENTS_RESULTDONE0x10CResult ready for transfer to RAM
EVENTS_CALIBRATEDONE0x110Calibration is complete
EVENTS_STOPPED0x114The SAADC has stopped
EVENTS_CH[0].LIMITH0x118Last result is equal or above CH[0].LIMIT.HIGH
EVENTS_CH[0].LIMITL0x11CLast result is equal or below CH[0].LIMIT.LOW
EVENTS_CH[1].LIMITH0x120Last result is equal or above CH[1].LIMIT.HIGH
EVENTS_CH[1].LIMITL0x124Last result is equal or below CH[1].LIMIT.LOW
EVENTS_CH[2].LIMITH0x128Last result is equal or above CH[2].LIMIT.HIGH
EVENTS_CH[2].LIMITL0x12CLast result is equal or below CH[2].LIMIT.LOW
EVENTS_CH[3].LIMITH0x130Last result is equal or above CH[3].LIMIT.HIGH
EVENTS_CH[3].LIMITL0x134Last result is equal or below CH[3].LIMIT.LOW
EVENTS_CH[4].LIMITH0x138Last result is equal or above CH[4].LIMIT.HIGH
EVENTS_CH[4].LIMITL0x13CLast result is equal or below CH[4].LIMIT.LOW
EVENTS_CH[5].LIMITH0x140Last result is equal or above CH[5].LIMIT.HIGH
EVENTS_CH[5].LIMITL0x144Last result is equal or below CH[5].LIMIT.LOW
EVENTS_CH[6].LIMITH0x148Last result is equal or above CH[6].LIMIT.HIGH
EVENTS_CH[6].LIMITL0x14CLast result is equal or below CH[6].LIMIT.LOW
EVENTS_CH[7].LIMITH0x150Last result is equal or above CH[7].LIMIT.HIGH
EVENTS_CH[7].LIMITL0x154Last result is equal or below CH[7].LIMIT.LOW
INTEN0x300Enable or disable interrupt
INTENSET0x304Enable interrupt
INTENCLR0x308Disable interrupt
STATUS0x400Status
ENABLE0x500Enable or disable SAADC
CH[0].PSELP0x510Input positive pin selection for CH[0]
CH[0].PSELN0x514Input negative pin selection for CH[0]
CH[0].CONFIG0x518Input configuration for CH[0]
CH[0].LIMIT0x51CHigh/low limits for event monitoring of a channel
CH[1].PSELP0x520Input positive pin selection for CH[1]
CH[1].PSELN0x524Input negative pin selection for CH[1]
CH[1].CONFIG0x528Input configuration for CH[1]
CH[1].LIMIT0x52CHigh/low limits for event monitoring of a channel
CH[2].PSELP0x530Input positive pin selection for CH[2]
CH[2].PSELN0x534Input negative pin selection for CH[2]
CH[2].CONFIG0x538Input configuration for CH[2]
CH[2].LIMIT0x53CHigh/low limits for event monitoring of a channel
CH[3].PSELP0x540Input positive pin selection for CH[3]
CH[3].PSELN0x544Input negative pin selection for CH[3]
CH[3].CONFIG0x548Input configuration for CH[3]
CH[3].LIMIT0x54CHigh/low limits for event monitoring of a channel
CH[4].PSELP0x550Input positive pin selection for CH[4]
CH[4].PSELN0x554Input negative pin selection for CH[4]
CH[4].CONFIG0x558Input configuration for CH[4]
CH[4].LIMIT0x55CHigh/low limits for event monitoring of a channel
CH[5].PSELP0x560Input positive pin selection for CH[5]
CH[5].PSELN0x564Input negative pin selection for CH[5]
CH[5].CONFIG0x568Input configuration for CH[5]
CH[5].LIMIT0x56CHigh/low limits for event monitoring of a channel
CH[6].PSELP0x570Input positive pin selection for CH[6]
CH[6].PSELN0x574Input negative pin selection for CH[6]
CH[6].CONFIG0x578Input configuration for CH[6]
CH[6].LIMIT0x57CHigh/low limits for event monitoring of a channel
CH[7].PSELP0x580Input positive pin selection for CH[7]
CH[7].PSELN0x584Input negative pin selection for CH[7]
CH[7].CONFIG0x588Input configuration for CH[7]
CH[7].LIMIT0x58CHigh/low limits for event monitoring of a channel
RESOLUTION0x5F0Resolution configuration
OVERSAMPLE0x5F4Oversampling configuration. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.
SAMPLERATE0x5F8Controls normal or continuous sample rate
RESULT.PTR0x62CData pointer
RESULT.MAXCNT0x630Maximum number of 16-bit samples to be written to output RAM buffer
RESULT.AMOUNT0x634Number of 16-bit samples written to output RAM buffer since the previous START task

TASKS_START

Address offset: 0x000

Starts the SAADC and prepares the result buffer in RAM

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_STARTStarts the SAADC and prepares the result buffer in RAM
Trigger1Trigger task

TASKS_SAMPLE

Address offset: 0x004

Takes one SAADC sample

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_SAMPLETakes one SAADC sample
Trigger1Trigger task

TASKS_STOP

Address offset: 0x008

Stops the SAADC and terminates all on-going conversions

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_STOPStops the SAADC and terminates all on-going conversions
Trigger1Trigger task

TASKS_CALIBRATEOFFSET

Address offset: 0x00C

Starts offset auto-calibration

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_CALIBRATEOFFSETStarts offset auto-calibration
Trigger1Trigger task

EVENTS_STARTED

Address offset: 0x100

The SAADC has started

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_STARTEDThe SAADC has started
NotGenerated0Event not generated
Generated1Event generated

EVENTS_END

Address offset: 0x104

The SAADC has filled up the result buffer

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_ENDThe SAADC has filled up the result buffer
NotGenerated0Event not generated
Generated1Event generated

EVENTS_DONE

Address offset: 0x108

A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_DONEA conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_RESULTDONE

Address offset: 0x10C

Result ready for transfer to RAM

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_RESULTDONEResult ready for transfer to RAM
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CALIBRATEDONE

Address offset: 0x110

Calibration is complete

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_CALIBRATEDONECalibration is complete
NotGenerated0Event not generated
Generated1Event generated

EVENTS_STOPPED

Address offset: 0x114

The SAADC has stopped

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_STOPPEDThe SAADC has stopped
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[0]

Peripheral events.

EVENTS_CH[0].LIMITH

Address offset: 0x118

Last result is equal or above CH[0].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[0].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[0].LIMITL

Address offset: 0x11C

Last result is equal or below CH[0].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[0].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[1]

Peripheral events.

EVENTS_CH[1].LIMITH

Address offset: 0x120

Last result is equal or above CH[1].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[1].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[1].LIMITL

Address offset: 0x124

Last result is equal or below CH[1].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[1].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[2]

Peripheral events.

EVENTS_CH[2].LIMITH

Address offset: 0x128

Last result is equal or above CH[2].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[2].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[2].LIMITL

Address offset: 0x12C

Last result is equal or below CH[2].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[2].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[3]

Peripheral events.

EVENTS_CH[3].LIMITH

Address offset: 0x130

Last result is equal or above CH[3].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[3].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[3].LIMITL

Address offset: 0x134

Last result is equal or below CH[3].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[3].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[4]

Peripheral events.

EVENTS_CH[4].LIMITH

Address offset: 0x138

Last result is equal or above CH[4].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[4].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[4].LIMITL

Address offset: 0x13C

Last result is equal or below CH[4].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[4].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[5]

Peripheral events.

EVENTS_CH[5].LIMITH

Address offset: 0x140

Last result is equal or above CH[5].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[5].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[5].LIMITL

Address offset: 0x144

Last result is equal or below CH[5].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[5].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[6]

Peripheral events.

EVENTS_CH[6].LIMITH

Address offset: 0x148

Last result is equal or above CH[6].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[6].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[6].LIMITL

Address offset: 0x14C

Last result is equal or below CH[6].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[6].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[7]

Peripheral events.

EVENTS_CH[7].LIMITH

Address offset: 0x150

Last result is equal or above CH[7].LIMIT.HIGH

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITHLast result is equal or above CH[7].LIMIT.HIGH
NotGenerated0Event not generated
Generated1Event generated

EVENTS_CH[7].LIMITL

Address offset: 0x154

Last result is equal or below CH[7].LIMIT.LOW

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLIMITLLast result is equal or below CH[7].LIMIT.LOW
NotGenerated0Event not generated
Generated1Event generated

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWSTARTEDEnable or disable interrupt for event STARTED
Disabled0Disable
Enabled1Enable
BRWENDEnable or disable interrupt for event END
Disabled0Disable
Enabled1Enable
CRWDONEEnable or disable interrupt for event DONE
Disabled0Disable
Enabled1Enable
DRWRESULTDONEEnable or disable interrupt for event RESULTDONE
Disabled0Disable
Enabled1Enable
ERWCALIBRATEDONEEnable or disable interrupt for event CALIBRATEDONE
Disabled0Disable
Enabled1Enable
FRWSTOPPEDEnable or disable interrupt for event STOPPED
Disabled0Disable
Enabled1Enable
GRWCH0LIMITHEnable or disable interrupt for event CH0LIMITH
Disabled0Disable
Enabled1Enable
HRWCH0LIMITLEnable or disable interrupt for event CH0LIMITL
Disabled0Disable
Enabled1Enable
IRWCH1LIMITHEnable or disable interrupt for event CH1LIMITH
Disabled0Disable
Enabled1Enable
JRWCH1LIMITLEnable or disable interrupt for event CH1LIMITL
Disabled0Disable
Enabled1Enable
KRWCH2LIMITHEnable or disable interrupt for event CH2LIMITH
Disabled0Disable
Enabled1Enable
LRWCH2LIMITLEnable or disable interrupt for event CH2LIMITL
Disabled0Disable
Enabled1Enable
MRWCH3LIMITHEnable or disable interrupt for event CH3LIMITH
Disabled0Disable
Enabled1Enable
NRWCH3LIMITLEnable or disable interrupt for event CH3LIMITL
Disabled0Disable
Enabled1Enable
ORWCH4LIMITHEnable or disable interrupt for event CH4LIMITH
Disabled0Disable
Enabled1Enable
PRWCH4LIMITLEnable or disable interrupt for event CH4LIMITL
Disabled0Disable
Enabled1Enable
QRWCH5LIMITHEnable or disable interrupt for event CH5LIMITH
Disabled0Disable
Enabled1Enable
RRWCH5LIMITLEnable or disable interrupt for event CH5LIMITL
Disabled0Disable
Enabled1Enable
SRWCH6LIMITHEnable or disable interrupt for event CH6LIMITH
Disabled0Disable
Enabled1Enable
TRWCH6LIMITLEnable or disable interrupt for event CH6LIMITL
Disabled0Disable
Enabled1Enable
URWCH7LIMITHEnable or disable interrupt for event CH7LIMITH
Disabled0Disable
Enabled1Enable
VRWCH7LIMITLEnable or disable interrupt for event CH7LIMITL
Disabled0Disable
Enabled1Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWSTARTEDWrite '1' to enable interrupt for event STARTED
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRWENDWrite '1' to enable interrupt for event END
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRWDONEWrite '1' to enable interrupt for event DONE
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
DRWRESULTDONEWrite '1' to enable interrupt for event RESULTDONE
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
ERWCALIBRATEDONEWrite '1' to enable interrupt for event CALIBRATEDONE
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
FRWSTOPPEDWrite '1' to enable interrupt for event STOPPED
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
GRWCH0LIMITHWrite '1' to enable interrupt for event CH0LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
HRWCH0LIMITLWrite '1' to enable interrupt for event CH0LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
IRWCH1LIMITHWrite '1' to enable interrupt for event CH1LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
JRWCH1LIMITLWrite '1' to enable interrupt for event CH1LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
KRWCH2LIMITHWrite '1' to enable interrupt for event CH2LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
LRWCH2LIMITLWrite '1' to enable interrupt for event CH2LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
MRWCH3LIMITHWrite '1' to enable interrupt for event CH3LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
NRWCH3LIMITLWrite '1' to enable interrupt for event CH3LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
ORWCH4LIMITHWrite '1' to enable interrupt for event CH4LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
PRWCH4LIMITLWrite '1' to enable interrupt for event CH4LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
QRWCH5LIMITHWrite '1' to enable interrupt for event CH5LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
RRWCH5LIMITLWrite '1' to enable interrupt for event CH5LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
SRWCH6LIMITHWrite '1' to enable interrupt for event CH6LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
TRWCH6LIMITLWrite '1' to enable interrupt for event CH6LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
URWCH7LIMITHWrite '1' to enable interrupt for event CH7LIMITH
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
VRWCH7LIMITLWrite '1' to enable interrupt for event CH7LIMITL
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWSTARTEDWrite '1' to disable interrupt for event STARTED
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRWENDWrite '1' to disable interrupt for event END
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRWDONEWrite '1' to disable interrupt for event DONE
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
DRWRESULTDONEWrite '1' to disable interrupt for event RESULTDONE
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
ERWCALIBRATEDONEWrite '1' to disable interrupt for event CALIBRATEDONE
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
FRWSTOPPEDWrite '1' to disable interrupt for event STOPPED
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
GRWCH0LIMITHWrite '1' to disable interrupt for event CH0LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
HRWCH0LIMITLWrite '1' to disable interrupt for event CH0LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
IRWCH1LIMITHWrite '1' to disable interrupt for event CH1LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
JRWCH1LIMITLWrite '1' to disable interrupt for event CH1LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
KRWCH2LIMITHWrite '1' to disable interrupt for event CH2LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
LRWCH2LIMITLWrite '1' to disable interrupt for event CH2LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
MRWCH3LIMITHWrite '1' to disable interrupt for event CH3LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
NRWCH3LIMITLWrite '1' to disable interrupt for event CH3LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
ORWCH4LIMITHWrite '1' to disable interrupt for event CH4LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
PRWCH4LIMITLWrite '1' to disable interrupt for event CH4LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
QRWCH5LIMITHWrite '1' to disable interrupt for event CH5LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
RRWCH5LIMITLWrite '1' to disable interrupt for event CH5LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
SRWCH6LIMITHWrite '1' to disable interrupt for event CH6LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
TRWCH6LIMITLWrite '1' to disable interrupt for event CH6LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
URWCH7LIMITHWrite '1' to disable interrupt for event CH7LIMITH
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
VRWCH7LIMITLWrite '1' to disable interrupt for event CH7LIMITL
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled

STATUS

Address offset: 0x400

Status

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARSTATUSStatus
Ready0SAADC is ready. No on-going conversions.
Busy1SAADC is busy. Conversion in progress.

ENABLE

Address offset: 0x500

Enable or disable SAADC

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENABLEEnable or disable SAADC
Disabled0Disable SAADC
Enabled1

Enable SAADC

When enabled, the SAADC will acquire access to analog input pins specified in registers CH[n].PSELP and CH[n].PSELN

CH[0].PSELP

Address offset: 0x510

Input positive pin selection for CH[0]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[0].PSELN

Address offset: 0x514

Input negative pin selection for CH[0]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[0].CONFIG

Address offset: 0x518

Input configuration for CH[0]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[0].LIMIT

Address offset: 0x51C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[1].PSELP

Address offset: 0x520

Input positive pin selection for CH[1]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[1].PSELN

Address offset: 0x524

Input negative pin selection for CH[1]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[1].CONFIG

Address offset: 0x528

Input configuration for CH[1]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[1].LIMIT

Address offset: 0x52C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[2].PSELP

Address offset: 0x530

Input positive pin selection for CH[2]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[2].PSELN

Address offset: 0x534

Input negative pin selection for CH[2]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[2].CONFIG

Address offset: 0x538

Input configuration for CH[2]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[2].LIMIT

Address offset: 0x53C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[3].PSELP

Address offset: 0x540

Input positive pin selection for CH[3]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[3].PSELN

Address offset: 0x544

Input negative pin selection for CH[3]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[3].CONFIG

Address offset: 0x548

Input configuration for CH[3]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[3].LIMIT

Address offset: 0x54C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[4].PSELP

Address offset: 0x550

Input positive pin selection for CH[4]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[4].PSELN

Address offset: 0x554

Input negative pin selection for CH[4]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[4].CONFIG

Address offset: 0x558

Input configuration for CH[4]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[4].LIMIT

Address offset: 0x55C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[5].PSELP

Address offset: 0x560

Input positive pin selection for CH[5]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[5].PSELN

Address offset: 0x564

Input negative pin selection for CH[5]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[5].CONFIG

Address offset: 0x568

Input configuration for CH[5]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[5].LIMIT

Address offset: 0x56C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[6].PSELP

Address offset: 0x570

Input positive pin selection for CH[6]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[6].PSELN

Address offset: 0x574

Input negative pin selection for CH[6]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[6].CONFIG

Address offset: 0x578

Input configuration for CH[6]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[6].LIMIT

Address offset: 0x57C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

CH[7].PSELP

Address offset: 0x580

Input positive pin selection for CH[7]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELPAnalog positive input channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[7].PSELN

Address offset: 0x584

Input negative pin selection for CH[7]

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPSELNAnalog negative input, enables differential channel
NC0Not connected
AnalogInput01AIN0
AnalogInput12AIN1
AnalogInput23AIN2
AnalogInput34AIN3
AnalogInput45AIN4
AnalogInput56AIN5
AnalogInput67AIN6
AnalogInput78AIN7
VDD9VDD
VDDHDIV50x0DVDDH/5

CH[7].CONFIG

Address offset: 0x588

Input configuration for CH[7]

Bit number313029282726252423222120191817161514131211109876543210
IDGFEEEDCCCBBAA
Reset 0x0002000000000000000000100000000000000000
IDR/WFieldValue IDValueDescription
ARWRESPPositive channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
BRWRESNNegative channel resistor control
Bypass0Bypass resistor ladder
Pulldown1Pull-down to GND
Pullup2Pull-up to VDD
VDD1_23Set input at VDD/2
CRWGAINGain control
Gain1_601/6
Gain1_511/5
Gain1_421/4
Gain1_331/3
Gain1_241/2
Gain151
Gain262
Gain474
D-RWREFSELReference control
Internal0Internal reference (0.6 V)
VDD1_41VDD/4 as reference
ERWTACQAcquisition time, the time the SAADC uses to sample the input voltage
3us03 µs
5us15 µs
10us210 µs
15us315 µs
20us420 µs
40us540 µs
FRWMODEEnable differential mode
SE0Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND
Diff1Differential
GRWBURSTEnable burst mode
Disabled0Burst mode is disabled (normal operation)
Enabled1Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM.

CH[7].LIMIT

Address offset: 0x58C

High/low limits for event monitoring of a channel

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAA
Reset 0x7FFF800001111111111111111000000000000000
IDR/WFieldValue IDValueDescription
ARWLOW[-32768 to +32767]Low level limit
BRWHIGH[-32768 to +32767]High level limit

RESOLUTION

Address offset: 0x5F0

Resolution configuration

Bit number313029282726252423222120191817161514131211109876543210
IDAAA
Reset 0x0000000100000000000000000000000000000001
IDR/WFieldValue IDValueDescription
ARWVAL

Set the resolution

8bit08 bits
10bit110 bits
12bit212 bits
14bit314 bits

OVERSAMPLE

Address offset: 0x5F4

Oversampling configuration. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWOVERSAMPLEOversample control
Bypass0Bypass oversampling
Over2x1Oversample 2x
Over4x2Oversample 4x
Over8x3Oversample 8x
Over16x4Oversample 16x
Over32x5Oversample 32x
Over64x6Oversample 64x
Over128x7Oversample 128x
Over256x8Oversample 256x

SAMPLERATE

Address offset: 0x5F8

Controls normal or continuous sample rate

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCC[80..2047]Capture and compare value. Sample rate is 16 MHz/CC
BRWMODESelect mode for sample rate control
Task0Rate is controlled from SAMPLE task
Timers1Rate is controlled from local timer (use CC to control the rate)

RESULT

RESULT EasyDMA channel

RESULT.PTR

Address offset: 0x62C

Data pointer

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPTR

Data pointer

Note: See Memory for details about memories available to EasyDMA.

RESULT.MAXCNT

Address offset: 0x630

Maximum number of 16-bit samples to be written to output RAM buffer

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWMAXCNTMaximum number of 16-bit samples to be written to output RAM buffer

RESULT.AMOUNT

Address offset: 0x634

Number of 16-bit samples written to output RAM buffer since the previous START task

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARAMOUNTNumber of 16-bit samples written to output RAM buffer since the previous START task. This register can be read after an END or STOPPED event.

Electrical specification

SAADC electrical specification

SymbolDescriptionMin.Typ.Max.Units
DNL10Differential non-linearity, 10-bit resolution-0.95<1LSB10b
INL10Integral non-linearity, 10-bit resolution1LSB10b
DNL12Differential non-linearity, 12-bit resolution-0.951.3LSB12b
INL12Integral non-linearity, 12-bit resolution4.7LSB12b
VOSDifferential offset error (calibrated), 10-bit resolution 1±2LSB10b
EVDDHDIV5Error on VDDHDIV5 input±1%
CEGGain error temperature coefficient0.02%/◦C
fSAMPLEMaximum sampling rate200kHz
tCONVConversion time<2µs
EG1/6Error2 for gain = 1/6-33%
EG1/4Error2 for gain = 1/4-33%
EG1/2Error2 for gain = 1/2-34%
EG1Error2 for gain = 1-34%
CSAMPLESample and hold capacitance at maximum gain32.5pF
RINPUTInput resistance>1MΩ
ENOBEffective number of bits, differential mode, 12-bit resolution, 1/1 gain, 3 µs acquisition time, crystal HFCLK, 200 ksps9Bit
SNDRPeak signal to noise and distortion ratio, differential mode, 12-bit resolution, 1/1 gain, 3 µs acquisition time, crystal HFCLK, 200 ksps56dB
SFDRSpurious free dynamic range, differential mode, 12-bit resolution, 1/1 gain, 3 µs acquisition time, crystal HFCLK, 200 ksps70dBc
RLADDERLadder resistance160kΩ
1 Digital output code at zero volt differential input.
2 Does not include temperature drift
3 Maximum gain corresponds to highest capacitance.