\n

SADC

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x14 byte (0x0)
mem_usage : registers
protection :

Registers

FIFO_RD

FIFO_THD

FIFO_STAT

CLK

CFG


FIFO_RD

Sense ADC Read FIFO Register
address_offset : 0x1B00 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

FIFO_RD FIFO_RD read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DATA

DATA : When the register is read, data in the FIFO buffer is accessed.
bits : 0 - 31 (32 bit)
access : read-only


FIFO_THD

Sense ADC FIFO Threshold Register
address_offset : 0x1C00 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FIFO_THD FIFO_THD read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 THD

THD : This is used to set the threshold at which the DMA request is made to the hardware handshake mechanism.
bits : 0 - 5 (6 bit)
access : read-write


FIFO_STAT

Sense ADC Status Register
address_offset : 0x1C04 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

FIFO_STAT FIFO_STAT read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 COUNT VAL

COUNT : Sense ADC FIFO Count, number of 32 bits words in the FIFO. Maximum value is 0x40 or decimal 64
bits : 0 - 6 (7 bit)
access : read-only

VAL : Identify whether FIFO is empty 0x0: FIFO is empty 0x1: FIFO is not empty
bits : 8 - 8 (1 bit)
access : read-only


CLK

Sense ADC Clock Register
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CLK CLK read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CLK_SEL CLK_EN

CLK_SEL : ADC clock select 0x0: 16 MHz 0x1: 8 MHz 0x2: 4 MHz 0x3: 2 MHz 0x4: 1.6 MHz 0x5: 1 MHz 0x6: 1.6 MHz 0x7: 1 MHz
bits : 28 - 30 (3 bit)
access : read-write

CLK_EN : Enable ADC clock 0x0: Disable 0x1: Enable
bits : 31 - 31 (1 bit)
access : read-write


CFG

Sense ADC Configuration Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CFG CFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIAS_REF_CTRL CODE_IN EN_CAL MODE EN_VBAT EN_TMP CH_N CH_P REF_HP_MODE REF_SEL EN RST

BIAS_REF_CTRL : Buffered internal reference 0x0: 0.5V 0x1: 0.6V 0x2: 0.7V 0x3: 0.8V - 0xF: 2.0V Note: For any specific reference value (Vref), the maximum ADC input is supposed to be 2xVref.
bits : 0 - 3 (4 bit)
access : read-write

CODE_IN : Used to define dynamic range of ADC. Default set to <0x7>, for higher input signal frequencies close to nyquist rate use <0x1>
bits : 8 - 10 (3 bit)
access : read-write

EN_CAL : Used to swap inputs of comparator for offset calibration. 0x0: Disable 0x1: Enable
bits : 12 - 12 (1 bit)
access : read-write

MODE : Used to define opertation either single ended or differential. 0x0: Diff 0x1: Single
bits : 13 - 13 (1 bit)
access : read-write

EN_VBAT : Enable battery sensor 0x0: Disable 0x1: Enable
bits : 14 - 14 (1 bit)
access : read-write

EN_TMP : Enable temperature sensor 0x0: Disable 0x1: Enable
bits : 15 - 15 (1 bit)
access : read-write

CH_N : Used to define input for channel N 0x0: MSIO0 as input 0x1: MSIO1 as input 0x2: MSIO2 as input 0x3: MSIO3 as input 0x4: MSIO4 as input 0x5: Temperature sensor as input 0x6: Battery sensor as input
bits : 16 - 18 (3 bit)
access : read-write

CH_P : Used to define input for channel P 0x0: MSIO0 as input 0x1: MSIO1 as input 0x2: MSIO2 as input 0x3: MSIO3 as input 0x4: MSIO4 as input 0x5: Temperature sensor as input 0x6: Battery sensor as input
bits : 19 - 21 (3 bit)
access : read-write

REF_HP_MODE : Used to define current in the reference circuit :Default-<0x0> at 100KS/s and <0x7> at 1MS/s
bits : 24 - 26 (3 bit)
access : read-write

REF_SEL : Reference Voltage Select 0x0: Buffered internal reference 0x1: Reserved 0x2: Reserved 0x3: Using MSIO0 as reference 0x4: Using MSIO1 as a reference 0x5: Using MSIO2 as a reference 0x6: Using MSIO3 as a reference 0x7: Reserved Note: Because the maximum input for any MSIO is supposed to be VBATT. So in this case, there is no benefit from using an external input higher than VBATT/2.
bits : 27 - 29 (3 bit)
access : read-write

EN : Enable ADC 0x0: Disable ADC 0x1: Enable ADC
bits : 30 - 30 (1 bit)
access : read-write

RST : Reset ADC 0x0: None 0x1: Reset
bits : 31 - 31 (1 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.