• 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 » Viewing the Real time graph in DSK 6713
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

Viewing the Real time graph in DSK 6713

This question is not answered
Uday Khandelwal
Posted by Uday Khandelwal
on Apr 18 2012 01:10 AM
Prodigy110 points

Hello folks,

                    I am new to working on the DSP(DSK 6713,CC studio v3.1). I am working on a program to view the graph of the FFT of a real time audio input to the DSP.I don't know how to view the graph in the real time ,I tried to enable the Real time mode from going to Debug ->Real time mode but the option is inactive.

I would really appreciate any help.

Thanking You

Uday

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Apr 18 2012 08:26 AM
    Expert2655 points

    Greetings,

    You will need to use RTDX/HSRTDX over JTAG to your PC running either Matlab, National Instruments RTDX or any other legacy compatible RTDX engine on the PC to receive and display your FFT data in real time.  Such Real Time Data Exchange has certain bandwidth limitation.  You can output your FFT on an analog  port on the DSK and view it on a scope in Real Time.

    Good Luck,

    Sam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Uday Khandelwal
    Posted by Uday Khandelwal
    on Apr 19 2012 02:39 AM
    Prodigy110 points

    Hi Sam,

                Could you please throw some light as to how to interface he RTDX with the PC.

    Thanks

    Uday

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Apr 19 2012 07:56 AM
    Expert2655 points

    Greetings,

    Please read http://processors.wiki.ti.com/index.php/Real_Time_Data_eXchange_(RTDX) and http://processors.wiki.ti.com/index.php/High_Speed_RTDX_(HSRTDX)

    Matlab/Simulink RTW supported these up to recent releases where TI dropped the interface (as 6/24/10).

    National Instruments Debugging Workbench product "LABVIEW DSP TEST TOOLKIT FOR TI DSP" supported these.

    TI had a PC host based low layer dll to support the interface.

    Good Luck,

    Sam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Uday Khandelwal
    Posted by Uday Khandelwal
    on Apr 20 2012 05:44 AM
    Prodigy110 points

    Hi Sam,

               Thanks a lot  for your help so far.

    I have Matlab version (7.9.0)R2009b and CCs v 3.1.My target is DSK6713.I wanted to know that are they compatible for using HSRTDX.

    Also,if you can tell is there some other way to view the real time output on the DSK6713 apart from using RTDX.

    Thanking You

    Uday

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Apr 20 2012 07:48 AM
    Expert2655 points

    Greetings,

    If your 2009b contain similar components to the following

    MATLAB                                                Version 7.8        (R2009a)
    Simulink                                              Version 7.3        (R2009a)
    Communications Blockset                               Version 4.2        (R2009a)
    Communications Toolbox                                Version 4.3        (R2009a)
    Embedded IDE Link CC                                  Version 3.4        (R2009a)
    Real-Time Workshop                                    Version 7.3        (R2009a)
    Real-Time Workshop Embedded Coder                     Version 5.3        (R2009a)
    Signal Processing Blockset                            Version 6.9        (R2009a)
    Signal Processing Toolbox                             Version 6.11       (R2009a)
    Target Support Package TC6                            Version 3.6        (R2009a)

    Then you should be able to use it.

    As I suggested earlier, you can output the Real FFT values to a DAC on the DSK and view the contour on a scope.

    Good Luck,

    Sam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Uday Khandelwal
    Posted by Uday Khandelwal
    on Apr 23 2012 05:03 AM
    Prodigy110 points

    Hi Sam,

                 I have tried to see the FFT on the scope but have been unsuccessful.

      As for the RTDX,I came across a pdf  from TI of reading data from a target application.As per the instructions I loaded the h2t.out file in the folder dsk6713\rtdx\h2t  in CC studio v3.1. Then in Matlab I loaded the file h_readmsg.m.After running the file I am getting the following errors in Matlab.

    Warning: 'ccsdsp' will be removed in a future version. Use 'ticcs' instead.
    > In ccsdsp at 53
    ??? Error using ==> cu_compareAndWarnCCSVersions at 53
    This version of the Embedded IDE Link does not support your
    version of Code Composer Studio(TM) IDE.
    The Code Composer Studio(TM) version supported in this release is 3.3.
    Refer to the Embedded IDE Link data sheet
    for more information on product requirements.

    Error in ==> ticcs>CheckIfIdeVersionIsSupported at 192
    cu_compareAndWarnCCSVersions(apiver,'warn');

    Error in ==> ticcs>Connect2App_CheckIdeVersion at 174
    CheckIfIdeVersionIsSupported(hccs);

    Error in ==> ticcs at 58
    hccs = Connect2App_CheckIdeVersion;

    Error in ==> ccsdsp at 56
    h = ticcs(varargin{:});

    Below is the file h_readmsg.m

    function void = h_readmsg()
    cc = ccsdsp;
    rtdx_ochan = cc.rtdx;
    rtdx_ochan.enable;
    open( rtdx_ochan, 'ochan', 'r' );
    timeout_msg = 'Timeout';
    NOMOREDATAMSG = 'No more data is available!';
    errmsg = NaN;
    while ( isempty( findstr( timeout_msg , errmsg ) ) )
    try
    % read data
    data = readmsg( rtdx_ochan, 'ochan', 'int32' );
    % display data
    disp( data );
    catch
    errmsg = lasterr;
    disp( NOMOREDATAMSG );
    break;
    end
    end
    close( rtdx_ochan,'ochan' );
    return;

    Please let me know what is the problem.Is the version of the CC studio not compatible for the RTDX here .

    Thanking You

    Uday 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Uday Khandelwal
    Posted by Uday Khandelwal
    on Apr 23 2012 05:07 AM
    Prodigy110 points

    Hi Sam,

                 I have tried to see the FFT on the scope but have been unsuccessful.

     As for the RTDX,I came across a pdf  from TI of reading data from a target application.As per the instructions I loaded the h2t.out file in the folder dsk6713\rtdx\h2t  in CC studio v3.1. Then in Matlab I loaded the file h_readmsg.m.After running the file I am getting the following errors in Matlab.

    Warning: 'ccsdsp' will be removed in a future version. Use 'ticcs' instead.
    > In ccsdsp at 53
    ??? Error using ==> cu_compareAndWarnCCSVersions at 53
    This version of the Embedded IDE Link does not support your
    version of Code Composer Studio(TM) IDE.
    The Code Composer Studio(TM) version supported in this release is 3.3.
    Refer to the Embedded IDE Link data sheet
    for more information on product requirements.

    Error in ==> ticcs>CheckIfIdeVersionIsSupported at 192
    cu_compareAndWarnCCSVersions(apiver,'warn');

    Error in ==> ticcs>Connect2App_CheckIdeVersion at 174
    CheckIfIdeVersionIsSupported(hccs);

    Error in ==> ticcs at 58
    hccs = Connect2App_CheckIdeVersion;

    Error in ==> ccsdsp at 56
    h = ticcs(varargin{:});

    Below is the file h_readmsg.m

    function void = h_readmsg()
    cc = ccsdsp;
    rtdx_ochan = cc.rtdx;
    rtdx_ochan.enable;
    open( rtdx_ochan, 'ochan', 'r' );
    timeout_msg = 'Timeout';
    NOMOREDATAMSG = 'No more data is available!';
    errmsg = NaN;
    while ( isempty( findstr( timeout_msg , errmsg ) ) )
    try
    % read data
    data = readmsg( rtdx_ochan, 'ochan', 'int32' );
    % display data
    disp( data );
    catch
    errmsg = lasterr;
    disp( NOMOREDATAMSG );
    break;
    end
    end
    close( rtdx_ochan,'ochan' );
    return;

    Please let me know what is the problem.Is the version of the CC studio not compatible for the RTDX here .

    Thanking You

    Uday 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam Kuzbary
    Posted by Sam Kuzbary
    on Apr 23 2012 12:25 PM
    Expert2655 points

    Greetings,

    Since you listed the use of R2009b, I can only speculate from the multiple error messages that Matlab is complaining about the use of CCS3.1 IDE and looking for CCS3.3 IDE.

    Good Luck,

    Sam

    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