ST7MC2S4:8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC,BRUSHLESS MOTOR CONTROL, 5 TIMERS, SPI, LINSCI(TM)

The ST7MCx device is member of the ST7 microcontroller family designed for mid-range applications with a Motor Control dedicated peripheral.

All devices are based on a common industry-standard 8-bit core, featuring an enhanced instruction set and are available with FLASH, ROM or FASTROM program memory.

Under software control, all devices can be placed in WAIT, SLOW, ACTIVE-HALT or HALT mode, reducing power consumption when the application is in idle or stand-by state.

The enhanced instruction set and addressing modes of the ST7 offer both power and flexibility to software developers, enabling the design of highly efficient and compact application code. In addition to standard 8-bit data management, all ST7 microcontrollers feature true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes.

The devices feature an on-chip Debug Module (DM) to support in-circuit debugging (ICD). For a description of the DM registers, refer to the ST7 ICC Protocol Reference Manual.

Key Features

  • Instruction set8-bit Data Manipulation63 Basic Instructions with illegal opcode detection17 main Addressing Modes8 x 8 Unsigned Multiply InstructionTrue Bit Manipulation
  • In-circuit Debug
  • Development toolsFull hardware/software development package
  • Brushless motor control peripheral6 high sink PWM output channels for sinewave or trapezoidal inverter control Motor safety including asynchronous emergency stop and write-once registers4 analog inputs for rotor position detection (sensorless/hall/tacho/encoder)Permanent magnet motor coprocessor including multiplier, programmable filters, blanking windows and event countersOperational amplifier and comparator for current/voltage mode regulation and limitation
  • 2 Communication interfacesSPI synchronous serial interfaceLINSCI asynchronous serial interface
  • Memories8K to 60K dual voltage FLASH Program memory or ROM with read-out protection capability, In-Application Programming and In-Circuit Programming.384 to 1.5K RAMHDFlash endurance: 100 cycles, data retention: 40 years at 85˚C
  • Interrupt managementNested interrupt controller14 interrupt vectors plus TRAP and RESETMCES top level interrupt pin16 external interrupt lines (on 3 vectors)
  • Clock, reset and supply managementEnhanced reset systemEnhanced low voltage supervisor (LVD) for main supply and auxiliary voltage detector (AVD) with interrupt capabilityClock sources: crystal/ceramic resonator oscillators and by-pass for external clock, clock security system.Four power saving modes: Halt, Active-Halt, Wait and Slow
  • 5 TimersMain Clock Controller with: Real time base, Beep and Clock-out capabilitiesConfigurable window watchdog timerTwo 16-bit timers with: 2 input captures, 2 output compares, external clock input, PWM and pulse generator modes8-bit PWM Auto-Reload timer with: 2 input captures, 4 PWM outputs, output compare and time base interrupt, external clock with event detector
  • Analog peripheral10-bit ADC with 16 input pins
  • Up to 60 I/O portsup to 60 multifunctional bidirectional I/O linesup to 41 alternate function linesup to 12 high sink outputs
Product Specifications
DescriptionVersionSize
DS3702: 8-bit MCU with nested interrupts, Flash, 10-bit ADC, brushless motor control, five timers, SPI, LINSCI™13.24 MB
Application Notes
DescriptionVersionSize
AN1812: A High Precision, Low Cost, Single Supply ADC for Positive and Negative Input Voltages1.3320 KB
AN1755: A High Resolution/Precision thermometer using ST7 and NE5551.377 KB
AN2390: A flexible universal battery charger1.2572 KB
AN1530: Accurate timebase for low-cost ST7 applications with internal RC oscillator1.469 KB
AN2389: An MCU-based low cost non-inverting buck-boost converter for battery chargers1.4127 KB
AN2030: Back EMF detection during PWM on time by ST7MC2.4340 KB
AN2017: DIFFERENT WAYS TO RESET ST7 MICROCONTROLLER1.3108 KB
AN1754: Data logging program for testing ST7 applications via ICC1.4129 KB
AN1577: Device firmware upgrade (DFU) implementation in ST7 USB devices1.4143 KB
AN1633: Device firmware upgrade (DFU) implementation in non-USB applications1.462 KB
AN976: Driving a buzzer through ST7 timer PWM function1.468 KB
AN979: Driving an analog keyboard with the ST7 ADC1.6139 KB
AN1709: EMC design guide for ST microcontrollers2.0843 KB
AN2271: Ekey-Udisk solution1.359 KB
AN1181: Electrostatic discharge sensitivity measurement1.649 KB
AN1502: Emulated data EEPROM with ST7 HDFlash memory1.542 KB
AN1477: Emulated data EEPROM with XFlash memory1.427 KB
AN985: Executing code in ST7 RAM1.452 KB
AN1796: Field updates for Flash based ST7 applications using a PC COMM port1.4141 KB
AN1712: GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART1.5105 KB
AN2197: Guidelines for migrating ST72F324 & ST72F321 applications to ST72F324B, ST72F321B or ST72F3251.486 KB
AN2200: Guidelines for migrating ST7LITE1x applications to ST7FLITE1xB1.6104 KB
AN1149: Handling suspend mode on a USB mouse1.4101 KB
AN1014: How to minimize the ST7 power consumption1.4252 KB
AN971: I2C communication between ST7 and M24CXX EEPROM1.668 KB
AN1576: In-Application Programming (IAP) drivers for ST7 HDFlash or XFlash MCUs1.469 KB
AN1278: LIN (Local Interconnect Network) solutions1.5297 KB
AN1047: Managing reception errors with the ST7 SCI peripheral1.420 KB
AN1040: Monitoring the VBUS signal for USB self-powered devices1.428 KB
AN1044: Multiple interrupt sources management for ST7 MCUs1.4100 KB
AN1575: On-board programming methods for XFlash and HDFlash ST7 MCUs1.467 KB
AN1077: Overview of enhanced CAN controllers for ST7 and ST9 MCUs1.580 KB
AN1953: PFC for ST7MC starter kit2.4217 KB
AN2511: PMBus™ interface using ST7 I²C3.2645 KB
AN2009: PWM management for 3-phase BLDC motor drives using the ST7MC2.3919 KB
AN1179: Programming ST7 Flash microcontrollers in remote ISP mode (In-Situ Programming)1.4165 KB
AN974: Real time clock with ST7 Timer Output Compare1.466 KB
AN969: SCI communication between ST7 and PC1.458 KB
AN1713: SMBus slave driver for ST7 I2C peripheral1.442 KB
AN1711: SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS1.3638 KB
AN970: SPI communication between ST7 and EEPROM1.563 KB
AN3084: ST7 10-bit A/D converter non-linearity at center of range1.352 KB
AN990: ST7 Benefits versus Industry Standard1.455 KB
AN1070: ST7 Checksum self-checking capability1.452 KB
AN1045: ST7 S/W implementation of I2C bus master1.4150 KB
AN972: ST7 Software SPI master communication1.437 KB
AN1046: ST7 UART emulation software1.4171 KB
AN910: ST7 and ST9 performance benchmarking2.5711 KB
AN1635: ST7 customer ROM code release information1.443 KB
AN980: ST7 keypad decoding techniques, implementing wake-up on keystroke1.545 KB
AN1039: ST7 math utility routines1.4171 KB
AN1105: ST7 pCAN peripheral driver1.7581 KB
AN1042: ST7 routine for I2C slave mode management1.489 KB
AN987: ST7 serial test controller programming1.576 KB
AN1048: ST7 software LCD driver5.3226 KB
AN1078: ST7 timer PWM duty cycle switch for true 0% or 100% duty cycle1.459 KB
AN1086: ST7/ST10/U435 CAN-do solutions for car multiplexing1.5146 KB
AN1947: ST7MC PMAC sine wave motor control software library2.5600 KB
AN1904: ST7MC three-phase AC induction motor control software library3.41 MB
AN1068: Selecting between ROM, FASTROM and Flash for a microcontroller1.489 KB
AN886: Selecting between ROM, FASTROM and OTP for a microcontroller1.3124 KB
AN1946: Sensorless BLDC motor control and BEMF sampling methods with ST7MC2.4653 KB
AN2154: Space vector modulation using 8-bit ST7MC microcontroller and ST7MC-KIT/BLDC starter kit3.3254 KB
AN1504: Starting a PWM signal directly at high level using the ST7 16-bit timer1.4170 KB
AN2278: Temperature sensor application using ST LM1353.291 KB
AN1106: Translating assembly code from HC05 to ST71.677 KB
AN1636: Understanding and minimising ADC conversion errors1.4406 KB
AN1041: Using ST7 PWM signal to generate analog output (sinusoïd)1.6123 KB
AN982: Using ceramic resonators with the ST71.565 KB
AN1445: Using the ST7 SPI to emulate a 16-bit slave1.561 KB
AN1603: Using the ST7 USB device firmware upgrade development kit (DFU-DK)1.494 KB
AN1325: Using the ST7 USB low-speed library V4.2x1.4227 KB
AN1017: Using the ST7 Universal Serial Bus microncontroller1.6261 KB
AN986: Using the indirect addressing mode with ST71.437 KB
Technical Notes & Articles
DescriptionVersionSize
TN1163: Description of WLCSP for microcontrollers and recommendations for its use4.01 MB
User Manuals
DescriptionVersionSize
UM0015: ST7 8-bit MCU family user guide1.42 MB
UM0402: Single-phase multi tariff energy meter1.3587 KB
Programming Manuals
DescriptionVersionSize
PM0018: ST7 Flash programming quick reference guide6.4152 KB
PM0011: ST7 family Flash programming reference manual2.4747 KB
PM0012: ST7 family ICC protocol reference manual3.3892 KB
PM0002: ST7 family programming manual2.41 MB
Training Material
DescriptionVersionSize
ST7 Training Part 1 : Introduction1.04 MB
ST7 Training Part 2 : Core1.01 MB
ST7 Training Part 3 : Addressing Modes1.0524 KB
ST7 Training Part 4 : Assembly Toolchain1.0273 KB
ST7 Training Part 5 : Debugger1.0571 KB
ST7 Training Part 6 : Hardware Tools1.06 MB
ST7 Training Part 7 : Peripherals1.01 MB
ST7 Training Part 8 : Realizer1.0212 KB
ST7 Training Part 9 : Cosmic Compiler1.01 MB
Board Manufacturing Specifications
DescriptionVersionSize
Gerber files for PIR PCB (AN1828)1.029 KB
Product Certifications
DescriptionVersionSize
ST72F324B Qualification Certificate1.025 KB
Hardware Development Tools
Part NumberManufacturerDescription
AS-TQFP44STTQFP44 (10x10) socket and cover to solder to an application board for connection of ST emulators.
INDARTSMH TechnologiesIn-circuit debugging and in-circuit programming tools for microcontrollers
ST7-EMU3ST3rd generation high-end emulation tool ST7-EMU3
STX-RLINKRaisonanceIn-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers
Software Development Tools
Part NumberManufacturerDescription
RIDE-STRRaisonanceRaisonance branded integrated development environment for ST7, STR7 and STR9 MCUs
STSW-ST7009STDFU Development Kit package (Device Firmware Upgrade).Contains all sources for the GUI and the DFU protocol layer.
STSW-ST7074STSoftware GUI for configuring the 100 W 3-phase inverter for BLDC sensorless motor evaluation board
STVD-ST7STST Visual IDE for developing ST7 applications
STVP-LIB-ST7STSTVP programming toolkit: C++ source files for creating PC programming interface
STVP-ST7STST Visual Programmer ST7
MCUs Embedded Software
Part NumberManufacturerDescription
STSW-ST7020STHDFlash IAP C-Driver Compatible with Metrowerks and Cosmic compilers.
STSW-ST7025STST7 USB Low Speed EvalKit Firmware
STSW-ST7029STST7 XFLASH IAP example with the ST7FOPTIONS-EVAL board
STSW-ST7030STXFlash IAP C-Driver Compatible with Metrowerks and Cosmic compilers.
STSW-ST7031STS/W Implementation of I2C Bus master
STSW-ST7032STChecksum self checking capability
STSW-ST7033STST72141 BLDC motor control software and flowchart example
STSW-ST7034STTranslating assembly code from HC05 to ST7
STSW-ST7035STHandling suspend mode on a USB mouse
STSW-ST7038STWorkaround to ISP mode limitation on the ST7MDT1-DVP2 and ST7MDT2-DVP2
STSW-ST7041STST7MC Three-Phase AC Induction Motor Ccontrol Software Library
STSW-ST7042STST7MC Three-Phase AC Induction Motor Control Library Rev 2.0
STSW-ST7043STST7MC Three-Phase BLDC Motor Control Software Library
STSW-ST7044STI2C emulation with ST7MC in slave mode
STSW-ST7045STImplementation of a current regulator for BLDC motor control with ST7FMC
STSW-ST7046STEkey-Udisk solution
STSW-ST7051STLow-cost sinusoidal control of BLDC motors with Hall sensors using ST7FMC
STSW-ST7053STEnhanced sensorless startup control of BLDC motorsusing ST7FMC
STSW-ST7058STST Visual Develop (STVD 3.3.2), core debugger source files
STSW-ST7060STHalf Duplex USB-to-Serial bridge using the ST72611 USB microcontroller
STSW-ST7061STLIN (Local Interconnect Network) Solutions
STSW-ST7062STEmulated data EEPROM with ST7 HDFlash memory
STSW-ST7066STST7 Software Library
STSW-ST7079STST7 HDFLASH IAP example with the ST7MDT2-TRAIN board
STSW-ST7085STST7 math utility routines
STSW-ST7086STST7 routine for I2C slave mode management
STSW-ST7087STST7 UART emulation software
STSW-ST7088STST7 Software LCD driver
STSW-ST7089STST7 timer PWM duty cycle switch for true 0% or 100% duty cycle
STSW-ST7090STST7 pCAN Peripheral Driver
STSW-ST7091STSoftware Techniques for compensating ST7 ADC Errors
STSW-ST7092STGenerating a high resolution sinewave using ST7 PWMART
STSW-ST7093STSMBus Slave Driver for ST7 I2C Peripherals
STSW-ST7094STSoftware UART using ST7 12-Bit Autoreload Timer
STSW-ST7096STSCI communication between ST7 and PC
STSW-ST7097STSPI Communication between ST7 and EEPROM
STSW-ST7098STI2C Communication between ST7 and M24Cxx EEPROM
STSW-ST7099STST7 software SPI master communication
STSW-ST7100STReal time clock with ST7 timer output compare
STSW-ST7101STST7 - Driving an analog keyboard with the ST7 ADC
Motor Control IC Software
Part NumberManufacturerDescription
STSW-ST7001STBLDC Sensorless Motor Stand Alone Library rev 2.1
Product Evaluation Tools
Part NumberManufacturerDescription
ST7MC-KIT/BLDCSTMicroelectronics;SMH TechnologiesMotor control evaluation and development kit for the ST7MC. Includes firmware, GUI, ST7MC samples, a 12VDC-240VAC 1000W inverter
Sample & Buy
Part NumberQuantityUnit Price (US$) *PackagePacking TypeOperating Temperature (°C) (min)Operating Temperature (°C) (max)ECCN (EU)ECCN (US)Country of Origin
ST7FMC2S4T6--LQFP 44 10x10x1.4Tray-4085NECEAR99MALAYSIA
ST7FMC2S4T3--LQFP 44 10x10x1.4Tray-40125NECEAR99MALAYSIA
Quality & Reliability
Part NumberPackageGradeRoHS Compliance GradeMaterial Declaration**
ST7FMC2S4T6LQFP 44 10x10x1.4IndustrialEcopack2
ST7FMC2S4T3LQFP 44 10x10x1.4IndustrialEcopack2
8-bit MCU with nested interrupts, Flash, 10-bit ADC, brushless motor control, five timers, SPI, LINSCI™ ST7MC2R7
circuit_diagram_9721_thumbnail.png ST7MC2R7
A High Precision, Low Cost, Single Supply ADC for Positive and Negative Input Voltages ST72264G1
A High Resolution/Precision thermometer using ST7 and NE555 ST72264G1
A flexible universal battery charger ST72264G1
Accurate timebase for low-cost ST7 applications with internal RC oscillator ST72264G1
An MCU-based low cost non-inverting buck-boost converter for battery chargers ST72264G1
Back EMF detection during PWM on time by ST7MC ST7MC2R7
DIFFERENT WAYS TO RESET ST7 MICROCONTROLLER ST72264G1
Data logging program for testing ST7 applications via ICC ST72264G1
Device firmware upgrade (DFU) implementation in ST7 USB devices ST72264G1
Device firmware upgrade (DFU) implementation in non-USB applications ST72264G1
Driving a buzzer through ST7 timer PWM function ST72264G1
Driving an analog keyboard with the ST7 ADC ST72264G1
EMC design guide for ST microcontrollers STM8L101G3
Ekey-Udisk solution STSW-ST7046
Electrostatic discharge sensitivity measurement STM8L101G3
Emulated data EEPROM with ST7 HDFlash memory ST72264G1
Emulated data EEPROM with XFlash memory ST72264G1
Executing code in ST7 RAM ST72264G1
Field updates for Flash based ST7 applications using a PC COMM port ST72264G1
GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART ST72264G1
Guidelines for migrating ST72F324 & ST72F321 applications to ST72F324B, ST72F321B or ST72F325 ST72264G1
Guidelines for migrating ST7LITE1x applications to ST7FLITE1xB ST72264G1
Handling suspend mode on a USB mouse ST72264G1
How to minimize the ST7 power consumption ST72264G1
I2C communication between ST7 and M24CXX EEPROM STSW-ST7098
In-Application Programming (IAP) drivers for ST7 HDFlash or XFlash MCUs ST72264G1
LIN (Local Interconnect Network) solutions ST72264G1
Managing reception errors with the ST7 SCI peripheral ST72264G1
Monitoring the VBUS signal for USB self-powered devices ST72264G1
Multiple interrupt sources management for ST7 MCUs ST72264G1
On-board programming methods for XFlash and HDFlash ST7 MCUs ST72264G1
Overview of enhanced CAN controllers for ST7 and ST9 MCUs ST92F150CV1
PFC for ST7MC starter kit ST7MC2R7
PMBus™ interface using ST7 I²C STSW-ST7095
PWM management for 3-phase BLDC motor drives using the ST7MC ST7MC2R7
Programming ST7 Flash microcontrollers in remote ISP mode (In-Situ Programming) ST72264G1
Real time clock with ST7 Timer Output Compare ST72264G1
SCI communication between ST7 and PC ST72264G1
SMBus slave driver for ST7 I2C peripheral ST72264G1
SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS ST72264G1
SPI communication between ST7 and EEPROM ST72264G1
ST7 10-bit A/D converter non-linearity at center of range ST72264G1
ST7 Benefits versus Industry Standard ST72264G1
ST7 Checksum self-checking capability ST72264G1
ST7 S/W implementation of I2C bus master ST72264G1
ST7 Software SPI master communication ST72264G1
ST7 UART emulation software ST72264G1
ST7 and ST9 performance benchmarking ST92F150CV1
ST7 customer ROM code release information ST72264G1
ST7 keypad decoding techniques, implementing wake-up on keystroke ST72264G1
ST7 math utility routines ST72264G1
ST7 pCAN peripheral driver STSW-ST7090
ST7 routine for I2C slave mode management ST72264G1
ST7 serial test controller programming ST72264G1
ST7 software LCD driver ST72264G1
ST7 timer PWM duty cycle switch for true 0% or 100% duty cycle ST72264G1
ST7/ST10/U435 CAN-do solutions for car multiplexing ST72264G1
ST7MC PMAC sine wave motor control software library ST7MC2R7
ST7MC three-phase AC induction motor control software library STSW-ST7041
Selecting between ROM, FASTROM and Flash for a microcontroller ST92F150CV1
Selecting between ROM, FASTROM and OTP for a microcontroller STR910FAW32
Sensorless BLDC motor control and BEMF sampling methods with ST7MC ST7MC2R7
Space vector modulation using 8-bit ST7MC microcontroller and ST7MC-KIT/BLDC starter kit ST7MC2S4
Starting a PWM signal directly at high level using the ST7 16-bit timer ST7-EMU3
Temperature sensor application using ST LM135 STSW-ST7047
Translating assembly code from HC05 to ST7 STSW-ST7034
Understanding and minimising ADC conversion errors ST72264G1
Using ST7 PWM signal to generate analog output (sinusoïd) ST72264G1
Using ceramic resonators with the ST7 ST72264G1
Using the ST7 SPI to emulate a 16-bit slave ST72264G1
Using the ST7 USB device firmware upgrade development kit (DFU-DK) ST72264G1
Using the ST7 USB low-speed library V4.2x ST72264G1
Using the ST7 Universal Serial Bus microncontroller ST72264G1
Using the indirect addressing mode with ST7 ST72264G1
Description of WLCSP for microcontrollers and recommendations for its use STM8L101G3
ST7 8-bit MCU family user guide ST72264G1
Single-phase multi tariff energy meter ST72264G1
ST7 Flash programming quick reference guide ST72264G1
ST7 family Flash programming reference manual ST72264G1
ST7 family ICC protocol reference manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1
ST7 family programming manual ST72264G1