• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » BIOS » BIOS forum » About TMS320C6748 NDK2.00 interrupt
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

About TMS320C6748 NDK2.00 interrupt

This question is not answered
Junhao Zhuge
Posted by Junhao Zhuge
on Dec 23 2012 20:39 PM
Prodigy80 points

    I using TMS320C6748 for Ethernet data send now.My NDK version is 2.00.I know NDK used the INT5 and INT6,but I have to use INT4 and INT5 for timer and spi interrupt.Now I cann't find how to modify the NDK's interrupt priority level in the source code.

    I hope someone HELP me!

    Thanks!

C6748 NDK interrupt
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Steven Connell
    Posted by Steven Connell
    on Jan 02 2013 15:59 PM
    Mastermind20600 points

    Hi Junhao Zhuge,

    Which version of the 6748 Ethernet driver ("NSP product") are you using?

    You should be able to modify the interrupt numbers in the file ethdriver.c.  The code looks similar to the following:

    #if defined(__TMS470__)
    ...
    #else
    #define CORENUM 1
    #define RXINT   5
    #define TXINT   6
    #define EXTERNAL_MEMORY             1
    #define EXTMEM                      0x80000000
    #endif

    You would need to rebuild the driver for this change.

    You can also refer to the following FAQ question.  The question is about the 6747 but it's very similar to the 6748.

    http://processors.wiki.ti.com/index.php/Network_Developers_Kit_FAQ#Q:_It_seems_that_the_NSP_for_OMAPL137_EVM_is_incompatible_with_the_EDMA3_LLD._How_can_I_fix_it.3F

    Steve

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Junhao Zhuge
    Posted by Junhao Zhuge
    on Jan 04 2013 20:23 PM
    Prodigy80 points

    Thanks,I find the ethdriver.c,but it did not exist my project,and the code of modify the interrupt  show in the follow:

        

            void Interrupt_init(void)
            {
                    IntSetup hwi_intSetup;
                    Uint32 retVal;

                   /* Setup the Rx Int using NDK's Interrupt Manager */
                  hwi_intSetup.intVectId = 5;
                  hwi_intSetup.sysEvtCount = 1;
                  hwi_intSetup.sysEvtId[0] = 31;
                  hwi_intSetup.pCallbackFxn = &HwRxInt;
                  hwi_intSetup.pCallbackArg = 0;
                  hwi_intSetup.bEnable = 1;

                  retVal = Interrupt_add(&hwi_intSetup);
                  if(retVal != 0)
                  printf("Error setting up Rx Interrupts \n");

                  /* Setup the Tx Int using NDK's Interrupt Manager */
                 hwi_intSetup.intVectId = 6;
                 hwi_intSetup.sysEvtCount = 1;
                 hwi_intSetup.sysEvtId[0] = 32;
                 hwi_intSetup.pCallbackFxn = &HwTxInt;
                 hwi_intSetup.pCallbackArg = 0;
                 hwi_intSetup.bEnable = 1;

                 retVal = Interrupt_add(&hwi_intSetup);
                 if(retVal != 0)
                 printf("Error setting up Tx Interrupts \n");

                 BCACHE_invL1pAll();

                 Enable_DSP_Interrupts();
            }

    Is it right whether I modify the value of  "hwi_intSetup.intVectId"?And I have much similar files in my  "C:\".The path of this file is "C:\CCStudio_v3.3\ndk_2_0_0_0\packages\ti\ndk\src\hal\evm6747\eth_c6747" .I can not sure if is this my used. 

    I hope to get some advise!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use