ST7MC2S6 STMicroelectronics, ST7MC2S6 Datasheet - Page 38
![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: 38 of 309
- Download datasheet (6Mb)
ST7MC1xx/ST7MC2xx
MAIN CLOCK CONTROLLER WITH REAL-TIME CLOCK (Cont’d)
6.4.5 Low Power Modes
6.4.6 Interrupts
The MCC/RTC interrupt event generates an inter-
rupt if the OIE bit of the MCCSR register is set and
the interrupt mask in the CC register is not active
(RIM instruction).
Note:
The MCC/RTC interrupt wakes up the MCU from
Active-halt mode, not from Halt mode.
6.4.7 Register Description
MCC CONTROL/STATUS REGISTER (MCCSR)
Read/Write
Reset Value: 0000 0000 (00h
Bit 7 = MCO Main clock out selection
This bit enables the MCO alternate function on the
PF0 I/O port. It is set and cleared by software.
0: MCO alternate function disabled (I/O pin free for
1: MCO alternate function enabled (f
Note: To reduce power consumption, the MCO
function is not active in Active-halt mode.
38/309
1
MCO CP1
Wait
Active-
halt
Halt
Time base overflow
event
general-purpose I/O)
port)
Mode
Interrupt Event
7
No effect on MCC/RTC peripheral.
MCC/RTC interrupt cause the device to exit
from Wait mode.
No effect on MCC/RTC counter (OIE bit is
set), the registers are frozen.
MCC/RTC interrupt cause the device to exit
from Active-halt mode.
MCC/RTC counter and registers are frozen.
MCC/RTC operation resumes when the
MCU is woken up by an interrupt with “exit
from Halt” capability.
CP0
SMS
Event
Flag
OIF
Description
TB1
Control
Enable
OIE
Bit
)
TB0
from
Wait
OSC2
Exit
Yes
OIE
on I/O
from
No
Halt
Exit
OIF
0
1)
Bit 6:5 = CP[1:0] CPU clock prescaler
These bits select the CPU clock prescaler which is
applied in the different slow modes. Their action is
conditioned by the setting of the SMS bit. These
two bits are set and cleared by software
Bit 4 = SMS Slow mode select
This bit is set and cleared by software.
0: Normal mode. f
1: Slow mode. f
See
MAIN CLOCK CONTROLLER WITH REAL-TIME
CLOCK AND BEEPER (MCC/RTC)
tails.
Bit 3:2 = TB[1:0] Time base control
These bits select the programmable divider time
base. They are set and cleared by software.
A modification of the time base is taken into ac-
count at the end of the current period (previously
set) to avoid an unwanted time shift. This allows to
use this time base as a real-time clock.
Bit 1 = OIE Oscillator interrupt enable
This bit set and cleared by software.
0: Oscillator interrupt disabled
1: Oscillator interrupt enabled
This interrupt can be used to exit from Active-halt
mode.
When this bit is set, calling the ST7 software HALT
instruction enters the Active-halt power saving
mode
Prescaler
Counter
200000
16000
32000
80000
Section 8.2 SLOW MODE
f
.
CPU
in Slow mode
f
f
f
f
OSC2
OSC2
OSC2
OSC2
f
OSC2
20ms
50ms
/ 16
CPU
4ms
8ms
/ 2
/ 4
/ 8
=4MHz f
CPU
Time Base
is given by CP1, CP0
=
f
OSC2
OSC2
10ms
25ms
2ms
4ms
=8MHz
CP1
0
0
1
1
and
for more de-
Section 6.4
TB1
0
0
1
1
CP0
0
1
0
1
TB0
0
1
0
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: