DLN-1 PC-I2C/SPI/GPIO Interface Adapter

DLN-1 PC-I2C/SPI/GPIO Interface Adapter

DLN-1 PC-I2C/SPI/GPIO Interface Adapter can be used as an I2C and SPI master device. It also has 32 general purpose digital input/output pins, four 10-bit analog inputs, PWM output and 32-bit pulse counter.

Features

Key Features

  • PC to I2C master interface with configurable frequency up to 1MHz;
  • PC to SPI master interface with configurable frequency (up to 4MHz), phase and polarity;
  • 32 digital I/O pins with embedded pull-up resistors;
  • 4 10-bit analog inputs (ADC);
  • PWM output;
  • Pulse & frequency counter;
  • 1 status LED and 2 user-configurable LED's;
  • Free open source applications;
  • USB 2.0 full-speed (12 MHz) connection to personal computer;
  • RoHS Compliant

General Description

DLN-1 is the smallest and cheapest adapter available on the market. Its size is 5x4 cm (2x1.6 inches).

It can be used as an I2C and SPI master device. It also has 32 general purpose digital input/output pins, four 10-bit analog inputs, PWM output and 32-bit pulse counter.

The DLN-1 adapter is available in 3 modifications:

Specifications

PC-I2C Interface

DLN-1 interface adapter supports Standard (100 kHz), Fast (400 kHz) and Fast Plus (up to 1 MHz) I2C bus frequency modes. I2C Bus voltage can be supplied through internal (3.3V or 5V) or external (2.3V-5V) pull-up resistors. I2C interface pull-up resistors can be configured with solder bridges.

Symbol Parameter Condition Min Max
Freq I2C Bus Frequency configurable 1 kHz 1 MHz
PullUp Pull-Up Resistors configurable with solder bridges 240 Ohm 1.5K
VIH Input High Voltage 2.31V 5.5V
VIL Input Low Voltage -0.3V 0.99V
VOHi Output High Voltage Internal VCC 2.9V
VOHe Output High Voltage External VCC (VCC-0.4)V
VOL Output Low Voltage 0.4V

PC-SPI Interface

DLN-1 SPI interface supports all 4 SPI modes and frequencies in the range from 2kHz to 4MHz.

It can perform half-duplex (read or write) and full-duplex (simultaneous read and write) data transactions.

DLN-1 PC-SPI interface adapter operates on 3.3V. However, its SPI interface pins are 5V-tolerant, so you can use it with 5V circuits.

DLN-1 can be connected to a single SPI slave device (it has only one SPI slave select line). If you need more slave select lines or higher SPI bus frequency, consider using DLN-2 or DLN-4M adapters.

If you need an SPI slave interface (connect external SPI bus master to PC), use DLN-4S adapter.

Symbol Parameter Condition Min Max
Freq SPI Bus Frequency configurable 2 kHz 4 MHz
SS Slave Select Pin D.1 (25) 1 1
VIH Input High Voltage 2.31V 5.5V
VIL Input Low Voltage -0.5V 0.99V
VOH Output High Voltage IOUT= 4.0mA 2.9V  
VOL Output Low Voltage IOUT= -4.0mA   0.4V

PC-GPIO Interface (General Purpose Digital Input/Output)

The 32 GPIO pins can be configured as general purpose digital inputs or outputs.

Every GPIO pin is equipped with an embedded pull-up resistor. Pull-up resistors are used to ensure that inputs to GPIO lines are settled at expected levels, if external devices are disconnected or at high-impedance state.

These GPIO pins are shared with other modules. If you use I2C, SPI or some other interface, the number of free GPIO pins is reduced by the number of pins used by these modules.

Symbol Parameter Condition Min Max
VIH Input High Voltage 2.31V 5.5V
VIL Input Low Voltage -0.5V 0.99V
VOH Output High Voltage IOUT= 4.0mA 2.9V  
VOL Output Low Voltage IOUT= -4.0mA   0.4V
IL Input Leakage Current I/O Pin     0.001mA
IDC DC Current per I/O Pin 3.0V<VDDIO<3.6V; VOH=2.8V   8mA

Absolute Maximum Ratings

Parameter Min Max
Storage Temperature -66°C +150°C
Ambient Temperature Under Bias -40°C +85°C
DC Input Voltage to Any Pin -0.5V +5.5V
DC Input Voltage to Pins in ADC mode 0V +3.6V

Operating Conditions

Parameter Min Max
Ta (Ambient Temperature Under Bias) 0°C +70°C
DC Current VCC and GND Pins   50mA
Documentation and Downloads

Documentation & Online Support

Development

Title Links Description
C/C++ API C/C++ API desription.
.NET API API description for .NET development.
LabView Instrument Driver DLN LabView Driver is included in MS Windows dln.3.4.0.exe[zip] setup package

Hardware Information

Title Links Description
Connectors and Jumpers Port and pins assignment on available connectors and jumpers description.
Schematics  Board schematics.
Mechanical Drawing  Board mechanical drawing.

Software

Title Links Description
MS Windows Setup Package Contains driver, API libraries, binaries and software examples source code to use DLN adapter in MS Windows OS.
Linux Setup Package Contains all required files to start using DLN adapter in Linux. 
Firmware Update Latest firmware update for DLN adapter. Firmware can be downgraded with this application also.
Reviews