Product Information
Description
The DSP/BIOS Driver Development Kit (DDK) is designed to simplify development
of device drivers for a broad spectrum of DSP applications, ranging from consumer
electronics to telecommunications infrastructure. The DDK includes drivers for peripherals
present on TI’s TMS320™ family of DSPs and their associated evaluation boards. To
achieve this goal, the DDK provides:
- Fully functional device drivers for numerous TMS320 DSP peripherals
- Documented driver model that standardizes the methodology for developing drivers
- Reusable driver modules that eliminate development of all driver code from
scratch
The DDK complements the Chip Support Library (CSL), which is provided for each
TMS320 DSP. The CSL provides low-level hardware abstractions of DSP peripheral registers,
initialization functions and resource management. The DDK drivers use the CSL for
peripheral initialization and control. For relatively simple peripherals such as
timers, real-time clocks and cache, the CSL also provides higher-level programming
interfaces. The DDK provides drivers for sophisticated peripherals that perform
real-time data movement.
Features
Functional Device Drivers
The DDK offers several complete device drivers in both binary and source code
form for peripherals such as codecs, UARTs, PCI controllers and serial ports. Extensive
documentation is provided for each driver, including memory requirements and a design
overview that explains exactly how the driver works. DDK drivers are targeted specifically
at on-chip DSP peripherals or external peripherals on DSP evaluation boards such
as codecs. Each driver is thoroughly tested on a specific board to validate correct
real-time behavior. These drivers enable developers to immediately begin using a
supported peripheral without any driver development effort. The availability of
source code makes it simple to port the driver to custom board configurations using
similar peripherals. The DDK also offers drivers for specific codecs, including
the AIC23, PCM3002, AD50 and AD535 used on DSP evaluation boards.
Documented Driver Model
The DDK defines a standard driver model and set of APIs for developing drivers.
To simplify driver development, the driver model breaks a driver into two components.
The upper layer, the class driver, is device-independent and performs functions
such as buffer management and application synchronization. The lower layer or Input/Output
Module (IOM) minidriver handles the device-specific control and initialization.
All IOM mini-drivers conform to a standard interface called the IOM mini-driver
interface applicable to a wide range of devices including serial ports, video ports,
flash cards, UARTs, PCI controllers and Ethernet MACs. As a result, driver developers
only need to learn a single API to implement drivers for a full-range of DSP peripherals.
In addition, the standard IOM mini-driver API enables multiple class drivers to
work with a single IOM mini-driver. The driver model offers several benefits. With
one or more of the pre-existing class drivers able to provide a complete driver,
developers working on a new driver only need to use a new IOM minidriver. The IOM
mini-driver is simpler to implement than a full driver since the class driver handles
all the buffer management and synchronization. An IOM mini-driver developed for
a codec can be used with any of the predefined DSP/BIOS™ Input/Output (I/O) modules
such as Streaming Input/ Output (SIO) or PIP. Therefore, it is not necessary to
rewrite a driver when a different I/O interface is desired. In addition, a developer
can apply an alternative set of I/O interfaces to those provided by DSP/BIOS by
executing a new class driver or extending the General Input/ Output class driver.
These will work with all pre-existing IOM mini-drivers.
Reusable Driver Modules The DDK provides several reusable modules that eliminate
the need to develop a complete driver from scratch. These modules include the following
three class drivers in source code and binary form:
- DIO Module: Enables the DSP/BIOS SIO module to be used with an IOM mini-driver
- PIO Module: Enables the DSP/BIOS PIP module to be used with an IOM mini-driver
- GIO Module: Implements a new set of I/O APIs that may be used with DSP/BIOS
and is designed to support easy extension of I/O APIs. For example, asynchronous
(callback- based) I/O APIs are provided in the DDK and specialist APIs, such as
frame video APIs, easily can be created. The GIO class driver works with IOM mini-drivers.
Support Software
- Download Driver Developer's Kit (sprc118.zip, 5390 KB)
03 Feb 2003 zip