DLP-2232DAQ DLP Design Inc, DLP-2232DAQ Datasheet

Interface Modules & Development Tools USB Data Acquisition System

DLP-2232DAQ

Manufacturer Part Number
DLP-2232DAQ
Description
Interface Modules & Development Tools USB Data Acquisition System
Manufacturer
DLP Design Inc
Datasheet

Specifications of DLP-2232DAQ

Interface Type
USB
Data Bus Width
12 bit
Operating Supply Voltage
5 V
Product
Interface Modules
For Use With/related Products
FT2232C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
MULTI-PROTOCOL USB
An All-Serial Data Acquisition System – No Microcontroller Required!
**Plus – Using FFT’s to Whistle your Way to Home Automation**
Don L. Powrie
Introduction
The vast majority of USB devices available on the market today have at least one thing
in common; they all use microcontrollers to implement the task at hand. Whether it’s in
the form of a USB serial engine sharing the same piece of silicon with a microcontroller
or a simple connection between the two on a printed circuit board, the use of a
microcontroller for just about any USB-based task is virtually inescapable…that is, until
now.
In the arena of "easily-implemented USB", the folks at FTDI (www.ftdichip.com) have
done it yet again by releasing their new, dual-channel FT2232C IC. This new chip
offers two interfaces for connection to user electronics as compared to its predecessors
(the FT232BM and FT245BM) that only have one. Instead of being fixed in hardware as
only serial (USB-UART) or parallel (USB-FIFO), both channels of this new chip are
configurable for either serial, parallel, or one of several other new interface modes of
operation.
This article will focus on one of the new interface modes known as the “Multi-Protocol
Synchronous Serial Engine” or MPSSE for short. The MPSSE interface is only
available on one of the two channels and consists of a clock line, a data IN line, a data
OUT line, and some general-purpose digital I/O lines. The MPSSE can be controlled
via any programming language with the ability to open, load, and access a Dynamically
Linked Library (DLL). I wrote my program in Visual C++ to demonstrate the MPSSE,
but Visual Basic and other programming languages can be used as well. (We’ll talk
more about software later…)
I will further demonstrate how to use the MPSSE to communicate with a 12-bit A/D
converter, a 12-bit DAC, 12 digital I/O lines, and control 4 relays, all without the use of a
microcontroller…and all without any in-depth knowledge of USB!
Hardware Design
A printable version of the schematic (Figure 1) is available for download as a *.pdf
document from www.dlpdesign.com/usb/2232daq/.
A picture of the prototype printed circuit board is shown in Figure 2. The picture shows
the prototype using the DLP-2232M, but it could be used with either the DLP-2232M or
DLP-2232ML dual-channel USB interface modules.
1

Related parts for DLP-2232DAQ

DLP-2232DAQ Summary of contents

Page 1

... A printable version of the schematic (Figure 1) is available for download as a *.pdf document from www.dlpdesign.com/usb/2232daq/. A picture of the prototype printed circuit board is shown in Figure 2. The picture shows the prototype using the DLP-2232M, but it could be used with either the DLP-2232M or DLP-2232ML dual-channel USB interface modules. Don L. Powrie ...

Page 2

... The data-acquisition devices used in this design all have serial interfaces; perfect for use with the MPSSE. The data IN and data OUT lines of the MPSSE are connected at the DLP-2232M(L) interface to form a single, bi-directional data line. This data line and the clock line are shared between all of the acquisition devices in the design, and each device is enabled for communication via one of the general-purpose digital I/O lines on the FT2232C ...

Page 3

... Figure 2. Prototype with DLP-2232M FT2232C Relay Driver IC Relay Relay Relay Figure 3. Block Diagram A/D CS Clock DAC Data CS 16 Digital CS I/O Lines 4 Relay K4 3 ...

Page 4

The A dual-channel, 12-bit, successive-approximation converter that was chosen for its low cost and small size. The intention of this hardware design was more to show off the capabilities of the MPSSE and less to provide a large-scale ...

Page 5

... As mentioned earlier, to enable and access the MPSSE, you must use FTDI’s DLL drivers. Visual C++ demo source code that demonstrates the use of the DLL is available for download from www.dlpdesign.com. Using the MPSSE requires the use of a programming language that can open and access a DLL at run-time. The first step in using the DLL is to open the DLL and load the functions ...

Page 6

... Since the MPSSE uses a rather low-level coding method, adding comments to your code is key to understanding what you’ve done the next day when you look at the code again. Before the MPSSE can communicate with the A/D, its chip select line (ADCS) must be enabled by taking it low ...

Page 7

The idea is to build a long stream of commands that can be processed at high speed by the MPSSE and send them all at once. The MPSSE will process the entire string of commands at a preset rate and ...

Page 8

... The number of data points taken--not the accuracy of the voltage measurement-- dictates the resolution of the frequency domain data. 6. The accuracy of the frequency domain frequency data (i.e. not the amplitude data) is based on the accuracy of the A/D’s sampling rate. www.dlpdesign.com/usb/2232daq/ 8 that listens to a ...

Page 9

... A Windows application can be downloaded from dlpdesign.com that allows the user to set up these conditions and respond in a number of ways. (A screen shot of the program can be seen in Figure 5 ...

Page 10

... Conclusion There is a considerable amount of reading material available online (www.dlpdesign.com/pub.shtml) for those wanting to become familiar with FTDI’s USB chips and drivers. FTDI’s USB IC’s greatly simplify the task of designing a new product utilizing the increasingly popular USB interface, and the FT2232C builds upon that legacy by offering a configurable, two-channel version of their existing product line. FTDI’ ...

Related keywords