User Manual
AIC 324
Name
x
x
x
CL4
CL3
CL2
CL1
CL0
Lower ADC channel number in scan mode. Writing to this register leads to setting of the channel at the
module. Channel number can be from 0 to 31.
+3
R\W
Higher ADC channel number in scan mode.
Bit #
7
6
5
4
3
2
1
0
Name
x
x
x
CH4
CH3
CH2
CH1
CH0
Higher ADC channel number in scan mode. Channel number can be from 0 to 31.
+4
W
ADC control
Bit #
7
6
5
4
3
2
1
0
Name
FIFOEN
ADINTE
SCANEN
х
х
х
х
FIFORST
SCANEN (bit 5)
– Enable ADC channels scan mode.
ADINTE (bit 6)
– Enable interrupt from ADC.
FIFOEN (bit 7)
– Enable FIFO mode when using ADC. If interrupt is enabled, it will occur when TF flag is set
to 1. If this mode is disabled and interrupt from ADC is enabled, it will occur each time on ADC conversion.
Bit FIFORST
– Reset FIFO pointers.
+4
R
ADC status
Bit #
7
6
5
4
3
2
1
0
Name
FIFOEN
WAIT
STS
0
EF
TF
FF
OVR
EF, TF, FF, OVF
– ADC FIFO status bits: Empty FIFO, FIFO threshold reached, FIFO overflow.
STS (bit 5)
– ADC status: if = 1 the conversion in process or channels scan mode in process.
WAIT (bit 6) = 0
– ADC conversion enabled; = 1 – conversion start is not allowed, the time is needed for
setting a signal when a channel is changed, gain or range is switched. The waiting time is about 10
μs.
+5
R
DAC status
Bit #
7
6
5
4
3
2
1
0
Name
0
0
0
0
0
0
0
DACBUSY
DACBUSY bit indicates that data is being transferred to DAC. At this moment writing to the registers 5 and 6
is disabled.
+5
W
DAC control
Bit #
7
6
5
4
3
2
1
0
Name
WGSTRT
WGPS
WGRST
WGINC
DASIM
DAGEN
DACH1
DACH0
Bits DACH1-0 set current DAC channel in operation (0 to 3).
Bit DAGEN
– if = 1, write the set data in FIFO along with the channel number.
Bit DASIM
– if = 0, when writing Register 5, the data is transferred to DAC and set at DAC output;
if = 1, write to buffer occurs without output to DAC.
Bit WGINC
– Write the data and increment the address counter in buffer. Manual mode.
Bit WGRST
– Reset the generator buffer address.
Bit WGPS
– Pause the generator. During pause, bit WGRST can be used to reset the generator.
Bit WGSTRT
– Generator start in any mode.
+6
R
Update DAC data for all 4 channels
Update DAC data for all 4 channels.