st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 272

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
Caution:
272/371
Table 137. MPHST register description (continued)
As the MPHST register contains bits with preload, the whole register has to be written at
once. This means that a bit set or bit reset instruction on only one bit without preload resets
all the bits with preload.
Motor current feedback register (MCFR)
Table 138. MCFR register description
5:0 OO[5:0]
MCFR
5:3 CFF[2:0]
Bit
Bit
7
6
RPGS
R/W
7
Name
RPGS
Name
RST
Channel ON/OFF bits
Register page selection
Reset MTC registers
Current feedback filter bits
RST
R/W
These bits are used to switch channels ON/OFF at the next C event if the DAC
bit = 0 or if DAC directly = 1.
0: Channel OFF (output channel state inactive), the relevant switch is OFF, no PWM
1: Channel ON (output channel state active), the relevant switch is ON, PWM is
6
0: Access to registers mapped in page 0
1: Access to registers mapped in page 1
Software can set this bit to reset all MTC registers without resetting the ST7.
0: No MTC register reset
1: Reset all MTC registers
These bits select the number of consecutive valid samples (when the current is
above the limit) needed to generate the active event
000: current feedback samples = 1
001: current feedback samples = 2
010: current feedback samples = 3
011: current feedback samples = 4
100: current feedback samples = 5
101: current feedback samples = 6
110: current feedback samples = 7
111: current feedback samples = 8
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
possible
possible (not significant when PCN or DTE bit is set)
5
CFF[2:0]
R/W
4
Function
Function
3
2
(1)
Reset value: 0000 0000 (00h)
:
CFW[2:0]
R/W
1
0

Related parts for st7pmc2s6