User guide
Arch Meter Corporation PS1000 Ver1.2
PS1000Rev. 1.2 May 2006
24/ 67
www.archmeter.com
The MCU can disable the AGC function and control by MCU itself. The
MCUCFG can set the AGCCFG.EN as 0. It will disable the AGC function and the gain
will follow the value by AGCCFG.IAGain and AFGCFG.IBGain.
The MCU can get the current gain information form the AGCGain register. Here is
the format of AGCGain.
AGCGain (FE08h)
B7 B6 B5 B4 B3 B2 B1 B0
0 0 IAGain 0 0 IBGain
The MCU can set the AGC threshold to control the AGC adjustment point. The
threshold setting as
(MSB) (LSB)
AGCTH_L = {FE65h, FE64h, FE63h, FE62h, FE61h, FE60h}
AGCTH_H = {FE6Bh, FE6Ah, FE69h, FE68h, FE67h, FE66h}
6.3 DSP Status
The MCU can check the DSP status through the DSPStatus register.
DSPStatus (0xFE1A)
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
DSPRDY STOP TRIGCNT
DSPRDY
0: DSP data is not ready
1: DSP data is ready, MCU need to read the DSP data and clear the
DSPRDY flag
STOP
0: DSP is running
1: DSP is stop and wait for next ADC data
TRIGCNT: DSP Trig Count