Transcription of USB2ANY Interface Adapter - ti.com
1 User's Guide SNAU228 January 2018. USB2 ANY Interface Adapter This user's guide describes the USB2 ANY Interface Adapter and its general setup and operation. Contents 1 Introduction .. 2. How to Use This Manual .. 2. Information About Cautions and Warnings .. 2. FCC Warning .. 3. Description .. 3. 2 Overview of Hardware Design .. 4. 3 Connecting the USB2 ANY .. 7. Using the 10-Pin Cable .. 8. Using the 30-Pin Cable .. 8. Connecting the USB2 ANY to the Computer .. 9. Connecting the USB2 ANY to an EVM .. 9. Appendix A USB2 ANY Schematic .. 10. Appendix B USB2 ANY Cable 13. List of Figures 1 USB2 ANY and the Supplied Cables .. 3. 2 USB2 ANY Block Diagram .. 5. 3 USB2 ANY 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 USB2 ANY Interface Adapter 1. Submit Documentation Feedback Copyright 2018, Texas Instruments Incorporated Introduction 8 Connection Between the USB2 ANY and the EVM .. 9. 9 USB2 ANY Schematic 1.
2 10. 10 USB2 ANY Schematic 2 .. 11. 11 USB2 ANY Schematic 3 .. 12. 12 USB2 ANY 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. List of Tables 1 Status LEDs .. 6. 2 10-pin Cable 14. 3 30-pin Cable Pinouts .. 15. Trademarks All trademarks are the property of their respective owners. 1 Introduction How to Use This Manual This document contains the following chapters: Chapter 1 Introduction Chapter 2 Overview of Hardware Design Chapter 3 Connecting the USB2 ANY. Appendices Information About Cautions and Warnings CAUTION. 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.
3 Manufacturer's specifications in the manual include this limitation. 2 USB2 ANY Interface Adapter SNAU228 January 2018. Submit Documentation Feedback Copyright 2018, Texas Instruments Incorporated Introduction 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. Description The USB2 ANY 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.
4 The USB2 ANY is a USB device supporting several different interfaces, including: 13 general purpose input/output (GPIO) (shared) lines with switchable pullup or pulldown resistors I2C with programmable 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 or 5-V power to DUT. The USB2 ANY board can source regulated and DC power to the target device, up to a maximum of 300 mA (combined V and V). The voltage outputs have built-in current sensing and limiting circuits that protect both the EVM and the USB2 ANY from overcurrent, shorts, and so forth. The USB2 ANY is shipped with a USB cable, a 10-pin cable (for most common interfaces), and a 30-pin cable (for all supported interfaces). Figure 1. USB2 ANY and the Supplied Cables SNAU228 January 2018 USB2 ANY Interface Adapter 3. Submit Documentation Feedback Copyright 2018, Texas Instruments Incorporated Overview of Hardware Design 2 Overview of Hardware Design The USB2 ANY is based on TI's MSP430F5529 microcontroller, which has the following features making it ideal for a multi- Interface controller: 16-bit RISC CPU.
5 Operates at 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 12-bit ADC. Hardware multiplier supporting 32-bit operations Three-channel internal DMA. See Appendix A: USB2 ANY Schematic for schematic drawings. The block diagram in Figure 2 shows the fundamental parts of the USB2 ANY: 1. USB connector The USB connector connects to the host computer. The USB2 ANY is a USB 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 + or the + 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.
6 It is programmed with the USB2 ANY 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 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 USB2 ANY 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.
7 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 USB2 ANY 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 USB2 ANY 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.
8 Ext. VREF The external voltage reference allows selection of the voltage used as the reference by the ADCs. By default, VREF is set to use AVCC, which is physically connected to VCC ( nominal). 4 USB2 ANY Interface Adapter SNAU228 January 2018. Submit Documentation Feedback Copyright 2018, Texas Instruments Incorporated Overview of Hardware Design + V. Power Management + V. DAC1. DAC2. GPIO, 12C, PWM, and other interfaces MSP430F5529. (shared lines). (14). Switchable 12C pullups (4) Analog Inputs Ext. VREF. Copyright 2017, Texas Instruments Incorporated Figure 2. USB2 ANY Block Diagram Figure 3 shows the USB2 ANY 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 USB2 ANY). 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.
9 SNAU228 January 2018 USB2 ANY Interface Adapter 5. Submit Documentation Feedback Copyright 2018, Texas Instruments Incorporated Overview of Hardware Design Figure 3. USB2 ANY 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 USB2 ANY 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 USB2 ANY 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 USB2 ANY.
10 The JTAG connector (J1) is used only for firmware development and is normally not populated with a physical connector. 6 USB2 ANY Interface Adapter SNAU228 January 2018. Submit Documentation Feedback Copyright 2018, Texas Instruments Incorporated Connecting the USB2 ANY. 3 Connecting the USB2 ANY. NOTE: This section assumes you are using the USB2 ANY in its gray plastic enclosure (as shown in Figure 1). If the USB2 ANY 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 USB2 ANY ships with two cables, one 10-pin and one 30-pin. Both cables are standard ( mm) pitch ribbon cables with IDC-type connectors. The connectors have a key to assure that they are installed correctly. Figure 4. 10-Pin Cable With Key NOTE: If you are using the USB2 ANY 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.
