The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

Dustin Allensworth Software Development Systems/RTDX Team ABSTRACT Rea


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



Write RTDX Host Application Using MATLAB
Dustin Allensworth Software Development Systems/RTDX Team ABSTRACT Real-Time Data Exchange (RTDX) technology developed Texas Instruments that enables real-time bi-directional communication between digital signal processor (DSP) microcontroller host application. This document describes steps needed write RTDX host application using MATLAB Developer's Texas Instruments DSP. MATLAB product MathWorks, Inc. Developer's extension MATLAB, version (release 12). This document assumes that have Code Composer Studio higher MATLAB, version with Developer's installed. also assumes that familiar with using MATLAB running simple RTDX target application within Code Composer Studio. familiar with MATLAB, please review MATLAB tutorial. familiar with running simple RTDX target application within Code Composer Studio, please review RTDX tutorial.
Contents Reading Data from Target Application Demonstration Reading Data from Target Application.2 Writing Data Target Application Demonstration Writing Data Target Application
Trademarks property their respective owners.
SPRA386
Reading Data from Target Application
following steps describe basic instructions that enable setup MATLAB read data messages from target application. MATLAB script (h_readmsg.m) containing these instructions attached this Application Report. section 1.1, Demonstration Reading Data from Target Application, details using this script. Declare function.
function void h_readmsg()
handle Code Composer Studio.
ccsdsp;
handle RTDX channel "ochan".
rtdx_ochan cc.rtdx;
Enable RTDX.
rtdx_ochan.enable;
Open RTDX channel reading.
open( rtdx_ochan, 'ochan',
Read data within loop until more data available.
timeout_msg 'Timeout'; NOMOREDATAMSG more data available!'; errmsg NaN; while isempty( findstr( timeout_msg errmsg read data data readmsg( rtdx_ochan, 'ochan', 'int32' display data disp( data catch errmsg lasterr; disp( NOMOREDATAMSG break;
Close RTDX channel.
close( rtdx_ochan, `ochan'
function.
return;
Demonstration Reading Data from Target Application
Below instructions running MATLAB script h_readmsg.m conjunction with target application t_write.out t_wrtsa.out. Copy file h_readmsg.m MATLAB6p1\work directory.
Write RTDX Host Application Using MATLAB
SPRA386
Start Code Composer Studio. Load target application selecting command Load Program from Code Composer Studio File menu. Load Program dialog box, open file t_write.out t_wrtsa.out. Code Composer Studio version 1.*, target applications located directories where <install-dir> location where installed Code Composer Studio product <tgt-dir>
c6000 c5400 c5500 tms470
Code Composer Studio version 2.0, target applications located directories where <install-dir> location where installed Code Composer Studio product <tgt-dir>
dsk6211 dsk6711 evm6201 sim62xx sim64xx dsk5402 sim54xx evm5510 sim55xx emuarm7 emuarm9
Enable RTDX. enable RTDX Code Composer Studio 1.*: From Code Composer Studio Tools menu, select RTDX. From RTDX window, select RTDX Enable from list window. enable RTDX Code Composer Studio 2.0: From Code Composer Studio Tools menu, select RTDX. From RTDX sub-menu, select Configuration Control. From RTDX window, select Enable RTDX from check-box window.
target application selecting command from Code Composer Studio Debug menu. Start MATLAB. From MATLAB Command Window, MATLAB script, h_readmsg.m. When target application t_write.out executed, values 0-99 will appear MATLAB Command Window. When target application t_wrtsa.out executed, values 0-499 will appear MATLAB Command Window.
Write RTDX Host Application Using MATLAB
SPRA386
Writing Data Target Application
following steps describe basic instructions that enable setup MATLAB send data target application. MATLAB script (h_writemsg.m) containing these instructions attached this Application Report. section 2.1, Demonstration Writing Data Target Application, details using this script. handle Code Composer Studio. ccsdsp; handle RTDX. rtdx_ichan cc.rtdx; Enable RTDX. rtdx_ichan.enable; Open target-declared, RTDX channel writing. open( rtdx_ichan, 'ichan', Write data target application. writemsg( rtdx_ichan, 'ichan', int32(data)
Demonstration Writing Data Target Application
Below instructions running MATLAB script, h_writemsg.m, conjunction with target application t_rdsa.out. Copy file h_writemsg.m MATLAB6p1\work directory. Start Code Composer Studio. Load target application selecting command Load Program from Code Composer Studio File menu. Load Program dialog box, open file t_rdsa.out. Code Composer Studio version 1.*, target application located directory where <install-dir> location where installed Code Composer Studio product <tgt-dir>
c6000 c5400 c5500 tms470
Code Composer Studio version 2.0, target application located directory where <install-dir> location where installed Code Composer Studio product <tgt-dir>
dsk6211 dsk6711 evm6201 sim62xx sim64xx dsk5402 sim54xx evm5510 sim55xx emuarm7 emuarm9
Write RTDX Host Application Using MATLAB
SPRA386
Enable RTDX. enable RTDX Code Composer Studio version 1.*: From Code Composer Tools menu, select RTDX. From RTDX window, select RTDX Enable from drop-down list. enable RTDX Code Composer Studio version 2.0: From Code Composer Tools menu, select RTDX. From RTDX submenu, select Configuration Control. From RTDX window, select checkbox labeled "Enable RTDX".
target application selecting command from Code Composer Studio Debug menu. Start MATLAB. From MATLAB Command Window, MATLAB script h_writemsg.m. values 0-499 will appear MATLAB Command Window.
Write RTDX Host Application Using MATLAB
IMPORTANT NOTICE Texas Instruments Incorporated subsidiaries (TI) reserve right make corrections, modifications, enhancements, improvements, other changes products services time discontinue product service without notice. Customers should obtain latest relevant information before placing orders should verify that such information current complete. products sold subject TI's terms conditions sale supplied time order acknowledgment. warrants performance hardware products specifications applicable time sale accordance with TI's standard warranty. Testing other quality control techniques used extent deems necessary support this warranty. Except where mandated government requirements, testing parameters each product necessarily performed. assumes liability applications assistance customer product design. Customers responsible their products applications using components. minimize risks associated with customer products applications, customers should provide adequate design operating safeguards. does warrant represent that license, either express implied, granted under patent right, copyright, mask work right, other intellectual property right relating combination, machine, process which products services used. Information published regarding third-party products services does constitute license from such products services warranty endorsement thereof. such information require license from third party under patents other intellectual property third party, license from under patents other intellectual property Reproduction information data books data sheets permissible only reproduction without alteration accompanied associated warranties, conditions, limitations, notices. Reproduction this information with alteration unfair deceptive business practice. responsible liable such altered documentation. Resale products services with statements different from beyond parameters stated that product service voids express implied warranties associated product service unfair deceptive business practice. responsible liable such statements.
Mailing Address: Texas Instruments Post Office 655303 Dallas, Texas 75265
Copyright 2002, Texas Instruments Incorporated

Other recent searches


TDA2005 - TDA2005   TDA2005 Datasheet
NP043A4 - NP043A4   NP043A4 Datasheet
MAX19542 - MAX19542   MAX19542 Datasheet
MAX19541 - MAX19541   MAX19541 Datasheet
L4962 - L4962   L4962 Datasheet
IN74HC166 - IN74HC166   IN74HC166 Datasheet
FOX312BE - FOX312BE   FOX312BE Datasheet
DFN2020C-6 - DFN2020C-6   DFN2020C-6 Datasheet
CM800HB-66H - CM800HB-66H   CM800HB-66H Datasheet
AT4550 - AT4550   AT4550 Datasheet
2SB709A - 2SB709A   2SB709A Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive