Texas Instruments | Direct I/O Library | Application notes | Texas Instruments Direct I/O Library Application notes

Texas Instruments Direct I/O Library Application notes
SPRAB72 – August 2009
Direct I/O Library
Daniel Chen ..................................................................................................................................
This article has been contributed to the TI Developer Wiki. To see the most recently updated version or to
contribute, visit this topic at:
This DIO library aims at providing a CSL-like Serial RapidIO (SRIO) functional layer for the directIO mode
of Texas Instruments' TMS320C645x/7x DSP generation. The I/O operations supported by this library are
defined in Chapter 2 of the RapidI/O Interconnect Specification rev 1.2. The DIO library is built on top of
TMS320C645x/7x Chip Support Library (CSL).
This DIO library contains five different modules:
• RIO module:
The RIO module is dedicated to the definition of generic elements for the TMS320C645x/7x SRIO
module, independent to the directIO or message passing protocols, and dedicated to the hardware
initialization of the SRIO module.
• DIO module:
This DIO module is dedicated to the handling of SRIO directIO operations supported by the
TMS320C645x/7x SRIO module. DIO differentiates three types of operations: data request packets
(nread, nwrite, nwrite_r, swrite and atomic), maintenance request packets, and doorbell signals. The
DIO module also supports one-shot long (>4KBytes) read and write I/O operations with EDMA-initiated
streaming requests. Finally, the DIO module offers raw IDMA or EDMA directIO fast request. It
assumes the application has pre-configured directIO operations at initialization time. This functionality
gives the application a way to bypass the configuration calls of higher level DIO lib APIs, by re-using
pre-set LSU command sets.
• COM module:
This COM module contains benchmarking APIs, the library error handler and callback set, and a
random bit generator. Please note that the COM module is not documented.
• BRU module:
The BRU module is dedicated to the support of system bring up. The initial scope is to enable static
system configuration, where one end point has knowledge about the topology of the system.
• TST module:
"$(DirectIODir)/test" contains all tests used to validate the library.
All trademarks are property of their respective owners.
SPRAB72 – August 2009
Submit Documentation Feedback
Direct I/O Library
Copyright © 2009, Texas Instruments Incorporated
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Data Converters
DLP® Products
Clocks and Timers
Power Mgmt
RF/IF and ZigBee® Solutions
Digital Control
Optical Networking
Video & Imaging
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2009, Texas Instruments Incorporated
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF