Texas Instruments USB2ANY User Manual

User's Guide
SNAU228–January 2018
USB2ANY Interface Adapter
Contents
1 Introduction ................................................................................................................... 2
1.1 How to Use This Manual........................................................................................... 2
1.2 Information About Cautions and Warnings...................................................................... 2
1.3 FCC Warning........................................................................................................ 3
1.4 Description........................................................................................................... 3
2 Overview of Hardware Design ............................................................................................. 4
3 Connecting the USB2ANY.................................................................................................. 7
3.1 Using the 10-Pin Cable ............................................................................................ 8
3.2 Using the 30-Pin Cable ............................................................................................ 8
3.3 Connecting the USB2ANY to the Computer .................................................................... 9
3.4 Connecting the USB2ANY to an EVM ........................................................................... 9
Appendix A USB2ANY Schematic............................................................................................. 10
Appendix B USB2ANY Cable Connections................................................................................... 13
List of Figures
1 USB2ANY and the Supplied Cables ...................................................................................... 3
2 USB2ANY Block Diagram .................................................................................................. 5
3 USB2ANY PCB .............................................................................................................. 6
4 10-Pin Cable With Key...................................................................................................... 7
5 10-pin Cable Connection ................................................................................................... 8
6 30-Pin Cable Connection ................................................................................................... 8
7 USB Connector .............................................................................................................. 9
SNAU228–January 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
USB2ANY Interface Adapter
1
Introduction
8 Connection Between the USB2ANY and the EVM...................................................................... 9
9 USB2ANY Schematic 1 ................................................................................................... 10
10 USB2ANY Schematic 2 ................................................................................................... 11
11 USB2ANY Schematic 3 ................................................................................................... 12
12 USB2ANY Interface Connectors ......................................................................................... 13
13 10-Pin IDC Cable Connector ............................................................................................. 14
14 10-Pin IDC Cable Detail................................................................................................... 14
15 30-Pin IDC Cable Connector ............................................................................................. 15
16 30-Pin IDC Cable Detail ................................................................................................... 15
1 Status LEDs .................................................................................................................. 6
2 10-pin Cable Pinouts....................................................................................................... 14
3 30-pin Cable Pinouts....................................................................................................... 15
Trademarks
All trademarks are the property of their respective owners.
1 Introduction
1.1 How to Use This Manual
This document contains the following chapters:
Chapter 1 – Introduction
Chapter 2 – Overview of Hardware Design
Chapter 3 – Connecting the USB2ANY
Appendices
www.ti.com
List of Tables
1.2 Information About Cautions and Warnings
The EVM contains components that can potentially be damaged by electrostatic discharge. Always transport and store the EVM in the supplied ESD bag, when not in use. Handle using an antistatic wristband. Operate on an antistatic work surface. For more information on proper handling, refer to Electrostatic
Discharge (ESD).
Due to the limited use and location of use (antistatic professional laboratory or other controlled environment) the equipment under test (EUT) will not see an ESD event above 2 kV, and was tested accordingly. Manufacturer’s specifications in the manual include this limitation.
CAUTION
2
USB2ANY Interface Adapter
Copyright © 2018, Texas Instruments Incorporated
SNAU228–January 2018
Submit Documentation Feedback
www.ti.com
1.3 FCC Warning
This equipment is intended for use in a laboratory test environment only. The equipment generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference. Operation of this equipment in other environments may cause interference with radio communications, in which case, the user, at their own expense, is required to take whatever measures may be required to correct this interference.
1.4 Description
The USB2ANY is a small dongle intended to allow a computer to control an electronic evaluation module (EVM) via a USB connection. These EVMs cannot normally connect directly to the computer because of their specialized interfaces, which are typically supported on commercial computers.
The USB2ANY is a USB 2.0 device supporting several different interfaces, including:
13 general purpose input/output (GPIO) (shared) lines with switchable pullup or pulldown resistors
I2C with programmable 1.5-kΩ pullup resistors
SPI – up to 8-MHz SCLK
UART (300 to 230,400 Baud)
Four analog inputs, 12-bit analog-to-digital converter (ADC)
Two analog outputs, 8-bit digital-to-analog converter (DAC)
Four PWM outputs
Several other interfaces
Switchable 3.3-V or 5-V power to DUT The USB2ANY board can source regulated 3.3-V and 5.0-V DC power to the target device, up to a
maximum of 300 mA (combined 3.3 V and 5.0 V). The voltage outputs have built-in current sensing and limiting circuits that protect both the EVM and the USB2ANY from overcurrent, shorts, and so forth.
The USB2ANY is shipped with a USB cable, a 10-pin cable (for most common interfaces), and a 30-pin cable (for all supported interfaces).
Introduction
Figure 1. USB2ANY and the Supplied Cables
SNAU228–January 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
USB2ANY Interface Adapter
3
Overview of Hardware Design
2 Overview of Hardware Design
The USB2ANY is based on TI’s MSP430F5529 microcontroller, which has the following features making it ideal for a multi-interface controller:
16-bit RISC CPU
Operates at 3.3 V
128KB flash memory
10KB SRAM
63 I/O pins
Fast execution (25-MHz clock)
Four 16-bit counters and timers
Two universal serial communication interfaces (supports SPI, I2C, UART)
Full-speed universal serial bus (USB) with internal PHY supporting USB 2.0
12-bit ADC
Hardware multiplier supporting 32-bit operations
Three-channel internal DMA See Appendix A: USB2ANY Schematic for schematic drawings. The block diagram in Figure 2 shows the fundamental parts of the USB2ANY:
1. USB connector – The USB connector connects to the host computer. The USB2ANY is a
USB 2.0 full-speed device using a HID-class driver. The board has a Mini-USB connector installed.
2. Power Management – The power management circuitry allows the application program to turn the
+3.3-V or the +5.0-V external power outputs on or off. It also detects power faults (for example, overload or short circuit) and notifies the application program.
3. MSP430F5529 – This MSP430 microcontroller communicates with the application program and
executes the received API function commands. It is programmed with the USB2ANY firmware, which controls all of the interface peripherals and other necessary functions (for example, timing, scheduling, encoding and decoding data).
4. DAC1, DAC2 – These are the DAC outputs. Under program control, these outputs can source a
voltage from 0 V to 3.3 V, in 256 steps.
5. GPIO – These GPIO signals are used to read/write single-bit digital signals. When used as inputs, they
can optionally be programmed to be pulled up, pulled down, or floating (MOS input with no resistor).
6. I2C – The inter-integrated circuit interface is an industry-standard serial interface often used to
communicate between devices in a closed system. I2C requires two signal wires plus a ground connection. The I2C interface of the USB2ANY uses a 7-bit address, which allows the bus to support up to 127 devices.
7. SPI – The industry-standard serial peripheral interface is generally faster than I2C, but more difficult to
implement. It is often used to communicate between devices in a closed system. SPI usually requires four signal wires plus a ground connection, but can use as few as three wires or as many as needed to select among the number of devices connected to the bus. While there is no real limit as to the maximum number of devices on a SPI bus, the number is usually limited by practical issues like fan­out, cable length, signaling speed, and capacitive loading.
8. PWM – The pulse-width modulated outputs allow the USB2ANY to produced pulse trains with variable
frequency and duty cycle. This can be used for clocks, integrators (such as those used in PWM servo motors), tone generation, and so forth.
9. Analog Inputs – The USB2ANY has four analog inputs. Two of the inputs (ADC0, ADC1) have no
external amplifiers (effectively unity gain) and the other two inputs (ADC2, ADC3) have a gain of two. The gain allows smaller signals to be amplified slightly, giving them a larger scale at the ADC inputs. The MSP430F5529 utilizes 12-bit ADCs, giving a full-scale digital value of 4095.
10. Ext. V
ADCs. By default, V
– The external voltage reference allows selection of the voltage used as the reference by the
REF
is set to use AVCC, which is physically connected to VCC(3.3-V nominal).
REF
www.ti.com
4
USB2ANY Interface Adapter
Copyright © 2018, Texas Instruments Incorporated
SNAU228–January 2018
Submit Documentation Feedback
Power Management
(14)
MSP430F5529
Switchable
1
2C pullups
(4)
+3.3 V
+5.0 V
DAC1
DAC2
GPIO, 12C, PWM, and other interfaces (shared lines)
Analog Inputs Ext. V
REF
Copyright © 2017, Texas Instruments Incorporated
www.ti.com
Overview of Hardware Design
Figure 2. USB2ANY Block Diagram
Figure 3 shows the USB2ANY PCB without the enclosure. One end has three interface connectors that
are typically connected to an EVM (J3, J4, and J5). Connectors J3 and J5 have eight pins and J4 has 10 pins. Most applications will use only J4 because it provides access to the most commonly used interfaces (see Using the 10-Pin Cable in Connecting the USB2ANY). Alternatively, a 30-pin cable is provided that connects to all three connectors (J3, J4, and J5) and provides access to all available interface signals.
SNAU228–January 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
USB2ANY Interface Adapter
5
Overview of Hardware Design
www.ti.com
Figure 3. USB2ANY PCB
The Status LED indicates the status of the electronics and firmware, as follows:
Table 1. Status LEDs
LED State Meaning
OFF No power to the board. USB cable may be unplugged. ON Power is applied and the board is operating normally. Blinking A hardware, firmware, or USB error occurred. Board must be power-cycled.
NOTE: The LED may also be programmed using the software API to be ON, OFF, or blinking. In
that case, the LED may not indicate the actual status of the electronics or firmware.
Switch S1 is used to put the firmware into bootstrap loader (BSL) mode. The BSL mode is used to load or update the USB2ANY firmware and is entered whenever the board is powered-up while Switch S1 is depressed.
The USB Mini-B (J2) connector is used to connect the USB2ANY to the host computer. A cable with a USB Mini-B connector on one end and a USB A connector on the other end is provided with the USB2ANY.
The JTAG connector (J1) is used only for firmware development and is normally not populated with a physical connector.
6
USB2ANY Interface Adapter
Copyright © 2018, Texas Instruments Incorporated
SNAU228–January 2018
Submit Documentation Feedback
www.ti.com
3 Connecting the USB2ANY
NOTE: This section assumes you are using the USB2ANY in its gray plastic enclosure (as shown in
Figure 1). If the USB2ANY board has been removed from the enclosure, or the board came
without an enclosure, some interpretation and adjustments may need to be made in these instructions.
The USB2ANY ships with two cables, one 10-pin and one 30-pin. Both cables are standard 0.050-in (1.25­mm) pitch ribbon cables with IDC-type connectors. The connectors have a key to assure that they are installed correctly.
Connecting the USB2ANY
Figure 4. 10-Pin Cable With Key
NOTE: If you are using the USB2ANY board without its enclosure, the key must face away from the
PCB. Be sure to carefully align the male pins on the PCB with the cable connector.
SNAU228–January 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
USB2ANY Interface Adapter
7
Loading...
+ 14 hidden pages