\n

ANA

Peripheral Memory Blocks

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

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

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

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

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

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

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

Registers

ANA_VMID (VMID)

ANA_LDOSEL (LDOSEL)

ANA_LDOPD (LDOPD)

ANA_MICBSEL (MICBSEL)

ANA_MICBEN (MICBEN)

ANA_MUXCTL (MUXCTL)

ANA_PGACTL (PGACTL)

ANA_SIGCTL (SIGCTL)

ANA_PGAGAIN (PGAGAIN)

ANA_CURCTL0 (CURCTL0)

ANA_TRIM (TRIM)

ANA_CAPSCTL (CAPSCTL)

ANA_CAPSCNT (CAPSCNT)

ANA_FQMMCTL (FQMMCTL)

ANA_FQMMCNT (FQMMCNT)


ANA_VMID (VMID)

VMID Reference Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_VMID ANA_VMID 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 PULLDOWN PDLORES PDHIRES

PULLDOWN : VMID Pulldown
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Release VMID pin for reference operation

#1 : 1

Pull VMID pin to ground. Default power down and reset condition

End of enumeration elements list.

PDLORES : Power Down Low (4.8kΩ) Resistance Reference
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Connect the Low Resistance reference to VMID. Use this setting for fast power up of VMID. Can be turned off after 50ms to save power

#1 : 1

The Low Resistance reference is disconnected from VMID. Default power down and reset condition

End of enumeration elements list.

PDHIRES : Power Down High (360kΩ) Resistance Reference
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Connect the High Resistance reference to VMID. Use this setting for minimum power consumption

#1 : 1

The High Resistance reference is disconnected from VMID. Default power down and reset condition

End of enumeration elements list.


ANA_LDOSEL (LDOSEL)

LDO Voltage Select Register
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_LDOSEL ANA_LDOSEL 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 LDOSEL

LDOSEL : Select LDO Output Voltage Note that maximum I/O pad operation speed only specified for voltage >2.4V.
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

0 : 0

3.0V

1 : 1

1.8V

2 : 2

2.4V

3 : 3

3.3V

End of enumeration elements list.


ANA_LDOPD (LDOPD)

LDO Power Down Register
address_offset : 0x24 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_LDOPD ANA_LDOPD 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 PD DISCHAR

PD : Power Down LDO When powered down no current delivered to VD33.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Enable LDO

#1 : 1

Power Down

End of enumeration elements list.

DISCHAR : Discharge
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

No load on VD33

#1 : 1

Switch discharge resistor to VD33

End of enumeration elements list.


ANA_MICBSEL (MICBSEL)

Microphone Bias Select Register
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_MICBSEL ANA_MICBSEL 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 VOLSEL REFSEL

VOLSEL : Select Microphone Bias Voltage MICBMODE aaa 0 0: 90% VCCA 1: 65% VCCA 2: 75% VCCA 3: 50% VCCA MICBMODE aaa 1 0: 2.4V 1: 1.7V 2: 2.0V 3: 1.3V
bits : 0 - 1 (2 bit)
access : read-write

REFSEL : Select Reference Source For MICBIAS Generator VMID provides superior noise performance for MICBIAS generation and should be used unless fixed voltage is absolutely necessary, then noise performance can be sacrificed and bandgap voltage used as reference.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

VMID aaa VCCA/2 is reference source

#1 : 1

VBG (bandgap voltage reference) is reference source

End of enumeration elements list.


ANA_MICBEN (MICBEN)

Microphone Bias Enable Register
address_offset : 0x2C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_MICBEN ANA_MICBEN 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 MICBEN

MICBEN : Enable Microphone Bias Generator
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Powered Down

#1 : 1

Enabled

End of enumeration elements list.


ANA_MUXCTL (MUXCTL)

Analog Multiplexer Control Register
address_offset : 0x50 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_MUXCTL ANA_MUXCTL 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 NEGINSEL POSINSEL PTATCUR PGAINSEL MUXEN

NEGINSEL : Selects Connection Of GPIOB[7:0] To PGA_INN, Negative Input Of PGA If NEGINSEL[n] aaa 1 then GPIOB[n] is connected to PGA_INN.
bits : 0 - 7 (8 bit)
access : read-write

POSINSEL : Selects Connection Of GPIOB[7,5,3,1] To PGA_INP, Positive Input Of PGA 1000b: GPIOB[7] connected to PGA_INP 0100b: GPIOB[5] connected to PGA_INP 0010b: GPIOB[3] connected to PGA_INP 0001b: GPIOB[1] connected to PGA_INP
bits : 8 - 11 (4 bit)
access : read-write

PTATCUR : Select PTAT Current I_PTAT, to PGA_INN, negative input to PGA, for temperature measurement.
bits : 12 - 12 (1 bit)
access : read-write

PGAINSEL : Select MICP/MICN To PGA Inputs
bits : 13 - 13 (1 bit)
access : read-write

MUXEN : Enable The Analog Multiplexer
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

All channels disabled

#1 : 1

Selection determined by register setting

End of enumeration elements list.


ANA_PGACTL (PGACTL)

PGA Enable Register
address_offset : 0x60 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_PGACTL ANA_PGACTL 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 REFSEL PUPGA PUBOOST BSTGAIN

REFSEL : Select Reference For Analog Path Signal path is normally referenced to VMID (VCCA/2). To use an absolute reference this can be set to VBG aaa 1.2V.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Select VMID voltage as analog ground reference

#1 : 1

Select Bandgap voltage as analog ground reference

End of enumeration elements list.

PUPGA : Power Up Control For PGA Amplifier This amplifier must be powered up for signal path operation.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power Down

#1 : 1

Power up

End of enumeration elements list.

PUBOOST : Power Up Control For Boost Stage Amplifier This amplifier must be powered up for signal path operation.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power Down

#1 : 1

Power up

End of enumeration elements list.

BSTGAIN : Boost Stage Gain Setting
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Gain aaa 0dB

#1 : 1

Gain aaa 26dB

End of enumeration elements list.


ANA_SIGCTL (SIGCTL)

Signal Path Control Register
address_offset : 0x64 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_SIGCTL ANA_SIGCTL 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 PUZCDCMP PUBUFPGA PUBUFADC PUCURB PUADCOP MUTEPGA MUTEBST

PUZCDCMP : Power Up And Enable Control For Zero Cross Detect Comparator When enabled PGA gain settings will only be updated when ADC input signal crosses zero signal threshold. To operate ZCD the ALC peripheral clock (CLK_APBCLK0.BFALCKEN) must also be enabled and BIQ_CTL.DLCOEFF aaa 1 to allow ZCD clocks to be generated.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power down

#1 : 1

Power up and enable zero cross detection

End of enumeration elements list.

PUBUFPGA : Power Up Control For PGA Reference Buffer This block must be powered up for signal path operation.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power down

#1 : 1

Power up

End of enumeration elements list.

PUBUFADC : Power Up Control For ADC Reference Buffer This block must be powered up for signal path operation.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power down

#1 : 1

Power up

End of enumeration elements list.

PUCURB : Power Up Control For Current Bias Generation This block must be powered up for signal path operation.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power down

#1 : 1

Power up

End of enumeration elements list.

PUADCOP : Power Up ADC ΣΔ Modulator This block must be powered up for ADC operation.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power down

#1 : 1

Power up

End of enumeration elements list.

MUTEPGA : PGA Mute Control
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal

#1 : 1

Signal Muted

End of enumeration elements list.

MUTEBST : Boost Stage Mute Control
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal

#1 : 1

Signal Muted

End of enumeration elements list.


ANA_PGAGAIN (PGAGAIN)

PGA Gain Select Register
address_offset : 0x68 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_PGAGAIN ANA_PGAGAIN 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 GAINSET GAINREAD

GAINSET : Select The PGA Gain Setting From -12dB to 35.25dB in 0.75dB step size. 0x00 is lowest gain setting at -12dB and 0x3F is largest gain at 35.25dB.
bits : 0 - 5 (6 bit)
access : read-write

GAINREAD : Current PGA Gain Read Only. May be different from GAIN register when AGC is enabled and is controlling the PGA gain.
bits : 8 - 13 (6 bit)
access : read-write


ANA_CURCTL0 (CURCTL0)

Current Source Control Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_CURCTL0 ANA_CURCTL0 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 CURSRCEN VALSEL

CURSRCEN : Enable Current Source to GPIOB[x] Individually enable current source to GPIOB pins. Each GPIOB pin has a separate current source.
bits : 0 - 7 (8 bit)
access : read-write

Enumeration:

0 : 0

Disable

1 : 1

Enable current source to pin GPIOB[x]

End of enumeration elements list.

VALSEL : Current Source Value Select master current for source generation
bits : 8 - 9 (2 bit)
access : read-write

Enumeration:

0 : 0

0.5 uA

1 : 1

1 uA

2 : 2

2.5 uA

3 : 3

5 uA

