Operation Manual

Application Note: USB Interface Board-AN01 – General
Description
USB Interface
Board
AN01 – General Description
www.ams.com
Revision 1.0 / 07/10/13
page 1/10
USB Interface Board-InsertApp#
General Description
Table of Contents
1
General Description ............................................................................................................. 3
1.1
Kit Content ........................................................................................................................... 3
2
Getting Started ..................................................................................................................... 3
3
Hardware Description........................................................................................................... 4
4
Configuration ........................................................................................................................ 5
4.1
Supply and Logic Voltage .................................................................................................... 5
4.2
LIN Enable ........................................................................................................................... 5
4.3
Firmware Update.................................................................................................................. 5
4.3.1
JTAG .................................................................................................................................... 5
4.3.2
USB ...................................................................................................................................... 5
5
Board Schematics, Layout and BOM ................................................................................... 7
6
Ordering Information .......................................................................................................... 10
Revision History
Revision
Date
Owner
Description
1.0
07.10.2013
gheh
Initial release
www.ams.com
Revision 1.0 / 07/10/13
page 2/10
USB Interface Board-InsertApp#
General Description
1
General Description
This document describes the USB Interface Board which creates the link between our demo Boards
and the USB Interface on the PC side.
This demo Board is used in conjunction with a number of different demo boards.
It supports SPI, I2C, UART, CAN and LIN as well as normal GPIO Interfaces and passed them onto
USB Port.
The Protocol to the PC side is AMS-Stream via USB-HID and the appropriate driver which is built-in
in modern Operating Systems.
1.1
Kit Content
The kit consists of the dual layer PCB USB Interface Board a USB Cable and a HDMI Type-D to
Type-C Cable which is used to connect to the demo board.
Figure 1: USB Interface Board
2
Getting Started
As this Interface Board is for a multitude of demos there is no general setup procedure. Typically
you would install the Software of the Demo Board you’re using, and then select the appropriate
Interface voltage on the USB Interface Board as described in Chapter 4.1. Afterwards you connect
the Demo Board via the HDMI or eSATA Cable and then the USB Interface board to the Computer
via a USB cable. Important for normal operation the switch S1 has to point away from the left top
edge otherwise the MCU will enter Firmware Update mode.
www.ams.com
Revision 1.0 / 07/10/13
page 3/10
USB Interface Board-InsertApp#
General Description
3
Hardware Description
The USB Interface Board is powered via J3 the USB Connector. It can run on 5V or 3.3V which is
selectable via J4.
B
A
C
D
F
E
G
H
I
Figure 2: PCB Top Side Diagram
Label
Name
Designator
Description
Info
A
PROG_SWITCH
S1
Program Switch
Switch to enable Firmware Upload
via USB
B
V_SELECT
J4
Votlage Selector
Selects between 3.3V and 5V
supply and logic
C
LIN_EN
J5 / J6
Lin Enable
Jumper to enable LIN Interface
bridge from left to right
D
UART
J7
Uart Connector
Allows to connect Bluetooth UART
Interface
E
USB
J3
Usb Connector
Connects to the PC
F
CAN / LIN
J8
Automotive
Interface Connector
Interfaces to the CAN and LIN
Bus and provides 12V
G
SPI / I2C /
UART / GPIO
J2
Serial Interface
Connector
Interfaces to the Standard Serial
Protocols
H/I
JTAG
J1/J9
JTAG Programming
Allow to Program and debug the
www.ams.com
Revision 1.0 / 07/10/13
page 4/10
USB Interface Board-InsertApp#
General Description
Label
Name
Designator
Description
Connector
Info
chip. J9 is a Tag-Connect
Table 1: Connection Diagram
4
4.1
Configuration
Supply and Logic Voltage
The Supply and Logic voltage is configured by J4. Placing a jumper on the left two of the three pins
will select 5V (which is required e.g. for the AS8506 demo boards). Placing the jumper in on the
right two pins will select 3.3V operation (which is e.g required for the AS8510).
4.2
LIN Enable
To enable the LIN Interface two jumpers have to be placed on J5 and J6. This will disable one of
the two serial Interfaces and redirect it to the LIN Transceiver.
4.3
Firmware Update
4.3.1 JTAG
The Firmware can be updated and changed either via the JTAG Interface which is accessible either
via the standard 20 pin JTAG Connector J1 (which by default is not populated) or via the 10pin tagconnect plug J9 (http://www.tag-connect.com/TC2050-IDC)
4.3.2 USB
The Microcontroller has an integrated bootloader which allow software update via USB. This can be
triggered by placing the Switch S1 in direction of the left top corner and then plugging in the USB
cable. This will enumerate a new Serial Device which can then be programmed via the Flash USB
Direct Programmer
(http://www.spansion.com/Support/microcontrollers/developmentenvironment/Pages/usb-directdownload.aspx)
www.ams.com
Revision 1.0 / 07/10/13
page 5/10
USB Interface Board-InsertApp#
General Description
Figure 3: FLASH Usb Direct Programmer GUI
Be sure to select MB9BF524K/L/M as Target MCU and the hex file you want to upload. Then select
the correct com Port which the Microcontroller enumerated to and click Full Operation
www.ams.com
Revision 1.0 / 07/10/13
page 6/10
USB Interface Board-InsertApp#
General Description
5
Board Schematics, Layout and BOM
Figure 4: Schematic
www.ams.com
Revision 1.0 / 07/10/13
page 7/10
USB Interface Board-InsertApp#
General Description
Figure 5: Top PCB Side
www.ams.com
Revision 1.0 / 07/10/13
page 8/10
USB Interface Board-InsertApp#
General Description
Figure 6: BOM
www.ams.com
Revision 1.0 / 07/10/13
page 9/10
USB Interface Board-InsertApp#
General Description
6
Ordering Information
The USB Interface Board can be ordered via:
Table 2: Ordering Information
Ordering Code
Productname
Materialnumber
USB-Interface-DK
USB Interface Board with ARM µc
990600769
Copyright
Copyright © 1997-2013, ams AG, Tobelbader Strasse 30, 8141 Unterpremstaetten, Austria-Europe.
Trademarks Registered ®. All rights reserved. The material herein may not be reproduced, adapted,
merged, translated, stored, or used without the prior written consent of the copyright owner.
All products and companies mentioned are trademarks or registered trademarks of their respective
companies.
www.ams.com
Revision 1.0 / 07/10/13
page 10/10