Setting Up and Using the Hardware
KTXSWITCH4UG User’s Guide Rev. 1.0 11/2013
8
Freescale Semiconductor, Inc.
11
Setting Up and Using the Hardware
In order to perform the demonstration examples, first set up the evaluation board hardware and software as
follows:
1. Ready the computer and install the latest available version of SPIGen GUI. Then connect the cable
between this interface board and computer. Finally, plug this interface board into the eXtreme Switch Gen4
Evaluation Board.
2. Attach a DC power supply (without turning on the power) to evaluation board’s Vpwr-Gnd connectors and
attach loads to the KIT07XS6517EVBE board. Plug the USB/SPI interface dongle (KITUSBSPIDGLEVME)
directly into the evaluation board.
3. Use as many output terminals as desired.
4. Launch SPIGen and load the GEN4_SPIgen_eval_rev1.spi configuration file obtained from the
Jump Start
download.
5. Turn on the power supply with the correct voltage and verify that EVB is supplied correctly by observing the
D6 LEDs with JP1 and JP11 closed. J1 and J7 have to be set either to the Vcc or the µC position. Set all
the LED jumpers, JP2 to JP6, to outputs pins; set the "Extra Pin" RST_B (if J1 in uC position) to high on
the SPIGen GUI and then do the following verification:
6. Click on the "Extra Pins" button INx. The corresponding OUTx LED should turn on.
7. Click on the "Send Once" button. The 'SPI Word Received' at the top of the screen should answer
something different from 0x0000.
Once the steps above are all accomplished, then you are ready to proceed with the remaining examples.
11.1
SPIGen Software information
On the left side of the "device view", you have two options:
•
"Single Command": The screen displays 16 bits from the SP interface, so the user can configure them easily
in binary or hexadecimal. You will also find at the top, the corresponding status of SI and SO bits and on
bottom left, the "SPI Word Session Log". Extra pins are also available for configuration.
•
"Batch Commands" allows the user to create a specific function using commands that already exist.
Note:
•
Some commands and batches of commands are already set up in the GEN4_SPIgen_eval_rev1.spi file.
You may create and save your own command for specific purposes.
•
Gen4 devices need a WD toggle on bit D11 to stay in normal mode. The interface board
KITUSBSPIDGLEVME is not able to generate and take into account WD bit status. Therefore, when doing
your own sequence, you may take this into account, and use the "Send Continuously" button.