Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
419
/
631
OPAMP calibration
The chip has been calibrated before delivery. Users can calibrate the chip again according to the actual environment.
OPAMP Independent write protection
By configuring the OPAMP_LOCK register, the write protection of OPAMP can be set independently.After the write
protection is set, the software cannot write to the corresponding OPAMP register. Only after the chip is reset, the
write protection can be cancelled.
OPAMP TIMER controls the switching mode
In some applications, The input switching of the OPAMP can be performed through TIMx_CC6 ,TIM1_CC6 controls
the input switching between OPAMP1 and OPAMP2. OPAMP2 can also accept the control input switching between
TIM8_CC6.
When TIM1_CC6 is high, OPAMP1 and OPAMP2 select the port configured by VPSSEL/VMSSEL as input,
otherwise use VPSEL/VMSEL. When TIM8_CC6 is high, OPAMP2 selects the port configured by
VPSSEL/VMSSEL as input, otherwise VPSEL/VMSEL is used.
Set OPAMPx_CS. TCMEN to 1 to enable the automatic switchover input function. The process for configuring the
automatic switchover is as follows:
Enable automatic switching function OPAMPx_CS.TCMEN(2 OPAMP independent control)
Configure OPAMP2_CS.TIMSRCSEL select TIM1_CC6 or TIM8_CC6
Configured two conversion MUX configuration (VPSEL,VMSEL, VPSSEL, VMSSEL)
Start OPAMP and TIM
OPAMP register
OPAMP register overview
Table 20-1 OPAMP register overview
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
000h
OPAMP_CS1
Reserved
VPS
S
E
L
[2:0]
VM
S
S
E
L
[1:0
]
T
C
M
E
N
R
AN
GE
C
AL
OU
T
T
S
T
R
E
F
R
es
er
ve
d
C
AL
ON
VPS
E
L
[2:0]
VM
S
E
L
[1:0]
P
GA
GA
N[
2:0]
M
OD
[1:0]
EN
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
010h
OPAMP_CS2
Reserved
T
IM
S
R
C
S
E
L
R
es
er
ve
d
VPS
S
E
L
[2:0]
VM
S
S
E
L
[1:0
]
T
C
M
E
N
R
AN
GE
C
AL
OU
T
T
S
T
R
E
F
R
es
er
ve
d
C
AL
ON
VPS
E
L
[2:0]
VM
S
E
L
[1:0]
P
GA
GA
N[
2:0]
M
OD
[1:0]
EN
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0