SNIU028D February 2016 – September 2020 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
Address 0x0008_0020 – Front End Control 2 EADC Control Register
Address 0x000B_0020 – Front End Control 1 EADC Control Register
Address 0x000E_0020 – Front End Control 0 EADC Control Register
28 | 27 | 26 | 25 | 24 |
D2S_COMP_EN | EN_HYST_HIGH | EN_HYST_LOW | SAMP_TRIG_SCALE |
R/W-0 | R/W-0 | R/W-0 | R/W-0000 |
23 | 22 | 21 | 20 | 19 | 16 |
SAMP_TRIG_SCALE | FRAME_SYNC _EN | SCFE_CNT _RST | SCFE_CNT_INIT |
R/W-0000 | R/W-0 | R/W-0 | R/W-0000 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
EADC_INV | AUTO_GAIN _SHIFT_MODE | AUTO_GAIN _SHIFT_EN | AVG_WEIGHT _EN | AVG_SPATIAL _EN | AVG_MODE_SEL | EADC_MODE |
R/W-0 | R/W-0 | R/W-0 | R/W-0 | R/W-0 | R/W-00 | R/W-000 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EADC_MODE | AFE_GAIN | SCFE_GAIN _FILTER_SEL | SCFE_CLK _DIV_2 | SCFE_ENA | EADC_ENA |
R/W-000 | R/W-11 | R/W-1 | R/W-1 | R/W-1 | R/W-1 |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
28 | D2S_COMP_EN | R/W | 0 | Analog Front End Ramp Comparator Enable 0 = Analog Front End Ramp Comparator disabled (Default) 1 = Analog Front End Ramp Comparator enabled |
27 | EN_HYST_HIGH | R/W | 0 | Increase comparator trip point by ~70mV 0 = Disables increase of ramp comparator trip point (Default) 1 = Enables increase of ramp comparator trip point |
26 | EN_HYST_LOW | R/W | 0 | Decrease comparator trip point by ~70mV 0 = Disables decrease of ramp comparator trip point (Default) 1 = Enables decrease of ramp comparator trip point |
25-22 | SAMP_TRIG _SCALE | R/W | 0000 | Provides capability to mask incoming sample triggers to Front End Control 0 = EADC conversion initiated on every received sample trigger (Default) 1 = EADC conversion initiated once every 2 received sample triggers 2 = EADC conversion initiated once every 3 received sample triggers …. 15 = EADC conversion initiated once every 16 received sample triggers |
21 | FRAME_SYNC _EN | R/W | 0 | Enable synchronization of switched cap front end counter to Switching Cycle Frame boundary 0 = Switch Cap Front End Counter not synchronized to frame (Default) 1 = Switch Cap Front End Counter synchronized to frame boundary |
20 | SCFE_CNT_RST | R/W | 0 | Force reset of Switched Cap Front End Counter 0 = Switch Cap Front End Counter operational (Default) 1 = Switch Cap Front End Counter reset |
19-16 | SCFE_CNT_INIT | R/W | 0000 | Configures initial Switched Cap Front End Counter value out of reset or at start of switching cycle in Peak Current mode |
15 | EADC_INV | R/W | 0 | Enables EADC Data Inversion on data to filter module 0 = EADC Data is not inverted (Default) 1 = EADC Data Inverted |
14 | AUTO_GAIN _SHIFT_MODE | R/W | 0 | Configures Automatic Gain Shifting mode 0 = Fixed mode, gain shifting dependent on saturation of EADC for decreasing gain and less than 1/4 of dynamic range for increasing gain (Default) 1 = NL mode, gain shifting dependent on Non-Linear limit thresholds |
13 | AUTO_GAIN _SHIFT_EN | R/W | 0 | Enables Automatic Gain Shifting mode 0 = Automatic Gain Shifting Mode disabled (Default) 1 = Automatic Gain Shifting Mode enabled |
12 | AVG_WEIGHT _EN | R/W | 0 | Enables weighted averaging in EADC averaging mode, only applicable in 4x and 8x averaging mode. For 4x averaging, two oldest samples are each weighted by 1/8, the next oldest sample has a weight of ¼ and the newest sample is weighted by ½. For 8x averaging, the four oldest samples are each weighted by 1/16, the next 2 oldest samples are weighted by 1/8, and the two newest samples are weighted by 1/4. 0 = Weighted averaging disabled (Default) 1 = Weighted averaging enabled |
11 | AVG_SPATIAL _EN | R/W | 0 | Enables spatial mode in EADC averaging mode 0 = Consecutive EADC samples averaged based on every received sample trigger from DPWM modules (Default) 1 = EADC samples averaged based on received sample triggers from DPWM modules. 2 sample triggers required for a single averaged sample to filter. 4 sample triggers required for a single averaged sample to filter module |
10-9 | AVG_MODE_SEL | R/W | 00 | Averaging Mode Configuration 0 = 2x Averaging (Default) 1 = 4x Averaging 2 = 8x Averaging |
8-6 | EADC_MODE | R/W | 000 | Selects EADC Mode Operation 0 = Standard mode, EADC samples based on sample triggers from DPWM module (Default) 1 = Averaging Mode, configured by AVG_MODE_SEL 2 = Non-continuous SAR Mode 3 = Continuous SAR Mode 4 = Reserved 5 = Peak Current Mode 6 = Constant Power/Constant Current Control Mode (CPCC module controls switching between Standard Mode and Non-Continuous SAR Mode) 7 = Constant Power/Constant Current Control 2 Mode (CPCC module controls switching between Standard mode and Continuous SAR Mode) |
5-4 | AFE_GAIN | R/W | 11 | AFE Front End Gain Setting 0 = 1x Gain, 8mV/LSB 1 = 2x Gain, 4mV/LSB 2 = 4x Gain, 2mV/LSB 3 = 8x Gain, 1mV/LSB (Default) |
3 | SCFE_GAIN _FILTER_SEL | R/W | 1 | Switched Cap Noise Filter Enable 0 = Disables Switch Cap Noise Filter 1 = Enables Switch Cap Noise Filter (Default) |
2 | SCFE_CLK_DIV_2 | R/W | 1 | Switched Cap Front End Clock Divider Select 0 = Switch Cap Period divide by 2 (128 ns nominal sample period) 1 = Switch Cap Period divide by 1 (Default – 64 ns nominal sample period) |
1 | SCFE_ENA | R/W | 1 | Switch Cap Front Enable 0 = Disables Switch Cap Front End logic 1 = Enables Switch Cap Front End logic (Default) |
0 | EADC_ENA | R/W | 1 | EADC Enable 0 = Disables EADC 1 = Enables EADC (Default) |