• 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 » Digital Signal Processors (DSP) » C6000 Single Core DSP » C67x Single Core DSP Forum » TMS320C6713 DSK settings
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

TMS320C6713 DSK settings

TMS320C6713 DSK settings

This question is not answered
Nicholas Cheng
Posted by Nicholas Cheng
on Jul 05 2012 02:26 AM
Prodigy170 points

Hi,

I'm currently working on a project where I need to implement 9 different bandwidth filters on the TMS320C6713 DSK. From what I understand, I can change these settings using the DIP switches. However, there are only 4 DIP switches, so does that mean I am constrained to only implement 4 different filters instead? How can I increase the number of different settings available? I also plan to probably connect a rotary switch which is able to change these settings. Can anyone advise me on this?

Thanks.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • RandyP
    Posted by RandyP
    on Jul 05 2012 11:15 AM
    Guru60000 points

    Nicholas,

    You are constrained by the available hardware, any expansion hardware you design or add, your design creativity, and your system requirements.

    For example, you could use switches 2-0 as a binary code for one of 8 filters and use switch 3 to toggle a setting. Return sw3 to off or 0, then change sw2-0. This does not give you 9 settings, but it gives you more than 4 and an idea of what you can do. Change the protocol for using the switches to cause a state machine to step through some sequence, but keep in mind that you will have to worry about switch de-bounce.

    Regards,
    RandyP

    Search for answers, Ask a question, click  Verify  when complete, Help others, Learn more.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Nicholas Cheng
    Posted by Nicholas Cheng
    on Jul 05 2012 21:30 PM
    Prodigy170 points

    Hi RandyP,

    Thanks for the reply. So does that mean that for every switch, an "off" and "on" position would correspond to a setting? And if my train of thought is right, that means that the 4 DIP switches would correspond to 4X2 = 8 settings? Sorry if I didnt get you right..could you please further explain to me? And also FYI, I need to get the c6713 DSK board to incorporate other settings such as changing gains, lcd, etc...so I would need more settings. Is this even possible??

    Please advise. Desperate for help.

    Thanks so much.  

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RandyP
    Posted by RandyP
    on Jul 05 2012 23:02 PM
    Guru60000 points

    Nicholas,

    In my opinion, you need to start with just getting one of your nine filters implemented and working right. Then you can add the DIP switch control fro that one filter, and then you can add additional filters and additional controls once you have the basic system working right. Stick with the basics for now, then worry about getting creative later.

    Regards,
    RandyP

    Search for answers, Ask a question, click  Verify  when complete, Help others, Learn more.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Douglas Gwyn
    Posted by Douglas Gwyn
    on Jul 07 2012 00:39 AM
    Expert2060 points

    With 4 DIP switches you can select 2 to the 4th power possibilities.  That is binary encoding, and you really should have learned it early in your programming studies, but better late than never.

    You don't need a separate switch to indicate switch-pattern changes.  Just keep track of the "current" pattern, for which you have generated filter coefficients etc., and poll the switches every so often.  Whenever the pattern doesn't match the stored pattern, store the new pattern as "current" and generate new coefficients etc.

    As to specifying additional parameters, so long as you have a host PC attached running Code Composer Studio, you can use standard C stdin and stdout, so you can prompt for input and read input from a console window just as you normally would in any hosted C environment.

    The interesting issue is how to interrupt a continous process, such as a read-process-write-repeat loop, which is necessary since whatever you try to type unsolicited at a console window does not cause an interrupt that your program can see to redirect its attention.  So it is probably wise to reserve use of the DIP switches for things that need to be changeable during such a processing loop; for example, switch #1 might be used to indicate that the loop should be terminated and the user prompted for new input parameters via the console window, after which processing can resume.  It is up to you to figure out how to design the user-input procedure so that the user can exert all the control he needs to.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Nicholas Cheng
    Posted by Nicholas Cheng
    on Jul 12 2012 00:38 AM
    Prodigy170 points

    Thanks for the feedback RandyP and Douglas. Now that I've managed to get some filters working, it would be good to trial and error some of the settings. Will post if things work out in the end.

    Appreciate it guys.

    Nic

    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