Document Number:MC9S12ZVM128MCBUG Freescale Semiconductor Rev 1, 07/2013 User s Guide S12ZVM12EVB Evaluation Board User Guide Contents 1 Introduction................................................................1 1 Introduction The S12ZVMx12EVB board is designed to drive 3-phase 2 Interface Description.................................................4 BLDC or PMSM motors, enabling implementation of motor 3 Design Considerations............................................11 control techniques: Sensor-less: 4 Motor Control Kit Board Set-Up............................29 Back-EMF signal sensing using the MCU 5 Electrical Characteristics.........................................30 integrated ADC modules Back-EMF zero-cross signal monitoring using 6 References...............................................................30 MCU integrated comparators 7 S12ZVMxEVB Board Schematics.........................31 Sensor-based: Hall sensor signal monitoring Resolver sin/cos signal monitoring The board features the S12ZVM, a 16-bit automotive microcontroller from the MagniV family. This System on Chip integrates an S12Z microcontroller with a Local Interconnect Network (LIN) physical interface, a 5-V regulator and a Gate Driver Unit (GDU). The motor power stage comprises 6 N-channel power MOSFETs that are controlled by the MCU integrated GDU. A USB to SCI interface is available and can be used for FreeMaster PC-based application control. An integrated OSBDM debugger interface is also provided for easy programming/debugging of the S12ZVM microcontroller device. The board is available in the following versions: S12ZVML12EVBLIN Features the MC9S12ZVML12, with integrated LINPHY 2013 Freescale Semiconductor, Inc.Introduction S12ZVMC12EVBCAN Features the MC9S12ZVMC12, with a Voltage Regulator controller to supply an external CAN transceiver MTRCKTSBNZVM128 Motor Control Kit integrating the S12ZVML12EVBLIN Evaluation Board with a 3-phase BLDC Motor with Hall sensor, running a sensorless control application using Back-EMF zero-crossing detection 1.1 EVB Features MC9S12ZVML12MKH or MC9S12ZVMC12MKH microcontroller, 64LQFP package BDM interface for MCU code download and debugging, via 6-pin header On-board OSBDM for MCU code download and debugging, via USB connector 6 N-channel Power MOSFETs in 3-phase half H-bridge array Motor Control Interface: Hall Sensor Resolver interface SINCOS interface Connectivity: LIN CAN USB-to-SCI serial port Phase and DC-bus current sensing circuits LED indicators: Supply voltage indicator Reset indicator VDDX (MCU 5 V supply) indicator FAULT indicator Over-voltage and over-current FAULT indicator with potentiometer adjustments 2 general-purpose, user configurable LEDs 2 general-purpose, user configurable push buttons 1 general-purpose, user configurable switch Optional 4 MHz external oscillator 1 general-purpose Potentiometer 1.2 Board Architecture The S12VMx12EVB Controller Board basic building blocks are depicted in the following figure. S12ZVM12EVB Evaluation Board User Guide, Rev 1, 07/2013 2 Freescale Semiconductor, Inc.