EasyManua.ls Logo

GigaDevice Semiconductor GD32VF103 - ADC Sync Mode; Table 11-6. Maximum Output Results Vs N and M (Grayed Values Indicates Truncation)

GigaDevice Semiconductor GD32VF103
536 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GD32VF103 User Manual
166
example of the processing, from a raw 20-bit accumulated data to the final 16-bit result.
Figure 11-12. Numerical example with 5-bits shift and rounding
2 A C D 6Raw 20-bit data
19 15 11 7 3 0
1 5 6 6
15 11 7 3 0
Final result after 5-bit shift and rounding
to nearest
The Table 11-6. Maximum output results vs N and M (Grayed values indicates
truncation) below gives the data format for the various N and M combination, for a raw
conversion data equal to 0xFFF.
Table 11-6. Maximum output results vs N and M (Grayed values indicates truncation)
The conversion timings in oversampled mode do not change compared to standard
conversion mode: the sample time is maintained equal during the whole oversampling
sequence. New data are provided every N conversion, with an equivalent delay equal to:
t
ADC
=N×(t
SMPL
+t
CONV
) (11-2)
11.5. ADC sync mode
In devices with two ADC, ADC sync mode can be used.
In ADC sync mode, the conversion starts alternately or simultaneously triggered by ADC0
master to ADC1 slave, according to the mode selected by the SYNCM[3:0] bits in
ADC1_CTL0 register.
Oversa
mpling
ratio
Max
Raw
data
No-shift
OVSS=
0000
1-bit
shift
OVSS=
0001
2-bit
shift
OVSS=
0010
3-bit
shift
OVSS=
0011
4-bit
shift
OVSS=
0100
5-bit
shift
OVSS=
0101
6-bit
shift
OVSS=
0110
7-bit
shift
OVSS=
0111
8-bit
shift
OVSS=
1000
2x
0x1FFE
0x1FFE
0x0FFF
0x07FF
0x03FF
0x01FF
0x00FF
0x007F
0x003F
0x001F
4x
0x3FFC
0x3FFC
0x1FFE
0x0FFF
0x07FF
0x03FF
0x01FF
0x00FF
0x007F
0x003F
8x
0x7FF8
0x7FF8
0x3FFC
0x1FFE
0x0FFF
0x07FF
0x03FF
0x01FF
0x00FF
0x007F
16x
0xFFF0
0xFFF0
0x7FF8
0x3FFC
0x1FFE
0x0FFF
0x07FF
0x03FF
0x01FF
0x00FF
32x
0x1FFE0
0xFFE0
0xFFF0
0x7FF8
0x3FFC
0x1FFE
0x0FFF
0x07FF
0x03FF
0x01FF
64x
0x3FFC0
0xFFC0
0xFFE0
0xFFF0
0x7FF8
0x3FFC
0x1FFE
0x0FFF
0x07FF
0x03FF
128x
0x7FF80
0xFF80
0xFFC0
0xFFE0
0xFFF0
0x7FF8
0x3FFC
0x1FFE
0x0FFF
0x07FF
256x
0xFFF00
0xFF00
0xFF80
0xFFC0
0xFFE0
0xFFF0
0x7FF8
0x3FFC
0x1FFE
0x0FFF

Table of Contents

Related product manuals