ST7MC1xx/ST7MC2xx
MOTOR CONTROLLER (Cont’d)
MOTOR CURRENT FEEDBACK
(MCFR)
Read/Write
Reset Value: 0000 0000 (00h)
REGISTER
7
6
5
4
3
2
1
0
RPGS RST CFF2 CFF1 CFF0 CFW2 CFW1 CFW0
Bit 7= RPGS: Register Page Selection:
0: Access to registers mapped in page 0
1: Access to registers mapped in page 1
Bit 6= RST: Reset MTC registers.
Software can set this bit to reset all MTC registers
without resetting the ST7.
0: No MTC register reset
1: Reset all MTC registers
Bits 5:3 = CFF[2:0]: Current Feedback Filter bits
These bits select the number of consecutive valid
samples (when the current is above the limit)
needed to generate the active event. Sampling is
done at fPERIPH/4.
Table 67. Current Feedback Filter Setting
CFF2
0
0
0
0
1
1
1
1
CFF1
0
0
1
1
0
0
1
1
CFF0
0
1
0
1
0
1
0
1
Current Feedback Samples
1
2
3
4
5
6
7
8
Bits 2:0 = CFW[2:0]: Current Window Filter bits:
These bits select the length of the blanking win-
dow activated each time PWM is turned ON. The
filter blanks the output of the current comparator.
Table 68. Current Feedback Window Setting
CFW2 CFW1 CFW0
Blanking Window
0
0
0
Blanking window off
0
0
1
0.5µs
0
1
0
1µs
0
1
1
1.5µs
1
0
0
2µs
1
0
1
2.5µs
1
1
0
3µs
1
1
1
3.5µs
Note: Times are indicated for 4 MHz fPERIPH
215/309