End of enumeration elements list.


ANA_TRIM (TRIM)

Oscillator Trim Register
address_offset : 0x84 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_TRIM ANA_TRIM 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 OSCTRIM COARSE SUPERFINE

OSCTRIM : Oscillator Trim Reads current oscillator trim setting. Read Only.
bits : 0 - 7 (8 bit)
access : read-write

COARSE : COARSE Current coarse range setting of the oscillator. Read Only
bits : 8 - 15 (8 bit)
access : read-write

SUPERFINE : Superfine The superfine trim setting is an 8bit signed integer. It adjusts the master oscillator by dithering the FINE trim setting between the current setting and one setting above (values 1,127) or below (values -1, -128) the current trim setting. Each step effectively moves the frequency 1/128th of the full FINE trim step size.
bits : 16 - 23 (8 bit)
access : read-write


ANA_CAPSCTL (CAPSCTL)

Capacitive Touch Sensing Control Register
address_offset : 0x8C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_CAPSCTL ANA_CAPSCTL 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 LOWTIME CYCLECNT CLKMODE CLKDIV RSTCNT INTEN CAPSEN

LOWTIME : Output Low Time Number of PCLK cycles to discharge external capacitor.
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

0 : 0

1cycle

1 : 1

2cycles

2 : 2

8cycles

3 : 3

16cycles

End of enumeration elements list.

CYCLECNT : Number of Relaxation Cycles Peripheral performs 2^(CYCLECNT) relaxation cycles before generating interrupt.
bits : 2 - 4 (3 bit)
access : read-write

CLKMODE : Reference Clock Mode
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capacitive Touch Sensing Mode

#1 : 1

Circuit is in Reference clock generation mode

End of enumeration elements list.

CLKDIV : Reference Clock Divider Circuit can be used to generate a reference clock output of SDCLK/2/(CLKDIV+1) instead of a Capacitive Touch Sensing reset signal.
bits : 8 - 15 (8 bit)
access : read-write

RSTCNT : Reset Count 0: Release/Activate ANA_CAPSCNT 1: Set high to reset ANA_CAPSCNT.
bits : 29 - 29 (1 bit)
access : read-write

INTEN : Interrupt Enable
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable/Reset CAPS_IRQ interrupt

#1 : 1

Enable CAPS_IRQ interrupt

End of enumeration elements list.

CAPSEN : Enable
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable/Reset block

#1 : 1

Enable Block

End of enumeration elements list.


ANA_CAPSCNT (CAPSCNT)

Capacitive Touch Sensing Count Register
address_offset : 0x90 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

ANA_CAPSCNT ANA_CAPSCNT 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 CAPSCNT

CAPSCNT : Counter Read Back Value Of Capacitive Touch Sensing Block
bits : 0 - 23 (24 bit)
access : read-only


ANA_FQMMCTL (FQMMCTL)

Frequency Measurement Control Register
address_offset : 0x94 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ANA_FQMMCTL ANA_FQMMCTL 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 CLKSEL MMSTS CYCLESEL FQMMEN

CLKSEL : Reference Clock Source 00b: OSC16K, 01b: OSC32K (default), 1xb: I2S_WS - can be GPIOA[4,8,12] according to SYS_GPA_MFP register, configure I2S in SLAVE mode to enable.
bits : 0 - 1 (2 bit)
access : read-write

MMSTS : Measurement Done
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Measurement Ongoing

#1 : 1

Measurement Complete

End of enumeration elements list.

CYCLESEL : Frequency Measurement Cycles Number of reference clock periods plus one to measure target clock (PCLK). For example if reference clock is OSC32K (T is 30.5175us), set CYCLESEL to 7, then measurement period would be 30.5175*(7+1), 244.1us.
bits : 16 - 23 (8 bit)
access : read-write

FQMMEN : FQMMEN
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable/Reset block

#1 : 1

Start Frequency Measurement

End of enumeration elements list.


ANA_FQMMCNT (FQMMCNT)

Frequency Measurement Count Register
address_offset : 0x98 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

ANA_FQMMCNT ANA_FQMMCNT 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 FQMMCNT

FQMMCNT : Frequency Measurement Count When MMSTS aaa 1 and G0 aaa 1, this is number of PCLK periods counted for frequency measurement. The frequency will be PCLK aaa FQMMCNT * Fref /(CYCLESEL+1) Hz Maximum resolution of measurement is Fref /(CYCLESEL+1)*2 Hz
bits : 0 - 15 (16 bit)
access : read-only



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.