
EXTERNAL USE
ULTRA-RELIABLE MCUS FOR
INDUSTRIAL AND AUTOMOTIVE
DEVKIT-S12G128
QUICK START GUIDE (QSG)

1
EXTERNAL USE
Get to know the DEVKIT-S12G128
DEVKIT-S12G128
Features
The DEVKIT-S12G128
is an ultra-low-cost
development platform
for S12
Microcontrollers.
Features include easy
access to all MCU
I/O´s, a standardbased form factor
compatible with the
Arduino™ pin layout,
providing a broad
range of expansion
board options, and an
USB serial port
interface for connection
to the IDE, the board
has option to be
powered via USB or an
external power supply.

2
EXTERNAL USE
Power Supply and Communications
DESCRIPTION NAME PIN

3
EXTERNAL USE
Input/Output Connectors
J1
Arduino Compatibility
The internal rows of the I/O headers on
the DEVKIT-S12G128 are arranged to
fulfill Arduino™ shields compatibility .
J2
PIN PORT FUNCTION
J1
PIN PORT FUNCTION
J1-01 PS0
PIN PORT FUNCTION
J2
PIN PORT FUNCTION
J2-01 PP1
PWM5 / SPI_SS2 J2-06 PT2 IOC
PWM2 / SPI_M0SI2 J2-08 PT3 IOC

4
EXTERNAL USE
Input/Output Connectors
J3
J4
Arduino Compatibility
The internal rows of the I/O headers on
the DEVKIT-S12G128 are arranged to
fulfill Arduino™ shields compatibility .
PIN PORT FUNCTION
J4
PIN PORT FUNCTION
J4-02 PD7
PIN PORT FUNCTION
J3
PIN PORT FUNCTION
J3-02 PE1

5
EXTERNAL USE
Input/Output Connectors
J6
Arduino Compatibility
The internal rows of the I/O headers on
the DEVKIT-S12G128 are arranged to
fulfill Arduino™ shields compatibility .
J5
PIN PORT FUNCTION
J5
PIN PORT FUNCTION
J5-02 PC0
PIN PORT FUNCTION
J6
PIN PORT FUNCTION
J6-19 NC
SPI_MOSI J6-04 PJ3 SPI_CS
SPI_SCK J6-02 PJ0 SPI_MISO

6
EXTERNAL USE
Default jumpers
REF POSITION DESCRIPTION
J11 OPEN
LIN Master mode
J13 1 - 2
Power MCU linked to USB
J17 1 - 2
P5V0 reference is linked to
P5V_SWUSB
P5V0 reference is linked to
P5V_SBC
J11 J13 J17
CAUTION:
When powered from the USB bus, do not exceed the
500mA maximum allowable current drain. Damage to
the target board or host PC may result.

7
EXTERNAL USE
Programming interface and User Peripherals
REFERENCE
MCU
PORT
DESCRIPTION
GREEN LED power Indicator
Programming and
Debug Interface
-board JTAG connection via
open source
OSBDM circuit using the
MC9S08JM60
microcontroller
Support for USB Multilink
Interface BDM
RGB LED [D9]
RESET [SW2]
Potentiometer [R44]
MICRO USB [J16]
User – Push Button
[SW3]
User – Push Button
[SW4]
SBC IO [SW5]
BDM [J7]

8
EXTERNAL USE
Step-by-Step Installation Instructions
1
Install Software and Tools
Install CodeWarrior Development
Studio for S12 V5.1 or later. CodeWarrior Dev Tools for HCS12(X)
MCUs
2
Connect the USB Cable
Connect one end of the USB cable to the PC and the other end to
the mini-B connector on the DEVKIT-S12G128 board. Allow the PC
to automatically configure the USB drivers if needed.
3
Using the Example Project
The pre-loaded example project utilizes the RGB LED. Once the
board is plugged in you can see how the RGB LEDs change the
color.
4
Learn More About the S12G128
Read the release notes and documentation on the
nxp.com/S12G128.
• The Processor Expert graphical initialization software included in
your CodeWarrior installation will help reduce your time to
market
• CodeWarrior for S12 with examples
In this quick start guide,
you will learn how to set
up the DEVKIT-S12G128
board and run the default
exercise.

9
EXTERNAL USE
CAUTIONARY NOTES
Electrostatic Discharge (ESD) prevention measures should be used when handling this
product. ESD damage is not a warranty repair item.
NXP does not assume any liability arising out of the application or use of any product or
circuit described herein; neither does it convey any license under patent rights or the rights
of others.
EMC Information on the DEVKIT-S12G128 board:
• This product as shipped from the factory with associated power supplies and cables, has been
verified to meet with requirements of CE and the FCC as a CLASS A product.
• This product is designed and intended for use as a development platform for hardware or software
in an educational or professional laboratory.
• Attaching additional wiring to this product or modifying the products operation from the factory
default as shipped may effect its performance.

10
EXTERNAL USE
Documentation and References
Datasheet
MC9S12GRMV1, MC9S12G
Family Reference Manual and Data
Sheet (REV 1.25)
Application Notes
AN4455, MC9S12G128/A240
Demonstration Lab Training -
Application Notes (REV 0)
Reference Manuals
DRM134, DRM for Driver
Information System on S12G128 -
Reference Manual (REV 0)
For more information please visit : www.nxp.com/s12g

11
EXTERNAL USE
Development Tools Ecosystem
Compilers
• Codewarrior S12
• Cosmic
IDE
• Codewarrior
• Cosmic Zap
Programmers
• P&E
• Cyclone Pro Programmer
Debugger
• CW & P&E S12 Debugger
• Cosmic Zap Debugger
• iSYSTEM winIDEA
Support Tools:
• FREEMASTER run time
debugger and for
instrumentation/calibration

Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
NXP:
DEVKIT-S12G128