NXP Semiconductors KITUSBSPIEVME User Manual

Freescale Semiconductor KTUSBSPIEVBSIUG User’s Guide Rev. 1.0, 8/2006
USB to SPI Interface Evaluation Board
(Featuring MCHC908JW32FC)
The KITUSBSPIEVME Evaluation Board is a working hardware/software example that allows a user to become familiar with the MCHC908JW32FC by means of an actual useful application, a USB to SPI and USB to parallel converter. The main function provided by this Evaluation Board is to allow a PC, that may not have a parallel port, to communicate with other Freescale Evaluation Boards, via a USB port.
The USB port is a standard feature on almost every new PC. This kit makes use of the MCHC908JW32FC’s built-in USB, SPI and parallel ports.
This document contains information on a new product. Specifications and information herein are subject to change without notice.
© Freescale Semiconductor, Inc., 2006. All rights reserved.
Hardware Description
The hardware Block Diagram is shown below:
MC68HC908JW32 Demo Board Block Diagram
FROM P&E
OR FSICE
MON08
MC68HC908JW32
SPI
MCU
DB 25
FROM PC
The Evaluation Board consists of a MCHC908JW32FC MCU (hereafter called the “JW32”), various MCU support components (crystal, capacitors, resistors, etc.), three LEDs, a programmable jumper matrix with a DB25 connector, a USB interface connector (B-type), a 16 pin MON08 interface connector (to allow programming the MCU’s flash RAM), and a 4 wire SPI interface (SI, SO, SCLK and CSB). All 5 volt power required by the Evaluation Board is obtained from either the USB or MON08 connectors. A set of two jumper select blocks configure the Evaluation Board to select which connector provides the 5 volt power(MON08 or USB) and whether the internal 4.00 MHz crystal or external 4.9152 MHz oscillator from the P&E or FSICEBASE unit is used. A detailed schematic is included on the accompanying CD.
LED Display
The LED’s are provided as a visual output device for debugging and test purposes. 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, which will be explained in detail in the Software section of this document.
Jumper Matrix
The Evaluation Board will convert USB serial data to both parallel and SPI (serial) data, which can be assigned via jumper shorting plugs or wire jumpers to various pins on the DB25 connector. The reason for this jumper matrix feature is to accommodate the various other Freescale Evaluation Boards that use a non-standard parallel port pinout.
Jumper Definitions
As shipped from the factory the jumper matrix programming is as follows:
USB
MCU SUPPORT
CIRCUITRY
Parallel Outputs
Jumper
Select Matrix
LED’s
DB25 Pin Number Name JW32 Pin Number JW32 Name
1 CNTL0 18 PTD5 2 CSB 8 SSB 3 SI 10 MOSI
USB to SPI Interface Evaluation Board, Rev. 1.0
2 Freescale Semiconductor
DB25 Pin Number Name JW32 Pin Number JW32 Name
4 SCLK 11 SPCLK 5 DATA0 13 PTD0 6 DATA1 14 PTD1 7 DATA2 15 PTD2 8 DATA3 16 PTD3
9 DATA4 17 PTD4 10 NC --- ------­11 NC --- ------­12 SO 9 MISO 13 NC (alt SO) (9) (MISO) 14 CNTL1 19 PTD6 15 NC (alt SO) (9) (MISO) 16 CNTL2 22 PTD7 17 CNTL3 7 PTC0 18 NC --- ------­19 NC --- ------­20 GND 44 VSS 21 NC --- ------­22 NC --- ------­23 NC --- ------­24 NC --- ------­25 NC --- -------
* NC = No Connection
The SO signal can be connected to pin 12 (normal), pin 13 (alternate), or pin 15 (alternate) of the DB25 connector via shorting plugs. This again is to accommodate different Freescale Evaluation Boards that at different times have used each of these pins for the SO SPI signal.
If the Evaluation Board is to be used as an interface to a Freescale Evaluation Board, the user can select the correct pin outs for the SPI signals and Control and Data signals by using shorting jumper plugs or wire jumpers. Consult the specific Freescale Evaluation Board documentation for the correct signal/pin definitions for the SPI and parallel control and data signals.
MON08 Connector
The MON08 connector consists of the following 16 pins:
USB to SPI Interface Evaluation Board, Rev. 1.0
Freescale Semiconductor 3
Loading...
+ 5 hidden pages