Required Terms And Concepts; User Led Driver; Timer Driver - Texas Instruments TMS320C6000 User Manual

Network developer’s kit (ndk) support package for evmdm642
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

www.ti.com
For further explanation on the user LED, serial, and Ethernet driver files and their contents, please
refer to
Section
2. Rebuild the project once the necessary HAL library source files have been added to the project.
1.4

Required Terms and Concepts

To port the NDK Support Package device drivers, you should be familiar with the following concepts.
1.4.1
HAL Driver Source Files
Section 1.3
described how to build different HAL drivers for EVMDM642.
1.4.2
Network Control Module (NETCTRL)
The network control module (NETCTRL) is at the center of the NDK and controls the interface of the HAL
device drivers to the internal stack functions.
The NETCTRL module and its related APIs are described in both the TMS320C6000 Network Developer's
Kit (NDK) Software Programmer's Reference Guide (SPRU524) and the TMS320C6000 Network
Developer's Kit (NDK) Software User's Guide (SPRU523). To write device drivers, you must be familiar
with NETCTRL. The description given in the TMS320C6000 Network Developer's Kit (NDK) Software
User's Guide (SPRU523) is more appropriate for device driver work.
1.4.3
Stack Event (STKEVENT) Object
The STKEVENT event object is a central component to the low-level architecture. It ties the HAL layer to
the scheduler thread in the network control module (NETCTRL). The network scheduler thread waits on
events from various device drivers in the system, including the Ethernet, serial, and timer drivers.
The STKEVENT object is used by the device drivers to inform the scheduler that an event has occurred.
The STKEVENT object and its related API are described in the TMS320C6000 Network Developer's Kit
(NDK) Software Programmer's Reference Guide (SPRU524). To write device drivers, you must be familiar
with STKEVENT.
1.4.4
Packet Buffer (PBM) Object
The PBM object is a packet buffer that is sourced and managed by the Packet Buffer Manager (PBM).
The PBM is part of the OS adaptation layer. It provides packet buffers for all packet based devices in the
system. Therefore, the serial port and Ethernet drivers both make use of this module.
The PBM object and its related API are described in the TMS320C6000 Network Developer's Kit (NDK)
Software Programmer's Reference Guide (SPRU524). The TMS320C6000 Network Developer's Kit (NDK)
Software User's Guide (SPRU523) also includes a section on adapting the PBM to a particular included
software.
2

User LED Driver

This section describes the user LED software. The user LED driver is a collection of functions that turn on
and off LED lights on the EVMDM642 platform. There is only one C file for the user LED: LLLED.C LED
driver, located in the subdirectory SRC\HAL\EVMDM642\USERLED_DM642.
3

Timer Driver

This section discusses the software that drives event timing. The timer driver determines the timing for all
time driven events in the NDK. The EVMDM642 platform uses the NDK provided timer_bios driver, which
is implemented using a DSP/BIOS PRD object.
SPRUES5A – January 2007 – Revised June 2008
Submit Documentation Feedback
2,
Section 4
and
Section 5
TMS320C6000 Network Developer's Kit (NDK) Support Package for EVMDM642
of this document, respectively.
User LED Driver
19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents