
KIT33932VWEVBE Evaluation Board,
Rev. 2.0
Freescale Semiconductor
8
Setup and Example Demonstrations
5
Setup and Example Demonstrations
To perform the examples included in the CD the following connections and setup must be performed:
1. Make sure the SPIGen 5.0X program is installed on the PC and it can communicate with the USB/SPI Dongle as
described in that kit’s documentation.
2. Connect the USB/SPI Dongle to the EVB via a 16 pin ribbon cable. Make sure to orient the cable so that pin1 on both the
USB/SPI Dongle and the EVB are connected correctly, pin 1 to pin 1.
3. Connect the USB/SPI Dongle to a PC, LED 2 on the USB/SPI Dongle and the VDD LED on the board should both be
illuminated.
4. Attach a +12 VDC supply (do not turn on power yet) to the power connector on the EVB, making sure to observe the GND
and +12V terminals. The current capability of the +12V supply should exceed the maximum total current that the number
of simultaneously ON loads will require.
5. Attach loads to the OUT1/2 and OUT3/4 terminals. One possible demo load is a 10w halogen G4 Base T3 bulb (used in
landscape lighting applications). This load will draw approximately 850 mA and fits nicely into the screw terminals.
6. Launch SPIGen and from the “
File
” menu, select “
Open
” and browse to the CD containing the
“
MC33932_EVB_CONFIGURATION_FILE.spi
” file. The title on the SPIGen screen should change from “Generic SPI
Generator” to “MC33932 SPI Generator”.
7. Turn on the +12 Volt Supply. Verify that all is working correctly by clicking on the “Extra Pins” button in the SPIGen main
screen and then click on the following buttons to set the up the proper conditions:
A. Control 0 “
Low
”
B. Control 1 “
High
”
C. Control 2 “
Low
”
D. Control 3 “
High
”
8. Next, click on the Data 0 “
High
” button. The OUT1/2 load or bulb should turn on. The OUT 1/2 LED should be glowing
green. Clicking on the DATA 0 “
Low
” button should turn off the load or bulb and the OUT 1/2 LED.
Next, click on the Data 1 “
High
” button. The OUT1/2 load or bulb should turn on. The OUT 1/2 LED should be glowing red.
Clicking on the DATA 1 “
Low
” button should turn off the load or bulb and the OUT 1/2 LED.
9. Next, click on the Data 2 “
High
” button. The OUT3/4 load or bulb should turn on. The OUT 3/4 LED should be glowing
green. Clicking on the DATA 2 “
Low
” button should turn off the load or bulb and the OUT 3/4 LED.
10. Next, click on the Data 3 “
High
” button. The OUT3/4 load or bulb should turn on. The OUT 3/4 LED should be glowing red.
Clicking on the DATA 3 “
Low
” button should turn off the load or bulb and the OUT 3/4 LED. If everything described so far
occurs then you are ready to proceed with the remaining examples.
EXAMPLE 1. RUNNING THE TEST BOTH H-BRIDGES BATCH FILE
1. Click on the “Send a Batch of Commands” Tab in the SPIGen main screen.
2. In the box below the “Commands to Send:” column is a pull-down menu box containing several batch file names. One of
these example batch files is labeled “
Test Both H-Bridges
”.
3. Click on this label to load it. You should see a list of commands in the “Command to Send” box.
4. Click on the “
Continuous
” button and observe that the loads or bulbs you have attached to the EVB board are blinking
twice and then going out in succession.
There are other demo batch examples that can be run and examined for learning how to use the EVB.