4KIT33810EKEVME Bill of Material ......................................................................................................................... 10
Freescale provides the enclosed product(s) under the following conditions:
This evaluation kit is intended for use of ENGINEERING DEVELOPMENT OR EVALUATION PURPOSES ONLY. It
is provided as a sample IC pre-soldered to a printed circuit board to make it easier to access inputs, outputs, and
supply terminals. This EVB may be used with any development system or other source of I/O signals by simply
connecting it to the host MCU or computer board via off-the-shelf cables. This EVB is not a Reference Design and is
not intended to represent a final design recommendation for any particular application. Final device in an application
will be heavily dependent on proper printed circuit board layout and heat sinking design as well as attention to supply
filtering, transient suppression, and I/O signal quality.
The goods provided may not be complete in terms of required design, marketing, and or manufacturing related
protective considerations, including product safety measures typically found in the end product incorporating the
goods. Due to the open construction of the product, it is the user's responsibility to take any and all appropriate
precautions with regard to electrostatic discharge. In order to minimize risks associated with the customers
applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or
procedural hazards. For any safety concerns, contact Freescale sales and technical support services.
Should this evaluation kit not meet the specifications indicated in the kit, it may be returned within 30 days from the
date of delivery and will be replaced by a new kit.
Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no
warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale 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 can and
do vary in different applications and actual performance may vary over time. All operating parameters, including
“Typical”, must be validated for each customer application by customer’s technical experts.
The KIT33810EKEVME Evaluation Board (EVB) is an easy-to-use circuit board that allows the user to exercise all
functions of the MC33810 circuit. The EVB communicates to a PC through a built in USB port. The Freescale SPIGen
program provides the User Interface to the MC33810’s SPI port and allows the user to send commands to and
receive error messages from the IC. The MC33810 contains four, low side, injector drivers and four custom ignition
IGBT drivers (which can also be configured as General Purpose MOSFET Gate drivers) . The IGBTs and the
associated current and voltage sensing circuits are included on the board to provide a complete working system,
capable of driving actual injectors and ignition coils directly.
The Block Diagram for the 33811 Evaluation Board is shown below:
VBat
USB FROM/
TO PC
Voltage Regulat or and
Power Con diti oning
9 parall el
control lines
USB
To SPI
LEDs
TO MCU
Jumpers
SO, SI , CSB,
SCLK
2
VPWR,
MC33810
VDD
9
DI N1-3
GI N1- 3
OUTE N
OUT1- 3
4
Injectors
SPI
4
Por t
Spark Coils
4
GD1- 3
4
FB1-3
NOMI
3
MAXI
RSP, RSN
IGBTs (4)
And I/V Sense
6
Ignition
Ci rcu it r y
SPKDUR
Figure 1. EVB Block Diagram
The EVB consists of a 33810 Injector, Ignition Driver (IID) circuit, a USB to SPI interface, a voltage regulator and
power conditioning circuit, a set of 9 Input Jumpers, and 4 IGBTs with voltage and current sensing circuitry. All 5 volt
power required by the EVB is obtained from either the USB, MON08 connectors or the on-board 5 Volt regulator . A
5 position jumper selects which source provides the 5 volt power for VCC (and VDD).
LED DISPLAY
The LED’s are provided as a visual output device for the USB-SPI interface. As configured from the factory, LED 2
indicates when power is applied and a USB connection is established, and LED 1 and 3 are tied to the DATA0 and
CNTL0 lines, respectively, which can be toggled via the SPIGen program.
I/O JUMPER DEFINITIONS (J3)
The EVB contains nine jumpers that connect the parallel outputs of the USB SPI interface to the 33810 inputs as
follows:
If the user prefers to supply the DIN and GIN signals externally, other than from the USB-SPI Interface, the jumpers
can be removed and connections can be made to the open pins.
VCC SELECT JUMPER DEFINITIONS (JP2)
JP2 is a 5 pin, 4 position jumper that determines the source of the VCC voltage. The VCC voltage is a 5 volt supply
that is used by the USB to SPI MCU and the 33810 (VDD). The 5 volts can be supplied from three different sources:
1) An internal 5 Volt regulator connected to VBAT (12 Volts)
2) Directly from the USB Connector
3) Directly from the on board MON08 connector.
Jumper PositionVCC Source
1-2MON08 Port (used for programming the MCU)
2-3USB Port
3-4USB Port
4-5Internal Voltage Regulator *
*The factory default is set to the Internal Voltage Regulator position.
Introduction
Output Enable Signal
VDD SELECT JUMPER DEFINITIONS (JP4) -
The VDD jumper is a 3 pin, two position jumper that allows the 33810 to receive 5 volt VDD power from the EVB VCC
line or to connect the 33810 VDD line to Ground to demonstrate the “Sleep Mode”. The Normal Operating Setting
(factory default) is the VDD to VCC connection, pins 1-2 shorted, pin 3 open.
When JP4 is on pins 2-3, with pin 1 open, the 33810 will be forced into the Sleep Mode. (see data sheet for more
information)
VOLTAGE REGULATOR DISCONNECT JUMPER (JP1)
The internal voltage regulator can be disconnected from VPWR to allow the 33810 I
normally connects VPWR to the input of the 5 Volt regulator.
The MON08 connector is used to program the USB-SPI MCU, a MCHC908JW32. The source code for the USB-SPI
interface is included on the CD to allow reprogramming of the MCU to perform functions not included in the present
firmware. The MON08 connector consists of the following 16 pins –
Pin NumberNameDescription
1NCUnused
2GNDVSS (System Gnd)
3NCUnused
4RST Reset
5NCUnused
6IRQBInterrupt Request (Low active)
7NCUnused
8NCUnused
9NCUnused
10PTA0Port A Bit 0
11NCUnused
12PTA1Port A Bit 1
13OSC4.9152 MHz Oscillator
14PTA2Port A Bit 2
15MON08_VCC+5 Volts from P & E or FSICE
16PTC1Port C Bit 1
This connector mates with the MON08 cable provided with the P & E Cyclone Pro or Freescale FSICEBASE
programmer.
USB CONNECTOR
A “B” type USB connector is provided to allow a standard “A to B” USB cable to interconnect the PC to the EVB. The
pinout of this connector is as follows:
Pin NumberNameDescription
1+5 +5 Volts from the PC
2D-Signal - line
3D+Signal + line
4GNDSystem ground (VSS)
OSCILLATOR JUMPER SELECTS (JP3)
A two position, three pin jumper, labeled JP3 is provided to allow the selection of the clock source for the USB-SPI
MCU.
JP3 selects the source of the MCU Oscillator (+5 volts) in accordance with the following table:
Position of Oscillator Shorting Jumper Selection Description
*The factory default setting for JP3 is the Normal operating position. To change the programming of the MCU’s flash
RAM, this jumper must be moved to the Programming position, the VCC jumper should be set to the MON08 position
and the MON08 connector should be attached to the cable from the P & E Cyclone Pro or the Freescale FSICEBASE
unit.
The SPI port is brought out to four pins (SCLK, SI, SO, CSB) on the EVB.
Normally there is no jumpers on these pins, however to verify the proper operation of the SPI interface, the SI and
SO pins can be connected via a jumper to allow loopback testing of the USB-SPI interface. Please note that during
this loopback mode of operation, the 33810 outputs must be disabled, by setting
33810 in the Sleep Mode by Connecting JP4 to GND.
SOFTWARE DESCRIPTION
There are three main components that comprise the EVB software system.
1. The firmware that runs on the MCU is a compiled C and assembly language program, that is programmed into
the MCU flash RAM.
2. The user interface software (GUI) that sends USB messages to the EVB, and runs under Windows 2000 or
Windows XP, is called the “SPIGen” program, which is written in Visual Basic. A SPIGen “config” file for the
MC33810 is included on the CD.
3. The third piece of software is a “device driver” called spi_usbio.sys and it interfaces the SPIGen program I/O
through the Windows operating system to the USB port on the user’s PC. The device driver interfaces to the
Visual Basic program, through a special “wrapper” library called usbiocom.dll that translates the Visual Basic
COM interface, into the lower level calls in the device driver. These two pieces of software were licensed from
Thesycon, a software development company in Germany.
All of the source code that is available is provided on the Installation CD in a folder called “USB_SPI_FINAL”.
For an explanation of the SPIGen program, the user is referred to the documentation that comes with the disk for that
program.
The software for the MCU was written in C and HC08 assembly language using the CodeWarrior version 5.0 software
integrated development environment (IDE).
Below is a listing of the source code modules and their descriptions:
main.c Beginning module, contains service loop.
main.asmGenerated by CodeWarrior, used for additions to main.c written in
MC68HC908JW32.C Defines the 16 and 8 Bit Registers
constant.cRandom data to fill unused flash RAM
isr.cInterrupt service routine for the timer
pll.asmSets up the PLL using 4.00 MHz reference frequency
spi.cSPI read and write handlers and initialization routine
tb.cInitializes the time base for the JW32
timer.cInitializes the timer and PWM output (not used)
USB_descriptor.asm Defines the USB information such as VID, PID, etc.
USB_driver.cHandles USB setup, decode and interrupt service
utilities.cMisc. routines for delay and debug
The following files are include (header) files to support the above:
application.hdefines some outputs and some useful macros
derivative.hGenerated by CodeWarrior to define the MCU used
derivative.incGenerated by CodeWarrior for COP
global.hSome useful defines for debug
jw32_registers.hMore register definitions
main_asm.hheader file for main_asm.c
MC68HC908JW32.HHeader file for MC68HC908JW32.C
motdef.hGeneral purpose definitions from the old days
pll.hHeader file for pll.c
spi.hHeader file for spi.c
tb.hHeader file for tb.c Timebase
timer.hHeader file for timer.c timer initialization
usb.hHeader file for USB_driver.c
usb_vars.hHeader for variables used in USB_Driver.c
utilities.hHeader for utilities.c
ansii.libc library for ansii c functions
Start08.cGenerated by CodeWarrior to define initialization code
Project.prmDefines interrupt and memory map
Project.mapMap file generated by compile process
Burner.bblsome defines used in the programming of the JW32
assembly language.
MODIFYING AND ADDING TO THE SOFTWARE -
To modify and recompile this software, one must download a copy of the CodeWarrior software development suite
(IDE) from Freescale. The link to this software is:
http://www.freescale.com/CodeWarrior
The USB to SPI software transfers 8 bytes of data from the SPIGen.exe program, via USB, to the MCU. The
definitions of the 8 bytes can be found in the main.c program, and the actual transfer and decoding is done in the
USB_driver.c program. Comments are provided throughout the code to explain the operation of the individual
routines.
Once the code is compiled (without errors), the CodeWarrior IDE provides a means to download the binaries to the
P&E Cyclone Pro programmer, via the MON08 port to re-Flash the MCU. The documentation for this process is
contained in the CodeWarrior suite of tools and the P&E documentation.
Freescale does not assume liability, endorse, or warrant components from external manufacturers that are referenced in circuit drawings or
tables. While Freescale offers component recommendations in this configuration, it is the customer’s responsibility to validate their application.
Freescale Semiconductor, Inc.
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
1-800-521-6274 or +1-480-768-2130
www.freescale.com/support
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064
Japan
0120 191014 or +81 3 5437 9125
support.japan@freescale.com
Asia/Pacific:
Freescale Semiconductor China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 10 5879 8000
support.asia@freescale.com
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
1-800-441-2447 or +1-303-675-2140
Fax: +1-303-675-2150
LDCForFreescaleSemiconductor@hibbertgroup.com
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.