st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 233

no-image

st7fmc2s7t6

Manufacturer Part Number
st7fmc2s7t6
Description
8-bit Mcu With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, Five Timers, Spi, Linsci
Manufacturer
STMicroelectronics
Datasheet
OP-AMP MODULE (Cont’d)
10.7.5 Op-Amp Programming
The flowchart for Op-Amp operation is shown in
Figure 126
Figure 126. Normal Op-Amp Operation
(4)
Write OACSR = x0p1 pxx0
p : same as before
Yes
#OFFCMP & AVGCMP
should be set simultenaously
(2a)
Write OACSR = x111 0xx0
Wait for 24576*TCPU cycles
Read CMPOVR = 1
Re-compensate
Offset ?
(1)
No
Yes
closed loop gain > 20dB @ 100kHz ?
Write OACSR = x0010xx0
Wait for Amplifier to wake up (T
Average Compensation ?
Compensation Offset ?
Power On Reset
OACSR = 0000 0000
Op-Amp useable
Need
Yes
No
#The HIGHGAIN bit can also be written in step (1) or (2)
(2b)
Write OACSR = x101 0xx0
Wait for 1536*TCPU cycles
Read CMPOVR = 1
wakeup
Write OACSR = x1p1 1xx0
p : same as before
External components always connected
No
No
)
Yes
ST7MC1/ST7MC2
(3) #
233/308

Related parts for st7fmc2s7t6