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*)

 

 

Clay Turner Digital Signal Processoring Solutions Abstract T


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



Sequential Addressing Ports TMS320C54x
Clay Turner Digital Signal Processoring Solutions
Abstract
Texas Instruments TMS320C54x, port addresses hard-coded opcodes PORTW (I/O port write) PORTR (I/O port read) instructions. This document discusses tables data transferred using sequential port addresses. fact that port addresses PORTR PORTW instruction hard-coded makes reading writing table data sequential addresses space difficult. simplest method would have sequence PORTx instructions with each address specified explicitly. Although this method will work, consumes many instructions there entries table program memory words PORTx instruction). alternative method takes advantage ability overlay on-chip DARAM C54x. code listing included.
Contents
Design Problem Solution
Examples
Example Sequential addressing PORTW instruction
Digital Signal Processing Solutions
December 1998
Design Problem
TMS320C54x, port addresses hard-coded opcodes PORTW (I/O port write) PORTR (I/O port read) instructions. tables data transferred using sequential port addresses?
Solution
fact that port addresses PORTR PORTW instruction hardcoded makes reading writing table data sequential addresses space difficult. simplest method have sequence PORTx instructions with each address specified explicitly. Although this method will work, consumes many instructions there entries table program memory words PORTx instruction). alternative method shown Example takes advantage ability overlay on-chip DARAM C54x. When on-chip DARAM block "overlaid" (due OVLY being this block memory accessible from both program space data space mapped same addresses both memory spaces. given memory address program memory physically same location address data memory. Consequently, access data memory used modify program memory. This capability utilized dynamically change address coded PORTx instruction that each pass loop, address different. example this implementation shown below Example
Example Sequential Addressing PORTW Instruction
start: ;set OVLY=1 ;pointer data memory address ;pointer port address ;update PORTW instruction with address S#table_length,BRC ;initialize RPTB end_block-1 PORTW *ar2+,0h ;copy word from data space space increment data memory address *ar3+ increment memory address MVMD ar3,(portloc+1) ;update PORTW instruction ;with address ;wait MVMD pipeline latency ;wait MVMD pipeline latency ;(portloc+1) updated SSMVMD #00020h,pmst #01000h,ar2 #02000h,ar3 ar3,(portloc+1)
portloc:
end_block:
this example, used pointers tables data space space, respectively. source table located address 01000h data space. destination table located address 02000h space. MVMD instruction used modify port address PORTW instruction. port address second word instruction indicated address higher than location PORTW instruction using label (portloc+1).
Sequential Addressing Ports TMS320C54x
each pass loop, data copied from data memory address (pointed AR2) port address that currently loaded PORTW opcode. instruction increments AR3, which keeps track desired port address. MVMD copies that address into second word PORTW instruction. result block locations data memory being copied block locations space. two-cycle latency between MVMD instruction modifies port address PORTx instruction. This occurs because MVMD instruction writes change (portloc+1) execute phase pipeline, PORTx instruction will read port address during second cycle fetch phase pipeline. least cycles must exist between MVMD instruction PORTx instruction that follows make sure that address been modified before fetched. instructions example serve this latency, useful one-cycle instructions single two-cycle instruction could replace them. instruction could even replace instructions starting address corrected accordingly. port address indicated PORTx instruction this example) irrelevant because gets modified anyway. approach similar Example used with PORTR instruction. operands PORTR instruction will simply reversed. this implementation, each pass loop will require minimum cycles execute (assuming external memory wait states minimized). this code successfully, OVLY must this code must stored on-chip DARAM. addresses data tables limited.
INTERNET www.ti.com Register with TI&ME build custom information pages receive product updates automatically email.
Semiconductor Home Page http://www.ti.com/sc Distributors
PRODUCT INFORMATION CENTERS
Europe, Middle East, Africa Phone Deutsch +49-(0) 8161 3311 English +44-(0) 1604 3399 Francais +33-(0) 1-30 Italiano +33-(0) 1-30 +33-(0) 1-30-70 Email epic@ti.com Japan Phone International Domestic International Domestic Email Asia Phone International Domestic Australia
TMS320 Hotline email Americas Phone Email
+81-3-3457-0972 +0120-81-0026 +81-3-3457-1259 +0120-81-0036 pic-japan@ti.com
(281) 274-2320 (281) 274-2324 (281) 274-2323 dsph@ti.com +1(972) 644-5580 +1(972) 480-7800 sc-infomaster@ti.com
+886-2-3786800 1-800-881-011
Asia (continued) Number China Number Hong Kong Number India Number Indonesia Number Korea Malaysia Number Zealand Number Philippines Number Singapore Number Taiwan Thailand Number
-800-800-1450 10811 -800-800-1450 800-96-1111 -800-800-1450 000-117 -800-800-1450 001-801-10 -800-800-1450 080-551-2804 1-800-800-011 -800-800-1450 +000-911 -800-800-1450 105-11 -800-800-1450 800-0111-111 -800-800-1450 080-006800 0019-991-1111 -800-800-1450
Texas Instruments (TI) reserves right make changes products discontinue semiconductor product service without notice, advises customers obtain latest version relevant information verify, before placing orders, that information being relied current complete. warrants performance semiconductor products related software specifications applicable time sale accordance with TI's standard warranty. Testing other quality control techniques utilized extent deems necessary support this warranty. Specific testing parameters each device necessarily performed, except those mandated government requirements. Certain application using semiconductor products involve potential risks death, personal injury, severe property environmental damage ("Critical Applications"). SEMICONDUCTOR PRODUCTS DESIGNED, INTENDED, AUTHORIZED, WARRANTED SUITABLE LIFE-SUPPORT APPLICATIONS, DEVICES SYSTEMS OTHER CRITICAL APPLICATIONS. Inclusion products such applications understood fully risk customer. products such applications requires written approval appropriate officer. Questions concerning potential risk applications should directed through local sales office. order minimize risks associated with customer's applications, adequate design operating safeguards should provided customer minimize inherent procedural hazards. assumes liability applications assistance, customer product design, software performance, infringement patents services described herein. does warrant represent that license, either express implied, granted under patent right, copyright, mask work right, other intellectual property right covering relating combination, machine, process which such semiconductor products services might used. Copyright 1998, Texas Instruments Incorporated trademark Texas Instruments Incorporated. Other brands names property their respective owners.
IMPORTANT NOTICE
Sequential Addressing Ports TMS320C54x

Other recent searches


TMDS341A - TMDS341A   TMDS341A Datasheet
SLLS702 - SLLS702   SLLS702 Datasheet
CQ39BS - CQ39BS   CQ39BS Datasheet
CQ39DS - CQ39DS   CQ39DS Datasheet
CQ39MS - CQ39MS   CQ39MS Datasheet
CQ39NS - CQ39NS   CQ39NS Datasheet
APTM20HM16FTG - APTM20HM16FTG   APTM20HM16FTG Datasheet
AP708 - AP708   AP708 Datasheet
AN5020 - AN5020   AN5020 Datasheet
AS5020 - AS5020   AS5020 Datasheet
ADE-208-121A - ADE-208-121A   ADE-208-121A Datasheet
2SC4110 - 2SC4110   2SC4110 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive