37.13.25 ADC Timing for First Class Channel Register (x = 0)

Name: ADC0TIME
Offset: 0x350
Reset: 0x00000000
Property: -

Bit 3130292827262524 
    EISx[2:0]SELRESx[1:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 2322212019181716 
 BCHENxADCDIVx[6:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
       SAMCx[9:8] 
Access R/WR/W 
Reset 00 
Bit 76543210 
 SAMCx[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 28:26 – EISx[2:0] Early Interrupt Select Bits for First Class Channel index x (x=0)

These bits select the number of clocks prior to the end of conversion that the early interrupt is generated.
Note: Depending on the bit resolution selection field SELRESx[1:0], the allowed EISx[2:0] values are:
  • For SELRESx[1:0] == 2’b11, i.e. 12-bit Resolution, all 8 possible settings for Early interrupt are allowed, 0 to 7 (1 to 8 Core Clock periods early)
  • For SELRESx[1:0] == 2’b10, i.e. 10-bit Resolution, all 8 possible settings for Early interrupt are allowed, 0 to 7 (1 to 8 Core Clock periods early)
  • For SELRESx[1:0] == 2’b01, i.e. 8-bit Resolution, only the 6 lowest settings are allowed, 0 to 5 (1 to 6 Core Clock periods early)
  • For SELRESx[1:0] == 2’b00, i.e. 6-bit Resolution, only the 4 lowest settings are allowed, 0 to 3 (1 to 4 Core Clock periods early)

The hardware will utilize the maximum allowed Early Interrupt setting if the user programs the EISx bit-field to a nonallowed value.

ValueDescription
111 The early ready interrupt is generated 8 ADC core clocks prior to end of conversion
110 The early ready interrupt is generated 7 ADC core clocks prior to end of conversion
101 The early ready interrupt is generated 6 ADC core clocks prior to end of conversion
100 The early ready interrupt is generated 5 ADC core clocks prior to end of conversion
011 The early ready interrupt is generated 4 ADC core clocks prior to end of conversion
010 The early ready interrupt is generated 3 ADC core clocks prior to end of conversion
001 The early ready interrupt is generated 2 ADC core clocks prior to end of conversion
000 The early ready interrupt is generated 1 ADC core clock prior to end of conversion

Bits 25:24 – SELRESx[1:0] ADCx Resolution Select bits

Selects ADC Resolution for First Class Channel index x (x=0) as follows:

00 -> 6 bits / 01 -> 8 bits / 10 -> 10 bits / 11 -> 12 bits

ValueDescription
00 Sets the resolution to 6 bits for the ADC
01 Sets the resolution to 8 bits for the ADC
10 Sets the resolution to 10 bits for the ADC
11 Sets the resolution to 12 bits for the ADC

Bit 23 – BCHENx Buffer Channel Enable bit

If set to 1 and if ADCDMASTAT.DMAGEN == 1, the output data of first class channel x, (x=0), will be saved by the DMA interface to the System RAM. If set to 0, this first class channel output data can be retrieved only via the UPB interface.

Bits 22:16 – ADCDIVx[6:0] ADCx Clock Divisor bits

Division Ratio for the SAR ADC core clock core_clk[x] of the First Class Channel index x (x=0) from the ADC control clock ctl_clk.

The ADCDIVx bit field divides the ADC control clock ctl_clk with period TQ:

ValueDescription
1111111 2TQ·(ADCDIVx[6:0]) = 254·TQ = TADx
······
0000011 2TQ·(ADCDIVx[6:0]) = 6·TQ = TADx
0000010 2TQ·(ADCDIVx[6:0]) = 4·TQ = TADx
0000001 2TQ·(ADCDIVx[6:0]) = 2·TQ = TADx
0000000 Reserved (but still implemented as 2TQ·(ADCDIVx[6:0]) = 2·TQ = TADx)

Bits 9:0 – SAMCx[9:0] ADCx Sample Time bits

Burst Mode Sampling Time for First Class Channel index x (x=0...6) applies to all samples of a burst of samples converted by the first channel index x (when the channel is set with trigger level sensitivity), with the following exception regarding the very first sample in the burst. If the bit ADCTRGMODE.SSAMPENx is set to zero (y=0...1, x=0...6), then the first sample of a burst is sampled in asynchronous mode, which means that the trigger event for the first sample signifies the end-of-sampling. If the bit ADCTRGMODE.SSAMPENx is set to one, then the first sample is made in synchronous mode, which means that the locallysynchronized (control clock edge-aligned) trigger event signifies the extension-of-sampling, which has a duration dictated by this bit-field SAMCx in the same way the subsequent samples of the burst have.

This bit field uses the encoding as follows:

SAMCx[9:0] is specified in TADX = period of the core_clk[x], which is the ADC core clock for the first class ADC core index x, controlled by ADCDIVx[6:0] defined above in this table.

ValueDescription
1111111111 1025 TADX
·····
0000000001 3 TADX
0000000000 2 TADX