ST7MC2S6 STMicroelectronics, ST7MC2S6 Datasheet - Page 181
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
ST7MC2S6
Manufacturer Part Number
ST7MC2S6
Description
8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC,BRUSHLESS MOTOR CONTROL, 5 TIMERS, SPI, LINSCI(TM)
Manufacturer
STMicroelectronics
Datasheet
1.ST7MC1K4.pdf
(309 pages)
Specifications of ST7MC2S6
Hdflash Endurance
100 cycles, data retention
Clock Sources
crystal/ceramic resonator oscillators and by-pass for external clock, clock security system.
Four Power Saving Modes
Halt, Active-Halt, Wait and Slow
Main Clock Controller With
Real time base, Beep and Clock-out capabilities
Two 16-bit Timers With
2 input captures, 2 output compares, external clock input, PWM and pulse generator modes
8-bit Pwm Auto-reload Timer With
2 input captures, 4 PWM outputs, output compare and time base interrupt, external clock with event detector
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 181 of 309
- Download datasheet (6Mb)
MOTOR CONTROLLER (Cont’d)
Hall sensors (or equivalent sensors providing posi-
tion information) are widely used for motor control.
There are two cases to be considered:
– BLDC motor or six-step synchronous motor
– BLAC, asynchronous or motors supplied with 3-
Hall sensors are usually arranged in a 120° config-
uration. In that case they provide 3 ppr with both
rising and falling edge triggering; the tachogenera-
tor measurement method can therefore be ap-
plied. The main difference lies in the fact that one
must use the position information they provide.
This can be done using the three MCIx pins and
the analog multiplexer to know which of the 3 sen-
sors toggled; an interrupt is generated just after
the expected transition (refer to
As described in
configured depending on the selected sensor. This
means that most of Delay Manager registers are
used for a different purpose, with modified func-
tionalities.
For greater precision, the MTIM Up-counter is ex-
tended to 16 bits using MTIM and an additional
MTIML register. On a capture event, the current
counter value is captured and the counter
Figure 101. Hall sensor period acquisition using MTIM timer
drive; “Sensor Mode” is recommended in this
case, as most tasks are performed by hardware
in the Delay Manager
phase sinewave-modulated PWM signals in gen-
eral; in this case “Speed Sensor Mode” allows
high accuracy speed measurement (the Sensor
Mode of the Delay Manager being unsuitable for
sinewave generation). Position information is
handled by software to lock the statoric field to
the rotoric one for driving synchronous motors.
Period measurements
MCIC: Hall Sensor 3
MCIA: Hall Sensor 1
MCIB: Hall Sensor 2
Tacho Capture
Interrupts
Figure
102, the MTIM Timer is re-
C
Figure
C
C
1-2
101).
C
2-3
1 mechanical cycle
C
3-1
C
1-2
[MTIM:MTIML] is cleared. The counting direction
is not affected by the EDIR bit when using an en-
coder sensor.
A 16-bit capture register is used to store the cap-
tured value of the extended MTIM counter: the
speed result will be either a period in clock cycles
or a number of encoder pulses. This 16-bit register
is mapped in the MZREG and MZPRV register ad-
dresses. To ensure that the read value is not cor-
rupted between the high and low byte accesses, a
read access to the MSB of this register (MZREG)
locks the LSB (ie MZPRV content is locked) until it
is read and any other capture event in between
these two accesses is discarded.
A compare unit allows a maximum value to be en-
tered for the tacho periods. If the 16-bit counter
[MTIM:MTIML] exceeds this value, a Speed Error
interrupt is generated. This may be used to warn
the user that the tachogenerator signal is lost
(wires disconnected, motor stalled,...). As 8-bit ac-
curacy is sufficient for this purpose, only the MS-
Byte of the counter (i.e. MTIM) is compared to 8-bit
compare register, mapped in the MDREG register
location. The LSByte is nevertheless compared
with a fixed FFh value. Available values for com-
parison are therefore FFFFh, FEFFh, FDFFh, ...,
01FFh, 00FFh.
Note: This functionality is not useful when using
an encoder. With an encoder, user must monitor
the captured values by software during the period-
ic capture interrupts: for instance, when driving an
AC motor, if the values are too low compared to
the stator frequency, a software interrupt may be
triggered.
C
2-3
C
3-1
C
C
ST7MC1xx/ST7MC2xx
C
C
181/309
C
1
Related parts for ST7MC2S6
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ST7MC-KIT/BLDC](/photos/39/38/393887/st7mc-kit_tmb.jpg)
Part Number:
Description:
KIT STARTER COMPLETE MOTOR CTRL
Manufacturer:
STMicroelectronics
Datasheet:
![ST7MC-MOT/IND](/photos/39/38/393887/st7mc-kit_tmb.jpg)
Part Number:
Description:
KIT STARTER SOFTEC MOTOR CTRL
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4040BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4054BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
![STEVAL-MKI062V2](/photos/28/39/283999/steval-mki062v2_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
![BUT32V](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![STTA12006TV2](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
TURBOSWITCH ULTRA-FAST HIGH VOLTAGE DIODE
Manufacturer:
STMicroelectronics
Datasheet:
![E110NS20FD](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
![MDS50-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![MDS35-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![E16N100](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search -----> STE16N100
Manufacturer:
STMicroelectronics
Datasheet:
![E53NA50](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search ---> STE53NA50
Manufacturer:
STMicroelectronics
Datasheet: