![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
tms320vc5416 fixed-point digital signal processor data manual literature number: sprs095i march 1999 ? revised may 2002 printed on recycled paper production data information is current as of publication date. products conform to specifications per the terms of texas instruments standard warranty. production processing does not necessarily include testing of all parameters.
important notice texas instruments incorporated and its subsidiaries (ti) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. all products are sold subject to ti ? s terms and conditions of sale supplied at the time of order acknowledgment. ti warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with ti ? s standard warranty. testing and other quality control techniques are used to the extent ti deems necessary to support this warranty. except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. ti assumes no liability for applications assistance or customer product design. customers are responsible for their products and applications using ti components. to minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. ti does not warrant or represent that any license, either express or implied, is granted under any ti patent right, copyright, mask work right, or other ti intellectual property right relating to any combination, machine, or process in which ti products or services are used. information published by ti regarding third ? party products or services does not constitute a license from ti to use such products or services or a warranty or endorsement thereof. use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from ti under the patents or other intellectual property of ti. reproduction of information in ti data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. reproduction of this information with alteration is an unfair and deceptive business practice. ti is not responsible or liable for such altered documentation. resale of ti products or services with statements different from or beyond the parameters stated by ti for that product or service voids all express and any implied warranties for the associated ti product or service and is an unfair and deceptive business practice. ti is not responsible or liable for any such statements. mailing address: texas instruments post office box 655303 dallas, texas 75265 copyright ? 2002, texas instruments incorporated iii revision history revision date product status highlights * march 1999 product preview original a april 1999 product preview updated electrical characteristic data. b october 1999 product preview updated electrical characteristic data. c december 1999 product preview updated electrical characteristic data. d march 2000 product preview updated electrical characteristic data. e may 2000 product preview updated electrical characteristic data. f november 2000 production data converted from data sheet to data manual format, added core voltage of 1.6 v for 160-mips devices, removed references to internal oscillator functionality that is not currently supported, and updated electrical characteristic data. g january 2001 production data updated hpi16 electrical characteristics. h december 2001 production data updated characteristics data. i may 2002 production data added description of internal oscillator functionality that is currently being supported. updated hpi characteristics. contents v march 1999 ? revised may 2002 sprs095i contents section page 1 tms320vc5416 features 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 introduction 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 description 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 pin assignments 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 terminal assignments for the ggu package 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.2 pin assignments for the pge package 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 signal descriptions 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 functional overview 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1 memory 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 data memory 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 program memory 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.3 extended program memory 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 on-chip rom with bootloader 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 on-chip ram 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 on-chip memory security 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5 memory map 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 relocatable interrupt vector table 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 on-chip peripherals 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.1 software-programmable wait-state generator 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.2 programmable bank-switching 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.3 bus holders 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7 parallel i/o ports 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.1 enhanced 8-/16-bit host-port interface (hpi8/16) 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.2 hpi nonmultiplexed mode 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8 multichannel buffered serial ports (mcbsps) 22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.9 hardware timer 24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.10 clock generator 24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.11 enhanced external parallel interface (xio2) 25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12 dma controller 28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.1 features 29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.2 dma external access 29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.3 dma memory map 30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.4 dma priority level 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.5 dma source/destination address modification 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.6 dma in autoinitialization mode 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.7 dma transfer counting 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.8 dma transfer in doubleword mode 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.9 dma channel index registers 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.10 dma interrupts 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12.11 dma controller synchronization events 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.13 general-purpose i/o pins 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.13.1 mcbsp pins as general-purpose i/o 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.13.2 hpi data pins as general-purpose i/o 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . contents vi march 1999 ? revised may 2002 sprs095i section page 3.14 device id register 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.15 memory-mapped registers 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.16 mcbsp control registers and subaddresses 38 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.17 dma subbank addressed registers 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.18 interrupts 41 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 documentation support 42 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 electrical specifications 43 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1 absolute maximum ratings 43 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 recommended operating conditions 43 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 electrical characteristics over recommended operating case temperature range (unless otherwise noted) 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4 package thermal resistance characteristics 45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 timing parameter symbology 45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6 internal oscillator with external crystal 45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7 clock options 46 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7.1 divide-by-two and divide-by-four clock options 46 . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7.2 multiply-by-n clock option (pll enabled) 48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8 memory and parallel i/o interface timing 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.1 memory read 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.2 memory write 52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.3 i/o read 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.4 i/o write 54 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.9 ready timing for externally generated wait states 55 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.10 hold and holda timings 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.11 reset, bio , interrupt, and mp/mc timings 60 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.12 instruction acquisition (iaq ) and interrupt acknowledge (iack ) timings 62 . . . . . . . . . . . . . . . . . 5.13 external flag (xf) and tout timings 63 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.14 multichannel buffered serial port (mcbsp) timing 64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.14.1 mcbsp transmit and receive timings 64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.14.2 mcbsp general-purpose i/o timing 67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.14.3 mcbsp as spi master or slave timing 68 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.15 host-port interface timing 72 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.15.1 hpi8 mode 72 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.15.2 hpi16 mode 76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 mechanical data 80 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1 ball grid array mechanical data 80 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 low-profile quad flatpack mechanical data 81 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . figures vii march 1999 ? revised may 2002 sprs095i list of figures figure page 2 ? 1 144-ball ggu microstar bga (bottom view) 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 ? 2 144-pin pge low-profile quad flatpack (top view) 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 1 tms320vc5416 functional block diagram 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 2 program and data memory map 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 3 extended program memory map 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 4 processor mode status (pmst) register 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 5 software wait-state register (swwsr) [memory-mapped register (mmr) address 0028h] 16 . . . 3 ? 6 software wait-state control register (swcr) [mmr address 002bh] 17 . . . . . . . . . . . . . . . . . . . . . . . 3 ? 7 bank-switching control register (bscr) [mmr address 0029h] 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 8 host-port interface ? nonmultiplexed mode 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 9 hpi memory map 21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 10 multichannel control registers (mcr1 and mcr2) 23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 11 pin control register (pcr) 23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 12 nonconsecutive memory read and i/o read bus sequence 26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 13 consecutive memory read bus sequence (n = 3 reads) 27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 14 memory write and i/o write bus sequence 28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 15 dma transfer mode control register (dmmcrn) 29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 16 on-chip dma memory map for program space (dlaxs = 0 and slaxs = 0) 30 . . . . . . . . . . . . . . . . 3 ? 17 on-chip dma memory map for data and io space (dlaxs = 0 and slaxs = 0) 31 . . . . . . . . . . . . . 3 ? 18 dmprec register 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 19 general-purpose i/o control register (gpiocr) [mmr address 003ch] 34 . . . . . . . . . . . . . . . . . . . . 3 ? 20 general-purpose i/o status register (gpiosr) [mmr address 003dh] 34 . . . . . . . . . . . . . . . . . . . . . 3 ? 21 device id register (csidr) [mmr address 003eh] 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 22 ifr and imr 41 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 1 3.3-v test load circuit 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 2 internal divide-by-two clock option with external crystal 46 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 3 external divide-by-two clock timing 47 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 4 multiply-by-one clock timing 48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 5 nonconsecutive mode memory reads 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 6 consecutive mode memory reads 51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 7 memory write (mstrb = 0) 52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 8 parallel i/o port read (iostrb = 0) 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 9 parallel i/o port write (iostrb = 0) 54 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 10 memory read with externally generated wait states 56 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 11 memory write with externally generated wait states 56 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 12 i/o read with externally generated wait states 57 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 13 i/o write with externally generated wait states 57 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . figures viii march 1999 ? revised may 2002 sprs095i figure page 5 ? 14 hold and holda timings (hm = 1) 59 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 15 reset and bio timings 61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 16 interrupt timing 61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 17 mp/mc timing 61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 18 instruction acquisition (iaq ) and interrupt acknowledge (iack ) timings 62 . . . . . . . . . . . . . . . . . . . . . 5 ? 19 external flag (xf) timing 63 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 20 tout timing 63 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 21 mcbsp receive timings 65 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 22 mcbsp transmit timings 66 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 23 mcbsp general-purpose i/o timings 67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 24 mcbsp timing as spi master or slave: clkstp = 10b, clkxp = 0 68 . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 25 mcbsp timing as spi master or slave: clkstp = 11b, clkxp = 0 69 . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 26 mcbsp timing as spi master or slave: clkstp = 10b, clkxp = 1 70 . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 27 mcbsp timing as spi master or slave: clkstp = 11b, clkxp = 1 71 . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 28 using hds to control accesses (hcs always low) 74 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 29 using hcs to control accesses 75 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 30 hint timing 75 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 31 gpiox timings 75 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 32 nonmultiplexed read timings 78 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 33 nonmultiplexed write timings 79 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 34 hrdy relative to clkout 79 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 ? 1 tms320vc5416 144-ball microstar bga plastic ball grid array package 80 . . . . . . . . . . . . . . . . . . . 6 ? 2 tms320vc5416 144-pin low-profile quad flatpack (pge) 81 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . tables ix march 1999 ? revised may 2002 sprs095i list of tables table page 2 ? 1 terminal assignments for the tms320vc5416ggu (144-pin bga package) 3 . . . . . . . . . . . . . . . . 2 ? 2 signal descriptions 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 1 standard on-chip rom layout 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 2 processor mode status (pmst) register bit fields 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 3 software wait-state register (swwsr) bit fields 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 4 software wait-state control register (swcr) bit fields 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 5 bank-switching control register (bscr) fields 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 6 bus holder control bits 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 7 sample rate input clock selection 23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 8 clock mode settings at reset 25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 9 dmd section of the dmmcrn register 30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 10 dma reload register selection 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 11 dma interrupts 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 12 dma synchronization events 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 13 dma channel interrupt selection 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 14 cpu memory-mapped registers 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 15 peripheral memory-mapped registers for each dsp subsystem 37 . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 16 mcbsp control registers and subaddresses 38 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 17 dma subbank addressed registers 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ? 18 interrupt locations and priorities 41 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 1 thermal resistance characteristics 45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 2 input clock frequency characteristics 45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 3 clock mode pin settings for the divide-by-2 and by divide-by-4 clock options 46 . . . . . . . . . . . . . . 5 ? 4 divide-by-2 and divide-by-4 clock options timing requirements 47 . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 5 divide-by-2 and divide-by-4 clock options switching characteristics 47 . . . . . . . . . . . . . . . . . . . . . . . 5 ? 6 multiply-by-n clock option timing requirements 48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 7 multiply-by-n clock option switching characteristics 48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 8 memory read timing requirements 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 9 memory read switching characteristics 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 10 memory write switching characteristics 52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 11 i/o read timing requirements 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 12 i/o read switching characteristics 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 13 i/o write switching characteristics 54 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 14 ready timing requirements for externally generated wait states ? 55 . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 15 ready switching characteristics for externally generated wait states ? 55 . . . . . . . . . . . . . . . . . . . . . 5 ? 16 hold and holda timing requirements 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 17 hold and holda switching characteristics 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 18 reset, bio , interrupt, and mp/mc timing requirements 60 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 19 instruction acquisition (iaq ) and interrupt acknowledge (iack ) switching characteristics 62 . . . . 5 ? 20 external flag (xf) and tout switching characteristics 63 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 21 mcbsp transmit and receive timing requirements 64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 22 mcbsp transmit and receive switching characteristics 65 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 23 mcbsp general-purpose i/o timing requirements 67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . tables x march 1999 ? revised may 2002 sprs095i table page 5 ? 24 mcbsp general-purpose i/o switching characteristics 67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 25 mcbsp as spi master or slave timing requirements (clkstp = 10b, clkxp = 0) 68 . . . . . . . . . . 5 ? 26 mcbsp as spi master or slave switching characteristics (clkstp = 10b, clkxp = 0) 68 . . . . . . 5 ? 27 mcbsp as spi master or slave timing requirements (clkstp = 11b, clkxp = 0) 69 . . . . . . . . . . 5 ? 28 mcbsp as spi master or slave switching characteristics (clkstp = 11b, clkxp = 0) 69 . . . . . . . 5 ? 29 mcbsp as spi master or slave timing requirements (clkstp = 10b, clkxp = 1) 70 . . . . . . . . . . 5 ? 30 mcbsp as spi master or slave switching characteristics (clkstp = 10b, clkxp = 1) 70 . . . . . . 5 ? 31 mcbsp as spi master or slave timing requirements (clkstp = 11b, clkxp = 1) 71 . . . . . . . . . . 5 ? 32 mcbsp as spi master or slave switching characteristics (clkstp = 11b, clkxp = 1) 71 . . . . . . . 5 ? 33 hpi8 mode timing requirements 72 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 34 hpi8 mode switching characteristics 73 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 35 hpi16 mode timing requirements 76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ? 36 hpi16 mode switching characteristics 77 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . features 1 march 1999 ? revised may 2002 sprs095i 1 tms320vc5416 features advanced multibus architecture with three separate 16-bit data memory buses and one program memory bus 40-bit arithmetic logic unit (alu) including a 40-bit barrel shifter and two independent 40-bit accumulators 17- 17-bit parallel multiplier coupled to a 40-bit dedicated adder for non-pipelined single-cycle multiply/accumulate (mac) operation compare, select, and store unit (cssu) for the add/compare selection of the viterbi operator exponent encoder to compute an exponent value of a 40-bit accumulator value in a single cycle two address generators with eight auxiliary registers and two auxiliary register arithmetic units (araus) data bus with a bus holder feature extended addressing mode for 8m 16-bit maximum addressable external program space 128k x 16-bit on-chip ram composed of: ? eight blocks of 8k 16-bit on-chip dual-access program/data ram ? eight blocks of 8k 16-bit on-chip single-access program ram 16k 16-bit on-chip rom configured for program memory enhanced external parallel interface (xio2) single-instruction-repeat and block-repeat operations for program code block-memory-move instructions for better program and data management instructions with a 32-bit long word operand instructions with two- or three-operand reads arithmetic instructions with parallel store and parallel load conditional store instructions fast return from interrupt on-chip peripherals ? software-programmable wait-state generator and programmable bank-switching ? on-chip programmable phase-locked loop (pll) clock generator with external clock source ? one 16-bit timer ? six-channel direct memory access (dma) controller ? three multichannel buffered serial ports (mcbsps) ? 8/16-bit enhanced parallel host-port interface (hpi8/16) power consumption control with idle1, idle2, and idle3 instructions with power-down modes clkout off control to disable clkout on-chip scan-based emulation logic, ieee std 1149.1 ? (jtag) boundary scan logic 144-pin ball grid array (bga) (ggu suffix) 144-pin low-profile quad flatpack (lqfp) (pge suffix) 6.25-ns single-cycle fixed-point instruction execution time (160 mips) 8.33-ns single-cycle fixed-point instruction execution time (120 mips) 3.3-v i/o supply voltage (160 and 120 mips) 1.6-v core supply voltage (160 mips) 1.5-v core supply voltage (120 mips) ? ieee standard 1149.1-1990 standard-test-access port and boundary scan architecture. introduction 2 march 1999 ? revised may 2002 sprs095i 2 introduction this section describes the main features of the tms320vc5416, lists the pin assignments, and describes the function of each pin. this data manual also provides a detailed description section, electrical specifications, parameter measurement information, and mechanical data about the available packaging. note: this data manual is designed to be used in conjunction with the tms320c54x ? dsp functional overview (literature number spru307). 2.1 description the tms320vc5416 fixed-point, digital signal processor (dsp) (hereafter referred to as the 5416 unless otherwise specified) is based on an advanced modified harvard architecture that has one program memory bus and three data memory buses. this processor provides an arithmetic logic unit (alu) with a high degree of parallelism, application-specific hardware logic, on-chip memory, and additional on-chip peripherals. the basis of the operational flexibility and speed of this dsp is a highly specialized instruction set. separate program and data spaces allow simultaneous access to program instructions and data, providing a high degree of parallelism. two read operations and one write operation can be performed in a single cycle. instructions with parallel store and application-specific instructions can fully utilize this architecture. in addition, data can be transferred between data and program spaces. such parallelism supports a powerful set of arithmetic, logic, and bit-manipulation operations that can all be performed in a single machine cycle. the 5416 also includes the control mechanisms to manage interrupts, repeated operations, and function calls. 2.2 pin assignments figure 2 ? 1 illustrates the ball locations for the 144-pin ball grid array (bga) package and is used in conjunction with table 2 ? 1 to locate signal names and ball grid numbers. figure 2 ? 2 provides the pin assignments for the 144-pin low-profile quad flatpack (lqfp) package. 2.2.1 terminal assignments for the ggu package a b d c e f h j l m k n g 1 2 3 4 5 6 7 8 10 12 11 13 9 figure 2 ? 1. 144-ball ggu microstar bga ? (bottom view) table 2 ? 1 lists each signal name and bga ball number for the 144-pin tms320vc5416ggu package. table 2 ? 2 lists each terminal name, terminal function, and operating modes for the tms320vc5416. tms320c54x and microstar bga are trademarks of texas instruments. other trademarks are the property of their respective owners. introduction 3 march 1999 ? revised may 2002 sprs095i table 2 ? 1. terminal assignments for the tms320vc5416ggu (144-pin bga package) ? signal quadrant 1 bga ball # signal quadrant 2 bga ball # signal quadrant 3 bga ball # signal quadrant 4 bga ball # cv ss a1 bfsx1 n13 cv ss n1 a19 a13 a22 b1 bdx1 m13 bclkr1 n2 a20 a12 cv ss c2 dv dd l12 hcntl0 m3 cv ss b11 dv dd c1 dv ss l13 dv ss n3 dv dd a11 a10 d4 clkmd1 k10 bclkr0 k4 d6 d10 hd7 d3 clkmd2 k11 bclkr2 l4 d7 c10 a11 d2 clkmd3 k12 bfsr0 m4 d8 b10 a12 d1 hpi16 k13 bfsr2 n4 d9 a10 a13 e4 hd2 j10 bdr0 k5 d10 d9 a14 e3 tout j11 hcntl1 l5 d11 c9 a15 e2 emu0 j12 bdr2 m5 d12 b9 cv dd e1 emu1/off j13 bclkx0 n5 hd4 a9 has f4 tdo h10 bclkx2 k6 d13 d8 dv ss f3 tdi h11 cv ss l6 d14 c8 cv ss f2 trst h12 hint m6 d15 b8 cv dd f1 tck h13 cv dd n6 hd5 a8 hcs g2 tms g12 bfsx0 m7 cv dd b7 hr/w g1 cv ss g13 bfsx2 n7 cv ss a7 ready g3 cv dd g11 hrdy l7 hds1 c7 ps g4 hpiena g10 dv dd k7 dv ss d7 ds h1 dv ss f13 dv ss n8 hds2 a6 is h2 clkout f12 hd0 m8 dv dd b6 r/w h3 hd3 f11 bdx0 l8 a0 c6 mstrb h4 x1 f10 bdx2 k8 a1 d6 iostrb j1 x2/clkin e13 iack n9 a2 a5 msc j2 rs e12 hbil m9 a3 b5 xf j3 d0 e11 nmi l9 hd6 c5 holda j4 d1 e10 int0 k9 a4 d5 iaq k1 d2 d13 int1 n10 a5 a4 hold k2 d3 d12 int2 m10 a6 b4 bio k3 d4 d11 int3 l10 a7 c4 mp/mc l1 d5 c13 cv dd n11 a8 a3 dv dd l2 a16 c12 hd1 m11 a9 b3 cv ss l3 dv ss c11 cv ss l11 cv dd c3 bdr1 m1 a17 b13 bclkx1 n12 a21 a2 bfsr1 m2 a18 b12 dv ss m12 dv ss b2 ? dv dd is the power supply for the i/o pins while cv dd is the power supply for the core cpu. introduction 4 march 1999 ? revised may 2002 sprs095i 2.2.2 pin assignments for the pge package the tms320vc5416pge 144-pin low-profile quad flatpack (lqfp) pin assignments are shown in figure 2 ? 2. cv hds1 a18 a17 dv ss a16 d5 d4 d3 d2 d1 d0 rs x2/clkin x1 hd3 clkout dv ss hpiena cv dd cv ss tms tck trst tdi tdo emu1/off emu0 tout hd2 hpi16 clkmd3 clkmd2 clkmd1 dv ss dv dd bdx1 bfsx1 cv ss a22 cv ss dv dd a10 hd7 a11 a12 a13 a14 a15 cv dd has dv ss cv ss cv dd hcs hr/w ready ps ds is r/w mstrb iostrb msc xf holda iaq hold bio mp/mc dv dd cv ss bdr1 bfsr1 ss dv 144 a21 cv 143 142 141 a8 140 a7 139 a6 138 a5 137 a4 136 hd6 135 a3 134 a2 133 a1 132 a0 131 dv 130 129 128 127 cv 126 125 hd5 124 d15 123 d14 122 d13 121 hd4 120 d12 119 d11 118 117 d9 116 d8 115 d7 114 d6 113 112 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 ss cv bclkr1 hcntl0 ss bclkr0 bclkr2 bfsr0 bfsr2 bdr0 hcntl1 bdr2 bclkx0 bclkx2 ss dd ss hd0 bdx0 bdx2 iack hbil nmi int0 int1 int2 int3 dd hd1 ss hrdy hint 111 cv 110 a19 109 70 71 72 bclkx1 ss dv d10 bfsx2 ss a20 dv dd cv hds2 ss dv dv cv dv dv cv cv dd dd dd dd ss bfsx0 a9 note a: dv dd is the power supply for the i/o pins while cv dd is the power supply for the core cpu. v ss is the ground for both the i/o pins and the core cpu. figure 2 ? 2. 144-pin pge low-profile quad flatpack (top view) introduction 5 march 1999 ? revised may 2002 sprs095i 2.3 signal descriptions table 2 ? 2 lists each signal, function, and operating mode(s) grouped by function. see section 2.2 for exact pin locations based on package type. table 2 ? 2. signal descriptions terminal i/o ? description terminal name i/o ? description data signals a22 (msb) a21 a20 a19 a18 a17 a16 a15 a14 a13 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 (lsb) i/o/z ? parallel address bus a22 [most significant bit (msb)] through a0 [least significant bit (lsb)]. the sixteen lsb lines, a0 to a15, are multiplexed to address external memory (program, data) or i/o. the seven msb lines, a16 to a22, address external program space memory. a22 ? a0 is placed in the high-impedance state in the hold mode. a22 ? a0 also goes into the high-impedance state when off is low. a17 ? a0 are inputs in hpi16 mode. these pins can be used to address internal memory via the host-port interface (hpi) when the hpi16 pin is high. these pins also have schmitt trigger inputs. the address bus has a bus holder feature that eliminates passive components and the power dissipation associated with them. the bus holder keeps the address bus at the previous logic level when the bus goes into a high-impedance state. d15 (msb) d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 (lsb) i/o/z ? parallel data bus d15 (msb) through d0 (lsb). d15 ? d0 is multiplexed to transfer data between the core cpu and external data/program memory or i/o devices or hpi in hpi16 mode (when hpi16 pin is high). d15 ? d0 is placed in the high-impedance state when not outputting data or when rs or hold is asserted. d15 ? d0 also goes into the high-impedance state when off is low. these pins also have schmitt trigger inputs. the data bus has a bus holder feature that eliminates passive components and the power dissipation associated with them. the bus holder keeps the data bus at the previous logic level when the bus goes into the high-impedance state. the bus holders on the data bus can be enabled/disabled under software control. ? i = input, o = output, z = high-impedance, s = supply ? these pins have schmitt trigger inputs. this pin has an internal bus holder controlled by way of the bscr register. ? this pin has an internal pullup resistor. # this pin has an internal pulldown resistor. introduction 6 march 1999 ? revised may 2002 sprs095i table 2 ? 2. signal descriptions (continued) terminal name description i/o ? terminal name description i/o ? initialization, interrupt and reset operations iack o/z interrupt acknowledge signal. iack indicates receipt of an interrupt and that the program counter is fetching the interrupt vector location designated by a15 ? a0. iack also goes into the high-impedance state when off is low. int0 ? int1 ? int2 ? int3 ? i external user interrupt inputs. int0 ? int3 are maskable and are prioritized by the interrupt mask register (imr) and the interrupt mode bit. int0 ? int3 can be polled and reset by way of the interrupt flag register (ifr). nmi ? i nonmaskable interrupt. nmi is an external interrupt that cannot be masked by way of the intm or the imr. when nmi is activated, the processor traps to the appropriate vector location. rs ? i reset. rs causes the digital signal processor (dsp) to terminate execution and forces the program counter to 0ff80h. when rs is brought to a high level, execution begins at location 0ff80h of program memory. rs affects various registers and status bits. mp/mc i microprocessor/microcomputer mode select. if active low at reset, microcomputer mode is selected, and the internal program rom is mapped into the upper 16k words of program memory space. if the pin is driven high during reset, microprocessor mode is selected, and the on-chip rom is removed from program space. this pin is only sampled at reset, and the mp/mc bit of the processor mode status (pmst) register can override the mode that is selected at reset. multiprocessing signals bio ? i branch control. a branch can be conditionally executed when bio is active. if low, the processor executes the conditional instruction. the bio condition is sampled during the decode phase of the pipeline for the xc instruction, and all other instructions sample bio during the read phase of the pipeline. xf o/z external flag output (latched software-programmable signal). xf is set high by the ssbx xf instruction, set low by rsbx xf instruction or by loading st1. xf is used for signaling other processors in multiprocessor configurations or used as a general-purpose output pin. xf goes into the high-impedance state when off is low, and is set high at reset. memory control signals ds ps is o/z data, program, and i/o space select signals. ds , ps , and is are always high unless driven low for communicating to a particular external space. active period corresponds to valid address information. ds , ps , and is are placed into the high-impedance state in the hold mode; these signals also go into the high-impedance state when off is low. mstrb o/z memory strobe signal. mstrb is always high unless low-level asserted to indicate an external bus access to data or program memory. mstrb is placed in the high-impedance state in the hold mode; it also goes into the high-impedance state when off is low. ready i data ready. ready indicates that an external device is prepared for a bus transaction to be completed. if the device is not ready (ready is low), the processor waits one cycle and checks ready again. note that the processor performs ready detection if at least two software wait states are programmed. the ready signal is not sampled until the completion of the software wait states. r/w o/z read/write signal. r/w indicates transfer direction during communication to an external device. r/w is normally in the read mode (high), unless it is asserted low when the dsp performs a write operation. r/w is placed in the high-impedance state in the hold mode; and it also goes into the high-impedance state when off is low. iostrb o/z i/o strobe signal. iostrb is always high unless low-level asserted to indicate an external bus access to an i/o device. iostrb is placed in the high-impedance state in the hold mode; it also goes into the high-impedance state when off is low. hold i hold input. hold is asserted to request control of the address, data, and control lines. when acknowledged by the 5416, these lines go into the high-impedance state. ? i = input, o = output, z = high-impedance, s = supply ? these pins have schmitt trigger inputs. this pin has an internal bus holder controlled by way of the bscr register. ? this pin has an internal pullup resistor. # this pin has an internal pulldown resistor. introduction 7 march 1999 ? revised may 2002 sprs095i table 2 ? 2. signal descriptions (continued) terminal name description i/o ? terminal name description i/o ? memory control signals (continued) holda o/z hold acknowledge. holda indicates to the external circuitry that the processor is in a hold state and that the address, data, and control lines are in the high-impedance state, allowing them to be available to the external circuitry. holda also goes into the high-impedance state when off is low. msc o/z microstate complete. msc indicates completion of all software wait states. when two or more software wait states are enabled, the msc pin goes active at the beginning of the first software wait state and goes inactive high at the beginning of the last software wait state. if connected to the ready input, msc forces one external wait state after the last internal wait state is completed. msc also goes into the high-impedance state when off is low. iaq o/z instruction acquisition signal. iaq is asserted (active low) when there is an instruction address on the address bus and goes into the high-impedance state when off is low. timer signals clkout o/z clock output signal. clkout can represent the machine-cycle rate of the cpu divided by 1, 2, 3, or 4 as configured in the bank-switching control register (bscr). following reset, clkout represents the machine-cycle rate divided by 4. clkmd1 ? clkmd2 ? clkmd3 ? i clock mode select signals. clkmd1 ? clkmd3 allow the selection and configuration of different clock modes such as crystal, external clock, and pll mode. the external clkmd1 ? clkmd3 pins are sampled to determine the desired clock generation mode while rs is low. following reset, the clock generation mode can be reconfigured by writing to the internal clock mode register in software. x2/clkin ? i clock/oscillator input. if the internal oscillator is not being used, x2/clkin functions as the clock input. (this is revision-dependent, see section 3.10 for additional information.) x1 o output pin from the internal oscillator for the crystal. if the internal oscillator is not used, x1 should be left unconnected. x1 does not go into the high-impedance state when off is low. (this is revision-dependent, see section 3.10 for additional information.) tout o/z timer output. tout signals a pulse when the on-chip timer counts down past zero. the pulse is one clkout cycle wide. tout also goes into the high-impedance state when off is low. multichannel buffered serial port 0 (mcbsp #0), multichannel buffered serial port 1 (mcbsp #1), and multichannel buffered serial port 2 (mcbsp #2) signals bclkr0 ? bclkr1 ? bclkr2 ? i/o/z receive clock input. bclkr can be configured as an input or an output; it is configured as an input following reset. bclkr serves as the serial shift clock for the buffered serial port receiver. bdr0 bdr1 bdr2 i serial data receive input bfsr0 bfsr1 bfsr2 i/o/z frame synchronization pulse for receive input. bfsr can be configured as an input or an output; it is configured as an input following reset. the bfsr pulse initiates the receive data process over bdr. bclkx0 ? bclkx1 ? bclkx2 ? i/o/z transmit clock. bclkx serves as the serial shift clock for the mcbsp transmitter. bclkx can be configured as an input or an output, and is configured as an input following reset. bclkx enters the high-impedance state when off goes low. bdx0 bdx1 bdx2 o/z serial data transmit output. bdx is placed in the high-impedance state when not transmitting, when rs is asserted, or when off is low. bfsx0 bfsx1 bfsx2 i/o/z frame synchronization pulse for transmit input/output. the bfsx pulse initiates the data transmit process over bdx. bfsx can be configured as an input or an output, and is configured as an input following reset. bfsx goes into the high-impedance state when off is low. ? i = input, o = output, z = high-impedance, s = supply ? these pins have schmitt trigger inputs. this pin has an internal bus holder controlled by way of the bscr register. ? this pin has an internal pullup resistor. # this pin has an internal pulldown resistor. introduction 8 march 1999 ? revised may 2002 sprs095i table 2 ? 2. signal descriptions (continued) terminal name description i/o ? terminal name description i/o ? host-port interface signals hd0 ? hd7 ? i/o/z parallel bidirectional data bus. the hpi data bus is used by a host device bus to exchange information with the hpi registers. these pins can also be used as general-purpose i/o pins. hd0 ? hd7 is placed in the high-impedance state when not outputting data or when off is low. the hpi data bus includes bus holders to reduce the static power dissipation caused by floating, unused pins. when the hpi data bus is not being driven by the 5416, the bus holders keep the pins at the previous logic level. the hpi data bus holders are disabled at reset and can be enabled/disabled via the hbh bit of the bscr. these pins also have schmitt trigger inputs. hcntl0 ? hcntl1 ? i control inputs. hcntl0 and hcntl1 select a host access to one of the three hpi registers. the control inputs have internal pullups that are only enabled when hpiena = 0. these pins are not used when hpi16 = 1. hbil ? i byte identification. hbil identifies the first or second byte of transfer. the hpil input has an internal pullup resistor that is only enabled when hpiena = 0. this pin is not used when hpi16 = 1. hcs ?? i chip select. hcs is the select input for the hpi and must be driven low during accesses. the chip select input has an internal pullup resistor that is only enabled when hpiena = 0. hds1 ?? hds2 ?? i data strobe. hds1 and hds2 are driven by the host read and write strobes to control the transfer. the strobe inputs have internal pullup resistors that are only enabled when hpiena = 0. has ?? i address strobe. host with multiplexed address and data pins requires has to latch the address in the hpia register. has input has an internal pullup resistor that is only enabled when hpiena = 0. hr/w ? i read/write. hr/w controls the direction of the hpi transfer. hr/w has an internal pullup resistor that is only enabled when hpiena = 0. hrdy o/z ready output. hrdy goes into the high-impedance state when off is low. the ready output informs the host when the hpi is ready for the next transfer. hint o/z interrupt output. this output is used to interrupt the host. when the dsp is in reset, hint is driven high . hint goes into the high-impedance state when off is low. this pin is not used when hpi16 = 1. hpiena # i hpi module select. hpiena must be tied to dv dd to have hpi selected. if hpiena is left open or connected to ground, the hpi module is not selected, internal pullup for the hpi input pins are enabled, and the hpi data bus has holders set. hpiena is provided with an internal pulldown resistor that is always active. hpiena is sampled when rs goes high and is ignored until rs goes low again. hpi16 # i hpi16 mode selection supply pins cv ss s ground. dedicated ground for the core cpu cv dd s +v dd . dedicated power supply for the core cpu dv ss s ground. dedicated ground for i/o pins dv dd s +v dd . dedicated power supply for i/o pins ? i = input, o = output, z = high-impedance, s = supply ? these pins have schmitt trigger inputs. this pin has an internal bus holder controlled by way of the bscr register. ? this pin has an internal pullup resistor. # this pin has an internal pulldown resistor. introduction 9 march 1999 ? revised may 2002 sprs095i table 2 ? 2. signal descriptions (continued) terminal name description i/o ? terminal name description i/o ? test pins tck ?? i ieee standard 1149.1 test clock. tck is normally a free-running clock signal with a 50% duty cycle. the changes on test access port (tap) of input signals tms and tdi are clocked into the tap controller, instruction register, or selected test data register on the rising edge of tck. changes at the tap output signal (tdo) occur on the falling edge of tck. tdi ? i ieee standard 1149.1 test data input. pin with internal pullup device. tdi is clocked into the selected register (instruction or data) on a rising edge of tck. tdo o/z ieee standard 1149.1 test data output. the contents of the selected register (instruction or data) are shifted out of tdo on the falling edge of tck. tdo is in the high-impedance state except when the scanning of data is in progress. tdo also goes into the high-impedance state when off is low. tms ? i ieee standard 1149.1 test mode select. pin with internal pullup device. this serial control input is clocked into the tap controller on the rising edge of tck. trst # i ieee standard 1149.1 test reset. trst , when high, gives the ieee standard 1149.1 scan system control of the operations of the device. if trst is not connected or driven low, the device operates in its functional mode, and the ieee standard 1149.1 signals are ignored. pin with internal pulldown device. emu0 i/o/z emulator 0 pin. when trst is driven low, emu0 must be high for activation of the off condition. when trst is driven high, emu0 is used as an interrupt to or from the emulator system and is defined as input/output by way of the ieee standard 1149.1 scan system. emu1/off i/o/z emulator 1 pin/disable all outputs. when trst is driven high, emu1/off is used as an interrupt to or from the emulator system and is defined as input/output by way of ieee standard 1149.1 scan system. when trst is driven low, emu1/off is configured as off . the emu1/off signal, when active low, puts all output drivers into the high-impedance state. note that off is used exclusively for testing and emulation purposes (not for multiprocessing applications). therefore, for the off condition, the following apply: trst = low, emu0 = high emu1/off = low ? i = input, o = output, z = high-impedance, s = supply ? these pins have schmitt trigger inputs. this pin has an internal bus holder controlled by way of the bscr register. ? this pin has an internal pullup resistor. # this pin has an internal pulldown resistor. functional overview 10 march 1999 ? revised may 2002 sprs095i 3 functional overview the following functional overview is based on the block diagram in figure 3 ? 1. gpio mbus 64k ram dual access program/data mcbsp1 mcbsp2 mcbsp3 rhea bus apll timer jtag clocks rheabus rhea bridge ti bus xdma logic 16k program rom pbus cbus dbus ebus rhea bus mbus 64k ram single access program cbus dbus ebus pbus cbus dbus ebus pbus enhanced xio p, c, d, e buses and control signals xio 16hpi 54x clead 16 hpi figure 3 ? 1. tms320vc5416 functional block diagram 3.1 memory the 5416 device provides both on-chip rom and ram memories to aid in system performance and integration. 3.1.1 data memory the data memory space addresses up to 64k of 16-bit words. the device automatically accesses the on-chip ram when addressing within its bounds. when an address is generated outside the ram bounds, the device automatically generates an external access. the advantages of operating from on-chip memory are as follows: ? higher performance because no wait states are required ? higher performance because of better flow within the pipeline of the central arithmetic logic unit (calu) ? lower cost than external memory ? lower power than external memory the advantage of operating from off-chip memory is the ability to access a larger address space. functional overview 11 march 1999 ? revised may 2002 sprs095i 3.1.2 program memory software can configure their memory cells to reside inside or outside of the program address map. when the cells are mapped into program space, the device automatically accesses them when their addresses are within bounds. when the program-address generation (pagen) logic generates an address outside its bounds, the device automatically generates an external access. the advantages of operating from on-chip memory are as follows: ? higher performance because no wait states are required ? lower cost than external memory ? lower power than external memory the advantage of operating from off-chip memory is the ability to access a larger address space. 3.1.3 extended program memory the 5416 uses a paged extended memory scheme in program space to allow access of up to 8192k of program memory. in order to implement this scheme, the 5416 includes several features which are also present on c548/549/5410: ? twenty-three address lines, instead of sixteen ? an extra memory-mapped register, the xpc ? six extra instructions for addressing extended program space program memory in the 5416 is organized into 128 pages that are each 64k in length. the value of the xpc register defines the page selection. this register is memory-mapped into data space to address 001eh. at a hardware reset, the xpc is initialized to 0. 3.2 on-chip rom with bootloader the 5416 features a 16k-word 16-bit on-chip maskable rom that can only be mapped into program memory space. customers can arrange to have the rom of the 5416 programmed with contents unique to any particular application. a bootloader is available in the standard 5416 on-chip rom. this bootloader can be used to automatically transfer user code from an external source to anywhere in the program memory at power up. if mp/mc of the device is sampled low during a hardware reset, execution begins at location ff80h of the on-chip rom. this location contains a branch instruction to the start of the bootloader program. the standard 5416 devices provide different ways to download the code to accommodate various system requirements: ? parallel from 8-bit or 16-bit-wide eprom ? parallel from i/o space, 8-bit or 16-bit mode ? serial boot from serial ports, 8-bit or 16-bit mode ? host-port interface boot ? warm boot functional overview 12 march 1999 ? revised may 2002 sprs095i the standard on-chip rom layout is shown in table 3 ? 1. table 3 ? 1. standard on-chip rom layout ? address range description c000h ? d4ffh rom tables for the gsm efr speech codec d500h ? f7ffh reserved f800h ? fbffh bootloader fc00h ? fcffh -law expansion table fd00h ? fdffh a-law expansion table fe00h ? feffh sine look-up table ff00h ? ff7fh reserved ? ff80h ? ffffh interrupt vector table ? in the 5416 rom, 128 words are reserved for factory device-testing purposes. application code to be implemented in on-chip rom must reserve these 128 words at addresses ff00h ? ff7fh in program space. 3.3 on-chip ram the 5416 device contains 64k-word 16-bit of on-chip dual-access ram (daram) and 64k-word 16-bit of on-chip single-access ram (saram). the daram is composed of eight blocks of 8k words each. each block in the daram can support two reads in one cycle, or a read and a write in one cycle. four blocks of daram are located in the address range 0080h ? 7fffh in data space, and can be mapped into program/data space by setting the ovly bit to one. the other four blocks of daram are located in the address range 18000h ? 1ffffh in program space. the daram located in the address range 18000h ? 1ffffh in program space can be mapped into data space by setting the drom bit to one. the saram is composed of eight blocks of 8k words each. each of these eight blocks is a single-access memory. for example, an instruction word can be fetched from one saram block in the same cycle as a data word is written to another saram block. the saram is located in the address range 28000h ? 2ffffh, and 38000h ? 3ffffh in program space. 3.4 on-chip memory security the 5416 device has a maskable option to protect the contents of on-chip memories. when the rom protect bit is set, no externally originating instruction can access the on-chip memory spaces; hpi writes have no restriction, but hpi reads are restricted to 4000h ? 5fffh. functional overview 13 march 1999 ? revised may 2002 sprs095i 3.5 memory map reserved (ovly = 1) external (ovly = 0) page 0 program hex data on-chip daram0 ? 3 (ovly = 1) external (ovly = 0) mp/mc = 0 (microcomputer mode) mp/mc = 1 (microprocessor mode) 0000 007f 0080 ffff interrupts (external) ff80 memory-mapped registers on-chip daram0 ? 3 (32k x 16-bit) on-chip daram4 ? 7 (drom=1) or external (drom=0) 0080 ffff ff7f 0060 007f 0000 hex external scratch-pad ram 005f on-chip rom (4k x 16-bit) interrupts (on-chip) 7fff 8000 page 0 program hex 0000 007f 0080 ffff reserved (ovly = 1) external (ovly = 0) ff80 ff7f external 7fff 8000 reserved ff00 feff c000 bfff 8000 7fff on-chip daram0 ? 3 (ovly = 1) external (ovly = 0) address ranges for on-chip daram in data memory are: daram0: 0080h ? 1fffh; daram1: 2000h ? 3fffh daram2: 4000h ? 5fffh; daram3: 6000h ? 7fffh daram4: 8000h ? 9fffh; daram5: a000h ? bfffh daram6: c000h ? dfffh; daram7: e000h ? ffffh figure 3 ? 2. program and data memory map hex 010000 01ffff program page 1 xpc=1 on-chip daram0 ? 3 (ovly=1) external (ovly=0) on-chip daram4 ? 7 (mp/mc=0) external (mp/mc=1) hex program on-chip daram0 ? 3 (ovly=1) external (ovly=0) 020000 02ffff page 2 xpc=2 hex program on-chip daram0 ? 3 (ovly=1) external (ovly=0) 030000 03ffff hex program on-chip daram0 ? 3 (ovly=1) external (ovly=0) external 040000 04ffff hex program on-chip daram0 ? 3 (ovly=1) external (ovly=0) 7f0000 7fffff page 3 xpc=3 page 4 xpc=4 page 127 xpc=7fh external 7f7fff 7f8000 047fff 037fff 027fff 017fff 018000 028000 038000 048000 on-chip saram0 ? 3 (mp/mc=0) external (mp/mc=1) on-chip saram4 ? 7 (mp/mc=0) external (mp/mc=1) ...... address ranges for on-chip daram in program memory are: daram4: 018000h ? 019fffh; daram5: 01a000h ? 01bfffh daram6: 01c000h ? 01dfffh; daram7: 01e000h ? 01ffffh address ranges for on-chip saram in program memory are: saram0: 028000h ? 029fffh; saram1: 02a000h ? 02bfffh saram2: 02c000h ? 02dfffh; saram3: 02e000h ? 02ffffh saram4: 038000h ? 039fffh; saram5: 03a000h ? 03bfffh saram6: 03c000h ? 03dfffh; saram7: 03e000h ? 03ffffh figure 3 ? 3. extended program memory map functional overview 14 march 1999 ? revised may 2002 sprs095i 3.5.1 relocatable interrupt vector table the reset, interrupt, and trap vectors are addressed in program space. these vectors are soft ? meaning that the processor, when taking the trap, loads the program counter (pc) with the trap address and executes the code at the vector location. four words, either two 1-word instructions or one 2-word instruction, are reserved at each vector location to accommodate a delayed branch instruction which allows branching to the appropriate interrupt service routine without the overhead. at device reset, the reset, interrupt, and trap vectors are mapped to address ff80h in program space. however, these vectors can be remapped to the beginning of any 128-word page in program space after device reset. this is done by loading the interrupt vector pointer (iptr) bits in the pmst register with the appropriate 128-word page boundary address. after loading iptr, any user interrupt or trap vector is mapped to the new 128-word page. note: the hardware reset (rs ) vector cannot be remapped because the hardware reset loads the iptr with 1s. therefore, the reset vector is always fetched at location ff80h in program space. 15 76543210 iptr mp/mc ovly avis drom clk off smul sst r/w-1ff mp/mc pin r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 legend: r = read, w = write figure 3 ? 4. processor mode status (pmst) register functional overview 15 march 1999 ? revised may 2002 sprs095i table 3 ? 2. processor mode status (pmst) register bit fields bit reset function no. name reset value function 15 ? 7 iptr 1ffh interrupt vector pointer. the 9-bit iptr field points to the 128-word program page where the interrupt vectors reside. the interrupt vectors can be remapped to ram for boot-loaded operations. at reset, these bits are all set to 1; the reset vector always resides at address ff80h in program memory space. the reset instruction does not affect this field. 6 mp/mc mp/mc pin microprocessor/microcomputer mode. mp/mc enables/disables the on-chip rom to be addressable in program memory space. mp/mc = 0: the on-chip rom is enabled and addressable. mp/mc = 1: the on-chip rom is not available. mp/mc is set to the value corresponding to the logic level on the mp/mc pin when sampled at reset. this pin is not sampled again until the next reset. the reset instruction does not affect this bit. this bit can also be set or cleared by software. 5 ovly 0 ram overlay. ovly enables on-chip dual-access data ram blocks to be mapped into program space. the values for the ovly bit are: ovly = 0: the on-chip ram is addressable in data space but not in program space. ovly = 1: the on-chip ram is mapped into program space and data space. data page 0 (addresses 0h to 7fh), however, is not mapped into program space. 4 avis 0 address visibility mode. avis enables/disables the internal program address to be visible at the address pins. avis = 0: the external address lines do not change with the internal program address. control and data lines are not affected and the address bus is driven with the last address on the bus. avis = 1: this mode allows the internal program address to appear at the pins of the 5416 so that the internal program address can be traced. also, it allows the interrupt vector to be decoded in conjunction with iack when the interrupt vectors reside on on-chip memory. 3 drom 0 drom enables on-chip daram4 ? 7 to be mapped into data space. the drom bit values are: drom = 0: the on-chip daram4 ? 7 is not mapped into data space. drom = 1: the on-chip daram4 ? 7 is mapped into data space. 2 clkoff 0 clockout off. when the clkoff bit is 1, the output of clkout is disabled and remains at a high level. 1 smul n/a saturation on multiplication. when smul = 1, saturation of a multiplication result occurs before performing the accumulation in a mac of mas instruction. the smul bit applies only when ovm = 1 and frct = 1. 0 sst n/a saturation on store. when sst = 1, saturation of the data from the accumulator is enabled before storing in memory. the saturation is performed after the shift operation. 3.6 on-chip peripherals the 5416 device has the following peripherals: ? software-programmable wait-state generator ? programmable bank-switching ? a host-port interface (hpi8/16) ? three multichannel buffered serial ports (mcbsps) ? a hardware timer ? a clock generator with a multiple phase-locked loop (pll) ? enhanced external parallel interface (xio2) ? a dma controller (dma) functional overview 16 march 1999 ? revised may 2002 sprs095i 3.6.1 software-programmable wait-state generator the software wait-state generator of the 5416 can extend external bus cycles by up to fourteen machine cycles. devices that require more than fourteen wait states can be interfaced using the hardware ready line. when all external accesses are configured for zero wait states, the internal clocks to the wait-state generator are automatically disabled. disabling the wait-state generator clocks reduces the power consumption of the 5416. the software wait-state register (swwsr) controls the operation of the wait-state generator. the 14 lsbs of the swwsr specify the number of wait states (0 to 7) to be inserted for external memory accesses to five separate address ranges. this allows a different number of wait states for each of the five address ranges. additionally, the software wait-state multiplier (swsm) bit of the software wait-state control register (swcr) defines a multiplication factor of 1 or 2 for the number of wait states. at reset, the wait-state generator is initialized to provide seven wait states on all external memory accesses. the swwsr bit fields are shown in figure 3 ? 5 and described in table 3 ? 3. xpa i/o data data program program 14 12 11 9 8 6 5 3 2 0 15 r/w-111 r/w-0 r/w-111 r/w-111 r/w-111 r/w-111 legend: r=read, w=write, 0=value after reset figure 3 ? 5. software wait-state register (swwsr) [memory-mapped register (mmr) address 0028h] table 3 ? 3. software wait-state register (swwsr) bit fields bit reset function no. name reset value function 15 xpa 0 extended program address control bit. xpa is used in conjunction with the program space fields (bits 0 through 5) to select the address range for program space wait states. 14 ? 12 i/o 111 i/o space. the field value (0 ? 7) corresponds to the base number of wait states for i/o space accesses within addresses 0000 ? ffffh. the swsm bit of the swcr defines a multiplication factor of 1 or 2 for the base number of wait states. 11 ? 9 data 111 upper data space. the field value (0 ? 7) corresponds to the base number of wait states for external data space accesses within addresses 8000 ? ffffh. the swsm bit of the swcr defines a multiplication factor of 1 or 2 for the base number of wait states. 8 ? 6 data 111 lower data space. the field value (0 ? 7) corresponds to the base number of wait states for external data space accesses within addresses 0000 ? 7fffh. the swsm bit of the swcr defines a multiplication factor of 1 or 2 for the base number of wait states. 5 ? 3 program 111 upper program space. the field value (0 ? 7) corresponds to the base number of wait states for external program space accesses within the following addresses: xpa = 0: xx8000 ? xxffffh xpa = 1: 400000h ? 7fffffh the swsm bit of the swcr defines a multiplication factor of 1 or 2 for the base number of wait states. 2 ? 0 program 111 program space. the field value (0 ? 7) corresponds to the base number of wait states for external program space accesses within the following addresses: xpa = 0: xx0000 ? xx7fffh xpa = 1: 000000 ? 3fffffh the swsm bit of the swcr defines a multiplication factor of 1 or 2 for the base number of wait states. functional overview 17 march 1999 ? revised may 2002 sprs095i the software wait-state multiplier bit of the software wait-state control register (swcr) is used to extend the base number of wait states selected by the swwsr. the swcr bit fields are shown in figure 3 ? 6 and described in table 3 ? 4. reserved 1 15 r/w-0 swsm 0 r/w-0 legend: r = read, w = write figure 3 ? 6. software wait-state control register (swcr) [mmr address 002bh] table 3 ? 4. software wait-state control register (swcr) bit fields pin reset function no. name reset value function 15 ? 1 reserved 0 these bits are reserved and are unaffected by writes. 0 swsm 0 software wait-state multiplier. used to multiply the number of wait states defined in the swwsr by a factor of 1 or 2. swsm = 0: wait-state base values are unchanged (multiplied by 1). swsm = 1: wait-state base values are multiplied by 2 for a maximum of 14 wait states. 3.6.2 programmable bank-switching programmable bank-switching logic allows the 5416 to switch between external memory banks without requiring external wait states for memories that need additional time to turn off. the bank-switching logic automatically inserts one cycle when accesses cross a 32k-word memory-bank boundary inside program or data space. bank-switching is defined by the bank-switching control register (bscr), which is memory-mapped at address 0029h. the bit fields of the bscr are shown in figure 3 ? 7 and are described in table 3 ? 5. consec divfct iackoff rsvd hbh 14 13 12 11 3 2 1 15 r/w-0 r/w-0 r r/w-1 r/w-11 r/w-1 bh rsvd 0 r r = read, w = write figure 3 ? 7. bank-switching control register (bscr) [mmr address 0029h] functional overview 18 march 1999 ? revised may 2002 sprs095i table 3 ? 5. bank-switching control register (bscr) fields bit name reset value function consecutive bank-switching . specifies the bank-switching mode. 15 consec ? 1 consec = 0: bank-switching on 32k bank boundaries only. this bit is cleared if fast access is desired for continuous memory reads (i.e., no starting and trailing cycles between read cycles). 15 consec 1 consec 1: consecutive bank switches on external memor y reads. each read c y cle consists of 3 c y cles: consec = 1: consecutive bank switches on external memory reads . each read cycle consists of 3 cycles: starting cycle, read cycle, and trailing cycle. clkout output divide factor . the clkout output is driven by an on-chip source having a frequency equal to 1/(divfct+1) of the dsp clock. 13 14 divfct 11 divfct = 00: clkout is not divided. 13 ? 14 divfct 11 divfct = 01: clkout is divided by 2 from the dsp clock. divfct = 10: clkout is divided by 3 from the dsp clock. divfct = 11: clkout is divided by 4 from the dsp clock (default value following reset). iack signal output off . controls the output of the iack signal. iackoff is set to 1 at reset. 12 iackoff 1 iackoff = 0: the iack signal output off function is disabled. 12 iackoff 1 iackoff = 1: the iack signal output off function is enabled. 11 ? 3 rsvd ? reserved hpi bus holder. controls the hpi bus holder. hbh is cleared to 0 at reset . 2 hbh 0 hbh = 0: the bus holder is disabled except when hpi16 = 1. 2 hbh 0 hbh = 1: the bus holder is enabled. when not driven, the hpi data bus, hd[7:0] is held in the previous logic level. bus holder. controls the bus holder. bh is cleared to 0 at reset. 1 bh 0 bh = 0: the bus holder is disabled. 1 bh 0 bh = 1: the bus holder is enabled. when not driven, the data bus, d[15:0] is held in the previous logic level. 0 rsvd ? reserved ? for additional information, see section 3.11 of this document. the 5416 has an internal register that holds the msb of the last address used for a read or write operation in program or data space. in the non-consecutive bank switches (consec = 0), if the msb of the address used for the current read does not match that contained in this internal register, the mstrb (memory strobe) signal is not asserted for one clkout cycle. during this extra cycle, the address bus switches to the new address. the contents of the internal register are replaced with the msb for the read of the current address. if the msb of the address used for the current read matches the bits in the register, a normal read cycle occurs. in non-consecutive bank switches (consec = 0), if repeated reads are performed from the same memory bank, no extra cycles are inserted. when a read is performed from a different memory bank, memory conflicts are avoided by inserting an extra cycle. for more information, see section 3.11 of this document. the bank-switching mechanism automatically inserts one extra cycle in the following cases: ? a memory read followed by another memory read from a different memory bank. ? a program-memory read followed by a data-memory read. ? a data-memory read followed by a program-memory read. ? a program-memory read followed by another program-memory read from a different page. functional overview 19 march 1999 ? revised may 2002 sprs095i 3.6.3 bus holders the 5416 has two bus holder control bits, bh (bscr[1]) and hbh (bscr[2]), to control the bus keepers of the address bus (a[17 ? 0]), data bus (d[15 ? 0]), and the hpi data bus (hd[7 ? 0]). bus keeper enabling/disabling is described in table 3 ? 5. table 3 ? 6. bus holder control bits hpi16 pin bh hbh d[15 ? 0] a[17 ? 0] hd[7 ? 0] 0 0 0 off off off 0 0 1 off off on 0 1 0 on off off 0 1 1 on off on 1 0 0 off off on 1 0 1 off on on 1 1 0 on off on 1 1 1 on on on 3.7 parallel i/o ports the 5416 has a total of 64k i/o ports. these ports can be addressed by the portr instruction or the portw instruction. the is signal indicates a read/write operation through an i/o port. the 5416 can interface easily with external devices through the i/o ports while requiring minimal off-chip address-decoding circuits. 3.7.1 enhanced 8-/16-bit host-port interface (hpi8/16) the 5416 host-port interface, also referred to as the hpi8/16, is an enhanced version of the standard 8-bit hpi found on earlier tms320c54x ? dsps (542, 545, 548, and 549). the 5416 hpi can be used to interface to an 8-bit or 16-bit host. when the address and data buses for external i/o is not used (to interface to external devices in program/data/io spaces), the 5416 hpi can be configured as an hpi16 to interface to a 16-bit host. this configuration can be accomplished by connecting the hpi16 pin to logic ? 1 ? . when the hpi16 pin is connected to a logic ? 0 ? , the 5416 hpi is configured as an hpi8. the hpi8 is an 8-bit parallel port for interprocessor communication. the features of the hpi8 include: standard features: ? sequential transfers (with autoincrement) or random-access transfers ? host interrupt and c54x ? interrupt capability ? multiple data strobes and control pins for interface flexibility the hpi8 interface consists of an 8-bit bidirectional data bus and various control signals. sixteen-bit transfers are accomplished in two parts with the hbil input designating high or low byte. the host communicates with the hpi8 through three dedicated registers ? the hpi address register (hpia), the hpi data register (hpid), and the hpi control register (hpic). the hpia and hpid registers are only accessible by the host, and the hpic register is accessible by both the host and the 5416. enhanced features: ? access to entire on-chip ram through dma bus ? capability to continue transferring during emulation stop tms320c54x and c54x are trademarks of texas instruments. functional overview 20 march 1999 ? revised may 2002 sprs095i the hpi16 is an enhanced 16-bit version of the tms320c54x ? dsp 8-bit host-port interface (hpi8). the hpi16 is designed to allow a 16-bit host to access the dsp on-chip memory, with the host acting as the master of the interface. some of the features of the hpi16 include: ? 16-bit bidirectional data bus ? multiple data strobes and control signals to allow glueless interfacing to a variety of hosts ? only nonmultiplexed address/data modes are supported ? 18-bit address bus used in nonmultiplexed mode to allow access to all internal memory (including internal extended address pages) ? hrdy signal to hold off host accesses due to dma latency ? the hpi16 acts as a slave to a 16-bit host processor and allows access to the on-chip memory of the dsp. note: only the nonmultiplexed mode is supported when the 5416 hpi is configured as a hpi16 (see figure 3 ? 8). the 5416 hpi functions as a slave and enables the host processor to access the on-chip memory. a major enhancement to the 5416 hpi over previous versions is that it allows host access to the entire on-chip memory range of the dsp. the host and the dsp both have access to the on-chip ram at all times and host accesses are always synchronized to the dsp clock. if the host and the dsp contend for access to the same location, the host has priority, and the dsp waits for one cycle. note that since host accesses are always synchronized to the 5416 clock, an active input clock (clkin) is required for hpi accesses during idle states, and host accesses are not allowed while the 5416 reset pin is asserted. 3.7.2 hpi nonmultiplexed mode in nonmultiplexed mode, a host with separate address/data buses can access the hpi16 data register (hpid) via the hd 16-bit bidirectional data bus, and the address register (hpia) via the 18-bit ha address bus. the host initiates the access with the strobe signals (hds1 , hds2 , hcs ) and controls the direction of the access with the hr/w signal. the hpi16 can stall host accesses via the hrdy signal. note that the hpic register is not available in nonmultiplexed mode since there are no hcntl signals available. all host accesses initiate a dma read or write access. figure 3 ? 8 shows a block diagram of the hpi16 in nonmultiplexed mode. hpid[15:0] has hds1 , hds2 , hcs dma internal memory ppd[15:0] data[15:0] address[17:0] r/w data strobes ready hpi16 hrdy 54xx cpu v cc hcntl0 hcntl1 hr/w hint hbil host figure 3 ? 8. host-port interface ? nonmultiplexed mode functional overview 21 march 1999 ? revised may 2002 sprs095i address (hex) reserved reserved scratch-pad ram daram0 ? daram3 001 ffff 001 8000 001 7fff 000 7fff 000 8000 000 007f 000 0080 000 005f 000 0060 000 0000 reserved reserved reserved 002 0000 002 7fff 002 8000 002 ffff 003 0000 07f ffff 004 0000 003 ffff 003 8000 003 7fff daram4 ? daram7 saram4 ? saram7 saram0 ? saram3 figure 3 ? 9. hpi memory map functional overview 22 march 1999 ? revised may 2002 sprs095i 3.8 multichannel buffered serial ports (mcbsps) the 5416 device provides three high-speed, full-duplex, multichannel buffered serial ports that allow direct interface to other c54x/lc54x devices, codecs, and other devices in a system. the mcbsps are based on the standard serial-port interface found on other 54x devices. like their predecessors, the mcbsps provide: ? full-duplex communication ? double-buffer data registers, which allow a continuous data stream ? independent framing and clocking for receive and transmit in addition, the mcbsps have the following capabilities: ? direct interface to: ? t1/e1 framers ? mvip switching compatible and st-bus compliant devices ? iom-2 compliant devices ? ac97-compliant devices ? iis-compliant devices ? serial peripheral interface ? multichannel transmit and receive of up to 128 channels ? a wide selection of data sizes, including 8, 12, 16, 20, 24, or 32 bits ? -law and a-law companding ? programmable polarity for both frame synchronization and data clocks ? programmable internal clock and frame generation the mcbsp consists of a data path and control path. the six pins, bdx, bdr, bfsx, bfsr, bclkx, and bclkr, connect the control and data paths to external devices. the implemented pins can be programmed as general-purpose i/o pins if they are not used for serial communication. the data is communicated to devices interfacing to the mcbsp by way of the data transmit (bdx) pin for transmit and the data receive (bdr) pin for receive. the cpu or dma reads the received data from the data receive register (drr) and writes the data to be transmitted to the data transmit register (dxr). data written to the dxr is shifted out to bdx by way of the transmit shift register (xsr). similarly, receive data on the bdr pin is shifted into the receive shift register (rsr) and copied into the receive buffer register (rbr). rbr is then copied to drr, which can be read by the cpu or dma. this allows internal data movement and external data communications simultaneously. control information in the form of clocking and frame synchronization is communicated by way of bclkx, bclkr, bfsx, and bfsr. the device communicates to the mcbsp by way of 16-bit-wide control registers accessible via the internal peripheral bus. the control block consists of internal clock generation, frame synchronization signal generation, and their control, and multichannel selection. this control block sends notification of important events to the cpu and dma by way of two interrupt signals, xint and rint, and two event signals, xevt and revt. the on-chip companding hardware allows compression and expansion of data in either -law or a-law format. when companding is used, transmitted data is encoded according to the specified companding law and received data is decoded to 2s complement format. the sample rate generator provides the mcbsp with several means of selecting clocking and framing for both the receiver and transmitter. both the receiver and transmitter can select clocking and framing independently. the mcbsp allows the multiple channels to be independently selected for the transmitter and receiver. when multiple channels are selected, each frame represents a time-division multiplexed (tdm) data stream. in using time-division multiplexed data streams, the cpu may only need to process a few of them. thus, to save memory and bus bandwidth, multichannel selection allows independent enabling of particular channels for transmission and reception. all 128 channels in a bit stream consisting of a maximum of 128 channels can be enabled. functional overview 23 march 1999 ? revised may 2002 sprs095i 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 reserved xmcme xpbblk xpablk xcblk xmcm r r/w r/w r/w r r/w 151413121110 9 87654321 0 reserved rmcme rpbblk rpablk rcblk resvd rmcm r r/w r/w r/w r r r/w legend: r = read, w = write figure 3 ? 10. multichannel control registers (mcr1 and mcr2) the 5416 mcbsp has two working modes: ? in the first mode, when (r/x)mcme = 0, it is comparable with the mcbsps used in the 5410 where the normal 32-channel selection is enabled (default). ? in the second mode, when (r/x)mcme = 1, it has 128-channel selection capability. multichannel control register bit 9, (r/x)mcme, is used as the 128-channel selection enable bit. once (r/x)mcme = 1, twelve new registers ((r/x)cerc ? (r/x)cerh) are used to enable the 128-channel selection. the clock stop mode (clkstp) in the mcbsp provides compatibility with the serial port interface protocol. clock stop mode works with only single-phase frames and one word per frame. the word sizes supported by the mcbsp are programmable for 8-, 12-, 16-, 20-, 24-, or 32-bit operation. when the mcbsp is configured to operate in spi mode, both the transmitter and the receiver operate together as a master or as a slave. although the bclks pin is not available on the 5416 pge and ggu packages, the 5416 is capable of synchronization to external clock sources. bclkx or bclkr can be used by the sample rate generator for external synchronization. the sample rate clock mode extended (sclkme) bit field is located in the pcr to accommodate this option. 15 14 13 12 11 10 9 8 reserved xioen rioen fsxm fsrm clkxm clkrm rw rw rw rw rw rw rw 76543210 sclkme clks stat dx stat dr stat fsxp fsrp clkxp clkrp rw rw rw rw rw rw rw rw legend: r = read, w = write figure 3 ? 11. pin control register (pcr) the selection of sample rate input clock is made by the combination of the clksm (bit 13 in srgr2) bit value and the sclkme bit value as shown in table 3 ? 7. table 3 ? 7. sample rate input clock selection sclkme clksm sample rate clock mode 0 0 reserved (clks pin unavailable) 0 1 cpu clock 1 0 bclkr 1 1 bclkx functional overview 24 march 1999 ? revised may 2002 sprs095i when the sclkme bit is cleared to 0, the clksm bit is used, as before, to select either the cpu clock or the clks pin (not bonded out on the 5416 device package) as the sample rate input clock. setting the sclkme bit to 1 enables the clksm bit to select between the bclkr pin or bclkx pin for the sample rate input clock. when either the bclkr or clkx is configured this way, the output buffer for the selected pin is automatically disabled. for example, with sclkme = 1 and clksm = 0, the bclkr pin is configured as the input of the sample rate generator. both the transmitter and receiver circuits can be synchronized to the sample rate generator output by setting the clkxm and clkrm bits of the pin configuration register (pcr) to 1. note that the sample rate generator output will only be driven on the bclkx pin since the bclkr output buffer is automatically disabled. the mcbsp is fully static and operates at arbitrary low clock frequencies. for maximum operating frequency, see section 5.14. 3.9 hardware timer the 5416 device features a 16-bit timing circuit with a 4-bit prescaler. the timer counter is decremented by one every clkout cycle. each time the counter decrements to 0, a timer interrupt is generated. the timer can be stopped, restarted, reset, or disabled by specific status bits. 3.10 clock generator the clock generator provides clocks to the 5416 device, and consists of a phase-locked loop (pll) circuit. the clock generator requires a reference clock input, which can be provided from an external clock source. the reference clock input is then divided by two (div mode) to generate clocks for the 5416 device, or the pll circuit can be used (pll mode) to generate the device clock by multiplying the reference clock frequency by a scale factor, allowing use of a clock source with a lower frequency than that of the cpu. the pll is an adaptive circuit that, once synchronized, locks onto and tracks an input clock signal. when the pll is initially started, it enters a transitional mode during which the pll acquires lock with the input signal. once the pll is locked, it continues to track and maintain synchronization with the input signal. then, other internal clock circuitry allows the synthesis of new clock frequencies for use as master clock for the 5416 device. this clock generator allows system designers to select the clock source. the sources that drive the clock generator are: ? a crystal resonator circuit. the crystal resonator circuit is connected across the x1 and x2/clkin pins of the 5416 to enable the internal oscillator. ? an external clock. the external clock source is directly connected to the x2/clkin pin, and x1 is left unconnected. note: the crystal oscillator function is not supported by all die revisions of the 5416 device. see the tms320vc5416 silicon errata (literature number sprz172) to verify which die revisions support this functionality. the software-programmable pll features a high level of flexibility, and includes a clock scaler that provides various clock multiplier ratios, capability to directly enable and disable the pll, and a pll lock timer that can be used to delay switching to pll clocking mode of the device until lock is achieved. devices that have a built-in software-programmable pll can be configured in one of two clock modes: ? pll mode. the input clock (x2/clkin) is multiplied by 1 of 31 possible ratios. ? div (divider) mode. the input clock is divided by 2 or 4. note that when div mode is used, the pll can be completely disabled in order to minimize power dissipation. the software-programmable pll is controlled using the 16-bit memory-mapped (address 0058h) clock mode register (clkmd). the clkmd register is used to define the clock configuration of the pll clock module. note that upon reset, the clkmd register is initialized with a predetermined value dependent only upon the state of the clkmd1 ? clkmd3 pins. for more programming information, see the tms320c54x dsp reference set, volume 1: cpu and peripherals (literature number spru131). the clkmd pin configured clock options are shown in table 3 ? 8. functional overview 25 march 1999 ? revised may 2002 sprs095i table 3 ? 8. clock mode settings at reset clkmd1 clkmd2 clkmd3 clkmd reset value clock mode ? 0 0 0 0000h 1/2 (pll disabled) 0 0 1 9007h pll x 10 0 1 0 4007h pll x 5 1 0 0 1007h pll x 2 1 1 0 f007h pll x 1 1 1 1 0000h 1/2 (pll disabled) 1 0 1 f000h 1/4 (pll disabled) 0 1 1 ? reserved (bypass mode) ? the external clkmd1 ? clkmd3 pins are sampled to determine the desired clock generation mode while rs is low. following reset, the clock generation mode can be reconfigured by writing to the internal clock mode register in software. 3.11 enhanced external parallel interface (xio2) the 5416 external interface has been redesigned to include several improvements, including: simplification of the bus sequence, more immunity to bus contention when transitioning between read and write operations, the ability for external memory access to the dma controller, and optimization of the power-down modes. the bus sequence on the 5416 still maintains all of the same interface signals as on previous 54x devices, but the signal sequence has been simplified. most external accesses now require 3 cycles composed of a leading cycle, an active (read or write) cycle, and a trailing cycle. the leading and trailing cycles provide additional immunity against bus contention when switching between read operations and write operations. to maintain high-speed read access, a consecutive read mode that performs single-cycle reads as on previous 54x devices is available. functional overview 26 march 1999 ? revised may 2002 sprs095i figure 3 ? 12 shows the bus sequence for three cases: all i/o reads, memory reads in nonconsecutive mode, or single memory reads in consecutive mode. the accesses shown in figure 3 ? 12 always require 3 clkout cycles to complete. read a[22:0] d[15:0] clkout r/w mstrb or iostrb ps /ds /is leading cycle read cycle trailing cycle figure 3 ? 12. nonconsecutive memory read and i/o read bus sequence functional overview 27 march 1999 ? revised may 2002 sprs095i figure 3 ? 13 shows the bus sequence for repeated memory reads in consecutive mode. the accesses shown in figure 3 ? 13 require (2 + n) clkout cycles to complete, where n is the number of consecutive reads performed. read clkout read a[22:0] d[15:0] r/w mstrb ps /ds read read cycle trailing cycle read cycle leading cycle read cycle figure 3 ? 13. consecutive memory read bus sequence (n = 3 reads) functional overview 28 march 1999 ? revised may 2002 sprs095i figure 3 ? 14 shows the bus sequence for all memory writes and i/o writes. the accesses shown in figure 3 ? 14 always require 3 clkout cycles to complete. write clkout a[22:0] d[15:0] r/w ps /ds /is leading cycle write cycle mstrb or iostrb trailing cycle figure 3 ? 14. memory write and i/o write bus sequence the enhanced interface also provides the ability for dma transfers to extend to external memory. for more information on dma capability, see the dma sections that follow. the enhanced interface improves the low-power performance already present on the tms320c5000 ? dsp platform by switching off the internal clocks to the interface when it is not being used. this power-saving feature is automatic, requires no software setup, and causes no latency in the operation of the interface. additional features integrated in the enhanced interface are the ability to automatically insert bank-switching cycles when crossing 32k memory boundaries (see section 3.6.2), the ability to program up to 14 wait states through software (see section 3.6.1), and the ability to divide down clkout by a factor of 1, 2, 3, or 4. dividing down clkout provides an alternative to wait states when interfacing to slower external memory or peripheral devices. while inserting wait states extends the bus sequence during read or write accesses, it does not slow down the bus signal sequences at the beginning and the end of the access. dividing down clkout provides a method of slowing the entire bus sequence when necessary. the clkout divide-down factor is controlled through the divfct field in the bank-switching control register (bscr) (see table 3 ? 5). 3.12 dma controller the 5416 direct memory access (dma) controller transfers data between points in the memory map without intervention by the cpu. the dma allows movements of data to and from internal program/data memory, internal peripherals (such as the mcbsps), or external memory devices to occur in the background of cpu operation. the dma has six independent programmable channels, allowing six different contexts for dma operation. tms320c5000 is a trademark of texas instruments. functional overview 29 march 1999 ? revised may 2002 sprs095i 3.12.1 features the dma has the following features: ? the dma operates independently of the cpu. ? the dma has six channels. the dma can keep track of the contexts of six independent block transfers. ? the dma has higher priority than the cpu for both internal and external accesses. ? each channel has independently programmable priorities. ? each channel ? s source and destination address registers can have configurable indexes through memory on each read and write transfer, respectively. the address may remain constant, be post-incremented, be post-decremented, or be adjusted by a programmable value. ? each read or write internal transfer may be initialized by selected events. ? on completion of a half- or entire-block transfer, each dma channel may send an interrupt to the cpu. ? the dma can perform double-word internal transfers (a 32-bit transfer of two 16-bit words). 3.12.2 dma external access the 5416 dma supports external accesses to data, i/o, and extended program memory. these overlay pages are only visible to the dma controller. a maximum of two dma channels can be used for external memory accesses. the dma external accesses require a minimum of 8 cycles for external writes and a minimum of 11 cycles for external reads assuming the xio02 is in consecutive mode (consec = 1), wait state is set to two, and clkout is not divided (divfct = 00). the control of the bus is arbitrated between the cpu and the dma. while the dma or cpu is in control of the external bus, the other will be held-off via wait states until the current transfer is complete. the dma takes precedence over xio requests. ? only two channels are available for external accesses. (one for external reads and one for external writes.) ? single-word (16-bit) transfers are supported for external accesses. ? the dma does not support transfers from the peripherals to external memory. ? the dma does not support transfers from external memory to the peripherals. ? the dma does not support external-to-external transfers. ? the dma does not support synchronized external transfers. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 auto init dinm imod ct mod slaxs sind dms dlaxs dind dmd figure 3 ? 15. dma transfer mode control register (dmmcrn) these new bit fields were created to allow the user to define the space-select for the dma (internal/external). the functions of the dlaxs and slaxs bits are as follows: dlaxs(dmmcrn[5]) destination 0 = no external access (default internal) 1 = external access slaxs(dmmcrn[11]) source 0 = no external access (default internal) 1 = external access functional overview 30 march 1999 ? revised may 2002 sprs095i table 3 ? 9 lists the dmd bit values and their corresponding destination space. table 3 ? 9. dmd section of the dmmcrn register dmd destination space 00 ps 01 ds 10 i/o 11 reserved for the cpu external access, software can configure the memory cells to reside inside or outside the program address map. when the cells are mapped into program space, the device automatically accesses them when their addresses are within bounds. when the address generation logic generates an address outside its bounds, the device automatically generates an external access. 3.12.3 dma memory map the dma memory map, shown in figure 3 ? 16, allows the dma transfer to be unaffected by the status of the mp/mc , drom, and ovly bits. program hex slaxs = 0 dlaxs = 0 0000 005f 0060 3fff 4000 ffff 0x7fff 0x8000 hex 0x0000 7fff 8000 on-chip daram3 8k words 0xffff program page 0 page 2 ? 3 5fff 6000 on-chip daram2 8k words on-chip daram1 8k words on-chip daram0 8k words 1fff 2000 hex xx0000 xxffff page 4 ? 127 on-chip saram 0/4 8k words on-chip saram 1/5 8k words on-chip saram 2/6 8k words on-chip saram 3/7 8k words 0x9fff 0xa000 0xbfff 0xc000 0xdfff 0xe000 program reserved reserved reserved reserved program hex 010000 017fff page 1 reserved 018000 01ffff on-chip daram 4 8k words on-chip daram 5 8k words on-chip daram 6 8k words on-chip daram 7 8k words 019fff 01a000 01bfff 01c000 01dfff 01e000 figure 3 ? 16. on-chip dma memory map for program space (dlaxs = 0 and slaxs = 0) functional overview 31 march 1999 ? revised may 2002 sprs095i hex 0000 0030 0031 003f reserved 7fff 8000 0000 ffff 0032 0033 hex 0000 ffff on-chip saram0 8k words on-chip saram1 8k words on-chip saram2 8k words on-chip saram3 8k words 9fff a000 bfff c000 dfff e000 reserved drr22 drr12 dxr22 dxr12 rcera2 xcera2 recra0 xecra0 0034 0035 0036 0037 0038 0039 003a 003b 003c 0040 0041 0042 0043 drr21 drr11 dxr21 dxr11 rcera1 xcera1 0044 0049 004a 004b 004c 0020 0021 005f 0022 0023 drr20 drr10 dxr20 dxr10 0024 002f 001f 005f 0060 0080 on-chip daram3 8k words 1fff 2000 3fff 4000 5fff 6000 scratch-pad ram 007f on-chip daram2 8k words on-chip daram1 8k words on-chip daram0 8k words data space (see breakout) i/o space data space data space (0000 ? 005f) reserved reserved reserved reserved reserved reserved figure 3 ? 17. on-chip dma memory map for data and io space (dlaxs = 0 and slaxs = 0) 3.12.4 dma priority level each dma channel can be independently assigned high- or low-priority relative to each other. multiple dma channels that are assigned to the same priority level are handled in a round-robin manner. 3.12.5 dma source/destination address modification the dma provides flexible address-indexing modes for easy implementation of data management schemes such as autobuffering and circular buffers. source and destination addresses can be indexed separately and can be post-incremented, post-decremented, or post-incremented with a specified index offset. 3.12.6 dma in autoinitialization mode the dma can automatically reinitialize itself after completion of a block transfer. some of the dma registers can be preloaded for the next block transfer through the dma reload registers (dmgsa, dmgda, dmgcr, and dmgfr). autoinitialization allows: ? continuous operation: normally, the cpu would have to reinitialize the dma immediately after the completion of the current block transfers, but with the reload registers, it can reinitialize these values for the next block transfer any time after the current block transfer begins. ? repetitive operation: the cpu does not preload the reload register with new values for each block transfer but only loads them on the first block transfer. functional overview 32 march 1999 ? revised may 2002 sprs095i the 5416 dma has been enhanced to expand the dma reload register sets. each dma channel now has its own dma reload register set. for example, the dma reload register set for channel 0 has dmgsa0, dmgda0, dmgcr0, and dmgfr0 while dma channel 1 has dmgsa1, dmgda1, dmgcr1, and dmgfr1, etc. to utilize the additional dma reload registers, the autoix bit is added to the dmprec register as shown in figure 3 ? 18. 15 14131211109876543210 free autoix dprc[5:0] iosel de[5:0] figure 3 ? 18. dmprec register table 3 ? 10. dma reload register selection autoix dma reload register usage in auto init mode 0 (default) all dma channels use dmgsa0, dmgda0, dmgcr0 and dmgfr0 1 each dma channel uses its own set of reload registers 3.12.7 dma transfer counting the dma channel element count register (dmctrx) and the frame count register (dmfrcx) contain bit fields that represent the number of frames and the number of elements per frame to be transferred. ? frame count. this 8-bit value defines the total number of frames in the block transfer. the maximum number of frames per block transfer is 128 (frame count= 0ffh). the counter is decremented upon the last read transfer in a frame transfer. once the last frame is transferred, the selected 8-bit counter is reloaded with the dma global frame reload register (dmgfr) if the autoinit bit is set to 1. a frame count of 0 (default value) means the block transfer contains a single frame. ? element count. this 16-bit value defines the number of elements per frame. this counter is decremented after the read transfer of each element. the maximum number of elements per frame is 65536 (dmctrn = 0ffffh). in autoinitialization mode, once the last frame is transferred, the counter is reloaded with the dma global count reload register (dmgcr). 3.12.8 dma transfer in doubleword mode doubleword mode allows the dma to transfer 32-bit words in any index mode. in doubleword mode, two consecutive 16-bit transfers are initiated and the source and destination addresses are automatically updated following each transfer. in this mode, each 32-bit word is considered to be one element. 3.12.9 dma channel index registers the particular dma channel index register is selected by way of the sind and dind fields in the dma transfer mode control register (dmmcrn). unlike basic address adjustment, in conjunction with the frame index dmfri0 and dmfri1, the dma allows different adjustment amounts depending on whether or not the element transfer is the last in the current frame. the normal adjustment value (element index) is contained in the element index registers dmidx0 and dmidx1. the adjustment value (frame index) for the end of the frame, is determined by the selected dma frame index register, either dmfri0 or dmfri1. the element index and the frame index affect address adjustment as follows: ? element index: for all except the last transfer in the frame, the element index determines the amount to be added to the dma channel for the source/destination address register (dmsrcx/dmdstx) as selected by the sind/dind bits. ? frame index: if the transfer is the last in a frame, frame index is used for address adjustment as selected by the sind/dind bits. this occurs in both single-frame and multiframe transfers. functional overview 33 march 1999 ? revised may 2002 sprs095i 3.12.10 dma interrupts the ability of the dma to interrupt the cpu based on the status of the data transfer is configurable and is determined by the imod and dinm bits in the dma transfer mode control register (dmmcrn). the available modes are shown in table 3 ? 11. table 3 ? 11. dma interrupts mode dinm imod interrupt abu (non-decrement) 1 0 at full buffer only abu (non-decrement) 1 1 at half buffer and full buffer multiframe 1 0 at block transfer complete (dmctrn = dmsefcn[7:0] = 0) multiframe 1 1 at end of frame and end of block (dmctrn = 0) either 0 x no interrupt generated either 0 x no interrupt generated 3.12.11 dma controller synchronization events the transfers associated with each dma channel can be synchronized to one of several events. the dsyn bit field of the dmsefcn register selects the synchronization event for a channel. the list of possible events and the dsyn values are shown in table 3 ? 12. table 3 ? 12. dma synchronization events dsyn value dma synchronization event 0000b no synchronization used 0001b mcbsp0 receive event 0010b mcbsp0 transmit event 0011b mcbsp2 receive event 0100b mcbsp2 transmit event 0101b mcbsp1 receive event 0110b mcbsp1 transmit event 0111b mcbsp0 receive event ? abis mode 1000b mcbsp0 transmit event ? abis mode 1001b mcbsp2 receive event ? abis mode 1010b mcbsp2 transmit event ? abis mode 1011b mcbsp1 receive event ? abis mode 1100b mcbsp1 transmit event ? abis mode 1101b timer interrupt event 1110b external interrupt 3 1111b reserved the dma controller can generate a cpu interrupt for each of the six channels. however, due to a limit on the number of internal cpu interrupt inputs, channels 0, 1, 2, and 3 are multiplexed with other interrupt sources. dma channels 0, 1, 2, and 3 share an interrupt line with the receive and transmit portions of the mcbsp. when the 5416 is reset, the interrupts from these three dma channels are deselected. the intsel bit field in the dmprec register can be used to select these interrupts, as shown in table 3 ? 13. table 3 ? 13. dma channel interrupt selection intsel value imr/ifr[6] imr/ifr[7] imr/ifr[10] imr/ifr[11] 00b (reset) brint2 bxint2 brint1 bxint1 01b brint2 bxint2 dmac2 dmac3 10b dmac0 dmac1 dmac2 dmac3 11b reserved functional overview 34 march 1999 ? revised may 2002 sprs095i 3.13 general-purpose i/o pins in addition to the standard bio and xf pins, the 5416 has pins that can be configured for general-purpose i/o. these pins are: ? 18 mcbsp pins ? bclkx0/1/2, bclkr0/1/2, bdr0/1/2, bfsx0/1/2, bfsr0/1/2, bdx0/1/2 ? 8 hpi data pins ? hd0 ? hd7 the general-purpose i/o function of these pins is only available when the primary pin function is not required. 3.13.1 mcbsp pins as general-purpose i/o when the receive or transmit portion of a mcbsp is in reset, its pins can be configured as general-purpose inputs or outputs. for more details on this feature, see section 3.8. 3.13.2 hpi data pins as general-purpose i/o the 8-bit bidirectional data bus of the hpi can be used as general-purpose input/output (gpio) pins when the hpi is disabled (hpiena = 0) or when the hpi is used in hpi16 mode (hpi16 = 1). two memory-mapped registers are used to control the gpio function of the hpi data pins ? the general-purpose i/o control register (gpiocr) and the general-purpose i/o status register (gpiosr). the gpiocr is shown in figure 3 ? 19. reserved dir7 dir6 dir5 dir4 765 43 15 8 r/w-0 0 dir3 dir2 2 dir1 1 dir0 0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 figure 3 ? 19. general-purpose i/o control register (gpiocr) [mmr address 003ch] the direction bits (dirx) are used to configure hd0 ? hd7 as inputs or outputs. the status of the gpio pins can be monitored using the bits of the gpiosr. the gpiosr is shown in figure 3 ? 20. reserved io7 io6 io5 io4 765 43 15 8 r/w-0 0 io3 io2 2 io1 1 io0 0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 figure 3 ? 20. general-purpose i/o status register (gpiosr) [mmr address 003dh] functional overview 35 march 1999 ? revised may 2002 sprs095i 3.14 device id register a read-only memory-mapped register has been added to the 5416 to allow user application software to identify on which device the program is being executed. 15 8 4 3 r subsysid 0 rr chip revision 7 chip id bits 15:8: chip_id (hex code of 16) bits 7:4: chip_revision id bits 3:0: subsystem_id (0000b for single core device) figure 3 ? 21. device id register (csidr) [mmr address 003eh] 3.15 memory-mapped registers the 5416 has 27 memory-mapped cpu registers, which are mapped in data memory space address 0h to 1fh. each 5416 device also has a set of memory-mapped registers associated with peripherals. table 3 ? 14 gives a list of cpu memory-mapped registers (mmrs) available on 5416. table 3 ? 15 shows additional peripheral mmrs associated with the 5416. table 3 ? 14. cpu memory-mapped registers name address description name dec hex description imr 0 0 interrupt mask register ifr 1 1 interrupt flag register ? 2 ? 5 2 ? 5 reserved for testing st0 6 6 status register 0 st1 7 7 status register 1 al 8 8 accumulator a low word (15 ? 0) ah 9 9 accumulator a high word (31 ? 16) ag 10 a accumulator a guard bits (39 ? 32) bl 11 b accumulator b low word (15 ? 0) bh 12 c accumulator b high word (31 ? 16) bg 13 d accumulator b guard bits (39 ? 32) treg 14 e temporary register trn 15 f transition register ar0 16 10 auxiliary register 0 ar1 17 11 auxiliary register 1 ar2 18 12 auxiliary register 2 ar3 19 13 auxiliary register 3 ar4 20 14 auxiliary register 4 ar5 21 15 auxiliary register 5 ar6 22 16 auxiliary register 6 ar7 23 17 auxiliary register 7 sp 24 18 stack pointer register bk 25 19 circular buffer size register brc 26 1a block repeat counter functional overview 36 march 1999 ? revised may 2002 sprs095i table 3 ? 14. cpu memory-mapped registers (continued) name description address name description hex dec rsa 27 1b block repeat start address rea 28 1c block repeat end address pmst 29 1d processor mode status (pmst) register xpc 30 1e extended program page register ? 31 1f reserved functional overview 37 march 1999 ? revised may 2002 sprs095i table 3 ? 15. peripheral memory-mapped registers for each dsp subsystem name address description name dec hex description drr20 32 20 mcbsp 0 data receive register 2 drr10 33 21 mcbsp 0 data receive register 1 dxr20 34 22 mcbsp 0 data transmit register 2 dxr10 35 23 mcbsp 0 data transmit register 1 tim 36 24 timer register prd 37 25 timer period register tcr 38 26 timer control register ? 39 27 reserved swwsr 40 28 software wait-state register bscr 41 29 bank-switching control register ? 42 2a reserved swcr 43 2b software wait-state control register hpic 44 2c hpi control register (hmode = 0 only) ? 45 ? 47 2d ? 2f reserved drr22 48 30 mcbsp 2 data receive register 2 drr12 49 31 mcbsp 2 data receive register 1 dxr22 50 32 mcbsp 2 data transmit register 2 dxr12 51 33 mcbsp 2 data transmit register 1 spsa2 52 34 mcbsp 2 subbank address register ? spsd2 53 35 mcbsp 2 subbank data register ? ? 54 ? 55 36 ? 37 reserved spsa0 56 38 mcbsp 0 subbank address register ? spsd0 57 39 mcbsp 0 subbank data register ? ? 58 ? 59 3a ? 3b reserved gpiocr 60 3c general-purpose i/o control register gpiosr 61 3d general-purpose i/o status register csidr 62 3e device id register ? 63 3f reserved drr21 64 40 mcbsp 1 data receive register 2 drr11 65 41 mcbsp 1 data receive register 1 dxr21 66 42 mcbsp 1 data transmit register 2 dxr11 67 43 mcbsp 1 data transmit register 1 ? 68 ? 71 44 ? 47 reserved spsa1 72 48 mcbsp 1 subbank address register ? spsd1 73 49 mcbsp 1 subbank data register ? ? 74 ? 83 4a ? 53 reserved dmprec 84 54 dma priority and enable control register dmsa 85 55 dma subbank address register ? dmsdi 86 56 dma subbank data register with autoincrement ? dmsdn 87 57 dma subbank data register ? clkmd 88 58 clock mode register (clkmd) ? 89 ? 95 59 ? 5f reserved ? see table 3 ? 16 for a detailed description of the mcbsp control registers and their subaddresses. ? see table 3 ? 17 for a detailed description of the dma subbank addressed registers. functional overview 38 march 1999 ? revised may 2002 sprs095i 3.16 mcbsp control registers and subaddresses the control registers for the multichannel buffered serial port (mcbsp) are accessed using the subbank addressing scheme. this allows a set or subbank of registers to be accessed through a single memory location. the mcbsp subbank address register (spsa) is used as a pointer to select a particular register within the subbank. the mcbsp data register (spsdx) is used to access (read or write) the selected register. table 3 ? 16 shows the mcbsp control registers and their corresponding subaddresses. table 3 ? 16. mcbsp control registers and subaddresses mcbsp0 mcbsp1 mcbsp2 sub- description name address name address name address sub address description spcr10 39h spcr11 49h spcr12 35h 00h serial port control register 1 spcr20 39h spcr21 49h spcr22 35h 01h serial port control register 2 rcr10 39h rcr11 49h rcr12 35h 02h receive control register 1 rcr20 39h rcr21 49h rcr22 35h 03h receive control register 2 xcr10 39h xcr11 49h xcr12 35h 04h transmit control register 1 xcr20 39h xcr21 49h xcr22 35h 05h transmit control register 2 srgr10 39h srgr11 49h srgr12 35h 06h sample rate generator register 1 srgr20 39h srgr21 49h srgr22 35h 07h sample rate generator register 2 mcr10 39h mcr11 49h mcr12 35h 08h multichannel register 1 mcr20 39h mcr21 49h mcr22 35h 09h multichannel register 2 rcera0 39h rcera1 49h rcera2 35h 0ah receive channel enable register partition a rcerb0 39h rcerb1 49h rcera2 35h 0bh receive channel enable register partition b xcera0 39h xcera1 49h xcera2 35h 0ch transmit channel enable register partition a xcerb0 39h xcerb1 49h xcera2 35h 0dh transmit channel enable register partition b pcr0 39h pcr1 49h pcr2 35h 0eh pin control register rcerc0 39h rcerc1 49h rcerc2 35h 010h additional channel enable register for 128-channel selection rcerd0 39h rcerd1 49h rcerd2 35h 011h additional channel enable register for 128-channel selection xcerc0 39h xcerc1 49h xcerc2 35h 012h additional channel enable register for 128-channel selection xcerd0 39h xcerd1 49h xcerd2 35h 013h additional channel enable register for 128-channel selection rcere0 39h rcere1 49h rcere2 35h 014h additional channel enable register for 128-channel selection rcerf0 39h rcerf1 49h rcerf2 35h 015h additional channel enable register for 128-channel selection xcere0 39h xcere1 49h xcere2 35h 016h additional channel enable register for 128-channel selection xcerf0 39h xcerf1 49h xcerf2 35h 017h additional channel enable register for 128-channel selection rcerg0 39h rcerg1 49h rcerg2 35h 018h additional channel enable register for 128-channel selection rcerh0 39h rcerh1 49h rcerh2 35h 019h additional channel enable register for 128-channel selection xcerg0 39h xcerg1 49h xcerg2 35h 01ah additional channel enable register for 128-channel selection xcerh0 39h xcerh1 49h xcerh2 35h 01bh additional channel enable register for 128-channel selection functional overview 39 march 1999 ? revised may 2002 sprs095i 3.17 dma subbank addressed registers the direct memory access (dma) controller has several control registers associated with it. the main control register (dmprec) is a standard memory-mapped register. however, the other registers are accessed using the subbank addressing scheme. this allows a set or subbank of registers to be accessed through a single memory location. the dma subbank address (dmsa) register is used as a pointer to select a particular register within the subbank, while the dma subbank data (dmsd) register or the dma subbank data register with autoincrement (dmsdi) is used to access (read or write) the selected register. when the dmsdi register is used to access the subbank, the subbank address is automatically postincremented so that a subsequent access affects the next register within the subbank. this autoincrement feature is intended for efficient, successive accesses to several control registers. if the autoincrement feature is not required, the dmsdn register should be used to access the subbank. table 3 ? 17 shows the dma controller subbank addressed registers and their corresponding subaddresses. table 3 ? 17. dma subbank addressed registers name address sub- address description dmsrc0 56h/57h 00h dma channel 0 source address register dmdst0 56h/57h 01h dma channel 0 destination address register dmctr0 56h/57h 02h dma channel 0 element count register dmsfc0 56h/57h 03h dma channel 0 sync select and frame count register dmmcr0 56h/57h 04h dma channel 0 transfer mode control register dmsrc1 56h/57h 05h dma channel 1 source address register dmdst1 56h/57h 06h dma channel 1 destination address register dmctr1 56h/57h 07h dma channel 1 element count register dmsfc1 56h/57h 08h dma channel 1 sync select and frame count register dmmcr1 56h/57h 09h dma channel 1 transfer mode control register dmsrc2 56h/57h 0ah dma channel 2 source address register dmdst2 56h/57h 0bh dma channel 2 destination address register dmctr2 56h/57h 0ch dma channel 2 element count register dmsfc2 56h/57h 0dh dma channel 2 sync select and frame count register dmmcr2 56h/57h 0eh dma channel 2 transfer mode control register dmsrc3 56h/57h 0fh dma channel 3 source address register dmdst3 56h/57h 10h dma channel 3 destination address register dmctr3 56h/57h 11h dma channel 3 element count register dmsfc3 56h/57h 12h dma channel 3 sync select and frame count register dmmcr3 56h/57h 13h dma channel 3 transfer mode control register dmsrc4 56h/57h 14h dma channel 4 source address register dmdst4 56h/57h 15h dma channel 4 destination address register dmctr4 56h/57h 16h dma channel 4 element count register dmsfc4 56h/57h 17h dma channel 4 sync select and frame count register dmmcr4 56h/57h 18h dma channel 4 transfer mode control register dmsrc5 56h/57h 19h dma channel 5 source address register dmdst5 56h/57h 1ah dma channel 5 destination address register dmctr5 56h/57h 1bh dma channel 5 element count register dmsfc5 56h/57h 1ch dma channel 5 sync select and frame count register dmmcr5 56h/57h 1dh dma channel 5 transfer mode control register dmsrcp 56h/57h 1eh dma source program page address (common channel) functional overview 40 march 1999 ? revised may 2002 sprs095i table 3 ? 17. dma subbank addressed registers (continued) name description sub- address address dmdstp 56h/57h 1fh dma destination program page address (common channel) dmidx0 56h/57h 20h dma element index address register 0 dmidx1 56h/57h 21h dma element index address register 1 dmfri0 56h/57h 22h dma frame index register 0 dmfri1 56h/57h 23h dma frame index register 1 dmgsa0 56h/57h 24h dma global source address reload register, channel 0 dmgda0 56h/57h 25h dma global destination address reload register, channel 0 dmgcr0 56h/57h 26h dma global count reload register, channel 0 dmgfr0 56h/57h 27h dma global frame count reload register, channel 0 xsrcdp 56h/57h 28h dma extended source data page xdstdp 56h/57h 29h dma extended destination data page dmgsa1 56h/57h 2ah dma global source address reload register, channel 1 dmgda1 56h/57h 2bh dma global destination address reload register, channel 1 dmgcr1 56h/57h 2ch dma global count reload register, channel 1 dmgfr1 56h/57h 2dh dma global frame count reload register, channel 1 dmgsa2 56h/57h 2eh dma global source address reload register, channel 2 dmgda2 56h/57h 2fh dma global destination address reload register, channel 2 dmgcr2 56h/57h 30h dma global count reload register, channel 2 dmgfr2 56h/57h 31h dma global frame count reload register, channel 2 dmgsa3 56h/57h 32h dma global source address reload register, channel 3 dmgda3 56h/57h 33h dma global destination address reload register, channel 3 dmgcr3 56h/57h 34h dma global count reload register, channel 3 dmgfr3 56h/57h 35h dma global frame count reload register, channel 3 dmgsa4 56h/57h 36h dma global source address reload register, channel 4 dmgda4 56h/57h 37h dma global destination address reload register, channel 4 dmgcr4 56h/57h 38h dma global count reload register, channel 4 dmgfr4 56h/57h 39h dma global frame count reload register, channel 4 dmgsa5 56h/57h 3ah dma global source address reload register, channel 5 dmgda5 56h/57h 3bh dma global destination address reload register, channel 5 dmgcr5 56h/57h 3ch dma global count reload register, channel 5 dmgfr5 56h/57h 3dh dma global frame count reload register, channel 5 functional overview 41 march 1999 ? revised may 2002 sprs095i 3.18 interrupts vector-relative locations and priorities for all internal and external interrupts are shown in table 3 ? 18. table 3 ? 18. interrupt locations and priorities name location decimal hex priority function rs , sintr 0 00 1 reset (hardware and software reset) nmi , sint16 4 04 2 nonmaskable interrupt sint17 8 08 ? software interrupt #17 sint18 12 0c ? software interrupt #18 sint19 16 10 ? software interrupt #19 sint20 20 14 ? software interrupt #20 sint21 24 18 ? software interrupt #21 sint22 28 1c ? software interrupt #22 sint23 32 20 ? software interrupt #23 sint24 36 24 ? software interrupt #24 sint25 40 28 ? software interrupt #25 sint26 44 2c ? software interrupt #26 sint27 48 30 ? software interrupt #27 sint28 52 34 ? software interrupt #28 sint29 56 38 ? software interrupt #29 sint30 60 3c ? software interrupt #30 int0 , sint0 64 40 3 external user interrupt #0 int1 , sint1 68 44 4 external user interrupt #1 int2 , sint2 72 48 5 external user interrupt #2 tint, sint3 76 4c 6 timer interrupt rint0, sint4 80 50 7 mcbsp #0 receive interrupt (default) xint0, sint5 84 54 8 mcbsp #0 transmit interrupt (default) rint2, sint6 88 58 9 mcbsp #2 receive interrupt (default) xint2, sint7 92 5c 10 mcbsp #2 transmit interrupt (default) int3 , sint8 96 60 11 external user interrupt #3 hint , sint9 100 64 12 hpi interrupt rint1, sint10 104 68 13 mcbsp #1 receive interrupt (default) xint1, sint11 108 6c 14 mcbsp #1 transmit interrupt (default) dmac4,sint12 112 70 15 dma channel 4 (default) dmac5,sint13 116 74 16 dma channel 5 (default) reserved 120 ? 127 78 ? 7f ? reserved the bit layout of the interrupt flag register (ifr) and the interrupt mask register (imr) is shown in figure 3 ? 22. 15 ? 14131211109876543210 resvd dmac5 dmac4 xint1 rint1 hint int3 xint2 rint2 xint0 rint0 tint int2 int1 int0 figure 3 ? 22. ifr and imr documentation support 42 march 1999 ? revised may 2002 sprs095i 4 documentation support extensive documentation supports all tms320 ? dsp family of devices from product announcement through applications development. the following types of documentation are available to support the design and use of the c5000 ? platform of dsps: ? tms320c54x ? dsp functional overview (literature number spru307) ? device-specific data sheets ? complete user ? s guides ? development support tools ? hardware and software application reports the five-volume tms320c54x dsp reference set (literature number spru210) consists of: ? volume 1: cpu and peripherals (literature number spru131) ? volume 2: mnemonic instruction set (literature number spru172) ? volume 3: algebraic instruction set (literature number spru179) ? volume 4: applications guide (literature number spru173) ? volume 5: enhanced peripherals (literature number spru302) the reference set describes in detail the tms320c54x ? dsp products currently available and the hardware and software applications, including algorithms, for fixed-point tms320 ? dsp family of devices. a series of dsp textbooks is published by prentice-hall and john wiley & sons to support digital signal processing research and education. the tms320 ? dsp newsletter, details on signal processing , is published quarterly and distributed to update tms320 ? dsp customers on product information. information regarding ti dsp products is also available on the worldwide web at http://www.ti.com uniform resource locator (url). tms320 and c5000 are trademarks of texas instruments. electrical specifications 43 march 1999 ? revised may 2002 sprs095i 5 electrical specifications this section provides the absolute maximum ratings and the recommended operating conditions for the tms320vc5416 dsp. 5.1 absolute maximum ratings the list of absolute maximum ratings are specified over operating case temperature. stresses beyond those listed under ? absolute maximum ratings ? may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under section 5.2 is not implied. exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. all voltage values are with respect to dv ss . figure 5 ? 1 provides the test load circuit values for a 3.3-v device. supply voltage i/o range, dv dd ? 0.3 v to 4.0 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . supply voltage core range, cv dd ? 0.3 v to 2.0 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . input voltage range ? 0.3 v to 4.5 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . output voltage range ? 0.3 v to 4.5 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . operating case temperature range, t c ? 40 c to 100 c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . storage temperature range, t stg ? 55 c to 150 c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 recommended operating conditions min nom max unit dv dd device supply voltage, i/o 2.7 3.3 3.6 v cv dd device supply voltage, core (vc5416-160) 1.55 1.6 1.65 v cv dd device supply voltage, core (vc5416-120) 1.42 1.5 1.65 v dv ss , cv ss supply voltage, gnd 0 v v ih high-level input voltage, i/o rs , intn , nmi , x2/clkin, clkmdn, bclkrn, bclkxn, hcs , hds1 , hds2 , has , trst , bio , dn, an, hdn, tck dv dd = 2.7 v to 3.6 v 2.4 dv dd + 0.3 v all other inputs 2 dv dd + 0.3 v il low-level input voltage ? 0.3 0.8 v i oh high-level output current ? ? 8 ma i ol low-level output current ? 8 ma t c operating case temperature ? 40 100 c ? note that maximum output currents are dc values only. transient currents may exceed these values. electrical specifications 44 march 1999 ? revised may 2002 sprs095i 5.3 electrical characteristics over recommended operating case temperature range (unless otherwise noted) parameter test conditions min typ ? max unit v oh high level out p ut voltage ? dv dd = 2.7 v to 3 v, i oh = max 2.2 v v oh high-level output voltage ? dv dd = 3 v to 3.6 v, i oh = max 2.4 v v ol low-level output voltage ? i ol = max 0.4 v x2/clkin ? 40 40 a trst , hpi16 with internal pulldown ? 10 800 input current hpiena with internal pulldown, rs = 0 ? 10 400 i i input current (v i = dv ss to dv dd ) tms, tck, tdi, hpi with internal pullups ? 400 10 a i (v i = dv ss to dv dd ) a[17:0], d[15:0], hd[7:0] bus holders enabled, dv dd = max ? 275 275 a all other input-only pins ? 5 5 i ddc supply current, core cpu cv dd = 1.6 v, f x = 160 , ? t c = 25 c 60 # ma i ddp supply current, pins dv dd = 3.0 v, f x = 160 mhz, ? t c = 25 c 40 || ma sl t idle2 pll 1 mode, 20 mhz input 2 i dd supply current, standb y idle3 divide-by-two t c = 25 c 1 ma dd standby idle3 divide by two mode, clkin stopped t c = 100 c 30 c i input capacitance 5 pf c o output capacitance 5 pf ? all values are typical unless otherwise specified. ? all input and output voltage levels except rs , int0 ? int3 , nmi , x2/clkin, clkmd1 ? clkmd3, bclkrn, bclkxn, hcs , has , hds1 , hds2 , bio , tck, trst , dn, an, hdn are lvttl-compatible. hpi input signals except for hpiena and hpi16, when hpiena = 0. ? clock mode: pll 1 with external source # this value was obtained with 50% usage of mac and 50% usage of nop instructions. actual operating current varies with program b eing executed. || this value was obtained with single-cycle external writes, clkoff = 0 and load = 15 pf. for more details on how this calculatio n is performed, refer to the calculation of tms320lc54x power dissipation application report (literature number spra164). v il(min) v i v il(max) or v ih(min) v i v ih(max) tester pin electronics v load i ol c t i oh output under test 50 ? where: i ol = 1.5 ma (all outputs) i oh = 300 a (all outputs) v load = 1.5 v c t = 20-pf typical load circuit capacitance figure 5 ? 1. 3.3-v test load circuit electrical specifications 45 march 1999 ? revised may 2002 sprs095i 5.4 package thermal resistance characteristics table 5 ? 1 provides the estimated thermal resistance characteristics for the recommended package types used on the tms320vc5416 dsp. table 5 ? 1. thermal resistance characteristics parameter ggu package pge package unit r ja 38 56 c/w r jc 5 5 c/w 5.5 timing parameter symbology timing parameter symbols used in the timing requirements and switching characteristics tables are created in accordance with jedec standard 100. to shorten the symbols, some of the pin names and other related terminology have been abbreviated as follows: lowercase subscripts and their meanings: letters and symbols and their meanings: a access time h high c cycle time (period) l low d delay time v valid dis disable time z high impedance en enable time f fall time h hold time r rise time su setup time t transition time v valid time w pulse duration (width) x unknown, changing, or don ? t care level 5.6 internal oscillator with external crystal the internal oscillator is enabled by selecting the appropriate clock mode at reset (this is device-dependent; see section 3.10) and connecting a crystal or ceramic resonator across x1 and x2/clkin. the cpu clock frequency is one-half, one-fourth, or a multiple of the oscillator frequency. the multiply ratio is determined by the bit settings in the clkmd register. the crystal should be in fundamental-mode operation, and parallel resonant, with an effective series resistance of 30 ? maximum and power dissipation of 1 mw. the connection of the required circuit, consisting of the crystal and two load capacitors, is shown in figure 5 ? 2. the load capacitors, c 1 and c 2 , should be chosen such that the equation below is satisfied. c l (recommended value of 10 pf) in the equation is the load specified for the crystal. c l c 1 c 2 ( c 1 c 2 ) table 5 ? 2. input clock frequency characteristics min max unit f x input clock frequency 10 ? 20 ? mhz ? this device utilizes a fully static design and therefore can operate with t c(ci) approaching . the device is characterized at frequencies approaching 0 hz ? it is recommended that the pll multiply by n clocking option be used for maximum frequency operation. electrical specifications 46 march 1999 ? revised may 2002 sprs095i x1 x2/clkin c1 c2 crystal figure 5 ? 2. internal divide-by-two clock option with external crystal 5.7 clock options the frequency of the reference clock provided at the clkin pin can be divided by a factor of two or four or multiplied by one of several values to generate the internal machine cycle. 5.7.1 divide-by-two and divide-by-four clock options the frequency of the reference clock provided at the x2/clkin pin can be divided by a factor of two or four to generate the internal machine cycle. the selection of the clock mode is described in section 3.10. when an external clock source is used, the frequency injected must conform to specifications listed in table 5 ? 4. an external frequency source can be used by applying an input clock to x2/clkin with x1 left unconnected. table 5 ? 3 shows the configuration options for the clkmd pins that generate the external divide-by-2 or divide-by-4 clock option. table 5 ? 3. clock mode pin settings for the divide-by-2 and by divide-by-4 clock options clkmd1 clkmd2 clkmd3 clock mode clkmd1 clkmd2 clkmd3 clock mode 0 0 0 1/2, pll disabled 1 0 1 1/4, pll disabled 1 1 1 1/2, pll disabled electrical specifications 47 march 1999 ? revised may 2002 sprs095i table 5 ? 4 and table 5 ? 5 assume testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 3). table 5 ? 4. divide-by-2 and divide-by-4 clock options timing requirements 5416-120 5416-160 unit min max unit t c(ci) cycle time, x2/clkin 20 ns t f(ci) fall time, x2/clkin 4 ns t r(ci) rise time, x2/clkin 4 ns t w(cil) pulse duration, x2/clkin low 4 ns t w(cih) pulse duration, x2/clkin high 4 ns table 5 ? 5. divide-by-2 and divide-by-4 clock options switching characteristics parameter 5416-120 5416-160 unit parameter min typ max min typ max unit t c(co) cycle time, clkout 8.33 ? ? 6.25 ? ? ns t d(cih-co) delay time, x2/clkin high to clkout high/low 4 7 11 4 7 11 ns t f(co) fall time, clkout 1 1 ns t r(co) rise time, clkout 1 1 ns t w(col) pulse duration, clkout low h ? 2 h h + 1 h ? 2 h h + 1 ns t w(coh) pulse duration, clkout high h ? 2 h h + 1 h ? 2 h h + 1 ns ? it is recommended that the pll clocking option be used for maximum frequency operation. ? this device utilizes a fully static design and therefore can operate with t c(ci) approaching . the device is characterized at frequencies approaching 0 hz. t r(co) t f(co) clkout x2/clkin t w(col) t d(cih-co) t f(ci) t r(ci) t c(co) t c(ci) t w(coh) t w(cih) t w(cil) note a: the clkout timing in this diagram assumes the clkout divide factor (divfct field in the bscr) is configured as 00 (clkou t not divided). divfct is configured as clkout divided-by-4 mode following reset. figure 5 ? 3. external divide-by-two clock timing electrical specifications 48 march 1999 ? revised may 2002 sprs095i 5.7.2 multiply-by-n clock option (pll enabled) the frequency of the reference clock provided at the x2/clkin pin can be multiplied by a factor of n to generate the internal machine cycle. the selection of the clock mode and the value of n is described in section 3.10. following reset, the software pll can be programmed for the desired multiplication factor. refer to the tms320c54x dsp reference set, volume 1: cpu and peripherals (literature number spru131) for detailed information on programming the pll. when an external clock source is used, the external frequency injected must conform to specifications listed in table 5 ? 6. table 5 ? 6 and table 5 ? 7 assume testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 4). table 5 ? 6. multiply-by-n clock option timing requirements 5416-120 5416-160 unit min max unit integer pll multiplier n (n = 1 ? 15) ? 20 200 t c ( ci ) cycle time, x2/clkin pll multiplier n = x.5 ? 20 100 ns t c(ci) cycle time, x2/clkin pll multiplier n = x.25, x.75 ? 20 50 ns t f(ci) fall time, x2/clkin 4 ns t r(ci) rise time, x2/clkin 4 ns t w(cil) pulse duration, x2/clkin low 4 ns t w(cih) pulse duration, x2/clkin high 4 ns ? n is the multiplication factor. table 5 ? 7. multiply-by-n clock option switching characteristics parameter 5416-120 5416-160 unit parameter min typ max min typ max unit t c(co) cycle time, clkout 8.33 6.25 ns t d(ci-co) delay time, x2/clkin high/low to clkout high/low 4 7 11 4 7 11 ns t f(co) fall time, clkout 2 2 ns t r(co) rise time, clkout 2 2 ns t w(col) pulse duration, clkout low h ? 2 h h + 1 h ? 2 h h + 1 ns t w(coh) pulse duration, clkout high h ? 2 h h + 1 h ? 2 h h + 1 ns t p transitory phase, pll lock-up time 30 30 s t c(co) t c(ci) t w(coh) t f(co) t r(co) t f(ci) x2/clkin clkout t d(ci-co) t w(col) t r(ci) t p unstable t w(cih) t w(cil) note a: the clkout timing in this diagram assumes the clkout divide factor (divfct field in the bscr) is configured as 00 (clkou t not divided). divfct is configured as clkout divided-by-4 mode following reset. figure 5 ? 4. multiply-by-one clock timing electrical specifications 49 march 1999 ? revised may 2002 sprs095i 5.8 memory and parallel i/o interface timing 5.8.1 memory read external memory reads can be performed in consecutive or nonconsecutive mode under control of the consec bit in the bscr. table 5 ? 8 and table 5 ? 9 assume testing over recommended operating conditions with mstrb = 0 and h = 0.5t c(co) (see figure 5 ? 5 and figure 5 ? 6). table 5 ? 8. memory read timing requirements 5416-120 5416-160 unit min max unit t a(a)m1 access time, read data access from address valid, first read access ? 4h ? 9 ns t a(a)m2 access time, read data access from address valid, consecutive read accesses ? 2h ? 9 ns t su(d)r setup time, read data valid before clkout low 7 ns t h(d)r hold time, read data valid after clkout low 0 ns ? address,r/w , ps , ds , and is timings are all included in timings referenced as address. table 5 ? 9. memory read switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(clkl-a) delay time, clkout low to address valid ? ? 1 4 ns t d(clkl-msl) delay time, clkout low to mstrb low ? 1 4 ns t d(clkl-msh) delay time, clkout low to mstrb high 0 4 ns ? address,r/w , ps , ds , and is timings are all included in timings referenced as address. electrical specifications 50 march 1999 ? revised may 2002 sprs095i t d(clkl-msh) t h(d)r t d(clkl-a) clkout a[22:0] ? d[15:0] r/w ? mstrb ps /ds ? t su(d)r t a(a)m1 t d(clkl-msl) ? address,r/w , ps , ds , and is timings are all included in timings referenced as address. figure 5 ? 5. nonconsecutive mode memory reads electrical specifications 51 march 1999 ? revised may 2002 sprs095i t d(clkl-msh) t h(d)r t d(clkl-a) a[22:0] ? t d(clkl-msl) d[15:0] r/w ? mstrb clkout ps /ds ? t h(d)r t a(a)m1 t a(a)m2 t su(d)r t su(d)r t d(clkl-a) t d(clkl-a) ? address,r/w , ps , ds , and is timings are all included in timings referenced as address. figure 5 ? 6. consecutive mode memory reads electrical specifications 52 march 1999 ? revised may 2002 sprs095i 5.8.2 memory write table 5 ? 10 assumes testing over recommended operating conditions with mstrb = 0 and h = 0.5t c(co) (see figure 5 ? 7). table 5 ? 10. memory write switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(clkl-a) delay time, clkout low to address valid ? ? 1 4 ns t su(a)msl setup time, address valid before mstrb low ? 2h ? 3 ns t d(clkl-d)w delay time, clkout low to data valid ? 1 4 ns t su(d)msh setup time, data valid before mstrb high 2h ? 4 2h + 6 ns t h(d)msh hold time, data valid after mstrb high 2h ? 5 2h + 6 ns t d(clkl-msl) delay time, clkout low to mstrb low ? 1 4 ns t w(sl)ms pulse duration, mstrb low 2h ? 2 ns t d(clkl-msh) delay time, clkout low to mstrb high 0 4 ns ? address, r/w , ps , ds , and is timings are all included in timings referenced as address. t su(d)msh t d(clkl-msh) t d(clkl-a) clkout a[22:0] ? d[15:0] mstrb r/w ? ps /ds ? t d(clkl-d)w t d(clkl-msl) t su(a)msl t h(d)msh t w(sl)ms t d(clkl-a) ? address, r/w , ps , ds , and is timings are all included in timings referenced as address. figure 5 ? 7. memory write (mstrb = 0) electrical specifications 53 march 1999 ? revised may 2002 sprs095i 5.8.3 i/o read table 5 ? 11 and table 5 ? 12 assume testing over recommended operating conditions, iostrb = 0, and h = 0.5t c(co) (see figure 5 ? 8). table 5 ? 11. i/o read timing requirements 5416-120 5416-160 unit min max unit t a(a)m1 access time, read data access from address valid, first read access ? 4h ? 9 ns t su(d)r setup time, read data valid before clkout low 7 ns t h(d)r hold time, read data valid after clkout low 0 ns ? address r/w , ps , ds , and is timings are included in timings referenced as address. table 5 ? 12. i/o read switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(clkl-a) delay time, clkout low to address valid ? ? 1 4 ns t d(clkl-iosl) delay time, clkout low to iostrb low ? 1 4 ns t d(clkl-iosh) delay time, clkout low to iostrb high 0 4 ns ? address r/w, ps , ds , and is timings are included in timings referenced as address. t d(clkl-iosh) t h(d)r t d(clkl-a) clkout a[22:0] ? d[15:0] iostrb r/w ? is ? t d(clkl-iosl) t su(d)r t a(a)m1 t d(clkl-a) ? address, r/w , ps , ds , and is timings are all included in timings referenced as address. figure 5 ? 8. parallel i/o port read (iostrb = 0) electrical specifications 54 march 1999 ? revised may 2002 sprs095i 5.8.4 i/o write table 5 ? 13 assumes testing over recommended operating conditions, iostrb = 0, and h = 0.5t c(co) (see figure 5 ? 9). table 5 ? 13. i/o write switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(clkl-a) delay time, clkout low to address valid ? ? 1 4 ns t su(a)iosl setup time, address valid before iostrb low ? 2h ? 3 ns t d(clkl-d)w delay time, clkout low to write data valid ? 1 4 ns t su(d)iosh setup time, data valid before iostrb high 2h ? 4 2h + 6 ns t h(d)iosh hold time, data valid after io strb high 2h ? 5 2h + 6 ns t d(clkl-iosl) delay time, clkout low to iostrb low ? 1 4 ns t w(sl)ios pulse duration, iostrb low 2h ? 2 ns t d(clkl-iosh) delay time, clkout low to iostrb high 0 4 ns ? address r/w , ps , ds , and is timings are included in timings referenced as address. t d(clkl-d)w clkout a[22:0] ? d[15:0] iostrb r/w ? is ? t d(clkl-d)w t su(d)iosh t h(d)iosh t su(a)iosl t w(sl)ios t d(clkl-iosl) t d(clkl-iosh) t d(clkl-a) t d(clkl-a) ? address, r/w , ps , ds , and is timings are all included in timings referenced as address. figure 5 ? 9. parallel i/o port write (iostrb = 0) electrical specifications 55 march 1999 ? revised may 2002 sprs095i 5.9 ready timing for externally generated wait states table 5 ? 14 and table 5 ? 15 assume testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 10, figure 5 ? 11, figure 5 ? 12, and figure 5 ? 13). table 5 ? 14. ready timing requirements for externally generated wait states ? 5416-120 5416-160 unit min max unit t su(rdy) setup time, ready before clkout low 7 ns t h(rdy) hold time, ready after clkout low 0 ns t v(rdy)mstrb valid time, ready after mstrb low ? 4h ? 4 ns t h(rdy)mstrb hold time, ready after mstrb low ? 4h ns t v(rdy)iostrb valid time, ready after iostrb low ? 4h ? 4 ns t h(rdy)iostrb hold time, ready after iostrb low ? 4h ns ? the hardware wait states can be used only in conjunction with the software wait states to extend the bus cycles. to generate wa it states by ready, at least two software wait states must be programmed. ready is not sampled until the completion of the internal software wait s tates. ? these timings are included for reference only. the critical timings for ready are those referenced to clkout. table 5 ? 15. ready switching characteristics for externally generated wait states ? parameter 5416-120 5416-160 unit parameter min max unit t d(mscl) delay time, clkout low to msc low 0 4 ns t d(msch) delay time, clkout low to msc high 0 4 ns ? the hardware wait states can be used only in conjunction with the software wait states to extend the bus cycles. to generate wa it states by ready, at least two software wait states must be programmed. ready is not sampled until the completion of the internal software wait s tates. electrical specifications 56 march 1999 ? revised may 2002 sprs095i t su(rdy) t d(msch) clkout a[22:0] ready msc mstrb wait states generated internally trailing cycle wait states generated by ready leading cycle t v(rdy)mstrb t h(rdy) t h(rdy)mstrb t d(mscl) figure 5 ? 10. memory read with externally generated wait states t su(rdy) t d(mscl) clkout a[22:0] d[15:0] ready msc mstrb t d(msch) t v(rdy)mstrb t h(rdy)mstrb t h(rdy) trailing cycle wait states generated by ready wait states generated internally leading cycle figure 5 ? 11. memory write with externally generated wait states electrical specifications 57 march 1999 ? revised may 2002 sprs095i t su(rdy) t d(msch) t d(mscl) clkout a[22:0] ready msc iostrb wait states generated internally trailing cycle wait states generated by ready leading cycle t v(rdy)iostrb t h(rdy) t h(rdy)iostrb figure 5 ? 12. i/o read with externally generated wait states t su(rdy) t d(mscl) clkout a[22:0] d[15:0] ready msc iostrb t d(msch) t v(rdy)iostrb t h(rdy)iostrb t h(rdy) trailing cycle wait states generated by ready wait states generated internally leading cycle figure 5 ? 13. i/o write with externally generated wait states electrical specifications 58 march 1999 ? revised may 2002 sprs095i 5.10 hold and holda timings table 5 ? 16 and table 5 ? 17 assume testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 14). table 5 ? 16. hold and holda timing requirements 5416-120 5416-160 unit min max unit t w(hold) pulse duration, hold low duration 4h+8 ns t su(hold) setup time, hold before clkout low ? 7 ns table 5 ? 17. hold and holda switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t dis(clkl-a) disable time, address, ps , ds , is high impedance from clkout low 3 ns t dis(clkl-rw) disable time, r/w high impedance from clkout low 3 ns t dis(clkl-s) disable time, mstrb , iostrb high impedance from clkout low 3 ns t en(clkl-a) enable time, address, ps , ds , is valid from clkout low 2h+3 ns t en(clkl-rw) enable time, r/w enabled from clkout low 2h+3 ns t en(clkl-s) enable time, mstrb , iostrb enabled from clkout low 2 2h+3 ns t valid time, holda low after clkout low ? 1 4 ns t v(holda) valid time, holda high after clkout low ? 1 4 ns t w(holda) pulse duration, holda low duration 2h ? 3 ns ? this input can be driven from an asynchronous source, therefore, there are no specific timing requirements with respect to clko ut, however, if this timing is met, the input will be recognized on the clkout edge referenced. electrical specifications 59 march 1999 ? revised may 2002 sprs095i iostrb mstrb r/w d[15:0] ps , ds , is a[22:0] holda hold clkout t en(clkl ? s) t en(clkl ? s) t en(clkl ? rw) t dis(clkl ? s) t dis(clkl ? s) t dis(clkl ? rw) t dis(clkl ? a) t v(holda) t v(holda) t w(holda) t w(hold) t su(hold) t su(hold) t en(clkl ? a) figure 5 ? 14. hold and holda timings (hm = 1) electrical specifications 60 march 1999 ? revised may 2002 sprs095i 5.11 reset, bio , interrupt, and mp/mc timings table 5 ? 18 assumes testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 15, figure 5 ? 16, and figure 5 ? 17). table 5 ? 18. reset, bio , interrupt, and mp/mc timing requirements 5416-120 5416-160 unit min max unit t h(rs) hold time, rs after clkout low # 2 ns t h(bio) hold time, bio after clkout low # 4 ns t h(int) hold time, intn , nmi , after clkout low ? # 0 ns t h(mpmc) hold time, mp/mc after clkout low # 4 ns t w(rsl) pulse duration, rs low ? 4h+3 ns t w(bio)s pulse duration, bio low, synchronous 2h+3 ns t w(bio)a pulse duration, bio low, asynchronous 4h ns t w(inth)s pulse duration, intn , nmi high (synchronous) 2h+2 ns t w(inth)a pulse duration, intn , nmi high (asynchronous) 4h ns t w(intl)s pulse duration, intn , nmi low (synchronous) 2h+2 ns t w(intl)a pulse duration, intn , nmi low (asynchronous) 4h ns t w(intl)wkp pulse duration, intn , nmi low for idle2/idle3 wakeup 7 ns t su(rs) setup time, rs before x2/clkin low ? # 3 ns t su(bio) setup time, bio before clkout low # 7 ns t su(int) setup time, intn , nmi , rs before clkout low # 7 ns t su(mpmc) setup time, mp/mc before clkout low # 5 ns ? the external interrupts (int0 ? int3 , nmi ) are synchronized to the core cpu by way of a two-flip-flop synchronizer that samples these inputs with consecutive falling edges of clkout. the input to the interrupt pins is required to represent a 1 ? 0 ? 0 sequence at the timing that is corresponding to three clkouts sampling sequence. ? if the pll mode is selected, then at power-on sequence, or at wakeup from idle3, rs must be held low for at least 50 s to ensure synchronization and lock-in of the pll. note that rs may cause a change in clock frequency, therefore changing the value of h. ? the diagram assumes clock mode is divide-by-2 and the clkout divide factor is set to no-divide mode (divfct=00 field in the bsc r). # these inputs can be driven from an asynchronous source, therefore, there are no specific timing requirements with respect to cl kout, however, if setup and hold timings are met, the input will be recognized on the clkout edge referenced. bio clkout rs , intn , nmi x2/clkin t h(bio) t h(rs) t su(int) t w(bio)s t su(bio) t w(rsl) t su(rs) electrical specifications 61 march 1999 ? revised may 2002 sprs095i figure 5 ? 15. reset and bio timings intn , nmi clkout t h(int) t su(int) t su(int) t w(intl)a t w(inth)a figure 5 ? 16. interrupt timing mp/mc rs clkout t su(mpmc) t h(mpmc) figure 5 ? 17. mp/mc timing electrical specifications 62 march 1999 ? revised may 2002 sprs095i 5.12 instruction acquisition (iaq ) and interrupt acknowledge (iack ) timings table 5 ? 19 assumes testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 18). table 5 ? 19. instruction acquisition (iaq ) and interrupt acknowledge (iack ) switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(clkl-iaql) delay time, clkout low to iaq low ? 1 4 ns t d(clkl-iaqh) delay time, clkout low to iaq high ? 1 4 ns t d(clkl-iackl) delay time, clkout low to iack low ? 1 4 ns t d(clkl-iackh) delay time, clkout low to iack high ? 1 4 ns t d(clkl-a) delay time, clkout low to address valid ? 1 4 ns t w(iaql) pulse duration, iaq low 2h ? 2 ns t w(iackl) pulse duration, iack low 2h ? 2 ns iack iaq a[22:0] clkout t d(clkl ? a) t w(iackl) t d(clkl ? iackl) t w(iaql) t d(clkl ? iaql) t d(clkl ? iackh) t d(clkl ? iaqh) t d(clkl ? a) figure 5 ? 18. instruction acquisition (iaq ) and interrupt acknowledge (iack ) timings electrical specifications 63 march 1999 ? revised may 2002 sprs095i 5.13 external flag (xf) and tout timings table 5 ? 20 assumes testing over recommended operating conditions and h = 0.5t c(co) (see figure 5 ? 19 and figure 5 ? 20). table 5 ? 20. external flag (xf) and tout switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t delay time, clkout low to xf high ? 1 4 ns t d(xf) delay time, clkout low to xf low ? 1 4 ns t d(touth) delay time, clkout low to tout high ? 1 4 ns t d(toutl) delay time, clkout low to tout low ? 1 4 ns t w(tout) pulse duration, tout 2h ? 4 ns xf clkout t d(xf) figure 5 ? 19. external flag (xf) timing tout clkout t w(tout) t d(toutl) t d(touth) figure 5 ? 20. tout timing electrical specifications 64 march 1999 ? revised may 2002 sprs095i 5.14 multichannel buffered serial port (mcbsp) timing 5.14.1 mcbsp transmit and receive timings table 5 ? 21 and table 5 ? 22 assume testing over recommended operating conditions (see figure 5 ? 21 and figure 5 ? 22). table 5 ? 21. mcbsp t ransmit and receive timing requirements ? 5416-120 5416-160 unit min max unit t c(bckrx) cycle time, bclkr/x ? bclkr/x ext 4p ns t w(bckrx) pulse duration, bclkr/x high or bclkr/x low ? bclkr/x ext 2p ? 1 ns t setup time external bfsr high before bclkr low bclkr int 8 ns t su(bfrh-bckrl) setup time, external bfsr high before bclkr low bclkr ext 1 ns t hold time external bfsr high after bclkr low bclkr int 1 ns t h(bckrl-bfrh) hold time, external bfsr high after bclkr low bclkr ext 2 ns t setup time bdr valid before bclkr low bclkr int 7 ns t su(bdrv-bckrl) setup time, bdr valid before bclkr low bclkr ext 1 ns t hold time bdr valid after bclkr low bclkr int 2 ns t h(bckrl-bdrv) hold time, bdr valid after bclkr low bclkr ext 3 ns t setup time external bfsx high before bclkx low bclkx int 8 ns t su(bfxh-bckxl) setup time, external bfsx high before bclkx low bclkx ext 1 ns t hold time external bfsx high after bclkx low bclkx int 0 ns t h(bckxl-bfxh) hold time, external bfsx high after bclkx low bclkx ext 2 ns t r(bckrx) rise time, bckr/x bclkr/x ext 6 ns t f(bckrx) fall time, bckr/x bclkr/x ext 6 ns ? clkrp = clkxp = fsrp = fsxp = 0. if the polarity of any of the signals is inverted, then the timing references of that signal a re also inverted. ? note that in some cases, for example when driving another 54x device mcbsp, maximum serial port clocking rates may not be achie vable at maximum cpu clock frequency due to transmitted data timings and corresponding receive timing requirements. a separate detailed timing analysis should be performed for each specific mcbsp interface. p = 0.5 * processor clock electrical specifications 65 march 1999 ? revised may 2002 sprs095i table 5 ? 22. mcbsp transmit and receive switching characteristics ? parameter 5416-120 5416-160 unit parameter min max unit t c(bckrx) cycle time, bclkr/x # bclkr/x int 4p ? ns t w(bckrxh) pulse duration, bclkr/x high # bclkr/x int d ? 1 d + 1 ns t w(bckrxl) pulse duration, bclkr/x low # bclkr/x int c ? 1 c + 1 ns t delay time bclkr high to internal bfsr valid bclkr int ? 3 3 ns t d(bckrh-bfrv) delay time, bclkr high to internal bfsr valid bclkr ext 0 6 ns t delay time bclkx high to internal bfsx valid bclkx int ? 1 5 ns t d(bckxh-bfxv) delay time, bclkx high to internal bfsx valid bclkx ext 3 11 ns t disable time, bclkx hi g h to bdx hi g h impedance followin g last data bclkx int 6 ns t dis(bckxh-bdxhz) disable time , bclkx high to bdx high im edance following last data bit of transfer bclkx ext 10 ns dxena 0 bclkx int ? 1 ? 10 t delay time bclkx high to bdx valid dxena = 0 bclkx ext 3 20 ns t d(bckxh-bdxv) delay time, bclkx high to bdx valid dxena 1 bclkx int ? 1 ? 20 ns dxena = 1 bclkx ext 3 30 t delay time, bfsx hi g h to bdx valid bfsx int ? 1 ? 7 ns t d(bfxh-bdxv) delay time , bfsx high to bdx valid only applies when in data delay 0 (xdatdly = 00b) mode bfsx ext 3 11 ns ? clkrp = clkxp = fsrp = fsxp = 0. if the polarity of any of the signals is inverted, then the timing references of that signal a re also inverted. ? p = 0.5 * processor clock t = bclkrx period = (1 + clkgdv) * 2p c = bclkrx low pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2) * 2p when clkgdv is even d = bclkrx high pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2 + 1) * 2p when clkgdv is even ? minimum delay times also represent minimum output hold times. # note that in some cases, for example when driving another 54x device mcbsp, maximum serial port clocking rates may not be achie vable at maximum cpu clock frequency due to transmitted data timings and corresponding receive timing requirements. a separate detailed timing analysis should be performed for each specific mcbsp interface. bit(n-1) (n-2) (n-3) bclkr bfsr (int) bfsr (ext) bdr t w(bckrxh) t c(bckrx) t w(bckrxl) t d(bckrh-bfrv) t d(bckrh-bfrv) t su(bfrh-bckrl) t h(bckrl-bfrh) t h(bckrl-bdrv) t su(bdrv-bckrl) t r(bckrx) t f(bckrx) figure 5 ? 21. mcbsp receive timings electrical specifications 66 march 1999 ? revised may 2002 sprs095i bit 0 bit(n-1) (n-2) (n-3) bclkx bfsx (int) bfsx (ext) bfsx bdx t c(bckrx) t w(bckrxh) t w(bckrxl) t d(bckxh-bfxv) t su(bfxh-bckxl) t h(bckxl-bfxh) t dis(bckxh-bdxhz) t d(bfxh-bdxv) t d(bckxh-bdxv) t d(bckxh-bdxv) (xdatdly=00b) t r(bckrx) t f(bckrx) figure 5 ? 22. mcbsp transmit timings electrical specifications 67 march 1999 ? revised may 2002 sprs095i 5.14.2 mcbsp general-purpose i/o timing table 5 ? 23 and table 5 ? 24 assume testing over recommended operating conditions (see figure 5 ? 23). table 5 ? 23. mcbsp general-purpose i/o timing requirements 5416-120 5416-160 unit min max unit t su(bgpio-coh) setup time, bgpiox input mode before clkout high ? 7 ns t h(coh-bgpio) hold time, bgpiox input mode after clkout high ? 0 ns ? bgpiox refers to bclkrx, bfsrx, bdrx, bclkxx, or bfsxx when configured as a general-purpose input. table 5 ? 24. mcbsp general-purpose i/o switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(coh-bgpio) delay time, clkout high to bgpiox output mode ? ? 2 4 ns ? bgpiox refers to bclkrx, bfsrx, bclkxx, bfsxx, or bdxx when configured as a general-purpose output. t su(bgpio-coh) t h(coh-bgpio) t d(coh-bgpio) clkout bgpiox input mode ? bgpiox output mode ? ? bgpiox refers to bclkrx, bfsrx, bdrx, bclkxx, or bfsxx when configured as a general-purpose input. ? bgpiox refers to bclkrx, bfsrx, bclkxx, bfsxx, or bdxx when configured as a general-purpose output. figure 5 ? 23. mcbsp general-purpose i/o timings electrical specifications 68 march 1999 ? revised may 2002 sprs095i 5.14.3 mcbsp as spi master or slave timing table 5 ? 25 to table 5 ? 32 assume testing over recommended operating conditions (see figure 5 ? 24, figure 5 ? 25, figure 5 ? 26, and figure 5 ? 27). table 5 ? 25. mcbsp as spi master or slave timing requirements (clkstp = 10b, clkxp = 0) ? 5416-120 5416-160 unit master slave unit min max min max t su(bdrv-bckxl) setup time, bdr valid before bclkx low 12 2 ? 6p ? ns t h(bckxl-bdrv) hold time, bdr valid after bclkx low 4 5 + 12p ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock table 5 ? 26. mcbsp as spi master or slave switching characteristics (clkstp = 10b, clkxp = 0) ? parameter 5416-120 5416-160 unit parameter master slave unit min max min max t h(bckxl-bfxl) hold time, bfsx low after bclkx low ? t ? 3 t + 4 ns t d(bfxl-bckxh) delay time, bfsx low to bclkx high # c ? 4 c + 3 ns t d(bckxh-bdxv) delay time, bclkx high to bdx valid ? 4 5 6p + 2 ? 10p + 17 ? ns t dis(bckxl-bdxhz) disable time, bdx high impedance following last data bit from bclkx low c ? 2 c + 3 ns t dis(bfxh-bdxhz) disable time, bdx high impedance following last data bit from bfsx high 2p ? 4 ? 6p + 17 ? ns t d(bfxl-bdxv) delay time, bfsx low to bdx valid 4p+ 2 ? 8p + 17 ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock t = bclkx period = (1 + clkgdv) * 2p c = bclkx low pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2) * 2p when clkgdv is even ? fsrp = fsxp = 1. as a spi master, bfsx is inverted to provide active-low slave-enable output. as a slave, the active-low signal input on bfsx and bfsr is inverted before being used internally. clkxm = fsxm = 1, clkrm = fsrm = 0 for master mcbsp clkxm = clkrm = fsxm = fsrm = 0 for slave mcbsp # bfsx should be low before the rising edge of clock to enable slave devices and then begin a spi transfer at the rising edge of the master clock (bclkx). bit 0 bit(n-1) (n-2) (n-3) (n-4) bit 0 bit(n-1) (n-2) (n-3) (n-4) bclkx bfsx bdx bdr t su(bdrv-bclxl) t d(bckxh-bdxv) t h(bckxl-bdrv) t dis(bfxh-bdxhz) t dis(bckxl-bdxhz) t h(bckxl-bfxl) t d(bfxl-bdxv) t d(bfxl-bckxh) lsb msb figure 5 ? 24. mcbsp timing as spi master or slave: clkstp = 10b, clkxp = 0 electrical specifications 69 march 1999 ? revised may 2002 sprs095i table 5 ? 27. mcbsp as spi master or slave timing requirements (clkstp = 11b, clkxp = 0) ? 5416-120 5416-160 unit master slave unit min max min max t su(bdrv-bckxl) setup time, bdr valid before bclkx low 12 2 ? 6p ? ns t h(bckxh-bdrv) hold time, bdr valid after bclkx high 4 5 + 12p ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock table 5 ? 28. mcbsp as spi master or slave switching characteristics (clkstp = 11b, clkxp = 0) ? parameter 5416-120 5416-160 unit parameter master slave unit min max min max t h(bckxl-bfxl) hold time, bfsx low after bclkx low ? c ? 3 c + 4 ns t d(bfxl-bckxh) delay time, bfsx low to bclkx high # t ? 4 t + 3 ns t d(bckxl-bdxv) delay time, bclkx low to bdx valid ? 4 5 6p + 2 ? 10p + 17 ? ns t dis(bckxl-bdxhz) disable time, bdx high impedance following last data bit from bclkx low ? 2 4 6p ? 4 ? 10p + 17 ? ns t d(bfxl-bdxv) delay time, bfsx low to bdx valid d ? 2 d + 4 4p + 2 ? 8p + 17 ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock t = bclkx period = (1 + clkgdv) * 2p c = bclkx low pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2) * 2p when clkgdv is even d = bclkx high pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2 + 1) * 2p when clkgdv is even ? fsrp = fsxp = 1. as a spi master, bfsx is inverted to provide active-low slave-enable output. as a slave, the active-low signal input on bfsx and bfsr is inverted before being used internally. clkxm = fsxm = 1, clkrm = fsrm = 0 for master mcbsp clkxm = clkrm = fsxm = fsrm = 0 for slave mcbsp # bfsx should be low before the rising edge of clock to enable slave devices and then begin a spi transfer at the rising edge of the master clock (bclkx). bit 0 bit(n-1) (n-2) (n-3) (n-4) bit 0 bit(n-1) (n-2) (n-3) (n-4) bclkx bfsx bdx bdr t d(bfxl-bckxh) t dis(bckxl-bdxhz) t d(bckxl-bdxv) t h(bckxh-bdrv) t su(bdrv-bckxl) t d(bfxl-bdxv) t h(bckxl-bfxl) lsb msb figure 5 ? 25. mcbsp timing as spi master or slave: clkstp = 11b, clkxp = 0 electrical specifications 70 march 1999 ? revised may 2002 sprs095i table 5 ? 29. mcbsp as spi master or slave timing requirements (clkstp = 10b, clkxp = 1) ? 5416-120 5416-160 unit master slave unit min max min max t su(bdrv-bckxh) setup time, bdr valid before bclkx high 12 2 ? 6p ? ns t h(bckxh-bdrv) hold time, bdr valid after bclkx high 4 5 + 12p ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock table 5 ? 30. mcbsp as spi master or slave switching characteristics (clkstp = 10b, clkxp = 1) ? parameter 5416-120 5416-160 unit parameter master slave unit min max min max t h(bckxh-bfxl) hold time, bfsx low after bclkx high ? t ? 3 t + 4 ns t d(bfxl-bckxl) delay time, bfsx low to bclkx low # d ? 4 d + 3 ns t d(bckxl-bdxv) delay time, bclkx low to bdx valid ? 4 5 6p + 2 ? 10p + 17 ? ns t dis(bckxh-bdxhz) disable time, bdx high impedance following last data bit from bclkx high d ? 2 d + 3 ns t dis(bfxh-bdxhz) disable time, bdx high impedance following last data bit from bfsx high 2p ? 4 ? 6p + 17 ? ns t d(bfxl-bdxv) delay time, bfsx low to bdx valid 4p + 2 ? 8p + 17 ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock t = bclkx period = (1 + clkgdv) * 2p d = bclkx high pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2 + 1) * 2p when clkgdv is even ? fsrp = fsxp = 1. as a spi master, bfsx is inverted to provide active-low slave-enable output. as a slave, the active-low signal input on bfsx and bfsr is inverted before being used internally. clkxm = fsxm = 1, clkrm = fsrm = 0 for master mcbsp clkxm = clkrm = fsxm = fsrm = 0 for slave mcbsp # bfsx should be low before the rising edge of clock to enable slave devices and then begin a spi transfer at the rising edge of the master clock (bclkx). t h(bckxh-bdrv) t dis(bfxh-bdxhz) t dis(bckxh-bdxhz) bit 0 bit(n-1) (n-2) (n-3) (n-4) bit 0 bit(n-1) (n-2) (n-3) (n-4) bclkx bfsx bdx bdr t d(bfxl-bckxl) t d(bfxl-bdxv) t d(bckxl-bdxv) t su(bdrv-bckxh) t h(bckxh-bfxl) lsb msb figure 5 ? 26. mcbsp timing as spi master or slave: clkstp = 10b, clkxp = 1 electrical specifications 71 march 1999 ? revised may 2002 sprs095i table 5 ? 31. mcbsp as spi master or slave timing requirements (clkstp = 11b, clkxp = 1) ? 5416-120 5416-160 unit master slave unit min max min max t su(bdrv-bckxl) setup time, bdr valid before bclkx low 12 2 ? 6p ? ns t h(bckxl-bdrv) hold time, bdr valid after bclkx low 4 5 + 12p ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock table 5 ? 32. mcbsp as spi master or slave switching characteristics (clkstp = 11b, clkxp = 1) ? parameter 5416-120 5416-160 unit parameter master slave unit min max min max t h(bckxh-bfxl) hold time, bfsx low after bclkx high ? d ? 3 d + 4 ns t d(bfxl-bckxl) delay time, bfsx low to bclkx low # t ? 4 t + 3 ns t d(bckxh-bdxv) delay time, bclkx high to bdx valid ? 4 5 6p + 2 ? 10p + 17 ? ns t dis(bckxh-bdxhz) disable time, bdx high impedance following last data bit from bclkx high ? 2 4 6p ? 4 ? 10p + 17 ? ns t d(bfxl-bdxv) delay time, bfsx low to bdx valid c ? 2 c + 4 4p + 2 ? 8p + 17 ? ns ? for all spi slave modes, clkg is programmed as 1/2 of the cpu clock by setting clksm = clkgdv = 1. ? p = 0.5 * processor clock t = bclkx period = (1 + clkgdv) * 2p c = bclkx low pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2) * 2p when clkgdv is even d = bclkx high pulse width = t/2 when clkgdv is odd or zero and = (clkgdv/2 + 1) * 2p when clkgdv is even ? fsrp = fsxp = 1. as a spi master, bfsx is inverted to provide active-low slave-enable output. as a slave, the active-low signal input on bfsx and bfsr is inverted before being used internally. clkxm = fsxm = 1, clkrm = fsrm = 0 for master mcbsp clkxm = clkrm = fsxm = fsrm = 0 for slave mcbsp # bfsx should be low before the rising edge of clock to enable slave devices and then begin a spi transfer at the rising edge of the master clock (bclkx). bit 0 bit(n-1) (n-2) (n-3) (n-4) bit 0 bit(n-1) (n-2) (n-3) (n-4) bclkx bfsx bdx bdr t d(bfxl-bckxl) t su(bdrv-bckxl) t dis(bckxh-bdxhz) t h(bckxh-bfxl) t d(bckxh-bdxv) t h(bckxl-bdrv) t d(bfxl-bdxv) lsb msb figure 5 ? 27. mcbsp timing as spi master or slave: clkstp = 11b, clkxp = 1 electrical specifications 72 march 1999 ? revised may 2002 sprs095i 5.15 host-port interface timing 5.15.1 hpi8 mode table 5 ? 33 and table 5 ? 34 assume testing over recommended operating conditions and p = 0.5 * processor clock (see figure 5 ? 28 through figure 5 ? 31). in the following tables, ds refers to the logical or of hcs , hds1 , and hds2 . hd refers to any of the hpi data bus pins (hd0, hd1, hd2, etc.) . had stands for hcntl0, hcntl1, and hr/w . table 5 ? 33. hpi8 mode timing requirements 5416-120 5416-160 unit min max unit t su(hbv-dsl) setup time, hbil valid before ds low (when has is not used), or hbil valid before has low 6 ns t h(dsl-hbv) hold time, hbil valid after ds low (when has is not used), or hbil valid after has low 3 ns t su(hsl-dsl) setup time, has low before ds low 8 ns t w(dsl) pulse duration, ds low 13 ns t w(dsh) pulse duration, ds high 7 ns t su(hdv-dsh) setup time, hd valid before ds high, hpi write 3 ns t h(dsh-hdv)w hold time, hd valid after ds high, hpi write 2 ns t su(gpio-coh) setup time, hdx input valid before clkout high, hdx configured as general-purpose input 3 ns t h(gpio-coh) hold time, hdx input valid before clkout high, hdx configured as general-purpose input 0 ns electrical specifications 73 march 1999 ? revised may 2002 sprs095i table 5 ? 34. hpi8 mode switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t en(dsl-hd) enable time, hd driven from ds low 0 10 ns case 1a: memory accesses when dmac is active in 32-bit mode and t w(dsh) < 36p ? 36p+10 ? t w(dsh) case 1b: memory accesses when dmac is active in 32-bit mode and t w(dsh) 36p ? 10 case 1c: memory accesses when dmac is active in 16-bit mode and t w(dsh) < i8p ? 18p+10 ? t w(dsh) t d(dsl-hdv1) delay time, ds low to hd valid for first byte of an hpi read case 1d: memory accesses when dmac is active in 16-bit mode and t w(dsh) i8p ? 10 ns case 2a: memory accesses when dmac is inactive and t w(dsh) < 10p ? 10p+10 ? t w(dsh) case 2b: memory accesses when dmac is inactive and t w(dsh) 10p ? 10 case 3: register accesses 10 t d(dsl-hdv2) delay time, ds low to hd valid for second byte of an hpi read 10 ns t h(dsh-hdv)r hold time, hd valid after ds high, for a hpi read 0 ns t v(hyh-hdv) valid time, hd valid after hrdy high 2 ns t d(dsh-hyl) delay time, ds high to hrdy low ? 8 ns case 1a: memory accesses when dmac is active in 16-bit mode ? 18p+6 t d(dsh-hyh) delay time, ds high to hrdy hi g h ? case 1b: memory accesses when dmac is active in 32-bit mode ? 36p+6 ns () high ? case 2: memory accesses when dmac is inactive ? 10p+6 case 3: write accesses to hpic register 6p+6 t d(hcs-hrdy) delay time, hcs low/high to hrdy low/high 6 ns t d(coh-hyh) delay time, clkout high to hrdy high 9 ns t d(coh-htx) delay time, clkout high to hint change 6 ns t d(coh-gpio) delay time, clkout high to hdx output change. hdx is configured as a general-purpose output 5 ns ? dmac stands for direct memory access controller (dmac). the hpi8 shares the internal dma bus with the dmac, thus hpi8 access ti mes are affected by dmac activity. ? the hrdy output is always high when the hcs input is high, regardless of ds timings. this timing applies when writing a one to the dspint bit or hint bit of the hpic register. all other writes to the hpic occur asynchronously, and do not cause hrdy to be deasserted. electrical specifications 74 march 1999 ? revised may 2002 sprs095i valid t su(hsl-dsl) valid t su(hbv-dsl) t su(hbv-dsl) ? has had ? hbil t h(dsl-hbv) t h(dsl-hbv) ? t d(dsl-hdv1) t v(hyh-hdv) valid valid valid t d(coh-hyh) valid t d(dsh-hyl) t h(dsh-hdv)w valid t su(hdv-dsh) t d(dsl-hdv2) t en(dsl-hd) hcs hds hrdy hd read valid hd write processor clk second byte first byte second byte t d(dsh-hyh) t h(dsh-hdv)r t w(dsl) t w(dsh) ? had refers to hcntl0, hcntl1, and hr/w . ? when has is not used (has always high) figure 5 ? 28. using hds to control accesses (hcs always low) electrical specifications 75 march 1999 ? revised may 2002 sprs095i second byte first byte second byte t d(hcs-hrdy) hcs hds hrdy figure 5 ? 29. using hcs to control accesses hint clkout t d(coh-htx) figure 5 ? 30. hint timing gpiox input mode ? clkout t h(gpio-coh) gpiox output mode ? t su(gpio-coh) t d(coh-gpio) clkout ? gpiox refers to hd0, hd1, hd2, ...hd7, when the hd bus is configured for general-purpose input/output (i/o). figure 5 ? 31. gpiox ? timings electrical specifications 76 march 1999 ? revised may 2002 sprs095i 5.15.2 hpi16 mode table 5 ? 35 and table 5 ? 36 assume testing over recommended operating conditions and p = 0.5 * processor clock (see figure 5 ? 32 through figure 5 ? 34). in the following tables, ds refers to the logical or of hcs , hds1 , and hds2, and hd refers to any of the hpi data bus pins (hd0, hd1, hd2, etc.). these timings are shown assuming that hds is the signal controlling the transfer. see the tms320c54x dsp reference set, volume 5: enhanced peripherals (literature number spru302) for addition information. table 5 ? 35. hpi16 mode timing requirements 5416-120 5416-160 unit min max unit t su(hbv-dsl) setup time, hr/w valid before ds falling edge 6 ns t h(dsl-hbv) hold time, hr/w valid after ds falling edge 5 ns t su(hav-dsh) setup time, address valid before ds rising edge (write) 5 ns t su(hav-dsl) setup time, address valid before ds falling edge (read) ? (4p ? 6) ns t h(dsh-hav) hold time, address valid after ds rising edge 1 ns t w(dsl) pulse duration, ds low 30 ns t w(dsh) pulse duration, ds high 10 ns memory accesses with no dma activity reads 10p + 30 memory accesses with no dma activity. writes 10p + 10 t c y cle time, ds risin g ed g e to memory accesses with 16 bit dma activity reads 16p + 30 ns t c(dsh-dsh) cycle time , ds rising edge to next ds rising edge memory accesses with 16-bit dma activity. writes 16p + 10 ns memory accesses with 32 bit dma activity reads 24p + 30 memory accesses with 32-bit dma activity. writes 24p + 10 t su(hdv-dsh)w setup time, hd valid before ds rising edge 8 ns t h(dsh-hdv)w hold time, hd valid after ds rising edge, write 2 ns electrical specifications 77 march 1999 ? revised may 2002 sprs095i table 5 ? 36. hpi16 mode switching characteristics parameter 5416-120 5416-160 unit parameter min max unit t d(dsl-hdd) delay time, ds low to hd driven 0 10 case 1a: memory accesses initiated immediately following a write when dmac is active in 32-bit mode and t w(dsh) was < 26p 48p + 20 ? t w(dsh) case 1b: memory access not immediately following a write when dmac is active in 32-bit mode 24p + 20 t delay time, ds low to hd valid for first case 1c: memory accesses initiated immediately following a write when dmac is active in 16-bit mode and t w(dsh) was < 18p 32p + 20 ? t w(dsh) ns t d(dsl-hdv1) valid for first word of an hpi read case 1d: memory accesses not immediately following a write when dmac is active in 16-bit mode 16p + 20 ns hpi read case 2a: memory accesses initiated immediately following a write when dmac is inactive and t w(dsh) was < 10p 20p + 20 ? t w(dsh) case 2b: memory accesses not immediately following a write when dmac is inactive 10p + 20 delay time memory writes when no dma is active 10p + 5 t d ( dsh-hyh ) d e l ay ti me, ds high to memory writes with one or more 16-bit dma channels active 16p + 5 ns d(dsh hyh) ds high to hrdy high memory writes with one or more 32-bit dma channels active 24p + 5 t v(hyh-hdv) valid time, hd valid after hrdy high 7 ns t h(dsh-hdv)r hold time, hd valid after ds rising edge, read 1 6 ns t d(coh-hyh) delay time, clkout rising edge to hrdy high 5 ns t d(dsl-hyl) delay time, ds low to hrdy low 12 ns t d(dsh ? hyl) delay time, ds high to hrdy low 12 ns electrical specifications 78 march 1999 ? revised may 2002 sprs095i t c(dsh ? dsh) t w(dsh) t su(hbv ? dsl) t w(dsl) t h(dsl ? hbv) t su(hav ? dsl) t h(dsh ? hdv)r t v(hyh ? hdv) t d(dsl ? hyl) hcs hds hr/w ha[17:0] hd[15:0] hrdy valid address data valid address t su(hbv ? dsl) t h(dsl ? hbv) t d(dsl ? hdv1) data t d(dsl ? hdv1) t v(hyh ? hdv) t h(dsh ? hdv)r t d(dsl ? hyl) t h(dsh ? hav) t d(dsl ? hdd) t d(dsl ? hdd) figure 5 ? 32. nonmultiplexed read timings electrical specifications 79 march 1999 ? revised may 2002 sprs095i hrdy hd[15:0] ha[17:0] hr/w hds hcs data valid data valid t h(dsh ? hdv)w t su(hdv ? dsh)w valid address valid address t h(dsh ? hav) t h(dsl ? hbv) t w(dsl) t su(hbv ? dsl) t w(dsh) t c(dsh ? dsh) t d(dsh ? hyh) t d(dsh ? hyl) t su(hav ? dsh) t h(dsl ? hbv) t su(hbv ? dsl) t h(dsh ? hdv)w t su(hdv ? dsh)w figure 5 ? 33. nonmultiplexed write timings clkout hrdy t d(coh ? hyh) figure 5 ? 34. hrdy relative to clkout mechanical data 80 march 1999 ? revised may 2002 sprs095i 6 mechanical data 6.1 ball grid array mechanical data ggu (s-pbga-n144) plastic ball grid array 0,80 0,10 m 0,08 0,80 9,60 typ 12 13 10 11 89 67 n m k l j h 4 2 3 f e c b d a 1 g 5 seating plane 4073221-2/b 08/00 sq 11,90 12,10 0,95 0,35 0,45 0,45 0,55 0,85 0,08 0,12 1,40 max notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice. c. microstar bga ? configuration figure 6 ? 1. tms320vc5416 144-ball microstar bga ? plastic ball grid array package microstar bga is a trademark of texas instruments. mechanical data 81 march 1999 ? revised may 2002 sprs095i 6.2 low-profile quad flatpack mechanical data pge (s-pqfp-g144) plastic quad flatpack 4040147 / c 10/96 0,27 72 0,17 37 73 0,13 nom 0,25 0,75 0,45 0,05 min 36 seating plane gage plane 108 109 144 sq sq 22,20 21,80 1 19,80 17,50 typ 20,20 1,35 1,45 1,60 max m 0,08 0 ? 7 0,08 0,50 notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice. c. falls within jedec mo-136 figure 6 ? 2. tms320vc5416 144-pin low-profile quad flatpack (pge) |
Price & Availability of TMS320VC5416GGU-160
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |