Site Index
   Support Home
   C6000 Home
   DaVinci EVM
   EVMDM6437
   EVM6424
   EVMDM642
   XEVM642
   DSKTCI6482
   EVMTCI6482
   DSK6455
   EVM6455
   EVM6418
   DSK6713
   DSK6416
   Ordering Info.
Google

C6000 Site
Support Site
Main Site

EVMDM642 PCI Module

A PCI bus identifies each PCI card by its configuration registers. When queried for a configuration register, the EVMDM642 can return a hardcoded set of configuration registers or a set of configuration values stored in an on-board configuration EEPROM (a different chip than the I2C EEPROM).

There are 13 configuration registers followed by a checksum. For more information on these registers please see the TMS320C6000 Peripherals Reference Guide.

Function Description
EVMDM642_PCI_config Sets the PCI configuration registers in EEPROM.

EVMDM642_PCI_config()

Description
Sends a 16-bit mode register value to the PCI.

Required Headers
evmdm642.h
evmdm642_pci.h

Required Libraries
evmdm642bsl.lib

Function Prototype
Int16 EVMDM642_PCI_config(Uint16 *config)

Parameters
config – address of a 13 element Uint16 array containing register values

Return Value
0 - success
1 - fail

Example

    Uint16 configregs[13] = {
        0x104c,  // 0
        0x9065,  // 1
        0x0000,  // 2
        0xff00,  // 3
        0x1652,  // 4
        0x0642,  // 5
        0x0000,  // 6
        0x0000,  // 7
        0x0000,  // 8
        0x0000,  // 9
        0x0000,  // 10
        0x0000,  // 11
        0x0000   // 12
    };

    /* Set the PCI configuration registers in EEPROM */
    EVMDM642_PCI_config(configregs);
©Copyright 2002-2012 Spectrum Digital, Inc. All Rights Reserved.