S12ZVML-MINIBRD User Manual:MC9S12ZVML128 Small Footprint
Board for Sensorless Motor Control
Document Number: S12ZVML-MINIBRD_UM1.0
04/2014
2 Freescale Semiconductor
About This Book
This document describes the S12ZVML-MINIBRD, the MC9S12ZVML128 small footprint board design,
which is targeted at BLDC and PMSM sensorless motor control applications.
To locate any published updates for this document, refer to freescale.com.
Revision History
Documentation
The MC9S12ZVML128 documentation is available at the web site, http://www.freescale.com/MagniV as
follows:
• Reference manuals — MC9S12ZVML128 modules in detail
• Data sheets — information mainly on the device’s AC, DC, thermal characteristics and package
pin-outs
• Product briefs — device overview
• Application notes — address specific design issues
Table i. Revision History
DateRevision
levelDescription
Page
number(s)
April 2014 1.0 Initial release 34
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 3
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
4 Freescale Semiconductor
Chapter 1 Introduction1.1 Board Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81.2 Board Jumper Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 2 Board Interface Description2.1 J1 LIN Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132.2 J9 USB Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132.3 J2 MCU Digital Pin Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142.4 J4 MCU Analog Pin Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142.5 J7 MCU SCI Port Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142.6 JP1, JP2, JP3 Motor Terminal Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Chapter 3 Design Consideration3.1 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153.2 MCU Related Circuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153.3 Charge Pumps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153.4 Load Current Sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .163.5 BDM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .163.6 OSBDM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Chapter 4 Board Electrical Characteristics
Chapter 5 Board Quick Start Guide5.1 Download the S12ZVML-MINIBRD Support Package . . . . . . . . . . . . . . . . . . . . . . . . . . .195.2 Software Tool Chain Set-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
5.2.1 BLDC Motor Control Software Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195.2.2 CodeWarrior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205.2.3 FreeMASTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
5.3 Hardware Set-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205.4 MCU Code Download and Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205.5 Run and Stop Motor Using External Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215.6 Control Motor Using FreeMASTER tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Chapter 6 References
Chapter 7 Acronyms
Chapter 8 S12ZVML-MINIBRD Schematic
Freescale Semiconductor 5
6 Freescale Semiconductor
Introduction
Chapter 1 Introduction
This user manual introduces the S12ZVML-MINIBRD board, which represents the MC9S12ZVML128
small footprint board design.
The MC9S12ZVML128 [3.] integrates a 16-bit microcontroller, an automotive voltage regulator, a LIN
interface and a gate driver unit, in order to drive six external MOSFETs.
The S12ZVML-MINIBRD board is designed for a 3-phase BLDC and PMSM sensorless motor control
application. The board can be used for other applications requiring load switching and load current
monitoring as well. An application can be controlled using LIN and FreeMASTER [4.].
For more information on BLDC sensorless applications, see AN4704 [7.].
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 7
Introduction
1.1 Board Features
The board was designed to demonstrate the minimal hardware configuration needed for a 3-phase BLDC
and PMSM sensorless motor control application to achieve minimum board size. The board features are
as follows, see Figure 1-1 and Figure 1-2:
• MC9S12ZVML128 MCU
• power supply voltage in the range of -25 V to +25 V, nominal +12 V
• reverse battery protection
• load current in range of -10 A to +10 A
• load current monitoring
• boost circuitry designed to allow driving Vgs = 10 V MOSFETs from a +3.5 V power supply
• on-board charge pumps to allow driving the high side MOSFETs
• analog and digital inputs for target application control and monitoring
• FreeMASTER enabled
• LIN enabled
• BDM enabled
• OSBDM enabled:
— download and debug MCU code
— virtual serial line (USB to SCI)
• board size of 5 cm x 9 cm:
— MC9S12ZVML128 related part size of 5 cm x 5 cm
— OSBDM related part size of 5 cm x 4 cm
The on-board OSBDM module allows the user to download and debug code using the CW10.5 tool [5.]
without the need of a P&E Micro USB Multilink.
The FreeMASTER tool allows the user to control the on-board application via the PC USB line.
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
8 Freescale Semiconductor
Introduction
Figure 1-1. The S12ZVML-MINIBRD board top side view
OSBDM!Module
3"phase!MOSFET!Bridge
with!Decoupling!Capacitor!and
Load!Current!Sense!ResistorLIN
MC9S12ZVML128!MCU!
with!
Load!Current!Sense!Circuit
BDM
Digital!
Input!/!Output!
Analog!/!Digital!Input!
Serial!
Communication
Interface
User!LED
Load!Terminals
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 9
Introduction
Figure 1-2. The S12ZVML-MINIBRD board bottom side view
Boost!CircuitReverse!Battery!Protection
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
10 Freescale Semiconductor
Introduction
1.2 Board Jumper Configuration
See Table 1-1 and Figure 1-3 for proper jumper configuration.
Figure 1-3. S12ZVML-MINIBRD board jumper position and setting
Table 1-1. S12ZVML-MINIBRD Board Configuration
Jumper MCU pin Function Default placement
J5 PP0
EVDD1
ECLK
MCU PP0 output:
- ECLK, not placed
- EVDD1, placed
Placed
J6 PS2
RxD1
Select MCU RxD1 pin connection:
- USB OSBDM, placed, pins 1-2
- J7 SCI PORT, placed, pins 2-3
Placed, pins 1-2
J8 PS3
TxD1
Select MCU TxD1 pin connection:
- USB OSBDM, placed, pins 1-2
- J7 SCI PORT, placed, pins 2-3
Placed, pins 1-2
J5!PP0
J6!PS2
J8!PS3
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 11
Introduction
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
12 Freescale Semiconductor
Board Interface Description
Chapter 2 Board Interface Description
This chapter summarizes the on-board connectors and header pin-outs, signal meanings, and MCU pins
assignments.
2.1 J1 LIN Connector
The board is supplied using the LIN connector J1, see Table 2-1 for the connector pin-outs. The MCU is
configured as a LIN Slave node.
The J1 LIN connector opposite uses MOLEX 39-01-2040 with pins MOLEX 39-00-0039.
2.2 J9 USB Connector
The USB line is used for on-board OSBDM module communication with the PC. The OSBDM module is
used for MCU code download and debug using the CW 10.5 tool, as well as a virtual serial port when using
the FreeMASTER tool to control the user application.
The interface uses a USB 2.0 B type connector, see Table 2-2.
Table 2-1. J1 LIN connector
Interface Pin Signal Name MCU Signal Description Direction
1 GND - Ground -
2 GND - Ground -
3 VSUP - Power Supply -
4 LIN RXD1/TXD1 LIN bus Bidirectional
Table 2-2. J9 USB connector
Interface Pin Signal Name MCU Signal Description Direction
1 VBUS - USB Power Supply -
2 D- RXD0/TXD0 Data – Bidirectional
3 D+ RXD0/TXD0 Data + Bidirectional
4 GNDB - USB Ground -
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 13
Board Interface Description
2.3 J2 MCU Digital Pin Header
The MCU PT1 digital pin can be used for an application control and monitoring, see Table 2-3.
2.4 J4 MCU Analog Pin Header
The MCU PAD3 analog pin can be used for an application control and monitoring, see Table 2-4.
2.5 J7 MCU SCI Port Header
The J7 allows to connect board external device using the MCU SCI module, see Table 2-5. The MCU SCI
port availability depends on the J6 and J8 configuration, see Table 1-1.
2.6 JP1, JP2, JP3 Motor Terminal Pins
The JP1, JP2, JP3 are the phases half-bridge outputs. The terminals are used to connect the controlled load,
for example BLDC, PMSM motor.
Table 2-3. 2 MCU PT1 pin header
Interface Pin Signal Name MCU Signal Description Direction
1 VDDX - VDDX output (+5V) -
2 - PT1/IOC1 PT1 pin input / output Bidirectional
3 GND - GND -
Table 2-4. J4 MCU PAD3 pin header
Interface Pin Signal Name MCU Signal Description Direction
1 VDDX - VDDX output (+5V) -
2 - PAD3/AN0_3 PAD3 pin input Input
3 GND - GND -
Table 2-5. J7 MCU SCI port header
Interface Pin Signal Name MCU Signal Description Direction
1 VDDX - VDDX output (+5V) -
2 RXD RXD1 Connection depending on J6 configuration Input
3 TXD TXD1 Connection depending on J8 configuration Output
4 GNDB - Ground -
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
14 Freescale Semiconductor
Design Consideration
Chapter 3 Design Consideration
The S12ZVML-MINIBRD board schematic can be found in Chapter 8, “S12ZVML-MINIBRD
Schematic".
3.1 Power Supply
The board is supplied using the J1 LIN connector, see Table 1-1 for the connector pin-outs. The board
nominal power supply voltage equals +12 V. The board sustains negative voltages up to -25 V due to M1
reverse battery protection.
The power supply line is decoupled by C5. The value of the capacitor is dependent on the required power
supply voltage ripple, when board load, for example BLDC / PMSM motor, is PWM driven. The goal is
to achieve minimum power supply voltage ripple to reduce board electromagnetic emissions.
An on-board boost circuit, L1, D1, C1, C2 allows controlling the Vgs = 10 V MOSFETs starting from a
+3.5V power supply voltage. The boost circuitry is turned ON and controlled by the MCU GDU boost
controller module when the power supply voltage drops below +10 V. The boost circuitry is optimized for
operation at 520 kHz with the MCU GDU boost controller duty cycle set to 75% and the L1 inductor
current limit at 750 mA. The boost snubber circuitry R3 and C6 is included to dump the oscillations
appearing when the boost transistor is switched.
The on-board D7 +2.47 V voltage reference sets the ADC voltage, when the load current equals 0 A, see
Table 3-1.
3.2 MCU Related Circuity
The MCU is supplied with VSUP pin. The MCU on-chip +5 V voltage regulator generates the voltage for
the MCU digital and analog circuitry. The decoupling capacitors C7, C8, C9 reduce noise on the power
supply lines. The MCU analog power supply line noise is reduced using the ferrite bead L2 and capacitor
C12.
The GDU drives the Q1, Q2, Q3, Q4, Q5, Q6 MOSFETs configured in a 3-phase bridge unit with phase
outputs JP1, JP2, JP3. The GDU is supplied by the on-chip +11 V VLS regulator decoupled by C13, C14,
C18 and C19. Whenever the power supply voltage drops below +10 V, the boost circuitry starts to operate
and the VSUP voltage is maintained at +10 V. The boost circuitry allows driving the Vgs = 10 V MOSFETs
starting from a +3.5 V power supply voltage.
The J2 digital PT1 pin signal and J4 analog PAD3 signal can be used for an application monitoring and
control.
The PP0 pin controls the D8 LED. The PP0 shares the MCU clock output ECLK as well.
The J7 allows to connect board external device using the MCU SCI module. The availability depends on
J6 and J8 jumper header settings, see Table 1-1.
3.3 Charge Pumps
There are four charge pumps to supply the GDU HSDs modules.
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 15
Design Consideration
The D4, C15, D5, C16, D6, C17 charge pumps are driven by the phase voltages. They supply the GDU
HSDs when the PWM duty cycle is within minimal and maximal limits.
The D2, D3, C3, C4 charge pump is driven by the MCU VCP pin. This is used to supply the GDU HSDs
when the PWM duty cycle is either 0% or 100%.
3.4 Load Current Sense
The load current sense circuitry is designed to measure load current in both directions. This is useful when
the attached motor is controlled in dynamo mode as well.
The load current is sensed by R20 and amplified by the on-chip amplifier AMP0. The R19, R22, and C20
reduce the sense line noise. The R28 and C23 shape the AMP0 signal.
The load current conversion slope theoretically equals 0.125 V/ 1 A, see Table 3-1.
Table 3-1. Load current sense
3.5 BDM Interface
The on-board J3 BDM connector allows a download and debug of the code in the MCU using CodeWarrior
10.5 and P&E Micro USB Multilink.
The BDM interface can be used for application control using FreeMASTER as well.
3.6 OSBDM Interface
The on-board OSBDM interface allows a download and debug of the code in the MCU without any
additional debugging hardware. The P&E Micro USB Multilink is not needed.
The OSBDM interface can be used as a board virtual serial port for FreeMASTER based application
control.
Load current [A] MCU AN0 pin voltage [V]
10 3.72
0 2.47
-10 1.22
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
16 Freescale Semiconductor
Board Electrical Characteristics
Chapter 4 Board Electrical Characteristics
The electrical characteristics in Table 4-1 apply to operation at 25 °C.
1MCU boost option enabled. When MCU boost option disabled, VDC_MIN = 6V.2Measured at 12 V power supply. MCU flash memory erased.
Table 4-1. Electrical Characteristics
Characteristic Symbol Min Typ Max Units
Maximal power supply voltage range, J1 pin3 VDCMAX -25 - 25 V
Operating power supply voltage range, J1 pin3 (1) VDC 3.5 12 20 V
Power supply current consumption (2) IDC - 20 - mA
J2 pin2, J4 pin2, J7 pin2, J7 pin3 voltage range VPER 0 – 5 V
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 17
Board Electrical Characteristics
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
18 Freescale Semiconductor
Board Quick Start Guide
Chapter 5 Board Quick Start Guide
This chapter describes how to set-up the S12ZVML-MINIBRD board to control the BLDC motor, see
Figure 5-1.
Figure 5-1. S12ZVML-MINIBRD set-up
5.1 Download the S12ZVML-MINIBRD Support Package
Visit the MagniV S12ZVML-MINIBRD related Freescale’s web pages [2.]. Navigate the “Jump Start Your
Design” section and download the latest version of documentation and software package.
5.2 Software Tool Chain Set-up
5.2.1 BLDC Motor Control Software Package
Run the “S12ZVML-MINIBRD_BLDC_Sensorless_CW_IDE.exe” file and install and BLDC Motor
Control project “S12ZVML-MINIBRD_BLDC_Sensorless_CW_IDE” and the Automotive Math and
Motor Control Library Set [6.].
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 19
Board Quick Start Guide
5.2.2 CodeWarrior
The CodeWarrior tool enables development, download and debug code in on-board MCU. Visit the
CodeWarrior [5.] web page and install the free trial CW 10.5 version on your PC. Once the CW 10.5 is
installed, import the “S12ZVML-MINIBRD_BLDC_Sensorless_CW_IDE” project in CW 10.5:
1. Open CW 10.5
2. Go to the “Help” folder and choose “Search”
3. Type in the search window the key words “Import existing project”
4. Follow the instructions to import the “S12ZVML-MINIBRD_BLDC_Sensorless_CW_IDE”
project
For additional information:
1. Go to the “Help” folder and choose “Documentation”
2. Open the “Getting Started” folder
3. Download “Microcontroller V10.x Quick Start”
5.2.3 FreeMASTER
Install the free of charge FreeMASTER tool on your PC available at [4.]
5.3 Hardware Set-up
The S12ZVML-MINIBRD kit contains:
1. S12ZVML-MINIBRD board
2. J1 power supply cable, length 1 m
3. USB A male to B male cable, length 2 m
Follow instructions for board hardware set-up:
1. Check the S12ZVM-MINIBRD jumper settings, see Table 1-1, Figure 1-3.
1. Connect BLDC motor, type LINIX 45ZWN24-90-B, with the S12ZVML-MINIBRD, pins JP1,
JP2, JP3, see Figure 1-1 and Figure 5-1
2. Connect the power supply cable with the S12ZVML-MINIBRD, J1 LIN connector
3. Connect the power supply cable with the 12 V / 4 A power supply. The red wire goes to the positive
terminal, the black wire (white wire) goes to the negative terminal
4. Turn ON the power supply
5. Connect the PC and S12ZVML-MINIBRD terminal J9 with a USB2.0 cable, type A to B
5.4 MCU Code Download and Debug
Create an OSBDM download profile, see the CW 10.5 project “Run” tab “Debug configuration”. Go to
the “Run” tab, choose “Debug” and download code to the S12ZVML MCU using the on-board OSBDM
module. Once the code is downloaded, go to “Run” and select “Resume” to run the code in MCU.
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
20 Freescale Semiconductor
Board Quick Start Guide
5.5 Run and Stop Motor Using External Interface
The motor can be controlled using the J2 header. Run motor by placing the jumper short bar to J2, pin 1-2.
5.6 Control Motor Using FreeMASTER tool
The motor can be controlled using the FreeMASTER tool, see Figure 5-2:
1. Go to CodeWarrior 10.5 “Run” folder and select “Disconnect” to release the board USB channel.
The USB communication channel will be used by FreeMASTER tool now
2. Place jumper short bar J2, pins 2-3
3. Search for the USB virtual port in the PC Device Manager
4. Open the FreeMASTER control page “S12ZVML-MINIBRD_BLDC_Sensorless.pmp” located in
the “S12ZVML-MINIBRD_BLDC_Sensorless_CW_IDE” folder
5. Go to the Project/Options comm tab and set the USB virtual port number, and the communication
speed 9600 kBd, see Figure 5-3
6. Run the communication by pressing CTRL+K
7. Enter the required BLDC motor rotation speed in the “Required Speed RPM” variable, range from
1500 rpm to 8000 rpm at 12 V power supply
8. Run / Stop motor by variable “Turn ON/OFF”
9. Analyze motor behavior in the “Speed Scope” window
10. Monitor the DC BUS Voltage (module power supply voltage) and DC BUS Current (motor current)
For more information on BLDC sensorless applications, see AN4704 [7.].
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 21
Board Quick Start Guide
Figure 5-2. FreeMASTER control page
Figure 5-3. FreeMASTER options communication tab
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
22 Freescale Semiconductor
Board Quick Start Guide
Figure 5-4. FreeMASTER options map file tab
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 23
Board Quick Start Guide
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
24 Freescale Semiconductor
References
Chapter 6 References
1. MagniV family web page, www.freescale.com/MagniV
2. S12ZVML-MINIBRD web page, www.freescale.com/S12ZVML-MINIBRD
3. MC9S12ZVM Family Reference Manual, www.freescale.com
4. FreeMASTER Run-Time Debugging Tool, www.freescale.com/freemaster
5. CodeWarrior Development Tools, www.freescale.com/codewarrior
6. Automotive Math and Motor Control Library Set, www.freescale.com/AutoMCLib
7. AN4704, 3-phase Sensorless BLDC Motor Control Kit with MC9S12ZVM, www.freescale.com
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 25
References
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
26 Freescale Semiconductor
Acronyms
Chapter 7 Acronyms
ADC Analog to Digital Converter
BLDC Brushless DC Motor
CW CodeWarrior Tool
HSD High Side Driver
LIN Local Interconnect Network
MCU Microcontroller Unit
PC Personal Computer
PWM Pulse Width Modulation
PMSM Permanent Magnet Synchronous Motor
USB Universal Serial Bus
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
Freescale Semiconductor 27
Acronyms
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
28 Freescale Semiconductor
S1
2Z
VM
L-M
INIB
RD
Sc
he
ma
tic
Fre
Ch
ap
ter
8 S
12Z
VM
L-M
INIB
RD
Sc
he
matic
1
1
D
C
B
A
Rev
Sheet of
emiconductor RCSC
. R. Czech republic, Europe
nductor and shall not be used for without the express written permission
FCP: FIUO: PUBI:
8219 PDF: SPF-28219 A1
INIBRD
1 3
X________
Rev
Sheet of
emiconductor RCSC
. R. Czech republic, Europe
nductor and shall not be used for without the express written permission
FCP: FIUO: PUBI:
8219 PDF: SPF-28219 A1
INIBRD
1 3
X________
Rev
Sheet of
emiconductor RCSC
. R. Czech republic, Europe
nductor and shall not be used for without the express written permission
FCP: FIUO: PUBI:
8219 PDF: SPF-28219 A1
INIBRD
1 3
X________
REVISIONS
Date Revised9.12.2013 PCh
PCh19.12.2013Simon Xu12.02.2014
REVISIONS
Date Revised9.12.2013 PCh
PCh19.12.2013Simon Xu12.02.2014
REVISIONS
Date Revised9.12.2013 PCh
PCh19.12.2013Simon Xu12.02.2014
S1
2Z
VM
L-M
INIB
RD
Bo
ard
Us
er M
an
ual, R
ev. 1
.0
escale
Se
mic
on
du
cto
r29
5
5
4
4
3
3
2
2
D
C
B
A
Drawing Title:
Size Document Number
Date:
Page Title:
Designer:
Drawn by:
Approved:
Freescale S
1. maje 1009765 61 Roznov p
This document contains information proprietary to Freescale Semicoengineering design, procurement or manufacture in whole or in partof Freescale Semiconductor.
ICAP Classification:
SCH-2
S12ZVML_M
A
Monday, March 31, 2014
Info
PCh
PCh
PCh
Drawing Title:
Size Document Number
Date:
Page Title:
Designer:
Drawn by:
Approved:
Freescale S
1. maje 1009765 61 Roznov p
This document contains information proprietary to Freescale Semicoengineering design, procurement or manufacture in whole or in partof Freescale Semiconductor.
ICAP Classification:
SCH-2
S12ZVML_M
A
Monday, March 31, 2014
Info
PCh
PCh
PCh
Drawing Title:
Size Document Number
Date:
Page Title:
Designer:
Drawn by:
Approved:
Freescale S
1. maje 1009765 61 Roznov p
This document contains information proprietary to Freescale Semicoengineering design, procurement or manufacture in whole or in partof Freescale Semiconductor.
ICAP Classification:
SCH-2
S12ZVML_M
A
Monday, March 31, 2014
Info
PCh
PCh
PCh
Rev
SCHEMATIC
Zone DescriptionX1 Initial versionAll
First releaseABOM ChangeA1
Rev
SCHEMATIC
Zone DescriptionX1 Initial versionAll
First releaseABOM ChangeA1
Rev
SCHEMATIC
Zone DescriptionX1 Initial versionAll
First releaseABOM ChangeA1
S1
2Z
VM
L-M
INIB
RD
Sc
he
ma
tic
30
1
1
D
C
B
A
VLS
HG2
LG2
VBS2
HS2
LS2
rawing Title:
ize Document Number Rev
ate: Sheet of
age Title:
Freescale Semiconductor RCSC
1. maje 1009765 61 Roznov p. R. Czech republic, Europe
mation proprietary to Freescale Semiconductor and shall not be used forent or manufacture in whole or in part without the express written permission
ICAP Classification: FCP: FIUO: PUBI:
SCH-28219 PDF: SPF-28219 A1
S12ZVML_MINIBRD
Monday, March 31, 2014
MCU
2 3
X________rawing Title:
ize Document Number Rev
ate: Sheet of
age Title:
Freescale Semiconductor RCSC
1. maje 1009765 61 Roznov p. R. Czech republic, Europe
mation proprietary to Freescale Semiconductor and shall not be used forent or manufacture in whole or in part without the express written permission
ICAP Classification: FCP: FIUO: PUBI:
SCH-28219 PDF: SPF-28219 A1
S12ZVML_MINIBRD
Monday, March 31, 2014
MCU
2 3
X________rawing Title:
ize Document Number Rev
ate: Sheet of
age Title:
Freescale Semiconductor RCSC
1. maje 1009765 61 Roznov p. R. Czech republic, Europe
mation proprietary to Freescale Semiconductor and shall not be used forent or manufacture in whole or in part without the express written permission
ICAP Classification: FCP: FIUO: PUBI:
SCH-28219 PDF: SPF-28219 A1
S12ZVML_MINIBRD
Monday, March 31, 2014
MCU
2 3
X________
R9 0
R6 0
JP2
HDR 1X1
1
R16 0
C170.22uF
R13 0
D6BAS16H
AC
Q2SQD50N03
Q3SQD50N031
34
Q5SQD50N03
Q6SQD50N031
34
JP3
HDR 1X1
1
S1
2Z
VM
L-M
INIB
RD
Bo
ard
Us
er M
an
ual, R
ev. 1
.0
Fre
escale
Se
mic
on
du
cto
r
5
5
4
4
3
3
2
2
D
C
B
A
Board Power Supply (-25V, +25V)
VSUP BOOST
REVERSE BATTERY PROTECTION
VBS CHARGE PUMP
LIN
BDM
/25V
25V
/16V
/16V
~2.47V
100uH
/25V
/50V
CP
BST
BSTVSUP
VCP
VLS
HS0
HS1
HS2
HG0VBS0
LG0LS0
HG1VBS1
LG1LS1
HG2VBS2
LG2LS2
VLS
HG0
LG0
VBS0
VLS
HG1
LG1
VBS1
VDDA
VSUPLIN
BKGD/RST
BKGD/RSTVDDX
VDDX
HS0 HS1
VDDA
LS0 LS1
VCP
VDDX
VDDX
CP
LIN
GND_BST
GND_BST
VDDX
BKGD/RST
TXD1RXD1
D
S
D
P
Designer:
Drawn by:
Approved:
This document contains inforengineering design, procuremof Freescale Semiconductor.
B
PCh
PCh
PCh
D
S
D
P
Designer:
Drawn by:
Approved:
This document contains inforengineering design, procuremof Freescale Semiconductor.
B
PCh
PCh
PCh
D
S
D
P
Designer:
Drawn by:
Approved:
This document contains inforengineering design, procuremof Freescale Semiconductor.
B
PCh
PCh
PCh
R12 0
R17 40K
C9 0.22uF
C14 0.22uF
D9MMBZ27VCLT1
2
1
3
R2340K
D5BAS16H
AC
C220.22uF
J2
HDR_1X3
123
R14 0
S1
S2
S3
GD1
D2
D3
D4
M1FDS6681Z
1
2
3
45
6
7
8
R7 0
R10 1.0K
D4BAS16H
AC
J5HDR 1X2 TH
1 2
C20.22uF
Cathode
FB
Anode
D7LM4041DIDBZTG4
1
23
R11.0K
C7 0.22uF
R4 0
R29 0R18 2.2K
D1MBRS260T3G
A C
C150.22uF
L21000 OHM
C30.01UF
C13 10UF
JP1
HDR 1X1
1
R2100K
R21 2.2K
C12
0.22uF
C11 0.22uF
J3
HDR 2X3
1 23 4
65
C10 0.22uF
R301.0K
TP2
C40.22uF
R19 1.0K
R24 1.0K
C19 0.22uF
TP1
DNP
C160.22uF
Q1SQD50N031
34
R28 43K DNP
C61000PF
1
34
C21
0.01UF
R11 0
C18 0.22uF
D8
LED_GREEN
AC
J4
HDR_1X3
123
R15 0
+ C168UF
R2610K
R5 0
R22 1.0K
R2710K
J1
CON PLUG 4
4321
+ C51000UF
1
34
L1SRU8043-101Y1 2
R200.01
Q4SQD50N031
34
PC9S12ZVML12MKHU1
(SS)/AN1_1/AMPM1/KWAD6/PAD627
AN0_0/AMP0/KWAD0/PAD021
AN0_1/AMPM0/KWAD1/PAD122
AN0_2/AMPP0/KWAD2/PAD223
AN0_3/KWAD3/PAD324
AN0_4/KWAD4/PAD425
AN1_0/AMP1/KWAD5/PAD526
BCTL9
BST12
CP14
LIN1
MISO/(RXD1)/KWS2/PS25
MODC/BKGD2
MOSI/(TXD1)/DBGEEV/KWS3/PS36
PDO/SS/KWS5/PS58 PDOCLK/SCK/KWS4/PS47
PE0/EXTAL56 PE1/XTAL55
PP0/EVDD1/KWP0/(PWM0)/ECLK/FAULT5/XIRQ61
PP1/KWP1/(PWM1)/IRQ60
PP2/KWP2/(PWM2)59
PT0/IOC0/(PWM3)/(MISO)/(RXD0)50
PT1/IOC1/(PWM4)/(MOSI)/(TXD0)/LPDR1/PTURE51
PT2/IOC2/(PWM5)/(SCK)52
PT3/IOC3/(SS)53
PTUT0/(LPRXD)/RXCAN/RXD1/KWS0/PS03
PTUT1/(LPTXD)/TXCAN/TXD1/KWS1/PS14
RESET54
TEST18
VLS_OUT15
VLS034
VLS146
VLS241
VRL/AN1_2/AMPP1/KWAD7/PAD728
VSUP16
VRH/AN1_3/KWAD8/PAD829
HD10
HG036
HG148
HG239
HS037
HS149
HS238
LG033
LG145
LG242
LS144
LS243
LS032
VBS035
VBS147
VBS240
VCP11
VD
D2
0
VD
DA
30
VD
DF
58
VD
DX
16
2
VD
DX
21
7E
P_
PA
D6
5LGND
64
VS
S1
57
VS
S2
19
VS
SA
31
VSSB13
VS
SX
16
3
C8 10UF
C20680PF
DNP
R8 0
C2310pFDNP
D3
BAS16H
AC
R31.0K
C24220PF
D2
BAS16H
AC
R25
1.0K
S1
2Z
VM
L-M
INIB
RD
Sc
he
ma
tic
Fre
1
1
D
C
B
A
SCI SELECT
/16V
SCI PORT
+5VRXDTXDGND
GND
VDDX
_SW
VDDX
_SW
VDDX
_SW
VDDX
BKGD
/RST
RXD1
TXD1
Drawing Title:
Size Document Number Rev
Date: Sheet of
Page Title:
Designer:
Drawn by:
Approved:
Freescale Semiconductor RCSC
1. maje 1009765 61 Roznov p. R. Czech republic, Europe
This document contains information proprietary to Freescale Semiconductor and shall not be used forengineering design, procurement or manufacture in whole or in part without the express written permissionof Freescale Semiconductor.
ICAP Classification: FCP: FIUO: PUBI:
SCH-28219 PDF: SPF-28219 A1
S12ZVML_MINIBRD
C
Monday, March 31, 2014
OSBDM
PCh
PCh
PCh
3 3
X________Drawing Title:
Size Document Number Rev
Date: Sheet of
Page Title:
Designer:
Drawn by:
Approved:
Freescale Semiconductor RCSC
1. maje 1009765 61 Roznov p. R. Czech republic, Europe
This document contains information proprietary to Freescale Semiconductor and shall not be used forengineering design, procurement or manufacture in whole or in part without the express written permissionof Freescale Semiconductor.
ICAP Classification: FCP: FIUO: PUBI:
SCH-28219 PDF: SPF-28219 A1
S12ZVML_MINIBRD
C
Monday, March 31, 2014
OSBDM
PCh
PCh
PCh
3 3
X________Drawing Title:
Size Document Number Rev
Date: Sheet of
Page Title:
Designer:
Drawn by:
Approved:
Freescale Semiconductor RCSC
1. maje 1009765 61 Roznov p. R. Czech republic, Europe
This document contains information proprietary to Freescale Semiconductor and shall not be used forengineering design, procurement or manufacture in whole or in part without the express written permissionof Freescale Semiconductor.
ICAP Classification: FCP: FIUO: PUBI:
SCH-28219 PDF: SPF-28219 A1
S12ZVML_MINIBRD
C
Monday, March 31, 2014
OSBDM
PCh
PCh
PCh
3 3
X________
R610
J8
HDR_1X3
123
R351.0K
C260.22uF
R321.0K
J7
HDR_1X4
1234
R420
C2510UF
J6
HDR_1X3
123
S1
2Z
VM
L-M
INIB
RD
Bo
ard
Us
er M
an
ual, R
ev. 1
.0
escale
Se
mic
on
du
cto
r31
5
5
4
4
3
3
2
2
D
C
B
A
BRD_REV ID0 ID1 001 0 2
ID Pull-Up Pull-Down0 10K 01 10K 1.3K2 10K 3.3K3 10K 5.6K
BOARD IDBOARD REV
/16V
/16V
/16V
OSBDM BDM
ENABLE BOOTLOADER
BRD_REV2BRD_REV1BRD_REV0
BRD_ID1BRD_ID0
BRD_REV0
BRD_ID1
BRD_REV2
BRD_ID0
BRD_REV1
+5VSW_EN+VTRG_EN
TPWR
TRESET_INTSTATUS
U_RESET*U_BKGD*
TRESET_OUT
U_IRQ*
TBGND_IN TBTBGND_OUTTBGND_EN
+5VSW_FAULT+VTRG_FAULT
OSBDM_USB_DPOSBDM_USB_DN
LED_STATUS
LED_PWR
TRESET_IN
+5VU
VDDX
+5VU
+5VU
+5VU
+5VU
+5VU
+5VU
+5VU
+5V_SW
+5V_SW
+5V
+5V+5V_SW
+5V
+5VU
+5VU
R5510K
R5310K
R3810K
R641.0K
R5610KDNP
C3518PF
R6010K
U574LVC1T45
VCCA1
GND2 A3
B4
DIR5
VCCB6
C3618PF
U374LVC1T45
VCCA1
GND2 A3
B4
DIR5
VCCB6
J10
HDR 2X3
1 23 4
65
D11
LED_YEL
AC
C3110UF
R45 33
Y1
4MHz
1 2
R3710K
R46 33
C340.22uF
R31 0
DNP
L31000 OHM
R4110K
U6MIC2026-1YM
ENA1
FLGA2
FLGB3
ENB4
OUTB5
GND6
IN7
OUTA8
R4810KDNP
D10
LED_GREEN
AC
C3310UF
R4010K
C300.22uF
U274LVC1T45
VCCA1
GND2 A3
B4
DIR5
VCCB6
R1
R2
BCE
U7DDTA113ZCA
2
13
R36 0
DNP
R5010K
R5910K
R1
R2
BCE
U8DDTC113ZCA
2
13
R5410K
C371000PF
R39 2.4K
R570
U4MC9S08JM60CLD
PTC41
IRQ/TPMCLK2
RESET3
PTF0/TPM1CH24
PTF1/TPM1CH35
PTF4/TPM2CH06
PTF5/TPM2CH17
PTE0/TxD18
PTE1/RxD19
PTE2/TPM1CH010
PTE3/TPM1CH111
PTE4/MISO112
PTE5/MOSI113
PTE6/SPSCK114
PTE7/SS115
VD
D1
16
VS
S1
17
USBDN18
USBDP19
VUSB3320
PTG0/KBIP021
PTG1/KBIP122
PTB0/MISO2/ADP023
PTB1/MOSI2/ADP124
PTB2/SPSCK2/ADP225
PTB3/SS2/ADP326
PTB4/KBIP4/ADP427
PTB5/KBIP5/ADP528
PTD0/ADP8/ACMP+29
PTD1/ADP9/ACMP-30
VD
DA
D/V
RE
FH
31
VS
SA
D/V
RE
FL
32
PTD2/KBIP2/ACMPO33
PTG2/KBIP634
PTG3/KBIP735
BKGD/MS36
PTG4/XTAL37
PTG5/EXTAL38
VS
SO
SC
39
PTC0/SCL40
PTC1/SDA41
PTC242
PTC3/TxD243
PTC5/RxD244
R5210K
R1
R2
B CE
U9DDTC113ZCA
2
1 3
R3410K
J11
HDR 1X2 TH
12
R44 10M
L4
1000 OHM
R583.3K
123
4
+D
-D
G
V
J9USB_TYPE_B
1
234
S1
S2
R3310K
C320.22uF
C270.22uF
C290.22uF
R4710KDNP
C2810UF
R631.0K
R6247.0
R4910K
R434.7K
R5110K
S12ZVML-MINIBRD Schematic
S12ZVML-MINIBRD Board User Manual, Rev. 1.0
32 Freescale Semiconductor
How to Reach Us:
Home Page:www.freescale.com
Web Support:http://www.freescale.com/support
USA/Europe or Locations Not Listed:Freescale Semiconductor, Inc.Technical Information Center, EL5162100 East Elliot RoadTempe, Arizona 852841-800-521-6274 or +1-480-768-2130www.freescale.com/support
Europe, Middle East, and Africa:Freescale Halbleiter Deutschland GmbHTechnical Information CenterSchatzbogen 781829 Muenchen, Germany+44 1296 380 456 (English)+46 8 52200080 (English)+49 89 92103 559 (German)+33 1 69 35 48 48 (French)www.freescale.com/support
Japan:Freescale Semiconductor Japan Ltd. HeadquartersARCO Tower 15F1-8-1, Shimo-Meguro, Meguro-ku,Tokyo 153-0064Japan0120 191014 or +81 3 5437 [email protected]
Asia/Pacific:Freescale Semiconductor China Ltd.Exchange Building 23FNo. 118 Jianguo RoadChaoyang DistrictBeijing 100022China +86 10 5879 8000 [email protected]
Freescale Semiconductor Literature Distribution Center1-800-441-2447 or +1-303-675-2140Fax: +1-303-675-2150 [email protected]
Information in this document is provided solely to enable system and
software implementers to use Freescale Semiconductor products. There are
no express or implied copyright licenses granted hereunder to design or
fabricate any integrated circuits or integrated circuits based on the
information in this document.
Freescale Semiconductor reserves the right to make changes without further
notice to any products herein. Freescale Semiconductor makes no warranty,
representation or guarantee regarding the suitability of its products for any
particular purpose, nor does Freescale Semiconductor assume any liability
arising out of the application or use of any product or circuit, and specifically
disclaims any and all liability, including without limitation consequential or
incidental damages. “Typical” parameters that may be provided in Freescale
Semiconductor data sheets and/or specifications can and do vary in different
applications and actual performance may vary over time. All operating
parameters, including “Typicals”, must be validated for each customer
application by customer’s technical experts. Freescale Semiconductor does
not convey any license under its patent rights nor the rights of others.
Freescale Semiconductor products are not designed, intended, or authorized
for use as components in systems intended for surgical implant into the body,
or other applications intended to support or sustain life, or for any other
application in which the failure of the Freescale Semiconductor product could
create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended
or unauthorized application, Buyer shall indemnify and hold Freescale
Semiconductor and its officers, employees, subsidiaries, affiliates, and
distributors harmless against all claims, costs, damages, and expenses, and
reasonable attorney fees arising out of, directly or indirectly, any claim of
personal injury or death associated with such unintended or unauthorized
use, even if such claim alleges that Freescale Semiconductor was negligent
regarding the design or manufacture of the part.
Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their
respective owners.
© Freescale Semiconductor, Inc. 2014. All rights reserved.
S12ZVML-MINIBRD_UM
Rev. 1.0
04/2014