Part Number Hot Search : 
MC146818 TSGB02 TSGB02 N60B3 00110 C25P05Q 15B10 1S25J0
Product Description
Full Text Search
 

To Download DSPD367DB1 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  order number: dsp56367um/d revision 1.5, august 2003 ? motorola, inc., 2003. all rights reserved. dsp56367 24-bit digital signal processor users manual
this document (and other documents) can be viewed on the world wide web at http://e-www.motorola.com/webapp/sps/prod_cat this manual is one of a set of three documents. you need the following manuals to have complete product information: family manual users manual technical data. once ? is a trademark of motorola, inc. ? motorola inc. 2003 rev. 1.5; published 08/03 order this document by dsp56367um/d motorola reserves the right to make changes without further notice to any products herein to improve reliability, function, or design. motorola does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights nor the rights of others. motorola products are not authorized for use as components in life support devices or systems intended for surgical implant into the body or intended to support or sustain life. buyer agrees to notify motorola of any such intended end use whereupon motorola shall determine availability and suitability of its product or products for the use intended. motorola and b are registered trademarks of motorola, inc. motorola, inc. is an equal employment opportunity /affirmative action employer.
paragraph page number number motorola dsp56367 24-bit digital signal processor users manual toc-1 table of contents chapter 1 dsp56367 overview 1.1 introduction ................................................................................................................ ......1-2 1.2 dsp56300 core description ...........................................................................................1-3 1.3 dsp56367 audio processor architecture........................................................................1-4 1.4 dsp56300 core functional blocks .................................................................................1-5 1.4.1 data alu .................................................................................................................. ..1-5 1.4.1.1 data alu registers...............................................................................................1-5 1.4.1.2 multiplier-accumulator (mac) ...............................................................................1-6 1.4.2 address generation unit (agu) .................................................................................1-6 1.4.3 program control unit (pcu).......................................................................................1-6 1.4.4 internal buses ............................................................................................................ 1-7 1.4.5 direct memory access (dma) ....................................................................................1-8 1.4.6 pll-based clock oscillator ........................................................................................1-8 1.4.7 jtag tap and once module....................................................................................1-8 1.4.8 on-chip memory ........................................................................................................1-9 1.4.9 off-chip memory expansion ......................................................................................1-9 1.5 peripheral overview ......................................................................................................1-1 0 1.5.1 host interface (hdi08)..............................................................................................1-10 1.5.2 general purpose input/output (gpio) .....................................................................1-11 1.5.3 triple timer (tec)....................................................................................................1-11 1.5.4 enhanced serial audio interface (esai) ..................................................................1-11 1.5.5 enhanced serial audio interface 1 (esai_1) ...........................................................1-11 1.5.6 serial host interface (shi)........................................................................................1-12 1.5.7 digital audio transmitter (dax) ...............................................................................1-12 chapter 2 signal / connection descriptions 1 2.1 signal groupings ............................................................................................................ .2-2 2.1.1 power requirements ..................................................................................................2-3 2.2 power ....................................................................................................................... .......2-5 2.3 ground...................................................................................................................... .......2-6 2.4 clock and pll ............................................................................................................... ..2-7 2.5 external memory expansion port (port a).......................................................................2-7 2.5.1 external address bus .................................................................................................2-7 2.5.2 external data bus.......................................................................................................2- 8 2.5.3 external bus control...................................................................................................2-8 2.6 interrupt and mode control............................................................................................2-10 2.7 parallel host interface (hdi08)......................................................................................2-12 2.8 serial host interface ......................................................................................................2 -18 2.9 enhanced serial audio interface ...................................................................................2-21 2.10 enhanced serial audio interface_1 ...............................................................................2-27 2.11 spdif transmitter digital audio interface ....................................................................2-30 2.12 timer ...................................................................................................................... .......2-31 2.13 jtag/once interface....................................................................................................2-31
paragraph page number number table of contents toc-2 dsp56367 24-bit digital signal processor users manual motorola chapter 3 specifications 3.1 introduction ................................................................................................................ ..... 3-2 3.2 maximum ratings ........................................................................................................... 3- 2 3.3 thermal characteristics .................................................................................................. 3-3 3.4 dc electrical characteristics .......................................................................................... 3-4 3.5 ac electrical characteristics........................................................................................... 3-5 3.6 internal clocks ............................................................................................................. ... 3-6 3.7 external clock operation ................................................................................................ 3-7 3.8 phase lock loop (pll) characteristics.......................................................................... 3-8 3.9 reset, stop, mode select, and interrupt timing ............................................................. 3-9 3.10 external memory expansion port (port a) .................................................................... 3-16 3.10.1 sram timing........................................................................................................... 3-1 6 3.10.2 dram timing .......................................................................................................... 3-20 3.10.3 arbitration timings................................................................................................... 3-3 7 3.11 parallel host interface (hdi08) timing ......................................................................... 3-38 3.12 serial host interface spi protocol timing..................................................................... 3-46 3.13 serial host interface (shi) i 2 c protocol timing............................................................ 3-53 3.13.1 programming the serial clock ................................................................................. 3-55 3.14 enhanced serial audio interface timing....................................................................... 3-57 3.15 digital audio transmitter timing................................................................................... 3-62 3.16 timer timing ............................................................................................................... .. 3-63 3.17 gpio timing ................................................................................................................ .3-63 3.18 jtag timing ................................................................................................................ .3-65 chapter 4 design considerations 4.1 thermal design considerations...................................................................................... 4-2 4.2 electrical design considerations .................................................................................... 4-3 4.3 power consumption considerations............................................................................... 4-4 4.4 pll performance issues................................................................................................. 4-5 4.4.1 input (extal) jitter requirements............................................................................ 4-5 chapter 5 memory configuration 5.1 data and program memory maps................................................................................... 5-2 5.1.1 reserved memory spaces ...................................................................................... 5-13 5.1.2 program rom area reserved for motorola use ..................................................... 5-13 5.1.3 bootstrap rom ........................................................................................................ 5-13 5.1.4 dynamic memory configuration switching .............................................................. 5-13 5.1.5 external memory support ........................................................................................ 5-14 5.2 internal i/o memory map .............................................................................................. 5-15
motorola dsp56367 24-bit digital signal processor users manual toc-3 paragraph page number number table of contents chapter 6 core configuration 6.1 introduction ................................................................................................................ ......6-2 6.2 operating mode register (omr).....................................................................................6-3 6.2.1 asynchronous bus arbitration enable (abe) - bit 13 .................................................6-3 6.2.2 address attribute priority disable (apd) - bit 14........................................................6-3 6.2.3 address tracing enable (ate) - bit 15 ......................................................................6-4 6.2.4 patch enable (pen) - bit 23 .......................................................................................6-4 6.3 operating modes ............................................................................................................. 6-6 6.4 interrupt priority registers ...............................................................................................6 -8 6.5 dma request sources ..................................................................................................6-14 6.6 pll initialization .......................................................................................................... ..6-15 6.6.1 pll multiplication factor (mf0-mf11) .....................................................................6-15 6.6.2 pll pre-divider factor (pd0-pd3) ..........................................................................6-15 6.6.3 crystal range bit (xtlr) .........................................................................................6-15 6.6.4 xtal disable bit (xtld)..........................................................................................6-15 6.7 device identification (id) register .................................................................................6-15 6.8 jtag identification (id) register ...................................................................................6-16 6.9 jtag boundary scan register (bsr)...........................................................................6-16 chapter 7 general purpose input / output 7.1 introduction ................................................................................................................ ......7-2 7.2 programming model ........................................................................................................7-2 7.2.1 port b signals and registers......................................................................................7-2 7.2.2 port c signals and registers .....................................................................................7-2 7.2.3 port d signals and registers .....................................................................................7-2 7.2.4 port e signals and registers......................................................................................7-3 7.2.5 timer/event counter signals......................................................................................7-3 chapter 8 host interface (hdi08) 8.1 introduction ................................................................................................................ ......8-2 8.2 hdi08 features .............................................................................................................. .8-2 8.2.1 interface - dsp side ...................................................................................................8-2 8.2.2 interface - host side...................................................................................................8- 3 8.3 hdi08 host port signals..................................................................................................8-4 8.4 hdi08 block diagram ......................................................................................................8-5 8.5 hdi08 C dsp-side programmers model ........................................................................8-7 8.5.1 host receive data register (horx) .........................................................................8-7 8.5.2 host transmit data register (hotx).........................................................................8-8 8.5.3 host control register (hcr) ......................................................................................8-8 8.5.3.1 hcr host receive interrupt enable (hrie) bit 0 .................................................8-8 8.5.3.2 hcr host transmit interrupt enable (htie) bit 1.................................................8-8 8.5.3.3 hcr host command interrupt enable (hcie) bit 2..............................................8-8 8.5.3.4 hcr host flags 2,3 (hf2,hf3) bits 3-4 ...............................................................8-9 8.5.3.5 hcr host dma mode control bits (hdm0, hdm1, hdm2) bits 5-7 ....................8-9
paragraph page number number table of contents toc-4 dsp56367 24-bit digital signal processor users manual motorola 8.5.3.6 hcr reserved bits 8-15 .................................................................................... 8-11 8.5.4 host status register (hsr)..................................................................................... 8-11 8.5.4.1 hsr host receive data full (hrdf) bit 0......................................................... 8-11 8.5.4.2 hsr host transmit data empty (htde) bit 1 ................................................... 8-12 8.5.4.3 hsr host command pending (hcp) bit 2......................................................... 8-12 8.5.4.4 hsr host flags 0,1 (hf0,hf1) bits 3-4............................................................. 8-12 8.5.4.5 hsr reserved bits 5-6, 8-15 ............................................................................. 8-12 8.5.4.6 hsr dma status (dma) bit 7 ............................................................................ 8-12 8.5.5 host base address register (hbar) ...................................................................... 8-13 8.5.5.1 hbar base address (ba[10:3]) bits 0-7............................................................ 8-13 8.5.5.2 hbar reserved bits 8-15 .................................................................................. 8-13 8.5.6 host port control register (hpcr) ......................................................................... 8-14 8.5.6.1 hpcr host gpio port enable (hgen) bit 0 ..................................................... 8-14 8.5.6.2 hpcr host address line 8 enable (ha8en) bit 1 ............................................ 8-14 8.5.6.3 hpcr host address line 9 enable (ha9en) bit 2 ............................................ 8-14 8.5.6.4 hpcr host chip select enable (hcsen) bit 3 ................................................. 8-14 8.5.6.5 hpcr host request enable (hren) bit 4......................................................... 8-15 8.5.6.6 hpcr host acknowledge enable (haen) bit 5................................................. 8-15 8.5.6.7 hpcr host enable (hen) bit 6.......................................................................... 8-15 8.5.6.8 hpcr reserved bit 7......................................................................................... 8-15 8.5.6.9 hpcr host request open drain (hrod) bit 8 ................................................. 8-15 8.5.6.10 hpcr host data strobe polarity (hdsp) bit 9 .................................................. 8-15 8.5.6.11 hpcr host address strobe polarity (hasp) bit 10........................................... 8-16 8.5.6.12 hpcr host multiplexed bus (hmux) bit 11....................................................... 8-16 8.5.6.13 hpcr host dual data strobe (hdds) bit 12..................................................... 8-16 8.5.6.14 hpcr host chip select polarity (hcsp) bit 13 ................................................. 8-17 8.5.6.15 hpcr host request polarity (hrp) bit 14 ........................................................ 8-17 8.5.6.16 hpcr host acknowledge polarity (hap) bit 15................................................. 8-17 8.5.7 data direction register (hddr)................................................................................ 8-17 8.5.8 host data register (hdr) ....................................................................................... 8-17 8.5.9 dsp-side registers after reset.............................................................................. 8-18 8.5.10 host interface dsp core interrupts ......................................................................... 8-19 8.6 hdi08 C external host programmers model................................................................ 8-20 8.6.1 interface control register (icr) .............................................................................. 8-22 8.6.1.1 icr receive request enable (rreq) bit 0....................................................... 8-22 8.6.1.2 icr transmit request enable (treq) bit 1 ...................................................... 8-22 8.6.1.3 icr double host request (hdrq) bit 2 ............................................................ 8-23 8.6.1.4 icr host flag 0 (hf0) bit 3................................................................................ 8-23 8.6.1.5 icr host flag 1 (hf1) bit 4................................................................................ 8-24 8.6.1.6 icr host little endian (hlend) bit 5 ................................................................ 8-24 8.6.1.7 icr host mode control (hm1 and hm0 bits) bits 5-6 ........................................ 8-24 8.6.1.8 icr initialize bit (init) bit 7................................................................................ 8-25 8.6.2 command vector register (cvr) ........................................................................... 8-26 8.6.2.1 cvr host vector (hv[6:0]) bits 0C6................................................................... 8-26 8.6.2.2 cvr host command bit (hc) bit 7 .................................................................... 8-26 8.6.3 interface status register (isr)................................................................................ 8-26 8.6.3.1 isr receive data register full (rxdf) bit 0 .................................................... 8-27 8.6.3.2 isr transmit data register empty (txde) bit 1 ............................................... 8-27 8.6.3.3 isr transmitter ready (trdy) bit 2.................................................................. 8-27 8.6.3.4 isr host flag 2 (hf2) bit 3................................................................................ 8-27
motorola dsp56367 24-bit digital signal processor users manual toc-5 paragraph page number number table of contents 8.6.3.5 isr host flag 3 (hf3) bit 4.................................................................................8-28 8.6.3.6 isr reserved bits 5-6.........................................................................................8-28 8.6.3.7 isr host request (hreq) bit 7..........................................................................8-28 8.6.4 interrupt vector register (ivr) .................................................................................8-28 8.6.5 receive byte registers (rxh:rxm:rxl) ................................................................8-29 8.6.6 transmit byte registers (txh:txm:txl) ................................................................8-29 8.6.7 host side registers after reset...............................................................................8-29 8.6.8 general purpose input/output (gpio) ..............................................................8-30 8.7 servicing the host interface .........................................................................................8-31 8.7.1 hdi08 host processor data transfer.......................................................................8-31 8.7.2 polling................................................................................................................... ....8-31 8.7.3 servicing interrupts...................................................................................................8-3 2 chapter 9 serial host interface 9.1 introduction ................................................................................................................ ......9-2 9.2 serial host interface internal architecture .......................................................................9-3 9.3 characteristics of the spi bus .......................................................................................9-4 9.4 shi clock generator .......................................................................................................9- 4 9.5 serial host interface programming model.......................................................................9-5 9.5.1 shi input/output shift register (iosr)host side...................................................9-7 9.5.2 shi host transmit data register (htx)dsp side .................................................9-8 9.5.3 shi host receive data fifo (hrx)dsp side .......................................................9-8 9.5.4 shi slave address register (hsar)dsp side ......................................................9-9 9.5.4.1 hsar reserved bitsbits 19, 17C0 ....................................................................9-9 9.5.4.2 hsar i 2 c slave address (ha[6:3], ha1)bits 23C20,18 ....................................9-9 9.5.5 shi clock control register (hckr)dsp side........................................................9-9 9.5.5.1 clock phase and polarity (cpha and cpol)bits 1C0 ......................................9-9 9.5.5.2 hckr prescaler rate select (hrs)bit 2.........................................................9-11 9.5.5.3 hckr divider modulus select (hdm[7:0])bits 10C3 .......................................9-11 9.5.5.4 hckr reserved bitsbits 23C14, 11 ................................................................9-11 9.5.5.5 hckr filter mode (hfm[1:0]) bits 13C12 ......................................................9-11 9.5.6 shi control/status register (hcsr)dsp side.....................................................9-12 9.5.6.1 hcsr host enable (hen)bit 0........................................................................9-12 9.5.6.1.1 shi individual reset .........................................................................................13 9.5.6.2 hcsr i 2 c/spi selection (hi2c)bit 1 ...............................................................9-13 9.5.6.3 hcsr serial host interface mode (hm[1:0])bits 3C2 ......................................9-13 9.5.6.4 hcsr i 2 c clock freeze (hckfr)bit 4 ...........................................................9-13 9.5.6.5 hcsr fifo-enable control (hfifo)bit 5 .......................................................9-14 9.5.6.6 hcsr master mode (hmst)bit 6....................................................................9-14 9.5.6.7 hcsr host-request enable (hrqe[1:0])bits 8C7..........................................9-14 9.5.6.8 hcsr idle (hidle)bit 9...................................................................................9-15 9.5.6.9 hcsr bus-error interrupt enable (hbie)bit 10...............................................9-15 9.5.6.10 hcsr transmit-interrupt enable (htie)bit 11 ................................................9-15 9.5.6.11 hcsr receive interrupt enable (hrie[1:0])bits 13C12 ..................................9-16 9.5.6.12 hcsr host transmit underrun error (htue)bit 14........................................9-16 9.5.6.13 hcsr host transmit data empty (htde)bit 15 .............................................9-17 9.5.6.14 hcsr reserved bitsbits 23, 18 and 16 ..........................................................9-17 9.5.6.15 host receive fifo not empty (hrne)bit 17..................................................9-17
paragraph page number number table of contents toc-6 dsp56367 24-bit digital signal processor users manual motorola 9.5.6.16 host receive fifo full (hrff)bit 19 ............................................................ 9-17 9.5.6.17 host receive overrun error (hroe)bit 20..................................................... 9-17 9.5.6.18 host bus error (hber)bit 21.......................................................................... 9-18 9.5.6.19 hcsr host busy (hbusy)bit 22 ................................................................... 9-18 9.6 characteristics of the i 2 c bus..................................................................................... 9-18 9.6.1 overview.................................................................................................................. 9-18 9.6.2 i 2 c data transfer formats ...................................................................................... 9-20 9.7 shi programming considerations ................................................................................ 9-21 9.7.1 spi slave mode ....................................................................................................... 9-21 9.7.2 spi master mode ..................................................................................................... 9-22 9.7.3 i 2 c slave mode........................................................................................................ 9-23 9.7.3.1 receive data in i 2 c slave mode ........................................................................ 9-23 9.7.3.2 transmit data in i 2 c slave mode....................................................................... 9-24 9.7.4 i 2 c master mode...................................................................................................... 9-25 9.7.4.1 receive data in i 2 c master mode ...................................................................... 9-26 9.7.4.2 transmit data in i 2 c master mode..................................................................... 9-26 9.7.5 shi operation during dsp stop.............................................................................. 9-27 section 10 enhanced serial audio interface (esai) 10.1 introduction ............................................................................................................... .... 10-2 10.2 esai data and control pins.......................................................................................... 10-4 10.2.1 serial transmit 0 data pin (sdo0).......................................................................... 10-4 10.2.2 serial transmit 1 data pin (sdo1).......................................................................... 10-4 10.2.3 serial transmit 2/receive 3 data pin (sdo2/sdi3)................................................ 10-4 10.2.4 serial transmit 3/receive 2 data pin (sdo3/sdi2)................................................ 10-5 10.2.5 serial transmit 4/receive 1 data pin (sdo4/sdi1)................................................ 10-5 10.2.6 serial transmit 5/receive 0 data pin (sdo5/sdi0)................................................ 10-5 10.2.7 receiver serial clock (sckr) ................................................................................. 10-6 10.2.8 transmitter serial clock (sckt) ............................................................................. 10-7 10.2.9 frame sync for receiver (fsr) .............................................................................. 10-7 10.2.10 frame sync for transmitter (fst)........................................................................... 10-8 10.2.11 high frequency clock for transmitter (hckt)........................................................ 10-8 10.2.12 high frequency clock for receiver (hckr) ........................................................... 10-8 10.3 esai programming model ............................................................................................ 10-9 10.3.1 esai transmitter clock control register (tccr) ................................................... 10-9 10.3.1.1 tccr transmit prescale modulus select (tpm7Ctpm0) - bits 0C7 ............... 10-10 10.3.1.2 tccr transmit prescaler range (tpsr) - bit 8 ............................................. 10-11 10.3.1.3 tccr tx frame rate divider control (tdc4Ctdc0) - bits 9C13 ................... 10-11 10.3.1.4 tccr tx high frequency clock divider (tfp3-tfp0) - bits 14C17................ 10-12 10.3.1.5 tccr transmit clock polarity (tckp) - bit 18 ................................................ 10-13 10.3.1.6 tccr transmit frame sync polarity (tfsp) - bit 19 ...................................... 10-13 10.3.1.7 tccr transmit high frequency clock polarity (thckp) - bit 20 ................... 10-13 10.3.1.8 tccr transmit clock source direction (tckd) - bit 21 ................................. 10-13 10.3.1.9 tccr transmit frame sync signal direction (tfsd) - bit 22 ......................... 10-14 10.3.1.10 tccr transmit high frequency clock direction (thckd) - bit 23 ................. 10-14 10.3.2 esai transmit control register (tcr).................................................................. 10-14 10.3.2.1 tcr esai transmit 0 enable (te0) - bit 0 ...................................................... 10-14 10.3.2.2 tcr esai transmit 1 enable (te1) - bit 1 ...................................................... 10-15
motorola dsp56367 24-bit digital signal processor users manual toc-7 paragraph page number number table of contents 10.3.2.3 tcr esai transmit 2 enable (te2) - bit 2 .......................................................10-15 10.3.2.4 tcr esai transmit 3 enable (te3) - bit 3 .......................................................10-15 10.3.2.5 tcr esai transmit 4 enable (te4) - bit 4 .......................................................10-16 10.3.2.6 tcr esai transmit 5 enable (te5) - bit 5 .......................................................10-16 10.3.2.7 tcr transmit shift direction (tshfd) - bit 6...................................................10-16 10.3.2.8 tcr transmit word alignment control (twa) - bit 7 .......................................10-17 10.3.2.9 tcr transmit network mode control (tmod1-tmod0) - bits 8-9 ..................10-17 10.3.2.10 tcr tx slot and word length select (tsws4-tsws0) - bits 10-14 ..............10-19 10.3.2.11 tcr transmit frame sync length (tfsl) - bit 15 ...........................................10-20 10.3.2.12 tcr transmit frame sync relative timing (tfsr) - bit 16.............................10-22 10.3.2.13 tcr transmit zero padding control (padc) - bit 17 .......................................10-22 10.3.2.14 tcr reserved bit - bits 18 ...............................................................................10-22 10.3.2.15 tcr transmit section personal reset (tpr) - bit 19 ......................................10-22 10.3.2.16 tcr transmit exception interrupt enable (teie) - bit 20.................................10-22 10.3.2.17 tcr transmit even slot data interrupt enable (tedie) - bit 21 ......................10-23 10.3.2.18 tcr transmit interrupt enable (tie) - bit 22 ....................................................10-23 10.3.2.19 tcr transmit last slot interrupt enable (tlie) - bit 23 ...................................10-23 10.3.3 esai receive clock control register (rccr).......................................................10-23 10.3.3.1 rccr receiver prescale modulus select (rpm7Crpm0) - bits 7C0...............10-24 10.3.3.2 rccr receiver prescaler range (rpsr) - bit 8 .............................................10-24 10.3.3.3 rccr rx frame rate divider control (rdc4Crdc0) - bits 9C13...................10-24 10.3.3.4 rccr rx high frequency clock divider (rfp3-rfp0) - bits 14-17................10-25 10.3.3.5 rccr receiver clock polarity (rckp) - bit 18 ................................................10-25 10.3.3.6 rccr receiver frame sync polarity (rfsp) - bit 19 ......................................10-25 10.3.3.7 rccr receiver high frequency clock polarity (rhckp) - bit 20 ...................10-25 10.3.3.8 rccr receiver clock source direction (rckd) - bit 21 .................................10-26 10.3.3.9 rccr receiver frame sync signal direction (rfsd) - bit 22.........................10-26 10.3.3.10 rccr receiver high frequency clock direction (rhckd) - bit 23.................10-27 10.3.4 esai receive control register (rcr) ...................................................................10-28 10.3.4.1 rcr esai receiver 0 enable (re0) - bit 0 ......................................................10-28 10.3.4.2 rcr esai receiver 1 enable (re1) - bit 1 ......................................................10-28 10.3.4.3 rcr esai receiver 2 enable (re2) - bit 2 ......................................................10-29 10.3.4.4 rcr esai receiver 3 enable (re3) - bit 3 ......................................................10-29 10.3.4.5 rcr reserved bits - bits 4-5, 17-18.................................................................10-29 10.3.4.6 rcr receiver shift direction (rshfd) - bit 6..................................................10-29 10.3.4.7 rcr receiver word alignment control (rwa) - bit 7 ......................................10-29 10.3.4.8 rcr receiver network mode control (rmod1-rmod0) - bits 8-9.................10-29 10.3.4.9 rcr receiver slot and word select (rsws4-rsws0) - bits 10-14 ...............10-30 10.3.4.10 rcr receiver frame sync length (rfsl) - bit 15 ..........................................10-31 10.3.4.11 rcr receiver frame sync relative timing (rfsr) - bit 16............................10-31 10.3.4.12 rcr receiver section personal reset (rpr) - bit 19 .....................................10-32 10.3.4.13 rcr receive exception interrupt enable (reie) - bit 20 .................................10-32 10.3.4.14 rcr receive even slot data interrupt enable (redie) - bit 21 ......................10-32 10.3.4.15 rcr receive interrupt enable (rie) - bit 22 ....................................................10-32 10.3.4.16 rcr receive last slot interrupt enable (rlie) - bit 23 ...................................10-32 10.3.5 esai common control register (saicr) ..............................................................10-33 10.3.5.1 saicr serial output flag 0 (of0) - bit 0..........................................................10-33 10.3.5.2 saicr serial output flag 1 (of1) - bit 1..........................................................10-33 10.3.5.3 saicr serial output flag 2 (of2) - bit 2..........................................................10-33 10.3.5.4 saicr reserved bits - bits 3-5, 9-23 ...............................................................10-34
paragraph page number number table of contents toc-8 dsp56367 24-bit digital signal processor users manual motorola 10.3.5.5 saicr synchronous mode selection (syn) - bit 6.......................................... 10-34 10.3.5.6 saicr transmit external buffer enable (tebe) - bit 7 ................................... 10-34 10.3.5.7 saicr alignment control (alc) - bit 8 ............................................................ 10-34 10.3.6 esai status register (saisr)............................................................................... 10-36 10.3.6.1 saisr serial input flag 0 (if0) - bit 0.............................................................. 10-36 10.3.6.2 saisr serial input flag 1 (if1) - bit 1.............................................................. 10-36 10.3.6.3 saisr serial input flag 2 (if2) - bit 2.............................................................. 10-36 10.3.6.4 saisr reserved bits - bits 3-5, 11-12, 18-23.................................................. 10-37 10.3.6.5 saisr receive frame sync flag (rfs) - bit 6 ............................................... 10-37 10.3.6.6 saisr receiver overrun error flag (roe) - bit 7 ........................................... 10-37 10.3.6.7 saisr receive data register full (rdf) - bit 8.............................................. 10-37 10.3.6.8 saisr receive even-data register full (redf) - bit 9 .................................. 10-37 10.3.6.9 saisr receive odd-data register full (rodf) - bit 10 ................................. 10-37 10.3.6.10 saisr transmit frame sync flag (tfs) - bit 13............................................. 10-38 10.3.6.11 saisr transmit underrun error flag (tue) - bit 14........................................ 10-38 10.3.6.12 saisr transmit data register empty (tde) - bit 15....................................... 10-38 10.3.6.13 saisr transmit even-data register empty (tede) - bit 16........................... 10-38 10.3.6.14 saisr transmit odd-data register empty (tode) - bit 17............................ 10-39 10.3.7 esai receive shift registers ................................................................................ 10-42 10.3.8 esai receive data registers (rx3, rx2, rx1, rx0) .......................................... 10-42 10.3.9 esai transmit shift registers ............................................................................... 10-42 10.3.10 esai transmit data registers (tx5, tx4, tx3, tx2,tx1,tx0)............................ 10-42 10.3.11 esai time slot register (tsr) ............................................................................. 10-42 10.3.12 transmit slot mask registers (tsma, tsmb) ...................................................... 10-43 10.3.13 receive slot mask registers (rsma, rsmb)....................................................... 10-44 10.4 operating modes ........................................................................................................ 10-4 5 10.4.1 esai after reset.................................................................................................... 10-45 10.4.2 esai initialization................................................................................................... 10- 45 10.4.3 esai interrupt requests ........................................................................................ 10-46 10.4.4 operating modes C normal, network, and on-demand........................................ 10-47 10.4.4.1 normal/network/on-demand mode selection ................................................. 10-47 10.4.4.2 synchronous/asynchronous operating modes ................................................ 10-47 10.4.4.3 frame sync selection ...................................................................................... 10-48 10.4.4.4 shift direction selection ................................................................................... 10-48 10.4.5 serial i/o flags ...................................................................................................... 10- 49 10.5 gpio - pins and registers.......................................................................................... 10-49 10.5.1 port c control register (pcrc) ............................................................................ 10-49 10.5.2 port c direction register (prrc) ......................................................................... 10-50 10.5.3 port c data register (pdrc) ................................................................................. 10-51 10.6 esai initialization examples ....................................................................................... 10-51 10.6.1 initializing the esai using individual reset ........................................................... 10-51 10.6.2 initializing just the esai transmitter section ........................................................ 10-52 10.6.3 initializing just the esai receiver section ............................................................ 10-52
motorola dsp56367 24-bit digital signal processor users manual toc-9 paragraph page number number table of contents chapter 11 enhanced serial audio interface 1 (esai_1) 11.1 introduction ............................................................................................................... .....11-2 11.2 esai_1 data and control pins ......................................................................................11-4 11.2.1 serial transmit 0 data pin (sdo0_1) ......................................................................11-4 11.2.2 serial transmit 1 data pin (sdo1_1) ......................................................................11-4 11.2.3 serial transmit 2/receive 3 data pin (sdo2_1/sdi3_1) ........................................11-4 11.2.4 serial transmit 3/receive 2 data pin (sdo3_1/sdi2_1) ........................................11-4 11.2.5 serial transmit 4/receive 1 data pin (sdo4_1/sdi1_1) ........................................11-4 11.2.6 serial transmit 5/receive 0 data pin (sdo5_1/sdi0_1) ........................................11-5 11.2.7 receiver serial clock (sckr_1)..............................................................................11-5 11.2.8 transmitter serial clock (sckt_1) ..........................................................................11-5 11.2.9 frame sync for receiver (fsr_1) ...........................................................................11-5 11.2.10 frame sync for transmitter (fst_1)........................................................................11-5 11.3 esai_1 programming model .........................................................................................11-6 11.3.1 esai_1 multiplex control register (emuxr)...........................................................11-6 11.3.2 esai_1 transmitter clock control register (tccr_1)............................................11-7 11.3.2.1 tccr_1 tx high freq. clock divider (tfp3-tfp0) - bits 14C17 .......................11-7 11.3.2.2 tccr_1 tx high freq. clock polarity (thckp) - bit 20.....................................11-8 11.3.2.3 tccr_1 tx high freq. clock direction (thckd) - bit 23 ..................................11-8 11.3.3 esai_1 transmit control register (tcr_1)...........................................................11-10 11.3.4 esai_1 receive clock control register (rccr_1)...............................................11-11 11.3.4.1 rccr_1 rx high freq. clock divider (rfp3-rfp0) - bits 14C17 ...................11-11 11.3.4.2 rccr_1 rx high freq. clock polarity (rhckp) - bit 20 .................................11-11 11.3.4.3 rccr_1 rx high freq. clock direction (rhckd) - bit 23 ...............................11-12 11.3.5 esai_1 receive control register (rcr_1) ...........................................................11-12 11.3.6 esai_1 common control register (saicr_1) ......................................................11-12 11.3.7 esai_1 status register (saisr_1)........................................................................11-13 11.3.8 esai_1 receive shift registers .............................................................................11-13 11.3.9 esai_1 receive data registers.............................................................................11-14 11.3.10 esai_1 transmit shift registers ............................................................................11-14 11.3.11 esai_1 transmit data registers............................................................................11-14 11.3.12 esai_1 time slot register (tsr_1) ......................................................................11-14 11.3.13 transmit slot mask registers (tsma_1, tsmb_1) ...............................................11-14 11.3.14 receive slot mask registers (rsma_1, rsmb_1) ...............................................11-15 11.4 operating modes .........................................................................................................11- 16 11.4.1 esai_1 after reset ................................................................................................11-16 11.5 gpio - pins and registers ..........................................................................................11-16 11.5.1 port e control register (pcre) .............................................................................11-17 11.5.2 port e direction register (prre)...........................................................................11-17 11.5.3 port e data register (pdre)...................................................................................11-18
paragraph page number number table of contents toc-10 dsp56367 24-bit digital signal processor users manual motorola chapter 12 digital audio transmitter 12.1 introduction ............................................................................................................... .... 12-2 12.2 dax signals................................................................................................................ .. 12-3 12.3 dax functional overview ............................................................................................. 12-3 12.4 dax programming model ............................................................................................. 12-4 12.5 dax internal architecture ............................................................................................. 12-5 12.5.1 dax audio data register (xadr)........................................................................... 12-6 12.5.2 dax audio data buffers (xadbufa / xadbufb).................................................. 12-6 12.5.3 dax audio data shift register (xadsr) ................................................................ 12-6 12.5.4 dax non-audio data register (xnadr) ................................................................ 12-6 12.5.4.1 dax channel a validity (xva)bit 10 .............................................................. 12-7 12.5.4.2 dax channel a user data (xua)bit 11.......................................................... 12-7 12.5.4.3 dax channel a channel status (xca)bit 12 ................................................. 12-7 12.5.4.4 dax channel b validity (xvb)bit 13 .............................................................. 12-7 12.5.4.5 dax channel b user data (xub)bit 14.......................................................... 12-7 12.5.4.6 dax channel b channel status (xcb)bit 15 ................................................. 12-7 12.5.4.7 xnadr reserved bitsbits 0-9, 16C23............................................................ 12-7 12.5.5 dax non-audio data buffer (xnadbuf)................................................................ 12-7 12.5.6 dax control register (xctr) ................................................................................. 12-8 12.5.6.1 audio data register empty interrupt enable (xdie)bit 0 ............................... 12-8 12.5.6.2 underrun error interrupt enable (xuie)bit 1 .................................................. 12-8 12.5.6.3 block transferred interrupt enable (xbie)bit 2 .............................................. 12-8 12.5.6.4 dax clock input select (xcs[1:0])bits 3C4.................................................... 12-8 12.5.6.5 dax start block (xsb)bit 5 ............................................................................ 12-8 12.5.6.6 xctr reserved bitsbits 6-23......................................................................... 12-8 12.5.7 dax status register (xstr)................................................................................... 12-9 12.5.7.1 dax audio data register empty (xade)bit 0................................................ 12-9 12.5.7.2 dax transmit underrun error flag (xaur)bit 1 ............................................ 12-9 12.5.7.3 dax block transfer flag (xblk)bit 2............................................................. 12-9 12.5.7.4 xstr reserved bitsbits 3C23 ...................................................................... 12-10 12.5.8 dax parity generator (prtyg) ............................................................................ 12-10 12.5.9 dax biphase encoder ........................................................................................... 12-10 12.5.10 dax preamble generator...................................................................................... 12-10 12.5.11 dax clock multiplexer ........................................................................................... 12-11 12.5.12 dax state machine ............................................................................................... 12-12 12.6 dax programming considerations ............................................................................. 12-12 12.6.1 initiating a transmit session ................................................................................. 12-12 12.6.2 audio data register empty interrupt handling...................................................... 12-12 12.6.3 block transferred interrupt handling..................................................................... 12-13 12.6.4 dax operation with dma ....................................................................................... 12-13 12.6.5 dax operation during stop................................................................................... 12-14 12.7 gpio (port d) - pins and registers......................................................................... 12-14 12.7.1 port d control register (pcrd) ............................................................................ 12-14 12.7.2 port d direction register (prrd) ......................................................................... 12-15 12.7.3 port d data register (pdrd) ................................................................................ 12-16
motorola dsp56367 24-bit digital signal processor users manual toc-11 paragraph page number number table of contents chapter 13 timer/event counter 13.1 introduction ............................................................................................................... .....13-2 13.2 timer/event counter architecture .................................................................................13-2 13.2.1 timer/event counter block diagram ........................................................................13-2 13.2.2 individual timer block diagram................................................................................13-3 13.3 timer/event counter programming model ....................................................................13-4 13.3.1 prescaler counter.....................................................................................................13- 6 13.3.2 timer prescaler load register (tplr) ....................................................................13-6 13.3.2.1 tplr prescaler preload value pl[20:0] bits 20C0 .............................................13-6 13.3.2.2 tplr prescaler source ps[1:0] bits 22-21.........................................................13-6 13.3.2.3 tplr reserved bit 23.........................................................................................13-7 13.3.3 timer prescaler count register (tpcr) ..................................................................13-7 13.3.3.1 tpcr prescaler counter value pc[20:0] bits 20C0 ...........................................13-7 13.3.3.2 tpcr reserved bits 23C21 ................................................................................13-7 13.3.4 timer control/status register (tcsr) .....................................................................13-7 13.3.4.1 tcsr timer enable (te) bit 0 ............................................................................13-8 13.3.4.2 tcsr timer overflow interrupt enable (toie) bit 1...........................................13-8 13.3.4.3 tcsr timer compare interrupt enable (tcie) bit 2 ..........................................13-8 13.3.4.4 tcsr timer control (tc[3:0]) bits 4C7...............................................................13-8 13.3.4.5 tcsr inverter (inv) bit 8..................................................................................13-10 13.3.4.6 tcsr timer reload mode (trm) bit 9.............................................................13-11 13.3.4.7 tcsr direction (dir) bit 11..............................................................................13-11 13.3.4.8 tcsr data input (di) bit 12..............................................................................13-11 13.3.4.9 tcsr data output (do) bit 13 .........................................................................13-11 13.3.4.10 tcsr prescaler clock enable (pce) bit 15 .....................................................13-12 13.3.4.11 tcsr timer overflow flag (tof) bit 20 ..........................................................13-12 13.3.4.12 tcsr timer compare flag (tcf) bit 21 ..........................................................13-12 13.3.4.13 tcsr reserved bits (bits 3, 10, 14, 16-19, 22, 23)..........................................13-12 13.3.5 timer load register (tlr).....................................................................................13-13 13.3.6 timer compare register (tcpr) ...........................................................................13-13 13.3.7 timer count register (tcr)...................................................................................13-13 13.4 timer modes of operation ...........................................................................................13-14 13.4.1 timer modes...........................................................................................................13- 14 13.4.1.1 timer gpio (mode 0)........................................................................................13-14 13.4.1.2 timer pulse (mode 1)........................................................................................13-15 13.4.1.3 timer toggle (mode 2)......................................................................................13-16 13.4.1.4 timer event counter (mode 3)..........................................................................13-16 13.4.2 signal measurement modes...................................................................................13-17 13.4.2.1 measurement accuracy.....................................................................................13-17 13.4.2.2 measurement input width (mode 4)..................................................................13-17 13.4.2.3 measurement input period (mode 5).................................................................13-18 13.4.2.4 measurement capture (mode 6 ........................................................................13-19 13.4.3 pulse width modulation (pwm, mode 7)................................................................13-19 13.4.4 watchdog modes....................................................................................................13-20 13.4.4.1 watchdog pulse (mode 9 ..................................................................................13-20 13.4.4.2 watchdog toggle (mode 10).............................................................................13-21 13.4.5 reserved modes ....................................................................................................13-22 13.4.6 special cases.........................................................................................................13- 22
paragraph page number number table of contents toc-12 dsp56367 24-bit digital signal processor users manual motorola 13.4.6.1 timer behavior during wait.............................................................................. 13-22 13.4.6.2 timer behavior during stop.............................................................................. 13-22 13.4.7 dma trigger .......................................................................................................... 13-2 2 chapter 14 packaging 14.1 pin-out and package information.................................................................................. 14-2 14.1.1 lqfp package description ..................................................................................... 14-2 14.1.2 lqfp package mechanical drawing ....................................................................... 14-6 14.2 ordering drawings ........................................................................................................ 14 -9 appendix a bootstrap rom contents a.1 dsp56367 bootstrap program ....................................................................................... a-2 appendix b equates appendix c jtag bsdl appendix d programmers reference d.1 introduction ................................................................................................................ .....d-2 d.1.1 peripheral addresses ................................................................................................d-2 d.1.2 interrupt addresses ...................................................................................................d-2 d.1.3 interrupt priorities ...................................................................................................... d-2 d.1.4 host interface quick reference.................................................................................d-2 d.1.5 programming sheets .................................................................................................d-2 d.2 internal i/o memory map................................................................................................d-3 d.3 interrupt vector addresses .............................................................................................d-8 d.4 interrupt source priorities (within an ipl) .....................................................................d-10 d.5 host interfacequick reference .................................................................................d-12 d.6 programming sheets ....................................................................................................d-15 appendix e power consumption benchmark appendix f ibis model index
paragraph page number number motorola dsp56367 24-bit digital signal processor users manual lof-1 list of figures 1-1 dsp56367 block diagram ...............................................................................................1-2 2-1 signals identified by functional group ............................................................................2-4 3-1 external clock timing......................................................................................................3 -7 3-2 reset timing ................................................................................................................ .3-12 3-3 external fast interrupt timing .......................................................................................3-13 3-4 external interrupt timing (negative edge-triggered)....................................................3-14 3-5 operating mode select timing ......................................................................................3-14 3-6 recovery from stop state using irqa interrupt service ..............................................3-14 3-7 recovery from stop state using irqa interrupt service ..............................................3-15 3-8 external memory access (dma source) timing ...........................................................3-15 3-9 sram read access ......................................................................................................3-19 3-10 sram write access ......................................................................................................3-20 3-11 dram page mode wait states selection guide ...........................................................3-21 3-12 dram page mode write accesses ...............................................................................3-25 3-13 dram page mode read accesses...............................................................................3-26 3-14 dram out-of-page wait states selection guide..........................................................3-27 3-15 dram out-of-page read access .................................................................................3-34 3-16 dram out-of-page write access..................................................................................3-35 3-17 dram refresh access ..................................................................................................3-36 3-18 asynchronous bus arbitration timing............................................................................3-37 3-19 asynchronous bus arbitration timing............................................................................3-37 3-20 host interrupt vector register (ivr) read timing diagram..........................................3-41 3-21 read timing diagram, non-multiplexed bus.................................................................3-41 3-22 write timing diagram, non-multiplexed bus.................................................................3-42 3-23 read timing diagram, multiplexed bus ........................................................................3-43 3-24 write timing diagram, multiplexed bus.........................................................................3-44 3-25 host dma write timing diagram...................................................................................3-45 3-26 host dma read timing diagram ..................................................................................3-45 3-27 spi master timing (cpha = 0)......................................................................................3-49 3-28 spi master timing (cpha = 1)......................................................................................3-50 3-29 spi slave timing (cpha = 0)........................................................................................3-51 3-30 spi slave timing (cpha = 1)........................................................................................3-52 3-31 i 2 c timing......................................................................................................................3 -56 3-32 esai transmitter timing ...............................................................................................3-60 3-33 esai receiver timing ...................................................................................................3-61 3-34 esai hckt timing ........................................................................................................3-6 1 3-35 esai hckr timing .......................................................................................................3-62 3-36 digital audio transmitter timing....................................................................................3-62 3-37 tio timer event input restrictions................................................................................3-63 3-38 gpio timing ................................................................................................................ ..3-64 3-39 test clock input timing diagram ..................................................................................3-65 3-40 boundary scan (jtag) timing diagram .......................................................................3-66 3-41 test access port timing diagram .................................................................................3-66 5-1 memory maps for msw=(x,x), ce=0, ms=0, sc=0 .......................................................5-5
paragraph page number number list of figures lof-2 dsp56367 24-bit digital signal processor users manual motorola 5-2 memory maps for msw=(x,x), ce=1, ms=0, sc=0 ...................................................... 5-5 5-3 memory maps for msw=(0,0), ce=0 ms=1, sc=0 ........................................................ 5-6 5-4 memory maps for msw=(0,1), ce=0, ms=1, sc=0 ....................................................... 5-6 5-5 memory maps for msw=(1,0), ce=0, ms=1, sc=0 ....................................................... 5-7 5-6 memory maps for msw=(0,0), ce=1, ms=1, sc=0 ....................................................... 5-7 5-7 memory maps for msw=(0,1), ce=1, ms=1, sc=0 ....................................................... 5-8 5-8 memory maps for msw=(1,0), ce=1, ms=1, sc=0 ....................................................... 5-8 5-9 memory maps for msw=(x,x), ce=0, ms=0, sc=1 ...................................................... 5-9 5-10 memory maps for msw=(x,x), ce=1, ms=0, sc=1 ...................................................... 5-9 5-11 memory maps for msw=(0,0), ce=0, ms=1, sc=1 ..................................................... 5-10 5-12 memory maps for msw=(0,1), ce=0, ms=1, sc=1 ..................................................... 5-10 5-13 memory maps for msw=(1,0), ce=0, ms=1, sc=1 ..................................................... 5-11 5-14 memory maps for msw=(0,0), ce=1, ms=1, sc=1 ..................................................... 5-11 5-15 memory maps for msw=(0,1), ce=1, ms=1, sc=1 ..................................................... 5-12 5-16 memory maps for msw=(1,0), ce=1, ms=1, sc=1 ..................................................... 5-12 6-1 interrupt priority register p............................................................................................. 6- 8 6-2 interrupt priority register c ............................................................................................ 6-9 8-1 hdi08 block diagram ..................................................................................................... 8-6 8-2 host control register (hcr) (x:$ffffc2) .................................................................... 8-8 8-3 host status register (hsr) (x:ffffc3)...................................................................... 8-11 8-4 host base address register (hbar) (x:$ffffc5) ..................................................... 8-13 8-5 self chip select logic .................................................................................................... 8- 13 8-6 host port control register (hpcr) (x:$ffffc4) ........................................................ 8-14 8-7 single strobe bus .......................................................................................................... 8 -16 8-8 dual strobes bus ........................................................................................................... 8 -16 8-9 host data direction register (hddr) (x:$ffffc8) .................................................... 8-17 8-10 host data register (hdr) (x:$ffffc9) ...................................................................... 8-18 8-11 hsr-hcr operation..................................................................................................... 8-20 8-12 interface control register (icr) ................................................................................... 8-22 8-13 command vector register (cvr)................................................................................. 8-26 8-14 interface status register (isr) ..................................................................................... 8-27 8-15 interrupt vector register (ivr) ..................................................................................... 8-28 8-16 hdi08 host request structure ..................................................................................... 8-32 9-1 serial host interface block diagram ............................................................................... 9-3 9-2 shi clock generator....................................................................................................... 9- 4 9-3 shi programming modelhost side ............................................................................. 9-5 9-4 shi programming modeldsp side ............................................................................. 9-6 9-5 shi i/o shift register (iosr) ......................................................................................... 9-8 9-6 spi data-to-clock timing diagram.............................................................................. 9-10 9-7 i 2 c bit transfer ............................................................................................................. 9-18 9-8 i 2 c start and stop events............................................................................................. 9-19 9-9 acknowledgment on the i 2 c bus .................................................................................. 9-19 9-10 i 2 c bus protocol for host write cycle ......................................................................... 9-20 9-11 i 2 c bus protocol for host read cycle ......................................................................... 9-21 10-1 esai block diagram ..................................................................................................... 10-3 10-2 tccr register.............................................................................................................. 10-9
paragraph page number number list of figures motorola dsp56367 24-bit digital signal processor users manual lof-3 10-3 esai clock generator functional block diagram .......................................................10-10 10-4 esai frame sync generator functional block diagram .............................................10-12 10-5 tcr register ............................................................................................................... 10-14 10-6 normal and network operation ...................................................................................10-18 10-7 frame length selection ..............................................................................................10-21 10-8 rccr register ............................................................................................................10 -24 10-9 rcr register ..............................................................................................................1 0-28 10-10 saicr register ...........................................................................................................1 0-33 10-11 saicr syn bit operation ...........................................................................................10-35 10-12 saisr register ...........................................................................................................1 0-36 10-13 esai data path programming model ([r/t]shfd=0) .................................................10-40 10-14 esai data path programming model ([r/t]shfd=1) .................................................10-41 10-15 tsma register ............................................................................................................1 0-43 10-16 tsmb register ............................................................................................................1 0-43 10-17 rsma register ............................................................................................................1 0-44 10-18 rsmb register ............................................................................................................1 0-44 10-19 pcrc register ............................................................................................................1 0-50 10-20 prrc register ............................................................................................................1 0-50 10-21 pdrc register ............................................................................................................1 0-51 11-1 esai_1 block diagram ..................................................................................................11-3 11-2 emuxr register ...........................................................................................................11 -6 11-3 tccr_1 register ..........................................................................................................11 -7 11-4 esai_1 clock generator functional block diagram .....................................................11-9 11-5 esai_1 frame sync generator functional block diagram .........................................11-10 11-6 tcr_1 register ...........................................................................................................11 -11 11-7 rccr_1 register ........................................................................................................11-1 1 11-8 rcr_1 register ..........................................................................................................11- 12 11-9 saicr_1 register .......................................................................................................11-1 3 11-10 saisr_1 register .......................................................................................................11- 13 11-11 tsma_1 register ........................................................................................................11- 15 11-12 tsmb_1 register ........................................................................................................11- 15 11-13 rsma_1 register ........................................................................................................11- 16 11-14 rsmb_1 register ........................................................................................................11- 16 11-15 pcre register ............................................................................................................1 1-17 11-16 prre register ............................................................................................................1 1-18 11-17 pdre register ............................................................................................................1 1-18 12-1 digital audio transmitter (dax) block diagram ............................................................12-3 12-2 dax programming model ..............................................................................................12-5 12-3 dax relative timing ...................................................................................................12-10 12-4 preamble sequence.....................................................................................................12-11 12-5 clock multiplexer diagram...........................................................................................12-12 12-6 examples of data organization in memory...................................................................12-14 12-7 port d control register (pcrd) ..................................................................................12-15 12-8 port d direction register (prrd) ...............................................................................12-15 12-9 port d data register (pdrd) ......................................................................................12-16 13-1 timer/event counter block diagram .............................................................................13-3
paragraph page number number list of figures lof-4 dsp56367 24-bit digital signal processor users manual motorola 13-2 timer block diagram .................................................................................................... 13-4 13-3 timer module programmers model.............................................................................. 13-5 13-4 timer prescaler load register ..................................................................................... 13-6 13-5 timer prescaler count register (tpcr) ...................................................................... 13-7 14-1 144-pin package ........................................................................................................... 1 4-3 14-2 dsp56367 144-pin lqfp package (1 of 3).................................................................. 14-6 14-3 dsp56367 144-pin lqfp package (2 of 3).................................................................. 14-7 14-4 dsp56367 144-pin lqfp package (3 of 3).................................................................. 14-8 d-1 status register (sr) .....................................................................................................d-1 6 d-2 operating mode register (omr) ..................................................................................d-17 d-3 interrupt priority registerCcore (iprCc) ......................................................................d-18 d-4 interrupt priority register C peripherals (iprCp) ..........................................................d-19 d-5 phase lock loop control register (pctl)...................................................................d-20 d-6 host receive and host transmit data registers .........................................................d-21 d-7 host control and status registers................................................................................d-22 d-8 host base address and host port control....................................................................d-23 d-9 host interrupt control and interrupt status ...................................................................d-24 d-10 host interrupt vector and command vector.................................................................d-25 d-11 host receive and transmit byte registers ..................................................................d-26 d-12 shi slave address and clock control registers ..........................................................d-27 d-13 shi transmit and receive data registers ...................................................................d-28 d-14 shi host control/status register .................................................................................d-29 d-15 esai transmit clock control register..........................................................................d-30 d-16 esai transmit control register....................................................................................d-31 d-17 esai receive clock control register...........................................................................d-32 d-18 esai receive control register.....................................................................................d-33 d-19 esai common control register ...................................................................................d-34 d-20 esai status register ....................................................................................................d-3 5 d-21 esai_1 multiplex control register................................................................................d-36 d-22 esai_1 transmit clock control register......................................................................d-37 d-23 esai_1 transmit control register................................................................................d-38 d-24 esai_1 receive clock control register.......................................................................d-39 d-25 esai_1 receive control register.................................................................................d-40 d-26 esai_1 common control register ...............................................................................d-41 d-27 esai_1 status register ................................................................................................d-42 d-28 dax non-audio data register......................................................................................d-43 d-29 dax control and status registers................................................................................d-44 d-30 timer prescaler load and prescaler count registers (tplr, tpcr) .........................d-45 d-31 timer control/status register.......................................................................................d-46 d-32 timer load, compare and count registers .................................................................d-47 d-33 gpio port b ................................................................................................................ ..d-48 d-34 gpio port c................................................................................................................ ..d-49 d-35 gpio port d................................................................................................................ ..d-50 d-36 gpio port e ................................................................................................................ ..d-51
paragraph page number number motorola dsp56367 24-bit digital signal processor users manual lot-1 list of tables 2-1 dsp56367 functional signal groupings .........................................................................2-2 2-2 power inputs................................................................................................................ ....2-5 2-3 grounds ..................................................................................................................... ......2-6 2-4 clock and pll signals ....................................................................................................2-7 2-5 external address bus signals .........................................................................................2-7 2-6 external data bus signals ...............................................................................................2-8 2-7 external bus control signals ...........................................................................................2-8 2-8 interrupt and mode control............................................................................................2-11 2-9 host interface .............................................................................................................. ..2-13 2-10 serial host interface signals .........................................................................................2-18 2-11 enhanced serial audio interface signals ......................................................................2-21 2-12 enhanced serial audio interface_1 signals ..................................................................2-27 2-13 digital audio interface (dax) signals ............................................................................2-30 2-14 timer signal ............................................................................................................... ...2-31 2-15 jtag/once interface....................................................................................................2-31 3-1 maximum ratings ............................................................................................................3 -3 3-2 thermal characteristics...................................................................................................3- 3 3-3 dc electrical characteristics5 .........................................................................................3-4 3-4 internal clocks ............................................................................................................. ....3-6 3-5 clock operation ............................................................................................................. ..3-7 3-6 pll characteristics ......................................................................................................... 3-8 3-7 reset, stop, mode select, and interrupt timing .............................................................3-9 3-8 sram read and write accesses ..................................................................................3-16 3-9 dram page mode timings, three wait states ............................................................3-21 3-10 dram page mode timings, four wait states 1, 2, 3 ......................................................3-23 3-11 dram out-of-page and refresh timings, four wait states.........................................3-27 3-12 dram out-of-page and refresh timings, eleven wait states .....................................3-30 3-13 dram out-of-page and refresh timings, fifteen wait states 1, 2 ................................3-32 3-14 asynchronous bus arbitration timing............................................................................3-37 3-15 host interface (hdi08) timing .......................................................................................3-38 3-16 serial host interface spi protocol timing .....................................................................3-46 3-17 shi i2c protocol timing ................................................................................................3-53 3-18 scl serial clock cycle (t scl ) generated as master....................................................3-55 3-19 enhanced serial audio interface timing ......................................................................3-57 3-20 digital audio transmitter timing....................................................................................3-62 3-21 timer timing............................................................................................................... ...3-63 3-22 gpio timing ................................................................................................................ ..3-63 3-23 jtag timing................................................................................................................ ..3-65 5-1 internal memory configurations ......................................................................................5-3 5-2 on-chip ram memory locations.....................................................................................5-3 5-3 on-chip rom memory locations ....................................................................................5-4 5-4 internal i/o memory map ...............................................................................................5-15 6-1 operating mode register (omr).....................................................................................6-3 6-2 dsp56367 operating modes...........................................................................................6-6
paragraph page number number list of tables lot-2 dsp56367 24-bit digital signal processor users manual motorola 6-3 dsp56367 mode descriptions........................................................................................ 6-7 6-4 interrupt priority level bits.............................................................................................. 6 -8 6-5 interrupt sources priorities within an ipl ....................................................................... 6-9 6-6 dsp56367 interrupt vectors ......................................................................................... 6-11 6-7 dma request sources ................................................................................................. 6-14 6-8 identification register configuration ............................................................................. 6-15 6-9 jtag identification register configuration................................................................... 6-16 6-10 dsp56367 bsr bit definition ....................................................................................... 6-16 8-1 hdi08 signal summary .................................................................................................. 8-4 8-2 strobe signals support signals....................................................................................... 8-5 8-3 host request support signals .......................................................................................... 8-5 8-4 hdi08 irq ................................................................................................................... ... 8-9 8-5 hdm[2:0] functionality.................................................................................................. 8-10 8-6 hdr and hddr functionality....................................................................................... 8-18 8-7 dsp-side registers after reset ................................................................................... 8-19 8-8 hdi08 host side register map..................................................................................... 8-21 8-9 treq rreq interrupt mode (hdm[2:0]=000 or hm[1:0]=00)...................................... 8-23 8-10 treq rreq dma mode (hm1?0 or hm0?0)............................................................ 8-23 8-11 hdrq ....................................................................................................................... .... 8-23 8-12 host mode bit definition ............................................................................................... 8-24 8-13 init command effect................................................................................................... 8-25 8-14 host request status (hreq) ....................................................................................... 8-28 8-15 host side registers after reset ................................................................................... 8-30 9-1 shi interrupt vectors ...................................................................................................... 9 -7 9-2 shi internal interrupt priorities........................................................................................ 9-7 9-3 shi noise reduction filter mode.................................................................................. 9-12 9-4 shi data size ............................................................................................................... 9-13 9-5 hreq function in shi slave modes ............................................................................ 9-14 9-6 hcsr receive interrupt enable bits ............................................................................ 9-16 10-1 receiver clock sources (asynchronous mode only) .................................................... 10-6 10-2 transmitter clock sources............................................................................................ 10-7 10-3 transmitter high frequency clock divider ................................................................. 10-13 10-4 transmit network mode selection .............................................................................. 10-17 10-5 esai transmit slot and word length selection ......................................................... 10-19 10-6 receiver high frequency clock divider ..................................................................... 10-25 10-7 sckr pin definition table.......................................................................................... 10-26 10-8 fsr pin definition table............................................................................................. 10-27 10-9 hckr pin definition table.......................................................................................... 10-27 10-10 esai receive network mode selection...................................................................... 10-30 10-11 esai receive slot and word length selection .......................................................... 10-30 10-12 pcrc and prrc bits functionality ........................................................................... 10-50 11-1 emuxr esai/esai_1 pin selection............................................................................. 11-7 11-2 transmitter clock sources............................................................................................ 11-8 11-3 receiver clock sources (asynchronous mode only) .................................................. 11-12 11-4 pcre and prre bits functionality............................................................................ 11-17 12-1 dax interrupt vectors ................................................................................................... 12- 5
paragraph page number number list of tables motorola dsp56367 24-bit digital signal processor users manual lot-3 12-2 dax interrupt priority..................................................................................................... 12-5 12-3 clock source selection .................................................................................................12-8 12-4 preamble bit patterns..................................................................................................12-1 1 12-5 examples of dma configuration ..................................................................................12-13 12-6 dax port gpio control register functionality............................................................12-15 13-1 prescaler source selection ...........................................................................................13-7 13-2 timer control bits for timer 0........................................................................................13-9 13-3 timer control bits for timers 1 and 2............................................................................13-9 13-4 inverse bit................................................................................................................ ....13-10 14-1 signal identification by name ........................................................................................14-4 14-2 signal identification by pin number ............................................................................14-5 d-20 emuxr esai/esai_1 pin selection ............................................................................ d-36
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual i preface
preface overview ii dsp56367 24-bit digital signal processor users manual motorola overview this manual describes the dsp56367 24-bit digital signal processor (dsp), its memory, operating modes, and peripheral modules. the dsp56367 is a member of the dsp56300 family of programmable cmos dsps. changes in core functionality specific to the dsp56367 are also described in this manual. note: this document contains information on a new product. specifications and information herein are subject to change without notice. the dsp56367 is targeted to applications that require digital audio compression and decompression, sound field processing, acoustic equalization, and other digital audio algorithms. this manual is intended to be used with the following publication: ?the dsp56300 family manual (dsp56300fm/ad), which describes the cpu, core programming models, and instruction set details. this document, as well as motorolas dsp development tools, can be obtained through a local motorola semiconductor sales office or authorized distributor. to receive the latest information on this dsp, access the motorola dsp home page at the address given on the front cover of this document. this manual contains the following sections and appendices. section 1dsp56367 overview C provides a brief description of the dsp56367, including a features list and block diagram. lists related documentation needed to use this chip and describes the organization of this manual. section 2signal/connection descriptions C describes the signals on the dsp56367 pins and how these signals are grouped into interfaces. section 3specifications C describes the dsp56367 maximum ratings, ac specifications, dc specifications, thermal specifications, clock operational specifications and timings. section 4design considerations C describes thermal, electrical, and power consumption issues, as wells pll performance issues and input jitter requirements for the dsp56367. section 5memory configuration C describes data and program and memory maps for the dsp56367.
preface overview motorola dsp56367 24-bit digital signal processor users manual iii section 6core configuration C describes the registers used to configure the dsp56300 core when programming the dsp56367, in particular the interrupt vector locations and the operation of the interrupt priority registers. explains the operating modes and how they affect the processors program and data memories. section 7general purpose input/output (gpio) C describes the dsp56367 gpio capability and the programming model for the gpio signals (operation, registers, and control). section 8 host interface (hdi08) C describes the hdi08 parallel host interface. section 9serial host interface (shi) C describes the serial input/output interface providing a path for communication and program/ coefficient data transfers between the dsp and an external host processor. the shi can also communicate with other serial peripheral devices. section 10enhanced serial audio interface (esai) C describes one of the full-duplex serial port for serial communication with a variety of serial devices. section 11enhanced serial audio interface 1 (esai_1) C describes the second full-duplex serial port for serial communication with a variety of serial devices. section 12digital audio transmitter (dax) C describes the full-duplex serial port for serial communication with a variety of serial devices. section 13triple timer module (tec) C describes the internal timer/event counter in the dsp56367. section 14package description C describes the available package for the dsp56367, including diagrams of the package pinouts and tables describing how the signals are allocated for the package. appendix abootstrap program C lists the bootstrap code used for the dsp56367.
preface overview iv dsp56367 24-bit digital signal processor users manual motorola appendix bequates C lists equates for the dsp56367. appendix cjtag/bsdl listing C provides the bsdl listing for the dsp56367. appendix dprogramming reference C lists peripheral addresses, interrupt addresses, and interrupt priorities for the dsp56367. contains programming sheets listing the contents of the major dsp56367 registers for programmer reference. appendix epower consumption benchmark C describes the benchmark program that permits evaluation of dsp power usage in a test situation. appendix fibis model C describes the ibis model used for the dsp56367.
preface manual conventions motorola dsp56367 24-bit digital signal processor users manual v manual conventions the following conventions are used in this manual: ? bits within registers are always listed from most significant bit (msb) to least significant bit (lsb). ? when several related bits are discussed, they are referenced as aa[n:m], where n>m. for purposes of description, the bits are presented as if they are contiguous within a register. however, this is not always the case. refer to the programming model diagrams or to the programmers sheets to see the exact location of bits within a register. ? when a bit is described as set, its value is 1. when a bit is described as cleared, its value is 0. ? the word assert means that a high true (active high) signal is pulled high to v cc or that a low true (active low) signal is pulled low to ground. the word deassert means that a high true signal is pulled low to ground or that a low true signal is pulled high to v cc . table anchor. ? pins or signals that are asserted low (made active when pulled to ground) C in text, have an overbar (e.g., reset is asserted low). C in code examples, have a tilde in front of their names. in example below, line 3 refers to the ss0 pin (shown as ~ss0 ). ? sets of pins or signals are indicated by the first and last pins or signals in the set (e.g., ha1Cha8). ? code examples are displayed in a monospaced font, as shown below: table 1 high true/low true signal conventions signal/symbol logic state signal state voltage pin 1 true asserted ground 2 pin false deasserted v cc 3 pin true asserted v cc pin false deasserted ground note: 1. pin is a generic term for any pin on the chip. 2. ground is an acceptable low voltage level. see the appropriate data sheet for the range of acceptable low voltage levels (typically a ttl logic low). 3. v cc is an acceptable high voltage level. see the appropriate data sheet for the range of acceptable high voltage levels (typically a ttl logic high). example sample code listing bfset #$0007,x:pcc; configure: line 1 ; miso0, mosi0, sck0 for spi master line 2 ; ~ss0 as pc3 for gpio line 3
preface manual conventions vi dsp56367 24-bit digital signal processor users manual motorola ? hex values are indicated with a dollar sign ($) preceding the hex value, as follows: $ffffff is the x memory address for the core interrupt priority register (ipr-c). ? the word reset is used in four different contexts in this manual: C the reset signal, written as reset , C the reset instruction, written as reset, C the reset operating state, written as reset, and C the reset function, written as reset.
motorola dsp56367 24-bit digital signal processor users manual 1-1 chapter 1 dsp56367 overview
dsp56367 overview introduction 1-2 dsp56367 24-bit digital signal processor users manual motorola 1.1 introduction this manual describes the dsp56367 24-bit digital signal processor (dsp), its memory, operating modes, and peripheral modules. the dsp56367 is a member of the dsp56300 family of programmable cmos dsps. the dsp56367 is targeted to applications that require digital audio compression/decompression, sound field processing, acoustic equalization and other digital audio algorithms. the dsp56367 offers 150 million instructions per second (mips) using an internal 150 mhz clock at 1.8 v and 100 million instructions per second (mips) using an internal 100 mhz clock at 1.5 v. changes in core functionality specific to the dsp56367 are also described in this manual. see figure 1-1 for the block diagram of the dsp56367. figure 1-1 dsp56367 block diagram clock inter nal extal progra m ram /instr. cache 3k x 24 progr am progr am progr am yab xab pab ydb xdb pdb gdb moda/irqa modb/irqb data alu 24x24 + 56 -> 56-bit modc/irqc pll once host inter dax (spdif tx.) 4 16 x memor y ram 13k x y memor y ram 7k x 24 ddb dab six channel memory expansion area peripheral ym_eb xm_eb pm_eb pio_eb 24 bits bus expansion area jtag 4 5 reset powe pinit/nmi 2 triple timer 1 modd/irqd dram & sram bus external address bus switch extern al data address 10 data control 24 18 esai inter- face 8 6 esai_1 address generati 24-bit dsp563 shi inter
dsp56367 overview dsp56300 core description motorola dsp56367 24-bit digital signal processor users manual 1-3 1.2 dsp56300 core description the dsp56367 uses the dsp56300 core, a high-performance, single clock cycle per instruction engine that provides up to twice the performance of motorola's popular dsp56000 core family while retaining code compatibility with it. the dsp56300 core family offers a new level of performance in speed and power, provided by its rich instruction set and low power dissipation, thus enabling a new generation of wireless, telecommunications, and multimedia products. for a description of the dsp56300 core, see section 1.4, dsp56300 core functional blocks . significant architectural enhancements to the dsp56300 core family include a barrel shifter, 24-bit addressing, an instruction cache, and direct memory access (dma). the dsp56300 core family members contain the dsp56300 core and additional modules. the modules are chosen from a library of standard predesigned elements such as memories and peripherals. new modules may be added to the library to meet customer specifications. a standard interface between the dsp56300 core and the on-chip memory and peripherals supports a wide variety of memory and peripheral configurations. refer to chapter 5, dsp56367 overview . core features are described fully in the dsp56300 family manual . pinout, memory, and peripheral features are described in this manual. ? dsp56300 modular chassis C 150 million instructions per second (mips) with a 150 mhz clock at internal logic supply (qvccl) of 1.8v. C 100 million instructions per second (mips) with a 100 mhz clock at internal logic supply (qvccl) of 1.5v. C object code compatible with the 56k core. C data alu with a 24 x 24 bit multiplier-accumulator and a 56-bit barrel shifter. 16-bit arithmetic support. C program control with position independent code support and instruction cache support. C six-channel dma controller. C pll based clocking with a wide range of frequency multiplications (1 to 4096), predivider factors (1 to 16) and power saving clock divider (2 i : i=0 to 7). reduces clock noise. C internal address tracing support and once ? for hardware/software debugging. C jtag port. C very low-power cmos design, fully static design with operating frequencies down to dc. C stop and wait low-power standby modes. ? on-chip memory configuration C 7kx24 bit y-data ram and 8kx24 bit y-data rom. C 13kx24 bit x-data ram and 32kx24 bit x-data rom. C 40kx24 bit program rom. C 3kx24 bit program ram and 192x24 bit bootstrap rom. 1k of program ram may be used as instruction cache or for program rom patching. C 2kx24 bit from y data ram and 5kx24 bit from x data ram can be switched to program ram resulting in up to 10kx24 bit of program ram.
dsp56367 overview dsp56367 audio processor architecture 1-4 dsp56367 24-bit digital signal processor users manual motorola ? off-chip memory expansion C external memory expansion port. C off-chip expansion up to two 16m x 24-bit word of data memory. C off-chip expansion up to 16m x 24-bit word of program memory. C simultaneous glueless interface to sram and dram. ? peripheral modules C serial audio interface (esai): up to 4 receivers and up to 6 transmitters, master or slave. i 2 s, sony, ac97, network and other programmable protocols. C serial audio interface i(esai_1): up to 4 receivers and up to 6 transmitters, master or slave. i 2 s, sony, ac97, network and other programmable protocols the esai_1 shares four of the data pins with esai, and esai_1 does not support hckr and hckt (high frequency clocks) C serial host interface (shi): spi and i 2 c protocols, multi master capability, 10-word receive fifo, support for 8, 16 and 24-bit words. C byte-wide parallel host interface (hdi08) with dma support. C triple timer module (tec). C digital audio transmitter (dax): 1 serial transmitter capable of supporting the spdif, iec958, cp-340 and aes/ebu digital audio formats. C pins of unused peripherals (except shi) may be programmed as gpio lines. ? 144-pin plastic lqfp package. 1.3 dsp56367 audio processor architecture this section defines the dsp56367 audio processor architecture. the audio processor is composed of the following units: ? the dsp56300 core is composed of the data alu, address generation unit, program controller, instruction-cache controller, dma controller, pll-based clock oscillator, memory module interface, peripheral module interface and the on-chip emulator (once). the dsp56300 core is described in the document dsp56300 24-bit digital signal processor family manual, motorola publication dsp56300fm/ad . ? memory modules. ? peripheral modules. the peripheral modules are defined in the following sections. memory sizes in the block diagram are defaults. memory may be differently partitioned, according to the memory mode of the chip. see section 1.4.8, on-chip memory for more details about memory size.
dsp56367 overview dsp56300 core functional blocks motorola dsp56367 24-bit digital signal processor users manual 1-5 1.4 dsp56300 core functional blocks the dsp56300 core provides the following functional blocks: ? data arithmetic logic unit (data alu) ? address generation unit (agu) ? program control unit (pcu) ? bus interface unit (biu) ? dma controller (with six channels) ? instruction cache controller ? pll-based clock oscillator ?once module ?jtag tap ? memory in addition, the dsp56367 provides a set of on-chip peripherals, described in section 1.5, peripheral overview . 1.4.1 data alu the data alu performs all the arithmetic and logical operations on data operands in the dsp56300 core. the components of the data alu are as follows: ? fully pipelined 24-bit 24-bit parallel multiplier-accumulator (mac) ? bit field unit, comprising a 56-bit parallel barrel shifter (fast shift and normalization; bit stream generation and parsing) ? conditional alu instructions ? 24-bit or 16-bit arithmetic support under software control ? four 24-bit input general purpose registers: x1, x0, y1, and y0 ? six data alu registers (a2, a1, a0, b2, b1, and b0) that are concatenated into two general purpose, 56-bit accumulators (a and b), accumulator shifters ? two data bus shifter/limiter circuits 1.4.1.1 data alu registers the data alu registers can be read or written over the x memory data bus (xdb) and the y memory data bus (ydb) as 24- or 48-bit operands (or as 16- or 32-bit operands in 16-bit arithmetic mode). the source operands for the data alu, which can be 24, 48, or 56 bits (16, 32, or 40 bits in 16-bit arithmetic mode), always originate from data alu registers. the results of all data alu operations are stored in an accumulator. all the data alu operations are performed in two clock cycles in pipeline fashion so that a new instruction can be initiated in every clock, yielding an effective execution rate of one instruction per clock cycle. the
dsp56367 overview dsp56300 core functional blocks 1-6 dsp56367 24-bit digital signal processor users manual motorola destination of every arithmetic operation can be used as a source operand for the immediately following arithmetic operation without a time penalty (i.e., without a pipeline stall). 1.4.1.2 multiplier-accumulator (mac) the mac unit comprises the main arithmetic processing unit of the dsp56300 core and performs all of the calculations on data operands. in the case of arithmetic instructions, the unit accepts as many as three input operands and outputs one 56-bit result of the following form- extension:most significant product:least significant product (ext:msp:lsp). the multiplier executes 24-bit 24-bit, parallel, fractional multiplies, between twos-complement signed, unsigned, or mixed operands. the 48-bit product is right-justified and added to the 56-bit contents of either the a or b accumulator. a 56-bit result can be stored as a 24-bit operand. the lsp can either be truncated or rounded into the msp. rounding is performed if specified. 1.4.2 address generation unit (agu) the agu performs the effective address calculations using integer arithmetic necessary to address data operands in memory and contains the registers used to generate the addresses. it implements four types of arithmetic: linear, modulo, multiple wrap-around modulo, and reverse-carry. the agu operates in parallel with other chip resources to minimize address-generation overhead. the agu is divided into two halves, each with its own address alu. each address alu has four sets of register triplets, and each register triplet is composed of an address register, an offset register, and a modifier register. the two address alus are identical. each contains a 24-bit full adder (called an offset adder). a second full adder (called a modulo adder) adds the summed result of the first full adder to a modulo value that is stored in its respective modifier register. a third full adder (called a reverse-carry adder) is also provided. the offset adder and the reverse-carry adder are in parallel and share common inputs. the only difference between them is that the carry propagates in opposite directions. test logic determines which of the three summed results of the full adders is output. each address alu can update one address register from its respective address register file during one instruction cycle. the contents of the associated modifier register specifies the type of arithmetic to be used in the address register update calculation. the modifier value is decoded in the address alu. 1.4.3 program control unit (pcu) the pcu performs instruction prefetch, instruction decoding, hardware do loop control, and exception processing. the pcu implements a seven-stage pipeline and controls the different processing states of the dsp56300 core. the pcu consists of the following three hardware blocks: ? program decode controller (pdc) ? program address generator (pag) ? program interrupt controller (pic)
dsp56367 overview dsp56300 core functional blocks motorola dsp56367 24-bit digital signal processor users manual 1-7 the pdc decodes the 24-bit instruction loaded into the instruction latch and generates all signals necessary for pipeline control. the pag contains all the hardware needed for program address generation, system stack, and loop control. the pic arbitrates among all interrupt requests (internal interrupts, as well as the five external requests: irqa , irqb , irqc , irqd , and nmi ), and generates the appropriate interrupt vector address. pcu features include the following: ? position independent code support ? addressing modes optimized for dsp applications (including immediate offsets) ? on-chip instruction cache controller ? on-chip memory-expandable hardware stack ? nested hardware do loops ? fast auto-return interrupts the pcu implements its functions using the following registers: ? pcprogram counter register ? srstatus register ? laloop address register ? lcloop counter register ? vbavector base address register ? szstack size register ? spstack pointer ? omroperating mode register ? scstack counter register the pcu also includes a hardware system stack (ss). 1.4.4 internal buses to provide data exchange between blocks, the following buses are implemented: ? peripheral input/output expansion bus (pio_eb) to peripherals ? program memory expansion bus (pm_eb) to program memory ? x memory expansion bus (xm_eb) to x memory ? y memory expansion bus (ym_eb) to y memory ? global data bus (gdb) between registers in the dma, agu, once, pll, biu, and pcu as well as the memory-mapped registers in the peripherals ? dma data bus (ddb) for carrying dma data between memories and/or peripherals ? dma address bus (dab) for carrying dma addresses to memories and peripherals ? program data bus (pdb) for carrying program data throughout the core ? x memory data bus (xdb) for carrying x data throughout the core
dsp56367 overview dsp56300 core functional blocks 1-8 dsp56367 24-bit digital signal processor users manual motorola ? y memory data bus (ydb) for carrying y data throughout the core ? program address bus (pab) for carrying program memory addresses throughout the core ? x memory address bus (xab) for carrying x memory addresses throughout the core ? y memory address bus (yab) for carrying y memory addresses throughout the core all internal buses on the dsp56300 family members are 24-bit buses. see figure 1-1 . 1.4.5 direct memory access (dma) the dma block has the following features: ? six dma channels supporting internal and external accesses ? one-, two-, and three-dimensional transfers (including circular buffering) ? end-of-block-transfer interrupts ? triggering from interrupt lines and all peripherals 1.4.6 pll-based clock oscillator the clock generator in the dsp56300 core is composed of two main blocks: the pll, which performs clock input division, frequency multiplication, and skew elimination; and the clock generator (clkgen), which performs low-power division and clock pulse generation. pll-based clocking: ? allows change of low-power divide factor (df) without loss of lock ? provides output clock with skew elimination ? provides a wide range of frequency multiplications (1 to 4096), predivider factors (1 to 16), and a power-saving clock divider (2 i : i = 0 to 7) to reduce clock noise the pll allows the processor to operate at a high internal clock frequency using a low frequency clock input. this feature offers two immediate benefits: ? a lower frequency clock input reduces the overall electromagnetic interference generated by a system. ? the ability to oscillate at different frequencies reduces costs by eliminating the need to add additional oscillators to a system. 1.4.7 jtag tap and once module the dsp56300 core provides a dedicated user-accessible tap fully compatible with the ieee 1149.1 standard test access port and boundary scan architecture . problems associated with testing high-density circuit boards led to developing this standard under the sponsorship of the test technology committee of ieee and jtag. the dsp56300 core implementation supports circuit-board test strategies based on this standard.
dsp56367 overview dsp56300 core functional blocks motorola dsp56367 24-bit digital signal processor users manual 1-9 the test logic includes a tap consisting of four dedicated signals, a 16-state controller, and three test data registers. a boundary scan register links all device signals into a single shift register. the test logic, implemented utilizing static logic design, is independent of the device system logic. more information on the jtag port is provided in dsp56300 family manual, jtag port . the once module provides a nonintrusive means of interacting with the dsp56300 core and its peripherals so a user can examine registers, memory, or on-chip peripherals. this facilitates hardware and software development on the dsp56300 core processor. once module functions are provided through the jtag tap signals. more information on the once module is provided in dsp56300 family manual, on-chip emulation module . 1.4.8 on-chip memory the memory space of the dsp56300 core is partitioned into program memory space, x data memory space, and y data memory space. the data memory space is divided into x and y data memory in order to work with the two address alus and to feed two operands simultaneously to the data alu. memory space includes internal ram and rom and can be expanded off-chip under software control. there is an instruction cache, made using program ram. the patch mode (which uses instruction cache space) is used to patch program rom. the memory switch mode is used to increase the size of program ram as needed (switch from x data ram and/or y data ram). there are on-chip roms for program memory (40k x 24-bit), bootstrap memory (192 words x 24-bit), x rom (32k x 24-bit), and y rom(8k x 24-bit). more information on the internal memory is provided in chapter 5, memory configuration . 1.4.9 off-chip memory expansion memory can be expanded off-chip as follows: ? data memory can be expanded to two 16 m 24-bit word memory spaces in 24-bit address mode (64k in 16-bit address mode). ? program memory can be expanded to one 16 m 24-bit word memory space in 24-bit address mode (64k in 16-bit address mode). other features of external memory expansion include the following: ? external memory expansion port ? chip-select logic glueless interface to static random access memory (sram) ? on-chip dynamic ram (dram) controller for glueless interface to dram ? eighteen external address lines
dsp56367 overview peripheral overview 1-10 dsp56367 24-bit digital signal processor users manual motorola 1.5 peripheral overview the dsp56367 is designed to perform a wide variety of fixed-point digital signal processing functions. in addition to the core features previously discussed, the dsp56367 provides the following peripherals: ? 8-bit parallel host interface (hdi08, with dma support) to external hosts ? as many as 37 user-configurable general purpose input/output (gpio) signals ? timer/event counter (tec) module, containing three independent timers ? memory switch mode in on-chip memory ? four external interrupt/mode control lines and one external non-maskable interrupt line ? enhanced serial audio interface (esai) with up to four receivers and up to six transmitters, master or slave, using the i 2 s, sony, ac97, network, and other programmable protocols ? a second enhanced serial audio interface (esai_1) with 6 dedicated pins. ? serial host interface (shi) using spi and i 2 c protocols, with multi-master capability, 10-word receive fifo, and support for 8-, 16-, and 24-bit words ? digital audio transmitter (dax): a serial transmitter capable of supporting the spdif, iec958, cp-340, and aes/ebu digital audio formats 1.5.1 host interface (hdi08) the host interface (hdi08) is a byte-wide, full-duplex, double-buffered, parallel port that can be connected directly to the data bus of a host processor. the hdi08 supports a variety of buses and provides glueless connection with a number of industry-standard dsps, microcomputers, microprocessors, and dma hardware. the dsp core treats the hdi08 as a memory-mapped peripheral, using either standard polled or interrupt programming techniques. separate transmit and receive data registers are double-buffered to allow the dsp and host processor to efficiently transfer data at high speed. memory mapping allows dsp core communication with the hdi08 registers to be accomplished using standard instructions and addressing modes. since the host bus may operate asynchronously with the dsp core clock, the hdi08 registers are divided into 2 banks. the host side bank is accessible to the external host, and the dsp side bank is accessible to the dsp core. the hdi08 supports the following three classes of interfaces: ? host processor/mcu connection ? dma controller ? gpio port host port pins not in use may be configured as gpio pins. the host interface provides up to 16 gpio pins. these pins can be programmed to function as either gpio or host interface. for more information on the hdi08, see chapter 8, host interface (hdi08) .
dsp56367 overview peripheral overview motorola dsp56367 24-bit digital signal processor users manual 1-11 1.5.2 general purpose input/output (gpio) the gpio port consists of as many as 37 programmable signals, all of which are also used by the peripherals (hdi08, esai, esai_1, dax, and tec). there are no dedicated gpio signals. the signals are configured as gpio after hardware reset. register programming techniques for all gpio functionality among these interfaces are very similar. 1.5.3 triple timer (tec) this section describes a peripheral module composed of a common 21-bit prescaler and three independent and identical general purpose 24-bit timer/event counters, each one having its own register set. each timer can use internal or external clocking and can interrupt the dsp after a specified number of events (clocks). timer 0 can signal an external device after counting internal events. each timer can also be used to trigger dma transfers after a specified number of events (clocks) occurred. one timer (timer 0) connects to the external world through one bidirectional pin tio0. when tio0 is configured as input, the timer functions as an external event counter or can measure external pulse width/signal period. when tio0 is used as output the timer is functioning as either a timer, a watchdog or a pulse width modulator. when the tio0 pin is not used by the timer it can be used as a general purpose input/output pin. refer to chapter 13, timer/event counter . 1.5.4 enhanced serial audio interface (esai) the esai provides a full-duplex serial port for serial communication with a variety of serial devices including one or more industry-standard codecs, other dsps, microprocessors, and peripherals that implement the motorola spi serial protocol. the esai consists of independent transmitter and receiver sections, each with its own clock generator. it is a superset of the dsp56300 family essi peripheral and of the dsp56000 family sai peripheral. for more information on the esai, refer to chapter 10, enhanced serial audio interface (esai) . 1.5.5 enhanced serial audio interface 1 (esai_1) the esai_1 is a second esai interface with just 6 dedicated pins instead of the 12 pins of the full esai. four data pins are shared with the esai, while the two high frequency clock pins are not available. other than the available pins, esai_1 is functionally identical to esai. for more information on the esai_1, refer to chapter 11, enhanced serial audio interface 1 (esai_1) .
dsp56367 overview peripheral overview 1-12 dsp56367 24-bit digital signal processor users manual motorola 1.5.6 serial host interface (shi) the shi is a serial input/output interface providing a path for communication and program/coefficient data transfers between the dsp and an external host processor. the shi can also communicate with other serial peripheral devices. the shi can interface directly to either of two well-known and widely used synchronous serial buses: the motorola serial peripheral interface (spi) bus and the philips inter-integrated-circuit control (i 2 c) bus. the shi supports either the spi or i 2 c bus protocol, as required, from a slave or a single-master device. to minimize dsp overhead, the shi supports single-, double-, and triple-byte data transfers. the shi has a 10-word receive fifo that permits receiving up to 30 bytes before generating a receive interrupt, reducing the overhead for data reception. for more information on the shi, refer to chapter 9, serial host interface . 1.5.7 digital audio transmitter (dax) the dax is a serial audio interface module that outputs digital audio data in the aes/ebu, cp-340 and iec958 formats. for more information on the dax, refer to chapter 12, digital audio transmitter .
motorola dsp56367 24-bit digital signal processor users manual 2-1 chapter 2 signal / connection descriptions
signal / connection descriptions signal groupings 2-2 dsp56367 24-bit digital signal processor users manual motorola 2.1 signal groupings the input and output signals of the dsp56367 are organized into functional groups, which are listed in table 2-1 and illustrated in figure 2-1 . the dsp56367 is operated from a 1.8v supply; however, some of the inputs can tolerate 3.3v. a special notice for this feature is added to the signal descriptions of those inputs. remember, the dsp56367 offers 150 million instructions per second (mips) using an internal 150 mhz clock at 1.8 v and 100 million instructions per second (mips) using an internal 100 mhz clock at 1.3.3v. table 2-1 dsp56367 functional signal groupings functional group number of signals detailed description power (v cc )20 table 2-2 ground (gnd) 18 table 2-3 clock and pll 3 table 2-4 address bus port a 1 18 table 2-5 data bus 24 table 2-6 bus control 10 table 2-7 interrupt and mode control 5 table 2-8 hdi08 port b 2 16 table 2-9 shi 5 table 2-10 esai port c 3 12 table 2-11 esai_1 port e 5 6 table 2-12 digital audio transmitter (dax) port d 4 2 table 2-13 timer 1 table 2-14 jtag/once port4 table 2-15 note: 1. port a is the external memory interface port, including the external address bus, data bus, and control signals. 2. port b signals are the gpio port signals which are multiplexed with the hdi08 signals. 3. port c signals are the gpio port signals which are multiplexed with the esai signals. 4. port d signals are the gpio port signals which are multiplexed with the dax signals. 5. port e signals are the gpio port signals which are multiplexed with the esai_1 signals.
signal / connection descriptions signal groupings motorola dsp56367 24-bit digital signal processor users manual 2-3 2.1.1 power requirements to prevent high current conditions due to possible improper sequencing of the power supplies, the connection shown below is recommended to be made between the dsp56367 io_vdd and core_vdd power pins. to prevent a high current condition upon power up, the iovdd must be applied ahead of the core vdd as shown below if the external schottcky is not used. io vdd core vdd external schottky diode core vdd io vdd
signal / connection descriptions signal groupings 2-4 dsp56367 24-bit digital signal processor users manual motorola figure 2-1 signals identified by functional group port a address bus a0-a17 vcca (3) gnda (4) d0-d23 vccd (4) gndd (4) aa0-aa2/ras0 -ras 2 port a bus control port a data bus once ? on-chip emulation/ tck tdo vcch gndh vccql (4) port b port c jtag port pinit/nmi vccqh (3) vccc (2) gndc (2) interrupt and mode control moda/irqa modb/irqb modc/irqc modd/irqd reset pll and clock extal pcap gndp vccp port d quiet power gndq (4) spdif transmitter (dax) ado [pd1] aci [pd0] timer 0 tio0 [tio0] hreq sck/scl miso/sda ss /ha2 mosi/ha0 tms parallel host port (hdi08) dsp56367 had(7:0) [pb0-pb7] has/ha0 [pb8] ha8/ha1 [pb9] ha9/ha2 [pb10] hrw/hrd [pb11] hds/hwr [pb12] hcs/ha10 [pb13] horeq/htrq [pb14] hack/hrrq [pb15] serial audio interface (esai) tdi serial host interface (shi) gnds (2) vccs (2) fst [pc4] hckt [pc5] sckr [pc0] fsr [pc1] hckr [pc2] sdo0[pc11] / sdo0_1[pe11] sdo1[pc10] / sdo1_1[pe10] sdo2/sdi3[pc9] / sdo2_1/sdi3_1[pe9] sdo3/sdi2[pc8] / sdo3_1/sdi2_1[pe8] sdo4/sdi1 [pc7] sdo5/sdi0 [pc6] fs sckt_1[pe3] sckt[pc3] t_1[pe4] sckr_1[pe0] fsr_1[pe1] sdo4_1/sdi1_1[pe7] sdo5_1/sdi0_1[pe6] bb bg br ta wr rd cas port e serial audio interface(esai_1)
signal / connection descriptions power motorola dsp56367 24-bit digital signal processor users manual 2-5 2.2 power table 2-2 power inputs power name description v ccp pll power v ccp is v cc dedicated for pll use. the voltage should be well-regulated and the input should be provided with an extremely low impedance path to the v cc power rail. there is one v ccp input. v ccql (4) quiet core (low) power v ccql is an isolated power for the internal processing logic. this input must be tied externally to all other v ccql power pins and the v ccp power pin only. do not tie with other power pins. the user must provide adequate external decoupling capacitors. there are four v ccql inputs. v ccqh (3) quiet external (high) power v ccqh is a quiet power source for i/o lines. this input must be tied externally to all other chip power inputs.the user must provide adequate decoupling capacitors. there are three v ccqh inputs. v cca (3) address bus power v cca is an isolated power for sections of the address bus i/o drivers. this input must be tied externally to all other chip power inputs. the user must provide adequate external decoupling capacitors. there are three v cca inputs. v ccd (4) data bus power v ccd is an isolated power for sections of the data bus i/o drivers. this input must be tied externally to all other chip power inputs. the user must provide adequate external decoupling capacitors. there are four v ccd inputs. v ccc (2) bus control power v ccc is an isolated power for the bus control i/o drivers. this input must be tied externally to all other chip power inputs. the user must provide adequate external decoupling capacitors. there are two v ccc inputs. v cch host power v cch is an isolated power for the hdi08 i/o drivers. this input must be tied externally to all other chip power inputs. the user must provide adequate external decoupling capacitors. there is one v cch input. v ccs (2) shi, esai, esai_1, dax and timer power v ccs is an isolated power for the shi, esai, esai_1, dax and timer. this input must be tied externally to all other chip power inputs. the user must provide adequate external decoupling capacitors. there are two v ccs inputs.
signal / connection descriptions ground 2-6 dsp56367 24-bit digital signal processor users manual motorola 2.3 ground table 2-3 grounds ground name description gnd p pll ground gnd p is a ground dedicated for pll use. the connection should be provided with an extremely low-impedance path to ground. v ccp should be bypassed to gnd p by a 0.47 f capacitor located as close as possible to the chip package. there is one gnd p connection. gnd q (4) quiet ground gnd q is an isolated ground for the internal processing logic. this connection must be tied externally to all other chip ground connections. the user must provide adequate external decoupling capacitors. there are four gnd q connections. gnd a (4) address bus ground gnd a is an isolated ground for sections of the address bus i/o drivers. this connection must be tied externally to all other chip ground connections. the user must provide adequate external decoupling capacitors. there are four gnd a connections. gnd d (4) data bus ground gnd d is an isolated ground for sections of the data bus i/o drivers. this connection must be tied externally to all other chip ground connections. the user must provide adequate external decoupling capacitors. there are four gnd d connections. gnd c (2) bus control ground gnd c is an isolated ground for the bus control i/o drivers. this connection must be tied externally to all other chip ground connections. the user must provide adequate external decoupling capacitors. there are two gnd c connections. gnd h host ground gnd h is an isolated ground for the hd08 i/o drivers. this connection must be tied externally to all other chip ground connections. the user must provide adequate external decoupling capacitors. there is one gnd h connection. gnd s (2) shi, esai, esai_1, dax and timer ground gnd s is an isolated ground for the shi, esai, esai_1, dax and timer. this connection must be tied externally to all other chip ground connections. the user must provide adequate external decoupling capacitors. there are two gnd s connections.
signal / connection descriptions clock and pll motorola dsp56367 24-bit digital signal processor users manual 2-7 2.4 clock and pll 2.5 external memory expansion port (port a) when the dsp56367 enters a low-power standby mode (stop or wait), it releases bus mastership and tri-states the relevant port a signals: a0Ca17, d0Cd23, aa0/ras0 Caa2/ras2 , rd , wr , bb , cas . 2.5.1 external address bus table 2-4 clock and pll signals signal name type state during reset signal description extal inputinput external clock input an external clock source must be connected to extal in order to supply the clock to the internal clock generator and pll. pcap inputinput pll capacitor pcap is an input connecting an off-chip capacitor to the pll filter. connect one capacitor terminal to pcap and the other terminal to v ccp . if the pll is not used, pcap may be tied to v cc , gnd, or left floating. pinit/nmi inputinput pll initial/nonmaskable interrupt during assertion of reset , the value of pinit/nmi is written into the pll enable (pen) bit of the pll control register, determining whether the pll is enabled or disabled. after reset de assertion and during normal instruction processing, the pinit/nmi schmitt-trigger input is a negative-edge-triggered nonmaskable interrupt (nmi) request internally synchronized to internal system clock. table 2-5 external address bus signals signal name type state during reset signal description a0Ca17 output tri-stated address bus when the dsp is the bus master, a0Ca17 are active-high outputs that specify the address for external program and data memory accesses. otherwise, the signals are tri-stated. to minimize power dissipation, a0Ca17 do not change state when external memory spaces are not being accessed.
signal / connection descriptions external memory expansion port (port a) 2-8 dsp56367 24-bit digital signal processor users manual motorola 2.5.2 external data bus 2.5.3 external bus control table 2-6 external data bus signals signal name type state during reset signal description d0Cd23 input/output tri-stated data bus when the dsp is the bus master, d0Cd23 are active-high, bidirectional input/outputs that provide the bidirectional data bus for external program and data memory accesses. otherwise, d0Cd23 are tri-stated. table 2-7 external bus control signals signal name type state during reset signal description aa0Caa2 /ras0 Cr as2 output tri-stated address attribute or row address strobe when defined as aa, these signals can be used as chip selects or additional address lines. when defined as ras , these signals can be used as ras for dram interface. these signals are tri-statable outputs with programmable polarity. cas output tri-stated column address strobe when the dsp is the bus master, cas is an active-low output used by dram to strobe the column address. otherwise, if the bus mastership enable (bme) bit in the dram control register is cleared, the signal is tri-stated. rd output tri-stated read enable when the dsp is the bus master, rd is an active-low output that is asserted to read external memory on the data bus (d0-d23). otherwise, rd is tri-stated. wr output tri-stated write enable when the dsp is the bus master, wr is an active-low output that is asserted to write external memory on the data bus (d0-d23). otherwise, wr is tri-stated.
signal / connection descriptions external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 2-9 ta inputignored input transfer acknowledge if the dsp is the bus master and there is no external bus activity, or the dsp is not the bus master, the ta input is ignored. the ta input is a data transfer acknowledge (dtack) function that can extend an external bus cycle indefinitely. any number of wait states (1, 2. . .infinity) may be added to the wait states inserted by the bcr by keeping ta deasserted. in typical operation, ta is deasserted at the start of a bus cycle, is asserted to enable completion of the bus cycle, and is deasserted before the next bus cycle. the current bus cycle completes one clock period after ta is asserted synchronous to the internal system clock. the number of wait states is determined by the ta input or by the bus control register (bcr), whichever is longer. the bcr can be used to set the minimum number of wait states in external bus cycles. in order to use the ta functionality, the bcr must be programmed to at least one wait state. a zero wait state access cannot be extended by ta deassertion, otherwise improper operation may result. ta can operate synchronously or asynchronously, depending on the setting of the tas bit in the operating mode register (omr). ta functionality may not be used while performing dram type accesses, otherwise improper operation may result. br output output (deasserted) bus request br is an active-low output, never tri-stated. br is asserted when the dsp requests bus mastership. br is deasserted when the dsp no longer needs the bus. br may be asserted or deasserted independent of whether the dsp56367 is a bus master or a bus slave. bus parking allows br to be deasserted even though the dsp56367 is the bus master. (see the description of bus parking in the bb signal description.) the bus request hold (brh) bit in the bcr allows br to be asserted under software control even though the dsp does not need the bus. br is typically sent to an external bus arbitrator that controls the priority, parking, and tenure of each master on the same external bus. br is only affected by dsp requests for the external bus, never for the internal bus. during hardware reset, br is deasserted and the arbitration is reset to the bus slave state. table 2-7 external bus control signals (continued) signal name type state during reset signal description
signal / connection descriptions interrupt and mode control 2-10 dsp56367 24-bit digital signal processor users manual motorola 2.6 interrupt and mode control the interrupt and mode control signals select the chips operating mode as it comes out of hardware reset. after reset is deasserted, these inputs are hardware interrupt request lines. bg inputignored input bus grant bg is an active-low input. bg is asserted by an external bus arbitration circuit when the dsp56367 becomes the next bus master. when bg is asserted, the dsp56367 must wait until bb is deasserted before taking bus mastership. when bg is deasserted, bus mastership is typically given up at the end of the current bus cycle. this may occur in the middle of an instruction that requires more than one external bus cycle for execution. for proper bg operation, the asynchronous bus arbitration enable bit (abe) in the omr register must be set. bb input/ output input bus busy bb is a bidirectional active-low input/output. bb indicates that the bus is active. only after bb is deasserted can the pending bus master become the bus master (and then assert the signal again). the bus master may keep bb asserted after ceasing bus activity regardless of whether br is asserted or deasserted. this is called bus parking and allows the current bus master to reuse the bus without rearbitration until another device requires the bus. the deassertion of bb is done by an active pull-up method (i.e., bb is driven high and then released and held high by an external pull-up resistor). for proper bb operation, the asynchronous bus arbitration enable bit (abe) in the omr register must be set. bb requires an external pull-up resistor. table 2-7 external bus control signals (continued) signal name type state during reset signal description
signal / connection descriptions interrupt and mode control motorola dsp56367 24-bit digital signal processor users manual 2-11 table 2-8 interrupt and mode control signal name type state during reset signal description moda/irqa inputinput mode select a/external interrupt request a moda/irqa is an active-low schmitt-trigger input, internally synchronized to the dsp clock. moda/irqa selects the initial chip operating mode during hardware reset and becomes a level-sensitive or negative-edge-triggered, maskable interrupt request input during normal instruction processing. moda, modb, modc, and modd select one of 16 initial chip operating modes, latched into the omr when the reset signal is deasserted. if the processor is in the stop standby state and the moda/irqa pin is pulled to gnd, the processor will exit the stop state. this input is 3.3v tolerant . modb/irqb inputinput mode select b/external interrupt request b modb/irqb is an active-low schmitt-trigger input, internally synchronized to the dsp clock. modb/irqb selects the initial chip operating mode during hardware reset and becomes a level-sensitive or negative-edge-triggered, maskable interrupt request input during normal instruction processing. moda, modb, modc, and modd select one of 16 initial chip operating modes, latched into omr when the reset signal is deasserted. this input is 3.3v tolerant. modc/irqc inputinput mode select c/external interrupt request c modc/irqc is an active-low schmitt-trigger input, internally synchronized to the dsp clock. modc/irqc selects the initial chip operating mode during hardware reset and becomes a level-sensitive or negative-edge-triggered, maskable interrupt request input during normal instruction processing. moda, modb, modc, and modd select one of 16 initial chip operating modes, latched into omr when the reset signal is deasserted. this input is 3.3v tolerant.
signal / connection descriptions parallel host interface (hdi08) 2-12 dsp56367 24-bit digital signal processor users manual motorola 2.7 parallel host interface (hdi08) the hdi08 provides a fast, 8-bit, parallel data port that may be connected directly to the host bus. the hdi08 supports a variety of standard buses and can be directly connected to a number of industry standard microcomputers, microprocessors, dsps, and dma hardware. modd/irqd inputinput mode select d/external interrupt request d modd/irqd is an active-low schmitt-trigger input, internally synchronized to the dsp clock. modd/irqd selects the initial chip operating mode during hardware reset and becomes a level-sensitive or negative-edge-triggered, maskable interrupt request input during normal instruction processing. moda, modb, modc, and modd select one of 16 initial chip operating modes, latched into omr when the reset signal is deasserted. this input is 3.3v tolerant. reset inputinput reset reset is an active-low, schmitt-trigger input. when asserted, the chip is placed in the reset state and the internal phase generator is reset. the schmitt-trigger input allows a slowly rising input (such as a capacitor charging) to reset the chip reliably. when the reset signal is deasserted, the initial chip operating mode is latched from the moda, modb, modc, and modd inputs. the reset signal must be asserted during power up. a stable extal signal must be supplied while reset is being asserted. this input is 3.3v tolerant . table 2-8 interrupt and mode control (continued) signal name type state during reset signal description
signal / connection descriptions parallel host interface (hdi08) motorola dsp56367 24-bit digital signal processor users manual 2-13 table 2-9 host interface signal name type state during reset signal description h0Ch7 input/ output host data when hdi08 is programmed to interface a nonmultiplexed host bus and the hi function is selected, these signals are lines 0C7 of the bidirectional, tri-state data bus. had0Chad 7 input/ output host address/data when hdi08 is programmed to interface a multiplexed host bus and the hi function is selected, these signals are lines 0C7 of the address/data bidirectional, multiplexed, tri-state bus. pb0Cpb7 input, output, or disconnected gpio disconnected port b 0C7 when the hdi08 is configured as gpio, these signals are individually programmable as input, output, or internally disconnected. the default state after reset for these signals is gpio disconnected. these inputs are 3.3v tolerant. ha0 inputgpio disconnected host address input 0 when the hdi08 is programmed to interface a nonmultiplexed host bus and the hi function is selected, this signal is line 0 of the host address input bus. has/ has input host address strobe when hdi08 is programmed to interface a multiplexed host bus and the hi function is selected, this signal is the host address strobe (has) schmitt-trigger input. the polarity of the address strobe is programmable, but is configured active-low (has ) following reset. pb8 input, output, or disconnected port b 8 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. ha1 inputgpio disconnected host address input 1 when the hdi08 is programmed to interface a nonmultiplexed host bus and the hi function is selected, this signal is line 1 of the host address (ha1) input bus.
signal / connection descriptions parallel host interface (hdi08) 2-14 dsp56367 24-bit digital signal processor users manual motorola ha8 input host address 8 when hdi08 is programmed to interface a multiplexed host bus and the hi function is selected, this signal is line 8 of the host address (ha8) input bus. pb9 input, output, or disconnected port b 9 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. ha2 inputgpio disconnected host address input 2 when the hdi08 is programmed to interface a non-multiplexed host bus and the hi function is selected, this signal is line 2 of the host address (ha2) input bus. ha9 input host address 9 when hdi08 is programmed to interface a multiplexed host bus and the hi function is selected, this signal is line 9 of the host address (ha9) input bus. pb10 input, output, or disconnected port b 10 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. table 2-9 host interface (continued) signal name type state during reset signal description
signal / connection descriptions parallel host interface (hdi08) motorola dsp56367 24-bit digital signal processor users manual 2-15 hrw inputgpio disconnected host read/write when hdi08 is programmed to interface a single-data-strobe host bus and the hi function is selected, this signal is the host read/write (hrw) input. hrd / hrd input host read data when hdi08 is programmed to interface a double-data-strobe host bus and the hi function is selected, this signal is the host read data strobe (hrd) schmitt-trigger input. the polarity of the data strobe is programmable, but is configured as active-low (hrd ) after reset. pb11 input, output, or disconnected port b 11 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. hds / hds inputgpio disconnected host data strobe when hdi08 is programmed to interface a single-data-strobe host bus and the hi function is selected, this signal is the host data strobe (hds) schmitt-trigger input. the polarity of the data strobe is programmable, but is configured as active-low (hds ) following reset. hwr / hwr input host write data when hdi08 is programmed to interface a double-data-strobe host bus and the hi function is selected, this signal is the host write data strobe (hwr) schmitt-trigger input. the polarity of the data strobe is programmable, but is configured as active-low (hwr ) following reset. pb12 input, output, or disconnected port b 12 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. table 2-9 host interface (continued) signal name type state during reset signal description
signal / connection descriptions parallel host interface (hdi08) 2-16 dsp56367 24-bit digital signal processor users manual motorola hcs inputgpio disconnected host chip select when hdi08 is programmed to interface a nonmultiplexed host bus and the hi function is selected, this signal is the host chip select (hcs) input. the polarity of the chip select is programmable, but is configured active-low (hcs ) after reset. ha10 input host address 10 when hdi08 is programmed to interface a multiplexed host bus and the hi function is selected, this signal is line 10 of the host address (ha10) input bus. pb13 input, output, or disconnected port b 13 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. horeq / horeq output gpio disconnected host request when hdi08 is programmed to interface a single host request host bus and the hi function is selected, this signal is the host request (horeq) output. the polarity of the host request is programmable, but is configured as active-low (horeq ) following reset. the host request may be programmed as a driven or open-drain output. htrq / htrq output transmit host request when hdi08 is programmed to interface a double host request host bus and the hi function is selected, this signal is the transmit host request (htrq) output. the polarity of the host request is programmable, but is configured as active-low (htrq ) following reset. the host request may be programmed as a driven or open-drain output. pb14 input, output, or disconnected port b 14 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. table 2-9 host interface (continued) signal name type state during reset signal description
signal / connection descriptions parallel host interface (hdi08) motorola dsp56367 24-bit digital signal processor users manual 2-17 hack / hack inputgpio disconnected host acknowledge when hdi08 is programmed to interface a single host request host bus and the hi function is selected, this signal is the host acknowledge (hack) schmitt-trigger input. the polarity of the host acknowledge is programmable, but is configured as active-low (hack ) after reset. hrrq / hrrq output receive host request when hdi08 is programmed to interface a double host request host bus and the hi function is selected, this signal is the receive host request (hrrq) output. the polarity of the host request is programmable, but is configured as active-low (hrrq ) after reset. the host request may be programmed as a driven or open-drain output. pb15 input, output, or disconnected port b 15 when the hdi08 is configured as gpio, this signal is individually programmed as input, output, or internally disconnected. the default state after reset for this signal is gpio disconnected. this input is 3.3v tolerant. table 2-9 host interface (continued) signal name type state during reset signal description
signal / connection descriptions serial host interface 2-18 dsp56367 24-bit digital signal processor users manual motorola 2.8 serial host interface the shi has five i/o signals that can be configured to allow the shi to operate in either spi or i 2 c mode. table 2-10 serial host interface signals signal name signal type state during reset signal description sck input or output tri-stated spi serial clock the sck signal is an output when the spi is configured as a master and a schmitt-trigger input when the spi is configured as a slave. when the spi is configured as a master, the sck signal is derived from the internal shi clock generator. when the spi is configured as a slave, the sck signal is an input, and the clock signal from the external master synchronizes the data transfer. the sck signal is ignored by the spi if it is defined as a slave and the slave select (ss ) signal is not asserted. in both the master and slave spi devices, data is shifted on one edge of the sck signal and is sampled on the opposite edge where data is stable. edge polarity is determined by the spi transfer protocol. scl input or output i 2 c serial clock scl carries the clock for i 2 c bus transactions in the i 2 c mode. scl is a schmitt-trigger input when configured as a slave and an open-drain output when configured as a master. scl should be connected to v cc through a pull-up resistor. this signal is tri-stated during hardware, software, and individual reset. thus, there is no need for an external pull-up in this state. this input is 3.3v tolerant.
signal / connection descriptions serial host interface motorola dsp56367 24-bit digital signal processor users manual 2-19 miso input or output tri-stated spi master-in-slave-out when the spi is configured as a master, miso is the master data input line. the miso signal is used in conjunction with the mosi signal for transmitting and receiving serial data. this signal is a schmitt-trigger input when configured for the spi master mode, an output when configured for the spi slave mode, and tri-stated if configured for the spi slave mode when ss is deasserted. an external pull-up resistor is not required for spi operation. sda input or open-drai n output i 2 c data and acknowledge in i 2 c mode, sda is a schmitt-trigger input when receiving and an open-drain output when transmitting. sda should be connected to v cc through a pull-up resistor. sda carries the data for i 2 c transactions. the data in sda must be stable during the high period of scl. the data in sda is only allowed to change when scl is low. when the bus is free, sda is high. the sda line is only allowed to change during the time scl is high in the case of start and stop events. a high-to-low transition of the sda line while scl is high is a unique situation, and is defined as the start event. a low-to-high transition of sda while scl is high is a unique situation defined as the stop event. this signal is tri-stated during hardware, software, and individual reset. thus, there is no need for an external pull-up in this state. this input is 3.3v tolerant. mosi input or output tri-stated spi master-out-slave-in when the spi is configured as a master, mosi is the master data output line. the mosi signal is used in conjunction with the miso signal for transmitting and receiving serial data. mosi is the slave data input line when the spi is configured as a slave. this signal is a schmitt-trigger input when configured for the spi slave mode. ha0 input i 2 c slave address 0 this signal uses a schmitt-trigger input when configured for the i 2 c mode. when configured for i 2 c slave mode, the ha0 signal is used to form the slave device address. ha0 is ignored when configured for the i 2 c master mode. this signal is tri-stated during hardware, software, and individual reset. thus, there is no need for an external pull-up in this state. this input is 3.3v tolerant. table 2-10 serial host interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions serial host interface 2-20 dsp56367 24-bit digital signal processor users manual motorola ss input tri-stated spi slave select this signal is an active low schmitt-trigger input when configured for the spi mode. when configured for the spi slave mode, this signal is used to enable the spi slave for transfer. when configured for the spi master mode, this signal should be kept deasserted (pulled high). if it is asserted while configured as spi master, a bus error condition is flagged. if ss is deasserted, the shi ignores sck clocks and keeps the miso output signal in the high-impedance state. ha2 input i 2 c slave address 2 this signal uses a schmitt-trigger input when configured for the i 2 c mode. when configured for the i 2 c slave mode, the ha2 signal is used to form the slave device address. ha2 is ignored in the i 2 c master mode. this signal is tri-stated during hardware, software, and individual reset. thus, there is no need for an external pull-up in this state. this input is 3.3v tolerant. hreq input or output tri-stated host request this signal is an active low schmitt-trigger input when configured for the master mode but an active low output when configured for the slave mode. when configured for the slave mode, hreq is asserted to indicate that the shi is ready for the next data word transfer and deasserted at the first clock pulse of the new data word transfer. when configured for the master mode, hreq is an input. when asserted by the external slave device, it will trigger the start of the data word transfer by the master. after finishing the data word transfer, the master will await the next assertion of hreq to proceed to the next transfer. this signal is tri-stated during hardware, software, personal reset, or when the hreq1Chreq0 bits in the hcsr are cleared. there is no need for external pull-up in this state. this input is 3.3v tolerant. table 2-10 serial host interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface motorola dsp56367 24-bit digital signal processor users manual 2-21 2.9 enhanced serial audio interface table 2-11 enhanced serial audio interface signals signal name signal type state during reset signal description hckr input or output gpio disconnected high frequency clock for receiver when programmed as an input, this signal provides a high frequency clock source for the esai receiver as an alternate to the dsp core clock. when programmed as an output, this signal can serve as a high-frequency sample clock (e.g., for external digital to analog converters [dacs]) or as an additional system clock. pc2 input, output, or disconnected port c 2 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. hckt input or output gpio disconnected high frequency clock for transmitter when programmed as an input, this signal provides a high frequency clock source for the esai transmitter as an alternate to the dsp core clock. when programmed as an output, this signal can serve as a high frequency sample clock (e.g., for external dacs) or as an additional system clock. pc5 input, output, or disconnected port c 5 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant.
signal / connection descriptions enhanced serial audio interface 2-22 dsp56367 24-bit digital signal processor users manual motorola fsr input or output gpio disconnected frame sync for receiver this is the receiver frame sync input/output signal. in the asynchronous mode (syn=0), the fsr pin operates as the frame sync input or output used by all the enabled receivers. in the synchronous mode (syn=1), it operates as either the serial flag 1 pin (tebe=0), or as the transmitter external buffer enable control (tebe=1, rfsd=1). when this pin is configured as serial flag pin, its direction is determined by the rfsd bit in the rccr register. when configured as the output flag of1, this pin will reflect the value of the of1 bit in the saicr register, and the data in the of1 bit will show up at the pin synchronized to the frame sync in normal mode or the slot in network mode. when configured as the input flag if1, the data value at the pin will be stored in the if1 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. pc1 input, output, or disconnected port c 1 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. fst input or output gpio disconnected frame sync for transmitter this is the transmitter frame sync input/output signal. for synchronous mode, this signal is the frame sync for both transmitters and receivers. for asynchronous mode, fst is the frame sync for the transmitters only. the direction is determined by the transmitter frame sync direction (tfsd) bit in the esai transmit clock control register (tccr). pc4 input, output, or disconnected port c 4 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-11 enhanced serial audio interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface motorola dsp56367 24-bit digital signal processor users manual 2-23 sckr input or output gpio disconnected receiver serial clock sckr provides the receiver serial bit clock for the esai. the sckr operates as a clock input or output used by all the enabled receivers in the asynchronous mode (syn=0), or as serial flag 0 pin in the synchronous mode (syn=1). when this pin is configured as serial flag pin, its direction is determined by the rckd bit in the rccr register. when configured as the output flag of0, this pin will reflect the value of the of0 bit in the saicr register, and the data in the of0 bit will show up at the pin synchronized to the frame sync in normal mode or the slot in network mode. when configured as the input flag if0, the data value at the pin will be stored in the if0 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. pc0 input, output, or disconnected port c 0 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sckt input or output gpio disconnected transmitter serial clock this signal provides the serial bit rate clock for the esai. sckt is a clock input or output used by all enabled transmitters and receivers in synchronous mode, or by all enabled transmitters in asynchronous mode. pc3 input, output, or disconnected port c 3 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-11 enhanced serial audio interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface 2-24 dsp56367 24-bit digital signal processor users manual motorola sdo5 output gpio disconnected serial data output 5 when programmed as a transmitter, sdo5 is used to transmit data from the tx5 serial transmit shift register. sdi0 input serial data input 0 when programmed as a receiver, sdi0 is used to receive serial data into the rx0 serial receive shift register. pc6 input, output, or disconnected port c 6 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sdo4 output gpio disconnected serial data output 4 when programmed as a transmitter, sdo4 is used to transmit data from the tx4 serial transmit shift register. sdi1 input serial data input 1 when programmed as a receiver, sdi1 is used to receive serial data into the rx1 serial receive shift register. pc7 input, output, or disconnected port c 7 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-11 enhanced serial audio interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface motorola dsp56367 24-bit digital signal processor users manual 2-25 sdo3/sdo3_1 output gpio disconnected serial data output 3 when programmed as a transmitter, sdo3 is used to transmit data from the tx3 serial transmit shift register. when enabled for esai_1 operation, this is the esai_1 serial data output 3. sdi2/sdi2_1 input serial data input 2 when programmed as a receiver, sdi2 is used to receive serial data into the rx2 serial receive shift register. when enabled for esai_1 operation, this is the esai_1 serial data input 2. pc8/pe8 input, output, or disconnected port c 8 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. when enabled for esai_1 gpio, this is the port e 8 signal. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sdo2/sdo2_1 output gpio disconnected serial data output 2 when programmed as a transmitter, sdo2 is used to transmit data from the tx2 serial transmit shift register. when enabled for esai_1 operation, this is the esai_1 serial data output 2. sdi3/sdi3_1 input serial data input 3 when programmed as a receiver, sdi3 is used to receive serial data into the rx3 serial receive shift register. when enabled for esai_1 operation, this is the esai_1 serial data input 3. pc9/pe9 input, output, or disconnected port c 9 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. when enabled for esai_1 gpio, this is the port e 9 signal. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-11 enhanced serial audio interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface 2-26 dsp56367 24-bit digital signal processor users manual motorola sdo1/sdo1_1 output gpio disconnected serial data output 1 sdo1 is used to transmit data from the tx1 serial transmit shift register. when enabled for esai_1 operation, this is the esai_1 serial data output 1. pc10/pe10 input, output, or disconnected port c 10 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. when enabled for esai_1 gpio, this is the port e 10 signal. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sdo0/sdo0_1 output gpio disconnected serial data output 0 sdo0 is used to transmit data from the tx0 serial transmit shift register. when enabled for esai_1 operation, this is the esai_1 serial data output 0. pc11/pe11 input, output, or disconnected port c 11 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. when enabled for esai_1 gpio, this is the port e 11 signal. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-11 enhanced serial audio interface signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface_1 motorola dsp56367 24-bit digital signal processor users manual 2-27 2.10 enhanced serial audio interface_1 table 2-12 enhanced serial audio interface_1 signals signal name signal type state during reset signal description fsr_1 input or output gpio disconnected frame sync for receiver_1 this is the receiver frame sync input/output signal. in the asynchronous mode (syn=0), the fsr pin operates as the frame sync input or output used by all the enabled receivers. in the synchronous mode (syn=1), it operates as either the serial flag 1 pin (tebe=0), or as the transmitter external buffer enable control (tebe=1, rfsd=1). when this pin is configured as serial flag pin, its direction is determined by the rfsd bit in the rccr register. when configured as the output flag of1, this pin will reflect the value of the of1 bit in the saicr register, and the data in the of1 bit will show up at the pin synchronized to the frame sync in normal mode or the slot in network mode. when configured as the input flag if1, the data value at the pin will be stored in the if1 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. pe1 input, output, or disconnected port e 1 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant.
signal / connection descriptions enhanced serial audio interface_1 2-28 dsp56367 24-bit digital signal processor users manual motorola fst_1 input or output gpio disconnected frame sync for transmitter_1 this is the transmitter frame sync input/output signal. for synchronous mode, this signal is the frame sync for both transmitters and receivers. for asynchronous mode, fst is the frame sync for the transmitters only. the direction is determined by the transmitter frame sync direction (tfsd) bit in the esai transmit clock control register (tccr). pe4 input, output, or disconnected port e 4 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sckr_1 input or output gpio disconnected receiver serial clock_1 sckr provides the receiver serial bit clock for the esai. the sckr operates as a clock input or output used by all the enabled receivers in the asynchronous mode (syn=0), or as serial flag 0 pin in the synchronous mode (syn=1). when this pin is configured as serial flag pin, its direction is determined by the rckd bit in the rccr register. when configured as the output flag of0, this pin will reflect the value of the of0 bit in the saicr register, and the data in the of0 bit will show up at the pin synchronized to the frame sync in normal mode or the slot in network mode. when configured as the input flag if0, the data value at the pin will be stored in the if0 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. pe0 input, output, or disconnected port e 0 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-12 enhanced serial audio interface_1 signals (continued) signal name signal type state during reset signal description
signal / connection descriptions enhanced serial audio interface_1 motorola dsp56367 24-bit digital signal processor users manual 2-29 sckt_1 input or output gpio disconnected transmitter serial clock_1 this signal provides the serial bit rate clock for the esai. sckt is a clock input or output used by all enabled transmitters and receivers in synchronous mode, or by all enabled transmitters in asynchronous mode. pe3 input, output, or disconnected port e 3 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sdo5_1 output gpio disconnected serial data output 5_1 when programmed as a transmitter, sdo5 is used to transmit data from the tx5 serial transmit shift register. sdi0_1 input serial data input 0_1 when programmed as a receiver, sdi0 is used to receive serial data into the rx0 serial receive shift register. pe6 input, output, or disconnected port e 6 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. sdo4_1 output gpio disconnected serial data output 4_1 when programmed as a transmitter, sdo4 is used to transmit data from the tx4 serial transmit shift register. sdi1_1 input serial data input 1_1 when programmed as a receiver, sdi1 is used to receive serial data into the rx1 serial receive shift register. pe7 input, output, or disconnected port e 7 when the esai is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. table 2-12 enhanced serial audio interface_1 signals (continued) signal name signal type state during reset signal description
signal / connection descriptions spdif transmitter digital audio interface 2-30 dsp56367 24-bit digital signal processor users manual motorola 2.11 spdif transmitter digital audio interface table 2-13 digital audio interface (dax) signals signal name type state during reset signal description aci inputgpio disconnected audio clock input this is the dax clock input. when programmed to use an external clock, this input supplies the dax clock. the external clock frequency must be 256, 384, or 512 times the audio sampling frequency (256 fs, 384 fs or 512 fs, respectively). pd0 input, output, or disconnected port d 0 when the dax is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant. ado output gpio disconnected digital audio data output this signal is an audio and non-audio output in the form of aes/ebu, cp340 and iec958 data in a biphase mark format. pd1 input, output, or disconnected port d 1 when the dax is configured as gpio, this signal is individually programmable as input, output, or internally disconnected. the default state after reset is gpio disconnected. this input is 3.3v tolerant.
signal / connection descriptions timer motorola dsp56367 24-bit digital signal processor users manual 2-31 2.12 timer 2.13 jtag/once interface table 2-14 timer signal signal name type state during reset signal description tio0 input or output input timer 0 schmitt-trigger input/output when timer 0 functions as an external event counter or in measurement mode, tio0 is used as input. when timer 0 functions in watchdog, timer, or pulse modulation mode, tio0 is used as output. the default mode after reset is gpio input. this can be changed to output or configured as a timer input/output through the timer 0 control/status register (tcsr0). if tio0 is not being used, it is recommended to either define it as gpio output immediately at the beginning of operation or leave it defined as gpio input but connected to vcc through a pull-up resistor in order to ensure a stable logic level at this input. this input is 3.3v tolerant. table 2-15 jtag/once interface signal name signal type state during reset signal description tck inputinput test clock tck is a test clock input signal used to synchronize the jtag test logic. it has an internal pull-up resistor. this input is 3.3v tolerant. tdi inputinput test data input tdi is a test data serial input signal used for test instructions and data. tdi is sampled on the rising edge of tck and has an internal pull-up resistor. this input is 3.3v tolerant. tdo output tri-stated test data output tdo is a test data serial output signal used for test instructions and data. tdo is tri-statable and is actively driven in the shift-ir and shift-dr controller states. tdo changes on the falling edge of tck. tms inputinput test mode select tms is an input signal used to sequence the test controllers state machine. tms is sampled on the rising edge of tck and has an internal pull-up resistor. this input is 3.3v tolerant.
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual 3-1 chapter 3 specifications
specifications introduction 3-2 dsp56367 24-bit digital signal processor users manual motorola 3.1 introduction the dsp56367 is a high density cmos device with transistor-transistor logic (ttl) compatible inputs and outputs. note: this document contains information on a new product. specifications and information herein are subject to change without notice. finalized specifications may be published after further characterization and device qualifications are completed. 3.2 maximum ratings note: in the calculation of timing requirements, adding a maximum value of one specification to a minimum value of another specification does not yield a reasonable sum. a maximum specification is calculated using a worst case variation of process parameter values in one direction. the minimum specification is calculated using the worst case for the same parameters in the opposite direction. therefore, a maximum value for a specification will never occur in the same device that has a minimum value for another specification; adding a maximum to a minimum represents a condition that can never exist. caution this device contains circuitry protecting against damage due to high static voltage or electrical fields. however, normal precautions should be taken to avoid exceeding maximum voltage ratings. reliability of operation is enhanced if unused inputs are pulled to an appropriate logic voltage level (e.g., either gnd or v cc ). the suggested value for a pullup or pulldown resistor is 10 k ? .
specifications thermal characteristics motorola dsp56367 24-bit digital signal processor users manual 3-3 3.3 thermal characteristics table 3-1 maximum ratings rating 1 symbol value 1, 2 unit supply voltage v ccql, v ccp ? 0.3 to + 2.0 v v ccqh, v cca, v ccd, v ccc, v cch, v ccs, ? 0.3 to + 4.0 v all 3.3v tolerant input voltages v in gnd ? 0.3 to v cc + 0.7 v current drain per pin excluding v cc and gnd i 10 ma operating temperature range 3 t j ? 40 to + 95 c storage temperature t stg ? 55 to +125 c note: 1. gnd = 0 v, vccp, vccql = 1.8 v 5%, tj = C40c to +95c, cl = 50 pf all other vcc = 3.3 v 5%, tj = C40c to +95c, cl = 50 pf 2. absolute maximum ratings are stress ratings only, and functional operation at the maximum is not guaranteed. stress beyond the maximum rating may affect device reliability or cause permanent damage to the device. 3. temperatures below -0c are qualified for consumer applications. table 3-2 thermal characteristics characteristic symbol tqfp value unit natural convection, junction-to-ambient thermal resistance 1,2 r ja or ja 45.0 c/w junction-to-case thermal resistance 3 r jc or jc 10.0 c/w natural convection, thermal characterization parameter 4 jt 3.0 c/w note: 1. junction temperature is a function of die size, on-chip power dissipation, package thermal resistance, mounting site (board) temperature, ambient temperature, air flow, power dissipation of other components on the board, and board thermal resistance. 2. per semi g38-87 and jedec jesd51-2 with the single layer board horizontal. 3. thermal resistance between the die and the case top surface as measured by the cold plate method (mil spec-883 method 1012.1). 4. thermal characterization parameter indicating the temperature difference between package top and the junction temperature per jedec jesd51-2. when greek letters are not available, the thermal characterization parameter is written as psi-jt.
specifications dc electrical characteristics 3-4 dsp56367 24-bit digital signal processor users manual motorola 3.4 dc electrical characteristics table 3-3 dc electrical characteristics 5 characteristics symbol min typ max unit supply voltages ? core (v ccql ) ? pll(v ccp ) v cc 1.71 1.8 1.89 v supply voltages ?v ccqh ?v cca ?v ccd ?v ccc ?v cch ?v ccs v cc 3.14 3.3 3.46 v input high voltage ? d(0:23), bg , bb , ta , esai_1 (except sdo4_1) v ih 2.0 v ccqh v ?mod 1 /irq 1 , reset , pinit/nmi and all jtag/esai_1/timer/ hdi08/dax/ (only sdo4_1) /shi (spi mode) v ihp 2.0 v ccqh + 03 max for both v ihp ?shi (i2c mode) v ihp 1.5 v ccqh + 03 max for both v ihp ? extal v ihx 0.8 v ccqh 0.8 v ccqh input low voltage ? d(0:23), bg , bb , ta , esai_1 (except sdo4_1) v il C0.3 0.8 v ?mod 1 /irq 1 , reset , pinit/nmi and all jtag/esai/timer/hdi08/dax/esai_1 (only sdo4_1) /shi (spi mode) v ilp C0.3 0.8 ?shi (i2c mode) v ilp C0.3 0.3 x v cc ? extal v ilx C0.3 0.2 x v ccqh input leakage current i in C10 10 a high impedance (off-state) input current (@ 2.4 v / 0.4 v) i tsi C10 10 a output high voltage 6 v oh 2.4 v output low voltage 6 v ol 0.4v
specifications ac electrical characteristics motorola dsp56367 24-bit digital signal processor users manual 3-5 3.5 ac electrical characteristics the timing waveforms shown in the ac electrical characteristics section are tested with a v il maximum of 0.4 v and a v ih minimum of 2.4 v for all pins except extal. ac timing specifications, which are referenced to a device input signal, are measured in production with respect to the 50% point of the respective input signals transition. dsp56367 output levels are measured with the production test machine v ol and v oh reference levels set at 0.4 v and 2.4 v, respectively. note: although the minimum value for the frequency of extal is 0 mhz, the device ac test conditions are 15 mhz and rated speed. internal supply current 2 at internal clock of 150mhz ? in normal mode i cci 58.0 115 ma ?in wait mode i ccw 7.3 20ma ? in stop mode 3 i ccs 2.0 4 ma pll supply current 1 2.5 ma input capacitance 4 c in 10 pf note: 1. refers to moda/irqa , modb/irqb , modc/irqc ,and modd/irqd pins 2. section 4.3, power consumption considerations provides a formula to compute the estimated current requirements in normal mode. in order to obtain these results, all inputs must be terminated (i.e., not allowed to float). measurements are based on synthetic intensive dsp benchmarks. the power consumption numbers in this specification are 90% of the measured results of this benchmark. this reflects typical dsp applications. typical internal supply current is measured with v ccql = 1.8v, v cc(other) = 3.3v at t j = 25c. maximum internal supply current is measured with v ccql = 1.89v, v cc(other) = 3.46v at t j = 95c. 3. in order to obtain these results, all inputs, which are not disconnected at stop mode, must be terminated (i.e., not allowed to float). 4. periodically sampled and not 100% tested 5. v ccql = 1.8 v 5%, t j = C40 c to +95 c, cl = 50 pf all other v cc = 3.3 v 5%, t j = C40 c to +95 c, cl = 50 pf 6. this characteristic does not apply to pcap. table 3-3 dc electrical characteristics 5 (continued) characteristics symbol min typ max unit
specifications internal clocks 3-6 dsp56367 24-bit digital signal processor users manual motorola 3.6 internal clocks table 3-4 internal clocks characteristics symbol expression 1, 2 min typ max internal operation frequency with pll enabled f (ef mf)/ (pdf df) internal operation frequency with pll disabled f ef/2 internal clock high period t h ? with pll disabled et c ? with pll enabled and mf 4 0.49 et c pdf df/mf 0.51 et c pdf df/mf ? with pll enabled and mf > 4 0.47 et c pdf df/mf 0.53 et c pdf df/mf internal clock low period t l ? with pll disabled et c ? with pll enabled and mf 4 0.49 et c pdf df/mf 0.51 et c pdf df/mf ? with pll enabled and mf > 4 0.47 et c pdf df/mf 0.53 et c pdf df/mf internal clock cycle time with pll enabled t c et c pdf df/mf internal clock cycle time with pll disabled t c 2 et c instruction cycle time i cyc t c note: 1. df = division factor ef = external frequency et c = external clock cycle mf = multiplication factor pdf = predivision factor t c = internal clock cycle 2. refer to the dsp56300 family manual for a detailed discussion of the pll.
specifications external clock operation motorola dsp56367 24-bit digital signal processor users manual 3-7 3.7 external clock operation the dsp56367 system clock is an externally supplied square wave voltage source connected to extal (see figure 3-1 ) . figure 3-1 e xternal clock timing table 3-5 clock operation no. characteristics symbol min max 1 frequency of extal (extal pin frequency) the rise and fall time of this external clock should be 2 ns maximum. ef 2.0 ns 150.0 2 extal input high 1, 2 ? with pll disabled (46.7%C53.3% duty cycle 4 ) et h 3.11 ns ? with pll enabled (42.5%C57.5% duty cycle 4 ) 2.83 ns 157.0 s 3 extal input low 1, 2 ? with pll disabled (46.7%C53.3% duty cycle 4 ) et l 3.11 ns ? with pll enabled (42.5%C57.5% duty cycle 4 ) 2.83 ns 157.0 s 4 extal cycle time 2 ? with pll disabled et c 6.7 ns ? with pll enabled 6.7 ns 273.1 s 7 instruction cycle time = i cyc = t c 3 ? with pll disabled i cyc 13.33 ns ? with pll enabled 6.67 ns 8.53 s extal v ilc v ihc midpoint note: the midpoint is 0.5 (v ihc + v ilc ). eth etl etc 3 4 2
specifications phase lock loop (pll) characteristics 3-8 dsp56367 24-bit digital signal processor users manual motorola 3.8 phase lock loop (pll) characteristics note: 1. measured at 50% of the input transition 2. the maximum value for pll enabled is given for minimum v co and maximum mf. 3. the maximum value for pll enabled is given for minimum v co and maximum df. 4. the indicated duty cycle is for the specified maximum frequency for which a part is rated. the minimum clock high or low time required for correct operation, however, remains the same at lower operating frequencies; therefore, when a lower clock frequency is used, the signal symmetry may vary from the specified duty cycle as long as the minimum high time and low time requirements are met. table 3-6 pll characteristics characteristics min max unit v co frequency when pll enabled (mf e f 2/pdf) 30 300 mhz pll external capacitor (pcap pin to v ccp ) (c pcap 1) pf ?@ mf 4 (mf 580) ? 100 (mf 780) ? 140 ?@ mf > 4 mf 830 mf 1470 note: 1. c pcap is the value of the pll capacitor (connected between the pcap pin and v ccp ). the recommended value in pf for c pcap can be computed from one of the following equations: (mf x 680)-120, for mf 4, or mf x 1100, for mf > 4. table 3-5 clock operation (continued) no. characteristics symbol min max
specifications reset, stop, mode select, and interrupt timing motorola dsp56367 24-bit digital signal processor users manual 3-9 3.9 reset, stop, mode select, and interrupt timing table 3-7 reset, stop, mode select, and interrupt timing no. characteristics expression min max unit 8 delay from reset assertion to all pins at reset value 3 26.0ns 9 required reset duration 4 ? power on, external clock generator, pll disabled 50 et c 333.4 ns ? power on, external clock generator, pll enabled 1000 et c 6.7 s ? power on, internal oscillator ? during stop, xtal disabled ? during stop, xtal enabled ? during normal operation 75000 et c 75000 et c 2.5 t c 2.5 t c 500 500 16.7 16.7 s s ns ns 10 delay from asynchronous reset deassertion to first external address output (internal reset deassertion) 5 ?minimum 3.25 tc + 2.0 23.7 ns ? maximum 20.25 tc + 10 145.0 ns 11 syn reset setup time from reset ? maximum t c 6.7ns 12 syn reset deassert delay time ?minimum ? maximum 3.25 t c + 1.0 20.25 t c + 5.0 22.7 140.0 ns ns 13 mode select setup time 30.0 ns 14 mode select hold time 0.0 ns 15 minimum edge-triggered interrupt request assertion width 4.4 ns 16 minimum edge-triggered interrupt request deassertion width 4.4 ns 17 delay from irqa , irqb , irqc , irqd , nmi assertion to external memory access address out valid ? caused by first interrupt instruction fetch 4.25 t c + 2.0 30.3 ns ? caused by first interrupt instruction execution 7.25 t c + 2.0 50.3 ns
specifications reset, stop, mode select, and interrupt timing 3-10 dsp56367 24-bit digital signal processor users manual motorola 18 delay from irqa , irqb , irqc , irqd , nmi assertion to general-purpose transfer output valid caused by first interrupt instruction execution 10 t c + 5.0 71.7 ns 19 delay from address output valid caused by first interrupt instruction execute to interrupt request deassertion for level sensitive fast interrupts 1,7,8 (ws + 3.75) t c C 10.94 note 8 ns 20 delay from rd assertion to interrupt request deassertion for level sensitive fast interrupts 1,7,8 (ws + 3.25) t c C 10.94 note 8 ns 21 delay from wr assertion to interrupt request deassertion for level sensitive fast interrupts 1, 7, 8 ns ? dram for all ws (ws + 3.5) t c C 10.94 note 8 ? sram ws = 1 n/a note 8 ? sram ws = 2, 3 1.75 t c C 4.0 note 8 ?sram ws 4 2.75 t c C 4.0 note 8 22 synchronous int setup time from irqs nmi assertion to the clkout trans. 0.6 t c C 0.1 3.9 ns 23 synch. int delay time from the clkout trans2 to the first external address out valid caused by first inst fetch ? minimum ? maximum 9.25 t c + 1.0 24.75 t c + 5.0 62.7 170.0 ns ns 24 duration for irqa assertion to recover from stop state 0.6 t c ? 0.1 3.9 ns 25 delay from irqa assertion to fetch of first instruction (when exiting stop) 2, 3 ? pll is not active during stop (pctl bit 17 = 0) and stop delay is enabled (omr bit 6 = 0) plc et c pdf + (128 k ? plc/2) t c ms ? pll is not active during stop (pctl bit 17 = 0) and stop delay is not enabled (omr bit 6 = 1) plc et c pdf + (23.75 +/- 0.5) t c ms ? pll is active during stop (pctl bit 17 = 1) (implies no stop delay) (8.25 0.5) t c 51.7 58.3 ns table 3-7 reset, stop, mode select, and interrupt timing no. characteristics expression min max unit
specifications reset, stop, mode select, and interrupt timing motorola dsp56367 24-bit digital signal processor users manual 3-11 26 duration of level sensitive irqa assertion to ensure interrupt service (when exiting stop) 2, 3 ? pll is not active during stop (pctl bit 17 = 0) and stop delay is enabled (omr bit 6 = 0) plc et c pdf + (128 k ? plc/2) t c ms ? pll is not active during stop (pctl bit 17 = 0) and stop delay is not enabled (omr bit 6 = 1) plc et c pdf + (20.5 +/- 0.5) t c ms ? pll is active during stop (pctl bit 17 = 1) (implies no stop delay) 5.5 t c 36.7 ns 27 interrupt requests rate ? hdi08, esai, esai_1, shi, dax, timer 12t c 80.0ns ?dma 8t c 53.0ns ?irq , nmi (edge trigger) 8t c 53.0ns ?irq (level trigger) 12t c 80.0ns 28 dma requests rate ? data read from hdi08, esai, esai_1, shi, dax 6t c 40.0ns ? data write to hdi08, esai, esai_1, shi, dax 7t c 46.7ns ? timer 2t c 13.3 ?irq , nmi (edge trigger) 3t c 20.0ns 29 delay from irqa , irqb , irqc , irqd , nmi assertion to external memory (dma source) access address out valid 4.25 t c + 2.0 30.3 ns note: 1. when using fast interrupts and irqa , irqb , irqc , and irqd are defined as level-sensitive, timings 19 through 21 apply to prevent multiple interrupt service. to avoid these timing restrictions, the deasserted edge-triggered mode is recommended when using fast interrupts. long interrupts are recommended when using level-sensitive mode. table 3-7 reset, stop, mode select, and interrupt timing no. characteristics expression min max unit
specifications reset, stop, mode select, and interrupt timing 3-12 dsp56367 24-bit digital signal processor users manual motorola figure 3-2 reset timing 2. this timing depends on several settings: for pll disable, using external clock (pctl bit 16 = 1), no stabilization delay is required and recovery time will be defined by the pctl bit 17 and omr bit 6 settings. for pll enable, if pctl bit 17 is 0, the pll is shutdown during stop. recovering from stop requires the pll to get locked. the pll lock procedure duration, pll lock cycles (plc), may be in the range of 0 to 1000 cycles. this procedure occurs in parallel with the stop delay counter, and stop recovery will end when the last of these two events occurs: the stop delay counter completes count or pll lock procedure completion. plc value for pll disable is 0. the maximum value for et c is 4096 (maximum mf) divided by the desired internal frequency (i.e., for 150 mhz it is 4096/150 mhz = 27.3 s). during the stabilization period, t c , t h, and t l will not be constant, and their width may vary, so timing may vary as well. 3. periodically sampled and not 100% tested 4. reset duration is measured during the time in which reset is asserted, v cc is valid, and the extal input is active and valid. when the v cc is valid, but the other required reset duration conditions (as specified above) have not been yet met, the device circuitry will be in an uninitialized state that can result in significant power consumption and heat-up. designs should minimize this state to the shortest possible duration. 5. if pll does not lose lock 6. v ccqh = 3.3 v 5%; v cc= 1.8v 5%; t j = C40c to + 95c, c l = 50 pf 7. ws = number of wait states (measured in clock cycles, number of t c ). 8. use expression to compute maximum value. table 3-7 reset, stop, mode select, and interrupt timing no. characteristics expression min max unit v ih reset reset value first fetch all pins a0Ca17 8 9 10 aa0460
specifications reset, stop, mode select, and interrupt timing motorola dsp56367 24-bit digital signal processor users manual 3-13 figure 3-3 external fast interrupt timing a0Ca17 rd a) first interrupt instruction execution general purpose i/o irqa , irqb , irqc , irqd , nmi b) general purpose i/o irqa , irqb , irqc , irqd , nmi wr 20 21 19 17 18 first interrupt instruction execution/fetch
specifications reset, stop, mode select, and interrupt timing 3-14 dsp56367 24-bit digital signal processor users manual motorola figure 3-4 external interrupt timing (negative edge-triggered) figure 3-5 operating mode select timing figure 3-6 recovery from stop state using irqa interrupt service irqa , irqb , irqc , irqd , nmi irqa , irqb , irqc , irqd , nm i 15 16 aa0463 reset moda, modb, modc, modd, pinit v ih irqa , irqb , irqd , nmi v ih v il v ih v il 13 14 aa0465 first instruction fetch irqa a0Ca17 24 25 aa0466
specifications reset, stop, mode select, and interrupt timing motorola dsp56367 24-bit digital signal processor users manual 3-15 figure 3-7 recovery from stop state using irqa interrupt service figure 3-8 external memory access (dma source) timing irqa a0Ca17 first irqa interrupt instruction fetch 26 25 aa0467 29 dma source address first interrupt instruction execution a0Ca17 rd wr irqa , irqb , irqc, i rqd , nmi aa1104
specifications external memory expansion port (port a) 3-16 dsp56367 24-bit digital signal processor users manual motorola 3.10 external memory expansion port (port a) 3.10.1 sram timing table 3-8 sram read and write accesses no. characteristics symbol expression 1 150 mhz unit min max 100 address valid and aa assertion pulse width t rc , t wc (ws + 2) t c ? 4.0 [2 ws 7] (ws + 3) t c ? 4.0 [ws 8] 22.7 69.3 ns ns 101 address and aa valid to wr assertion t as 0.75 t c ? 2.0 [2 ws 3 ] 3.0 ns 1.25 t c ? 2.0 [ws 4 ] 6.3 ns 102 wr assertion pulse width t wp ws t c ? 4.0 [2 ws 3] 9.3 ns (ws ? 0.5) t c ? 4.0 [ws 4] 19.3 ns 103 wr deassertion to address not valid t wr 1.25 t c ? 4 .0 [2 ws 7] 2.25 t c ? 4 .0 [ws 8] 4.3 11.0 ns ns 104 address and aa valid to input data valid t aa , t ac (ws + 0.75) t c ? 5 .0 [ws 2] 13.3 ns 105 rd assertion to input data valid t oe (ws + 0.25) t c ? 5.0 [ws 2] 10.0 ns 106 rd deassertion to data not valid (data hold time) t ohz 0.0 ns 107 address valid to wr deassertion 2 t aw (ws + 0.75) t c ? 4.0 [ws 2] 14.3 ns
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-17 108 data valid to wr deassertion (data setup time) t ds (t dw )(ws ? 0.25) t c ? 3.0 [ws 2] 8.7 ns 109 data hold time from wr deassertion t dh 1.25 t c ? 2.0 [2 ws 7] 2.25 t c ? 2.0 [ws 8] 6.3 13.0 ns ns 110 wr assertion to data active 0.25 t c ? 3.7 [2 ws 3] ? 0.25 t c ? 3.7 [ws 4] -2.0 -5.4 ns ns 111 wr deassertion to data high impedance 0.25 t c + 0.2 [2 ws 3] 1.9ns 1.25 t c + 0.2 [4 ws 7] 8.5 2.25 t c + 0.2 [ws 8] 15.2 112 previous rd deassertion to data active (write) 1.25 t c ? 4.0 [2 ws 3] 4.3 ns 2.25 t c ? 4.0 [4 ws 7] 11.0 3.25 t c ? 4.0 [ws 8] 17.7 113 rd deassertion time 1.75 t c ? 4.0 [2 ws 7] 7.7 ns 2.75 t c ? 4.0 [ws 8] 14.3 ns table 3-8 sram read and write accesses (continued) no. characteristics symbol expression 1 150 mhz unit min max
specifications external memory expansion port (port a) 3-18 dsp56367 24-bit digital signal processor users manual motorola 114 wr deassertion time 2.0 t c ? 4.0 [2 ws 3 ] 9.3 ns 2.5 t c ? 4.0 [4 ws 7] 12.7 ns 3.5 t c ? 4.0 [ws 8] 19.3 ns 115 address valid to rd assertion 0.5 t c ? 2.0 1.3 ns 116 rd assertion pulse width (ws + 0.25) t c ? 4.0 11.0 ns 117 rd deassertion to address not valid 1.25 t c ? 2.0 [2 ws 7] 6.3 ns 2.25 t c ? 2.0 [ws 8] 13.0 ns 118 ta setup before rd or wr deassertion 3 0.25 t c + 2.0 3.7 ns 119 ta hold after rd or wr deassertion 0.0 ns note: 1. ws is the number of wait states specified in the bcr. the value is given for the minimum for a given category. (for example, for a category of [2 ws 7] timing is specified for 2 wait states.) two wait states is the minimum otherwise. 2. timings 100, 107 are guaranteed by design, not tested. 3. in the case of ta negation: timing 118 is relative to the deassertion edge of rd or wr were ta to remain active table 3-8 sram read and write accesses (continued) no. characteristics symbol expression 1 150 mhz unit min max
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-19 figure 3-9 sram read access a0Ca17 rd wr d0Cd23 aa0Caa2 115 105 106 113 104 116 117 100 aa0468 ta 119 data in 118
specifications external memory expansion port (port a) 3-20 dsp56367 24-bit digital signal processor users manual motorola figure 3-10 sram write access 3.10.2 dram timing the selection guides provided in figure 3-11 and figure 3-14 should be used for primary selection only. final selection should be based on the timing provided in the following tables. as an example, the selection guide suggests that 4 wait states must be used for 100 mhz operation when using page mode dram. however, by using the information in the appropriate table, a designer may choose to evaluate whether fewer wait states might be used by determining which timing prevents operation at 100 mhz, running the chip at a slightly lower frequency (e.g., 95 mhz), using faster dram (if it becomes available), and control factors such as capacitive and resistive load to improve overall system performance. a0Ca17 wr rd data out d0Cd23 aa0Caa2 100 102 101 107 114 108 109 103 ta 119 118
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-21 figure 3-11 dram page mode wait states selection guide table 3-9 dram page mode timings, three wait states no. characteristics symbol expression 100 mhz unit min max 131 page mode cycle time for two consecutive accesses of the same direction t pc 2 t c 20.0 ns page mode cycle time for mixed (read and write) accesses 1.25 t c 12.5 132 cas assertion to data valid (read) t cac 2 t c ? 7.0 13.0 ns 133 column address valid to data valid (read) t aa 3 t c ? 7.0 23.0 ns 134 cas deassertion to data not valid (read hold time) t off 0.0 ns chip frequency (mhz) dram type (trac ns) 100 80 70 60 40 66 80 100 1 wait states 2 wait states 3 wait states 4 wait states note: this figure should be use for primary selection. for exact and detailed timings see the following tables. aa04 7 50 120
specifications external memory expansion port (port a) 3-22 dsp56367 24-bit digital signal processor users manual motorola 135 last cas assertion to ras deassertion t rsh 2.5 t c ? 4.0 21.0 ns 136 previous cas deassertion to ras deassertion t rhcp 4.5 t c ? 4.0 41.0 ns 137 cas assertion pulse width t cas 2 t c ? 4.0 16.0 ns 138 last cas deassertion to ras assertion 5 ? brw[1:0] = 00, 01 not applicable t crp ? brw[1:0] = 10 4.75 t c ? 6.0 41.5 ns ? brw[1:0] = 11 6.75 t c ? 6.0 61.5 ns 139 cas deassertion pulse width t cp 1.5 t c ? 4.0 11.0 ns 140 column address valid to cas assertion t asc t c ? 4.0 6.0 ns 141 cas assertion to column address not valid t cah 2.5 t c ? 4.0 21.0 ns 142 last column address valid to ras deassertion t ral 4 t c ? 4.0 36.0 ns 143 wr deassertion to cas assertion t rcs 1.25 t c ? 4.0 8.5 ns 144 cas deassertion to wr assertion t rch 0.75 t c ? 4.0 3.5 ns 145 cas assertion to wr deassertion t wch 2.25 t c ? 4.2 18.3 ns 146 wr assertion pulse width t wp 3.5 t c ? 4.5 30.5 ns 147 last wr assertion to ras deassertion t rwl 3.75 t c ? 4.3 33.2 ns 148 wr assertion to cas deassertion t cwl 3.25 t c ? 4.3 28.2 ns 149 data valid to cas assertion (write) t ds 0.5 t c ? 4.0 1.0 ns 150 cas assertion to data not valid (write) t dh 2.5 t c ? 4.0 21.0 ns 151 wr assertion to cas assertion t wcs 1.25 t c ? 4.3 8.2 ns 152 last rd assertion to ras deassertion t roh 3.5 t c ? 4.0 31.0 ns 153 rd assertion to data valid t ga 2.5 t c ? 7.0 18.0 ns 154 rd deassertion to data not valid 6 t gz 0.0 ns 155 wr assertion to data active 0.75 t c ? 0.3 7.2 ns 156 wr deassertion to data high impedance 0.25 t c 2.5ns table 3-9 dram page mode timings, three wait states (continued) no. characteristics symbol expression 100 mhz unit min max
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-23 note: 1. the number of wait states for page mode access is specified in the dcr. 2. the refresh period is specified in the dcr. 3. the asynchronous delays specified in the expressions are valid for dsp56367 . 4. all the timings are calculated for the worst case. some of the timings are better for specific cases (e.g., t pc equals 4 t c for read-after-read or write-after-write sequences). 5. brw[1:0] (dram control register bits) defines the number of wait states that should be inserted in each dram out-of page-access. 6. rd deassertion will always occur after cas deassertion; therefore, the restricted timing is t off and not t gz . table 3-10 dram page mode timings, four wait states 1, 2, 3 no. characteristics symbol expression 4 100 mhz unit min max 131 page mode cycle time for two consecutive accesses of the same direction page mode cycle time for mixed (read and write) accesses t pc 5 t c 4.5 t c 50.0 45.0 ns ns 132 cas assertion to data valid (read) t cac 2.75 t c ? 5.7 21.8 ns 133 column address valid to data valid (read) t aa 3.75 t c ? 5.7 31.8 ns 134 cas deassertion to data not valid (read hold time) t off 0.0 ns 135 last cas assertion to ras deassertion t rsh 3.5 t c ? 4.0 31.0 ns 136 previous cas deassertion to ras deassertion t rhcp 6 t c ? 4.0 56.0 ns 137 cas assertion pulse width t cas 2.5 t c ? 4.0 21.0 ns 138 last cas deassertion to ras assertion 5 brw[1C0] = 00, 01not applicable brw[1C0] = 10 brw[1C0] = 11 t crp 5.25 t c ? 6.0 7.25 t c ? 6.0 46.5 66.5 ns ns 139 cas deassertion pulse width t cp 2 t c ? 4.0 16.0 ns 140 column address valid to cas assertion t asc t c ? 4.0 6.0 ns 141 cas assertion to column address not valid t cah 3.5 t c ? 4.0 31.0 ns 142 last column address valid to ras deassertion t ral 5 t c ? 4.0 46.0 ns table 3-9 dram page mode timings, three wait states (continued) no. characteristics symbol expression 100 mhz unit min max
specifications external memory expansion port (port a) 3-24 dsp56367 24-bit digital signal processor users manual motorola 143 wr deassertion to cas assertion t rcs 1.25 t c ? 4.0 8.5 ns 144 cas deassertion to wr assertion t rch 1.25 t c C 3.7 8.8 ns 145 cas assertion to wr deassertion t wch 3.25 t c ? 4.2 28.3 ns 146 wr assertion pulse width t wp 4.5 t c ? 4.5 40.5 ns 147 last wr assertion to ras deassertion t rwl 4.75 t c ? 4.3 43.2 ns 148 wr assertion to cas deassertion t cwl 3.75 t c ? 4.3 33.2 ns 149 data valid to cas assertion (write) t ds 0.5 t c C 4.5 0.5 ns 150 cas assertion to data not valid (write) t dh 3.5 t c ? 4.0 31.0 ns 151 wr assertion to cas assertion t wcs 1.25 t c ? 4.3 8.2 ns 152 last rd assertion to ras deassertion t roh 4.5 t c ? 4.0 41.0 ns 153 rd assertion to data valid t ga 3.25 t c ? 5.7 26.8 ns 154 rd deassertion to data not valid 6 t gz 0.0 ns 155 wr assertion to data active 0.75 t c C 1.5 6.0 ns 156 wr deassertion to data high impedance 0.25 t c 2.5ns note: 1. the number of wait states for page mode access is specified in the dcr. 2. the refresh period is specified in the dcr. 3. the asynchronous delays specified in the expressions are valid for dsp56367. 4. all the timings are calculated for the worst case. some of the timings are better for specific cases (for example, t pc equals 3 t c for read-after-read or write-after-write sequences). an expressions is used to calculate the maximum or minimum value listed, as appropriate. 5. brw[1C0] (dram control register bits) defines the number of wait states that should be inserted in each dram out-of-page access. 6. rd deassertion always occurs after cas deassertion; therefore, the restricted timing is t off and not t gz . table 3-10 dram page mode timings, four wait states 1, 2, 3 (continued) no. characteristics symbol expression 4 100 mhz unit min max
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-25 figure 3-12 dram page mode write accesses ras cas a0Ca17 wr rd d0Cd23 column row data out data out data out last column column add address address address 136 135 131 139 141 137 140 142 147 144 151 148 146 155 156 150 138 145 143 149 aa0473
specifications external memory expansion port (port a) 3-26 dsp56367 24-bit digital signal processor users manual motorola figure 3-13 dram page mode read accesses ras cas a0Ca17 wr rd d0Cd23 column last column column row data in data in data in add address address address 136 135 131 137 140 141 142 143 152 133 153 132 138 139 134 154 aa0474
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-27 figure 3-14 dram out-of-page wait states selection guide table 3-11 dram out-of-page and refresh timings, four wait states no. characteristics 3 symbol expression 20 mhz 4 30 mhz 4 unit min max min max 157 random read or write cycle time t rc 5 t c 250.0 166.7 ns 158 ras assertion to data valid (read) t rac 2.75 t c ? 7.5 130.0 84.2 ns 159 cas assertion to data valid (read) t cac 1.25 t c ? 7.5 55.0 34.2 ns 160 column address valid to data valid (read) t aa 1.5 t c ? 7.5 67.5 42.5 ns 161 cas deassertion to data not valid (read hold time) t off 0.0 0.0 ns chip frequency (mhz) dram type (trac ns) 100 80 70 50 66 80 100 4 wait states 8 wait states 11 wait states 15 wait states note:this figure should be use for primary selection. for exact and detailed timings see the following tables. 60 40 aa0475 120
specifications external memory expansion port (port a) 3-28 dsp56367 24-bit digital signal processor users manual motorola 162 ras deassertion to ras assertion t rp 1.75 t c ? 4.0 83.5 54.3 ns 163 ras assertion pulse width t ras 3.25 t c ? 4.0 158.5 104.3 ns 164 cas assertion to ras deassertion t rsh 1.75 t c ? 4.0 83.5 54.3 ns 165 ras assertion to cas deassertion t csh 2.75 t c ? 4.0 133.5 87.7 ns 166 cas assertion pulse width t cas 1.25 t c ? 4.0 58.5 37.7 ns 167 ras assertion to cas assertion t rcd 1.5 t c 2 73.0 77.0 48.0 52.0 ns 168 ras assertion to column address valid t rad 1.25 t c 2 60.5 64.5 39.7 43.7 ns 169 cas deassertion to ras assertion t crp 2.25 t c ? 4.0 108.5 71.0 ns 170 cas deassertion pulse width t cp 1.75 t c ? 4.0 83.5 54.3 ns 171 row address valid to ras assertion t asr 1.75 t c ? 4.0 83.5 54.3 ns 172 ras assertion to row address not valid t rah 1.25 t c ? 4.0 58.5 37.7 ns 173 column address valid to cas assertion t asc 0.25 t c ? 4.0 8.5 4.3 ns 174 cas assertion to column address not valid t cah 1.75 t c ? 4.0 83.5 54.3 ns 175 ras assertion to column address not valid t ar 3.25 t c ? 4.0 158.5 104.3 ns 176 column address valid to ras deassertion t ral 2 t c ? 4.0 96.0 62.7 ns 177 wr deassertion to cas assertion t rcs 1.5 t c ? 3.8 71.2 46.2 ns 178 cas deassertion to wr assertion t rch 0.75 t c ? 3.7 33.8 21.3 ns 179 ras deassertion to wr assertion t rrh 0.25 t c ? 3.7 8.8 4.6 ns 180 cas assertion to wr deassertion t wch 1.5 t c ? 4.2 70.8 45.8 ns 181 ras assertion to wr deassertion t wcr 3 t c ? 4.2 145.8 95.8 ns 182 wr assertion pulse width t wp 4.5 t c ? 4.5 220.5 145.5 ns 183 wr assertion to ras deassertion t rwl 4.75 t c ? 4.3 233.2 154.0 ns 184 wr assertion to cas deassertion t cwl 4.25 t c ? 4.3 208.2 137.4 ns table 3-11 dram out-of-page and refresh timings, four wait states (continued) no. characteristics 3 symbol expression 20 mhz 4 30 mhz 4 unit min max min max
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-29 185 data valid to cas assertion (write) t ds 2.25 t c ? 4.0 108.5 71.0 ns 186 cas assertion to data not valid (write) t dh 1.75 t c ? 4.0 83.5 54.3 ns 187 ras assertion to data not valid (write) t dhr 3.25 t c ? 4.0 158.5 104.3 ns 188 wr assertion to cas assertion t wcs 3 t c ? 4.3 145.7 95.7 ns 189 cas assertion to ras assertion (refresh) t csr 0.5 t c ? 4.0 21.0 12.7 ns 190 ras deassertion to cas assertion (refresh) t rpc 1.25 t c ? 4.0 58.5 37.7 ns 191 rd assertion to ras deassertion t roh 4.5 t c ? 4.0 221.0 146.0 ns 192 rd assertion to data valid t ga 4 t c ? 7.5 192.5 125.8 ns 193 rd deassertion to data not valid 3 t gz 0.0 0.0 ns 194 wr assertion to data active 0.75 t c ? 0.3 37.2 24.7 ns 195 wr deassertion to data high impedance 0.25 t c 12.5 8.3 ns note: 1. the number of wait states for out of page access is specified in the dcr. 2. the refresh period is specified in the dcr. 3. rd deassertion will always occur after cas deassertion; therefore, the restricted timing is t off and not t gz . 4. reduced dsp clock speed allows use of dram out-of-page access with four wait states (see figure 3-14 ). table 3-11 dram out-of-page and refresh timings, four wait states (continued) no. characteristics 3 symbol expression 20 mhz 4 30 mhz 4 unit min max min max
specifications external memory expansion port (port a) 3-30 dsp56367 24-bit digital signal processor users manual motorola table 3-12 dram out-of-page and refresh timings, eleven wait states no. characteristics 4 symbol expression 3 100 mhz unit min max 157 random read or write cycle time t rc 12 t c 120.0 ns 158 ras assertion to data valid (read) t rac 6.25 t c ? 7.0 55.5 ns 159 cas assertion to data valid (read) t cac 3.75 t c ? 7.0 30.5 ns 160 column address valid to data valid (read) t aa 4.5 t c ? 7.0 38.0 ns 161 cas deassertion to data not valid (read hold time) t off 0.0 ns 162 ras deassertion to ras assertion t rp 4.25 t c ? 4.0 38.5 ns 163 ras assertion pulse width t ras 7.75 t c ? 4.0 73.5 ns 164 cas assertion to ras deassertion t rsh 5.25 t c ? 4.0 48.5 ns 165 ras assertion to cas deassertion t csh 6.25 t c ? 4.0 58.5 ns 166 cas assertion pulse width t cas 3.75 t c ? 4.0 33.5 ns 167 ras assertion to cas assertion t rcd 2.5 t c 4.0 21.0 29.0 ns 168 ras assertion to column address valid t rad 1.75 t c 4.0 13.5 21.5 ns 169 cas deassertion to ras assertion t crp 5.75 t c ? 4.0 53.5 ns 170 cas deassertion pulse width t cp 4.25 t c ? 4.0 38.5 ns 171 row address valid to ras assertion t asr 4.25 t c ? 4.0 38.5 ns 172 ras assertion to row address not valid t rah 1.75 t c ? 4.0 13.5 ns 173 column address valid to cas assertion t asc 0.75 t c ? 4.0 3.5 ns 174 cas assertion to column address not valid t cah 5.25 t c ? 4.0 48.5 ns 175 ras assertion to column address not valid t ar 7.75 t c ? 4.0 73.5 ns 176 column address valid to ras deassertion t ral 6 t c ? 4.0 56.0 ns 177 wr deassertion to cas assertion t rcs 3.0 t c ? 4.0 26.0 ns 178 cas deassertion to wr 5 assertion t rch 1.75 t c ? 4.0 13.5 ns 179 ras deassertion to wr 5 assertion t rrh 0.25 t c ? 2.0 0.5 ns 180 cas assertion to wr deassertion t wch 5 t c ? 4.2 45.8 ns 181 ras assertion to wr deassertion t wcr 7.5 t c ? 4.2 70.8 ns 182 wr assertion pulse width t wp 11.5 t c ? 4.5 110.5 ns
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-31 183 wr assertion to ras deassertion t rwl 11.75 t c ? 4.3 113.2 ns 184 wr assertion to cas deassertion t cwl 10.25 t c ? 4.3 103.2 ns 185 data valid to cas assertion (write) t ds 5.75 t c ? 4.0 53.5 ns 186 cas assertion to data not valid (write) t dh 5.25 t c ? 4.0 48.5 ns 187 ras assertion to data not valid (write) t dhr 7.75 t c ? 4.0 73.5 ns 188 wr assertion to cas assertion t wcs 6.5 t c ? 4.3 60.7 ns 189 cas assertion to ras assertion (refresh) t csr 1.5 t c ? 4.0 11.0 ns 190 ras deassertion to cas assertion (refresh) t rpc 2.75 t c ? 4.0 23.5 ns 191 rd assertion to ras deassertion t roh 11.5 t c ? 4.0 111.0 ns 192 rd assertion to data valid t ga 10 t c ? 7.0 93.0 ns 193 rd deassertion to data not valid 4 t gz 0.0ns 194 wr assertion to data active 0.75 t c ? 0.3 7.2 ns 195 wr deassertion to data high impedance 0.25 t c 2.5ns note: 1. the number of wait states for out-of-page access is specified in the dcr. 2. the refresh period is specified in the dcr. 3. the asynchronous delays specified in the expressions are valid for dsp56367. 4. rd deassertion will always occur after cas deassertion; therefore, the restricted timing is t off and not t gz . 5. either t rch or t rrh must be satisfied for read cycles. table 3-12 dram out-of-page and refresh timings, eleven wait states (continued) no. characteristics 4 symbol expression 3 100 mhz unit min max
specifications external memory expansion port (port a) 3-32 dsp56367 24-bit digital signal processor users manual motorola table 3-13 dram out-of-page and refresh timings, fifteen wait states 1, 2 no. characteristics symbol expression 3 100 mhz unit min max 157 random read or write cycle time t rc 16 t c 160.0 ns 158 ras assertion to data valid (read) t rac 8.25 t c ? 5.7 76.8 ns 159 cas assertion to data valid (read) t cac 4.75 t c ? 5.7 41.8 ns 160 column address valid to data valid (read) t aa 5.5 t c ? 5.7 49.3 ns 161 cas deassertion to data not valid (read hold time) t off 0.0 0.0 ns 162 ras deassertion to ras assertion t rp 6.25 t c ? 4.0 58.5 ns 163 ras assertion pulse width t ras 9.75 t c ? 4.0 93.5 ns 164 cas assertion to ras deassertion t rsh 6.25 t c ? 4.0 58.5 ns 165 ras assertion to cas deassertion t csh 8.25 t c ? 4.0 78.5 ns 166 cas assertion pulse width t cas 4.75 t c ? 4.0 43.5 ns 167 ras assertion to cas assertion t rcd 3.5 t c 2 33.0 37.0 ns 168 ras assertion to column address valid t rad 2.75 t c 2 25.5 29.5 ns 169 cas deassertion to ras assertion t crp 7.75 t c ? 4.0 73.5 ns 170 cas deassertion pulse width t cp 6.25 t c C 6.0 56.5 ns 171 row address valid to ras assertion t asr 6.25 t c ? 4.0 58.5 ns 172 ras assertion to row address not valid t rah 2.75 t c ? 4.0 23.5 ns 173 column address valid to cas assertion t asc 0.75 t c ? 4.0 3.5 ns 174 cas assertion to column address not valid t cah 6.25 t c ? 4.0 58.5 ns 175 ras assertion to column address not valid t ar 9.75 t c ? 4.0 93.5 ns 176 column address valid to ras deassertion t ral 7 t c ? 4.0 66.0 ns 177 wr deassertion to cas assertion t rcs 5 t c ? 3.8 46.2 ns 178 cas deassertion to wr 4 assertion t rch 1.75 t c C 3.7 13.8 ns 179 ras deassertion to wr 4 assertion t rrh 0.25 t c ? 2.0 0.5 ns 180 cas assertion to wr deassertion t wch 6 t c ? 4.2 55.8 ns 181 ras assertion to wr deassertion t wcr 9.5 t c ? 4.2 90.8 ns 182 wr assertion pulse width t wp 15.5 t c ? 4.5 150.5 ns
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-33 183 wr assertion to ras deassertion t rwl 15.75 t c ? 4.3 153.2 ns 184 wr assertion to cas deassertion t cwl 14.25 t c ? 4.3 138.2 ns 185 data valid to cas assertion (write) t ds 8.75 t c ? 4.0 83.5 ns 186 cas assertion to data not valid (write) t dh 6.25 t c ? 4.0 58.5 ns 187 ras assertion to data not valid (write) t dhr 9.75 t c ? 4.0 93.5 ns 188 wr assertion to cas assertion t wcs 9.5 t c ? 4.3 90.7 ns 189 cas assertion to ras assertion (refresh) t csr 1.5 t c ? 4.0 11.0 ns 190 ras deassertion to cas assertion (refresh) t rpc 4.75 t c ? 4.0 43.5 ns 191 rd assertion to ras deassertion t roh 15.5 t c ? 4.0 151.0 ns 192 rd assertion to data valid t ga 14 t c ? 5.7 134.3 ns 193 rd deassertion to data not valid 5 t gz 0.0 ns 194 wr assertion to data active 0.75 t c C 1.5 6.0 ns 195 wr deassertion to data high impedance 0.25 t c 2.5ns note: 1. the number of wait states for an out-of-page access is specified in the dcr. 2. the refresh period is specified in the dcr. 3. an expression is used to compute the maximum or minimum value listed (or both if the expression includes ) . 4. either t rch or t rrh must be satisfied for read cycles. 5. rd deassertion always occurs after cas deassertion; therefore, the restricted timing is t off and not t gz . table 3-13 dram out-of-page and refresh timings, fifteen wait states 1, 2 (continued) no. characteristics symbol expression 3 100 mhz unit min max
specifications external memory expansion port (port a) 3-34 dsp56367 24-bit digital signal processor users manual motorola figure 3-15 dram out-of-page read access ras cas a0Ca17 wr rd d0Cd23 data row address column address in 157 163 165 162 162 169 170 171 168 167 164 166 173 174 175 172 177 176 191 160 168 159 193 161 192 158 179 aa0476
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-35 figure 3-16 dram out-of-page write access ras cas a0Ca17 wr rd d0Cd23 data out column address row address 162 163 165 162 157 169 170 167 168 164 166 171 173 174 176 172 181 175 180 188 182 184 183 187 185 194 186 195 aa0477
specifications external memory expansion port (port a) 3-36 dsp56367 24-bit digital signal processor users manual motorola figure 3-17 dram refresh access ras cas wr 157 163 162 162 190 170 165 189 177 aa0478
specifications external memory expansion port (port a) motorola dsp56367 24-bit digital signal processor users manual 3-37 3.10.3 arbitration timings figure 3-18 asynchronous bus arbitration timing figure 3-19 asynchronous bus arbitration timing table 3-14 asynchronous bus arbitration timing no. characteristics expression 150 mhz unit min max 250 bb assertion window from bg input negation. 2 .5* tc + 5 21.7 ns 251 delay from bb assertion to bg assertion 2 * tc + 5 18.3 ns note: 1. bit 13 in the omr register must be set to enter asynchronous arbitration mode 2. if asynchronous arbitration mode is active, none of the timings in table 3-14 is required. 3. in order to guarantee timings 250, and 251, it is recommended to assert bg inputs to different 56300 devices (on the same bus) in a non overlap manner as shown in figure 3-18 . bg1 bb 250 251 bg2 bg1 bg2 250+251
specifications parallel host interface (hdi08) timing 3-38 dsp56367 24-bit digital signal processor users manual motorola background explanation for asynchronous bus arbitration: the asynchronous bus arbitration is enabled by internal synchronization circuits on bg and bb inputs. these synchronization circuits add delay from the external signal until it is exposed to internal logic. as a result of this delay, a 56300 part may assume mastership and assert bb for some time after bg is negated. this is the reason for timing 250. once bb is asserted, there is a synchronization delay from bb assertion to the time this assertion is exposed to other 56300 components which are potential masters on the same bus. if bg input is asserted before that time, a situation of bg asserted, and bb negated, may cause another 56300 component to assume mastership at the same time. therefore some non-overlap period between one bg input active to another bg input active is required. timing 251 ensures that such a situation is avoided. 3.11 parallel host interface (hdi08) timing table 3-15 host interface (hdi08) timing no. characteristics 3 expression 150 mhz unit min max 317 read data strobe assertion width 4 hack read assertion width t c + 9.9 16.7 ns 318 read data strobe deassertion width 4 hack read deassertion width 9.9ns 319 read data strobe deassertion width 4 after last data register reads 5,6 , or between two consecutive cvr, icr, or isr reads 7 hack deassertion width after last data register reads 5,6 2.5 t c + 6.6 23.3 ns 320 write data strobe assertion width 8 hack write assertion width 13.2ns 321 write data strobe deassertion width 8 hack write deassertion width 2.5 t c + 6.6 23.3 ns ? after icr, cvr and last data register writes 5 ? after ivr writes, or ? after txh:txm writes (with hbe=0), or ? after txl:txm writes (with hbe=1) 16.5 322 has assertion width 9.9 ns 323 has deassertion to data strobe assertion 9 0.0ns
specifications parallel host interface (hdi08) timing motorola dsp56367 24-bit digital signal processor users manual 3-39 324 host data input setup time before write data strobe deassertion 8 host data input setup time before hack write deassertion 9.9ns 325 host data input hold time after write data strobe deassertion 8 host data input hold time after hack write deassertion 3.3ns 326 read data strobe assertion to output data active from high impedance 4 hack read assertion to output data active from high impedance 3.3ns 327 read data strobe assertion to output data valid 4 hack read assertion to output data valid 24.2 ns 328 read data strobe deassertion to output data high impedance 4 hack read deassertion to output data high impedance 9.9ns 329 output data hold time after read data strobe deassertion 4 output data hold time after hack read deassertion 3.3ns 330 hcs assertion to read data strobe deassertion 4 t c +9.9 16.7 ns 331 hcs assertion to write data strobe deassertion 8 9.9ns 332 hcs assertion to output data valid 19.1 ns 333 hcs hold time after data strobe deassertion 9 0.0ns 334 address (ad7Cad0) setup time before has deassertion (hmux=1) 4.7ns 335 address (ad7Cad0) hold time after has deassertion (hmux=1) 3.3ns 336 a10Ca8 (hmux=1), a2Ca0 (hmux=0), hr/w setup time before data strobe assertion 9 ?read 0ns ? write 4.7 337 a10Ca8 (hmux=1), a2Ca0 (hmux=0), hr/w hold time after data strobe deassertion 9 3.3ns 338 delay from read data strobe deassertion to host request assertion for last data register read 4, 5, 10 t c 6.7 ns table 3-15 host interface (hdi08) timing (continued) no. characteristics 3 expression 150 mhz unit min max
specifications parallel host interface (hdi08) timing 3-40 dsp56367 24-bit digital signal processor users manual motorola 339 delay from write data strobe deassertion to host request assertion for last data register write 5, 8, 10 2 t c 13.4 ns 340 delay from data strobe assertion to host request deassertion for last data register read or write (hrod = 0) 5, 9, 10 19.1 ns 341 delay from data strobe assertion to host request deassertion for last data register read or write (hrod = 1, open drain host request) 5, 9, 10, 11 300.0 ns 342 delay from dma hack deassertion to horeq assertion ns ? for last data register read 5 2 t c + 19.1 32.5 ? for last data register write 5 1.5 t c + 19.1 29.2 ? for other cases 0.0 343 delay from dma hack assertion to horeq deassertion ? hrod = 0 5 20.2 ns 344 delay from dma hack assertion to horeq deassertion for last data register read or write ? hrod = 1, open drain host request 5, 11 300.0 ns note: 1. see host port usage considerations in the dsp56367 users manual. 2. in the timing diagrams below, the controls pins are drawn as active low. the pin polarity is programmable. 3. v cc = 1.8 v 5%; t j = C40c to +95c, c l = 50 pf 4. the read data strobe is hrd in the dual data strobe mode and hds in the single data strobe mode. 5. the last data register is the register at address $7, which is the last location to be read or written in data transfers. 6. this timing is applicable only if a read from the last data register is followed by a read from the rxl, rxm, or rxh registers without first polling rxdf or hreq bits, or waiting for the assertion of the horeq signal. 7. this timing is applicable only if two consecutive reads from one of these registers are executed. 8. the write data strobe is hwr in the dual data strobe mode and hds in the single data strobe mode. 9. the data strobe is host read (hrd) or host write (hwr) in the dual data strobe mode and host data strobe (hds) in the single data strobe mode. 10. the host request is horeq in the single host request mode and hrrq and htrq in the double host request mode. 11. in this calculation, the host request signal is pulled up by a 4.7 k ? resistor in the open-drain mode. table 3-15 host interface (hdi08) timing (continued) no. characteristics 3 expression 150 mhz unit min max
specifications parallel host interface (hdi08) timing motorola dsp56367 24-bit digital signal processor users manual 3-41 figure 3-20 host interrupt vector register (ivr) read timing diagram figure 3-21 read timing diagram, non-multiplexed bus hack hd7Chd0 horeq 329 317 318 328 326 327 aa1105 hrd , hds ha0Cha2 hcs hd0Chd7 horeq, 327 332 319 318 317 330 329 337 336 328 326 338 341 340 333 aa0484 hrrq, htrq
specifications parallel host interface (hdi08) timing 3-42 dsp56367 24-bit digital signal processor users manual motorola figure 3-22 write timing diagram, non-multiplexed bus hwr , hds ha0Cha2 hcs hd0Chd7 horeq , hrrq , htrq 336 331 337 321 320 324 325 339 340 341 333 aa0485
specifications parallel host interface (hdi08) timing motorola dsp56367 24-bit digital signal processor users manual 3-43 figure 3-23 read timing diagram, multiplexed bus hrd , hds ha8Cha10 has had0Chad7 horeq , hrrq , htrq address data 317 318 319 328 329 327 326 335 336 337 334 341 340 338 323 aa0486 322
specifications parallel host interface (hdi08) timing 3-44 dsp56367 24-bit digital signal processor users manual motorola figure 3-24 write timing diagram, multiplexed bus hwr , hds ha8Cha10 horeq , hrrq , htrq has had0Chad7 address data 320 321 325 324 335 341 339 336 334 340 322 323 aa0487
specifications parallel host interface (hdi08) timing motorola dsp56367 24-bit digital signal processor users manual 3-45 figure 3-25 host dma write timing diagram figure 3-26 host dma read timing diagram horeq (output) hack (input) h0Ch7 (input) data valid txh/m/l write 320 321 343 342 324 344 325 326 317 318 327 328 329 data valid horeq (output) hack (input) h0-h7 (output) rxh read 343 342 342
specifications serial host interface spi protocol timing 3-46 dsp56367 24-bit digital signal processor users manual motorola 3.12 serial host interface spi protocol timing table 3-16 serial host interface spi protocol timing no. characteristics 1 mode filter mode expression 3 min max unit 140 tolerable spike width on clock or data in bypassed 0 ns narrow 50 ns wide 100 ns 141 minimum serial clock cycle = t spicc (min) master bypassed 6 t c +46 86.2 ns narrow 6 t c +152 192.2 ns wide 6 t c +223 263.2 ns 142 serial clock high period master bypassed 0.5 t spicc C10 38 ns narrow 0.5 t spicc C10 91 ns wide 0.5 t spicc C10 126.5 ns slave bypassed 2.5 t c +12 28.8 ns narrow 2.5 t c +102 118.8 ns wide 2.5 t c +189 205.8 ns 143 serial clock low period master bypassed 0.5 t spicc C10 38 ns narrow 0.5 t spicc C10 91 ns wide 0.5 t spicc C10 126.5 ns slave bypassed 2.5 t c +12 28.8 ns narrow 2.5 t c +102 118.8 ns wide 2.5 t c +189 205.8 ns 144 serial clock rise/fall time master 10 ns slave 2000 ns
specifications serial host interface spi protocol timing motorola dsp56367 24-bit digital signal processor users manual 3-47 146 ss assertion to first sck edge cpha = 0 slave bypassed 3.5 t c +15 38.5 ns narrow 0 0 ns wide 0 0 ns cpha = 1 slave bypassed 10 10 ns narrow 0 0 ns wide 0 0 ns 147 last sck edge to ss not asserted slave bypassed 12 12 ns narrow 102 102 ns wide 189 189 ns 148 data input valid to sck edge (data input set-up time) master/ slave bypassed 0 0 ns narrow max{(20-t c ), 0} 13.3 ns wide max{(40-t c ), 0} 33.3 ns 149 sck last sampling edge to data input not valid master/ slave bypassed 2.5 t c +10 26.8 ns narrow 2.5 t c +30 46.8 ns wide 2.5 t c +50 66.8 ns 150 ss assertion to data out active slave 2 2 ns 151 ss deassertion to data high impedance 2 slave 9 9 ns 152 sck edge to data out valid (data out delay time) master/ slave bypassed 2 t c +33 46.4 ns narrow 2 t c +123 136.4 ns wide 2 t c +210 223.4 ns 153 sck edge to data out not valid (data out hold time) master/ slave bypassed t c +5 11.7 ns narrow t c +55 61.7 ns wide t c +106 112.7 ns 154 ss assertion to data out valid (cpha = 0) slave t c +33 39.7 ns table 3-16 serial host interface spi protocol timing (continued) no. characteristics 1 mode filter mode expression 3 min max unit
specifications serial host interface spi protocol timing 3-48 dsp56367 24-bit digital signal processor users manual motorola 157 first sck sampling edge to hreq output deassertion slave bypassed 2.5 t c +30 46.8 ns narrow 2.5 t c +120 136.8 ns wide 2.5 t c +217 233.8 ns 158 last sck sampling edge to hreq output not deasserted (cpha = 1) slave bypassed 2.5 t c +30 46.8 ns narrow 2.5 t c +80 96.8 ns wide 2.5 t c +136 152.8 ns 159 ss deassertion to hreq output not deasserted (cpha = 0) slave 2.5 t c +30 46.8 ns 160 ss deassertion pulse width (cpha = 0) slave t c +6 12.7 ns 161 hreq in assertion to first sck edge master bypassed 0.5 t spicc + 2.5 t c +43 97.8 ns narrow 0.5 t spicc + 2.5 t c +43 160.8 ns wide 0.5 t spicc + 2.5 t c +43 196.8 ns 162 hreq in deassertion to last sck sampling edge (hreq in set-up time) (cpha = 1) master 0 0 ns 163 first sck edge to hreq in not asserted (hreq in hold time) master 0 0 ns note: 1. v cc = 1.8 v 5%; t j = C40c to +95c, c l = 50 pf 2. periodically sampled, not 100% tested 3. the timing values calculated are based on simulation data at 150mhz. tester restrictions limit shi testing to lower clock frequencies. table 3-16 serial host interface spi protocol timing (continued) no. characteristics 1 mode filter mode expression 3 min max unit
specifications serial host interface spi protocol timing motorola dsp56367 24-bit digital signal processor users manual 3-49 figure 3-27 spi master timing (cpha = 0) ss (input) sck (cpol = 0) (output) sck (cpol = 1) (output) miso (input) valid mosi (output) msb valid lsb msb lsb hreq (input) 141 142 143 144 144 141 144 144 143 142 148 149 149 148 152 153 163 161 aa0271
specifications serial host interface spi protocol timing 3-50 dsp56367 24-bit digital signal processor users manual motorola figure 3-28 spi master timing (cpha = 1) ss (input) sck (cpol = 0) (output) sck (cpol = 1) (output) miso (input) valid mosi (output) msb valid lsb msb lsb hreq (input) 141 142 143 144 144 141 144 144 143 142 148 148 149 152 153 163 161 162 149 aa0272
specifications serial host interface spi protocol timing motorola dsp56367 24-bit digital signal processor users manual 3-51 figure 3-29 spi slave timing (cpha = 0) ss (input) sck (cpol = 0) (input) sck (cpol = 1) (input) miso (output) mosi (input) msb lsb msb lsb hreq (output) 141 142 143 144 144 141 144 144 143 142 154 150 152 153 148 149 159 157 153 151 valid valid 148 149 147 160 146 aa0273
specifications serial host interface spi protocol timing 3-52 dsp56367 24-bit digital signal processor users manual motorola figure 3-30 spi slave timing (cpha = 1) ss (input) sck (cpol = 0) (input) sck (cpol = 1) (input) miso (output) mosi (input) msb lsb msb lsb hreq (output) 141 142 143 144 144 144 144 143 142 150 152 148 149 158 153 151 valid valid 148 147 146 152 149 157 aa0274
specifications serial host interface (shi) i 2 c protocol timing motorola dsp56367 24-bit digital signal processor users manual 3-53 3.13 serial host interface (shi) i 2 c protocol timing table 3-17 shi i 2 c protocol timing standard i 2 c* no. characteristics 1,2,3 symbol/ expression standard 4,6 fast-mode5 5,6 unit min max min max tolerable spike width on scl or sda ? filters bypassed 0 0 ns ? narrow filters enabled 50 50 ns ? wide filters enabled 100 100 ns 171 scl clock frequency f scl 100 400khz 171 scl clock cycle t scl 10 2.5 s 172 bus free time t buf 4.7 1.3 s 173 start condition set-up time t su;sta 4.7 0.6 s 174 start condition hold time t hd;sta 4.0 0.6 s 175 scl low period t low 4.7 1.3 s 176 scl high period t high 4.0 1.3 s 177 scl and sda rise time t r 1000 20 + 0.1 c b 300 ns 178 scl and sda fall time t f 300 20 + 0.1 c b 300 ns 179 data set-up time t su;dat 250 100 ns 180 data hold time t hd;dat 0.0 0.0 0.9 s 181 dsp clock frequency f dsp ? filters bypassed 10.6 28.5 mhz ? narrow filters enabled 11.8 39.7 mhz ? wide filters enabled 13.1 61.0 mhz 182 scl low to data out valid t vd;dat 3.4 0.9 s 183 stop condition setup time t su;sto 4.0 0.6 s 184 hreq in deassertion to last scl edge (hreq in set-up time) t su;rqi 0.0 0.0 ns
specifications serial host interface (shi) i 2 c protocol timing 3-54 dsp56367 24-bit digital signal processor users manual motorola 186 first scl sampling edge to hreq output deassertion 2 t ng;rqo ? filters bypassed 2 t c + 30 50 50 ns ? narrow filters enabled 2 t c + 120 140 140 ns ? wide filters enabled 2 t c + 208 228 228 ns 187 last scl edge to hreq output not deasserted 2 t as;rqo ? filters bypassed 2 t c + 30 50 50 ns ? narrow filters enabled 2 t c + 80 100 100 ns ? wide filter enabled 2 t c + 135 155 155 ns 188 hreq in assertion to first scl edge t as;rqi 0.5 t i 2 ccp - 0.5 t c - 21 ? filters bypassed 4327 927 ns ? narrow filters enabled 4282 882 ns ? wide filters enabled 4238 838 ns 187 first scl edge to hreq in not asserted (hreq in hold time.) t ho;rqi 0.0 0.0 ns note: 1. v cc = 1.8 v 5%; t j = C40c to +95c, c l = 50 pf 2. pull-up resistor: r p (min) = 1.5 kohm 3. capacitive load: c b (max) = 400 pf 4. it is recommended to enable the wide filters when operating in the i 2 c standard mode. 5. it is recommended to enable the narrow filters when operating in the i 2 c fast mode. 6. the timing values are derived from frequencies not exceeding 100 mhz. table 3-17 shi i 2 c protocol timing (continued) standard i 2 c* no. characteristics 1,2,3 symbol/ expression standard 4,6 fast-mode5 5,6 unit min max min max
specifications serial host interface (shi) i 2 c protocol timing motorola dsp56367 24-bit digital signal processor users manual 3-55 3.13.1 programming the serial clock the programmed serial clock cycle, t i 2 ccp , is specified by the value of the hdm[7:0] and hrs bits of the hckr (shi clock control register). the expression for t i 2 ccp is t i 2 ccp = [t c 2 (hdm[7:0] + 1) (7 (1 C hrs) + 1)] where C hrs is the prescaler rate select bit. when hrs is cleared, the fixed divide-by-eight prescaler is operational. when hrs is set, the prescaler is bypassed. C hdm[7:0] are the divider modulus select bits. a divide ratio from 1 to 256 (hdm[7:0] = $00 to $ff) may be selected. in i 2 c mode, the user may select a value for the programmed serial clock cycle from 6 t c (if hdm[7:0] = $02 and hrs = 1) to 4096 t c (if hdm[7:0] = $ff and hrs = 0) the programmed serial clock cycle (t i 2 ccp ), scl rise time (t r ), and the filters selected should be chosen in order to achieve the desired scl serial clock cycle (t scl ), as shown in table 3-18 . example: for dsp clock frequency of 100 mhz (i.e. t c = 10ns), operating in a standard mode i 2 c environment (f scl = 100 khz (i.e. t scl = 10 s), t r = 1000ns), with wide filters enabled: t i 2 ccp = 10 s - 2.5 10ns - 223ns - 1000ns = 8752ns choosing hrs = 0 gives hdm[7:0] = 8752ns / (2 10ns 8) - 1 = 53.7 thus the hdm[7:0] value should be programmed to $36 (=54). table 3-18 scl serial clock cycle (t scl ) generated as master filters bypassed t i 2 ccp + 2.5 t c + 45ns + t r narrow filters enabled t i 2 ccp + 2.5 t c + 135ns + t r wide filters enabled t i 2 ccp + 2.5 t c + 223ns + t r
specifications serial host interface (shi) i 2 c protocol timing 3-56 dsp56367 24-bit digital signal processor users manual motorola the resulting t i 2 ccp will be: t i 2 ccp = [t c 2 (hdm[7:0] + 1) (7 (1 C 0) + 1)] t i 2 ccp = [10ns 2 (54 + 1) (7 (1 C 0) + 1)] t i 2 ccp = [10ns 2 54 8] = 8640ns figure 3-31 i 2 c timing start scl hreq sda ack msb lsb stop 171 stop 173 176 175 177 178 180 179 172 186 182 183 189 174 188 184 187 aa0275
specifications enhanced serial audio interface timing motorola dsp56367 24-bit digital signal processor users manual 3-57 3.14 enhanced serial audio interface timing table 3-19 enhanced serial audio interface timing no. characteristics 1, 2, 3 symbol expression 3 min max condition 4 unit 430 clock cycle 5 t ssicc 4 t c 26.8 i ck ns 3 t c 20.1 x ck txc:max[3*tc; t454] 26.5 x ck 431 clock high period for internal clock 2 t c ? 10.0 3.4 ns for external clock 1.5 t c 10.0 432 clock low period for internal clock 2 t c ? 10.0 3.4 ns for external clock 1.5 t c 10.0 433 rxc rising edge to fsr out (bl) high 37.0 22.0 x ck i ck a ns 434 rxc rising edge to fsr out (bl) low 37.0 22.0 x ck i ck a ns 435 rxc rising edge to fsr out (wr) high 6 39.0 24.0 x ck i ck a ns 436 rxc rising edge to fsr out (wr) low 6 39.0 24.0 x ck i ck a ns 437 rxc rising edge to fsr out (wl) high 36.0 21.0 x ck i ck a ns 438 rxc rising edge to fsr out (wl) low 37.0 22.0 x ck i ck a ns 439 data in setup time before rxc (sck in synchronous mode) falling edge 0.0 19.0 x ck i ck ns 440 data in hold time after rxc falling edge 5.0 3.0 x ck i ck ns 441 fsr input (bl, wr) high before rxc falling edge 6 23.0 1.0 x ck i ck a ns
specifications enhanced serial audio interface timing 3-58 dsp56367 24-bit digital signal processor users manual motorola 442 fsr input (wl) high before rxc falling edge 23.0 1.0 x ck i ck a ns 443 fsr input hold time after rxc falling edge 3.0 0.0 x ck i ck a ns 444 flags input setup before rxc falling edge 0.0 19.0 x ck i ck s ns 445 flags input hold time after rxc falling edge 6.0 0.0 x ck i ck s ns 446 txc rising edge to fst out (bl) high 29.0 15.0 x ck i ck ns 447 txc rising edge to fst out (bl) low 31.0 17.0 x ck i ck ns 448 txc rising edge to fst out (wr) high 6 31.0 17.0 x ck i ck ns 449 txc rising edge to fst out (wr) low 6 33.0 19.0 x ck i ck ns 450 txc rising edge to fst out (wl) high 30.0 16.0 x ck i ck ns 451 txc rising edge to fst out (wl) low 31.0 17.0 x ck i ck ns 452 txc rising edge to data out enable from high impedance 31.0 17.0 x ck i ck ns 453 txc rising edge to transmitter #0 drive enable assertion 34.0 20.0 x ck i ck ns 454 txc rising edge to data out valid 23 + 0.5 t c 21.0 26.5 21.0 x ck i ck ns 455 txc rising edge to data out high impedance 7 31.0 16.0 x ck i ck ns 456 txc rising edge to transmitter #0 drive enable deassertion 7 34.0 20.0 x ck i ck ns table 3-19 enhanced serial audio interface timing (continued) no. characteristics 1, 2, 3 symbol expression 3 min max condition 4 unit
specifications enhanced serial audio interface timing motorola dsp56367 24-bit digital signal processor users manual 3-59 457 fst input (bl, wr) setup time before txc falling edge 6 2.0 21.0 x ck i ck ns 458 fst input (wl) to data out enable from high impedance 27.0 ns 459 fst input (wl) to transmitter #0 drive enable assertion 31.0 ns 460 fst input (wl) setup time before txc falling edge 2.0 21.0 x ck i ck ns 461 fst input hold time after txc falling edge 4.0 0.0 x ck i ck ns 462 flag output valid after txc rising edge 32.0 18.0 x ck i ck ns 463 hckr/hckt clock cycle 40.0 ns 464 hckt input rising edge to txc output 27.5 ns 465 hckr input rising edge to rxc output 27.5 ns note: 1. v cc = 1.8 v 5%; t j = C40c to +95c, c l = 50 pf 2. i ck = internal clock x ck = external clock i ck a = internal clock, asynchronous mode (asynchronous implies that txc and rxc are two different clocks) i ck s = internal clock, synchronous mode (synchronous implies that txc and rxc are the same clock) 3. bl = bit length wl = word length wr = word length relative 4. txc(sckt pin) = transmit clock rxc(sckr pin) = receive clock fst(fst pin) = transmit frame sync fsr(fsr pin) = receive frame sync hckt(hckt pin) = transmit high frequency clock hckr(hckr pin) = receive high frequency clock 5. for the internal clock, the external clock cycle is defined by icyc and the esai control register. 6. the word-relative frame sync signal waveform relative to the clock operates in the same manner as the bit-length frame sync signal waveform, but spreads from one serial clock before first bit clock (same as bit length frame sync signal), until the one before last bit clock of the first word in frame. 7. periodically sampled and not 100% tested 8. the timing values calculated are based on simulation data at 150mhz. tester restrictions limit esai testing to lower clock frequencies. 9. esai_1 specs match those of esai_0. table 3-19 enhanced serial audio interface timing (continued) no. characteristics 1, 2, 3 symbol expression 3 min max condition 4 unit
specifications enhanced serial audio interface timing 3-60 dsp56367 24-bit digital signal processor users manual motorola figure 3-32 esai transmitter timing last bit see note txc (input/output ) fst (bit) out fst (word) out data out transmitter #0 drive enable fst (bit) in fst (word) in flags out note: in network mode, output flag transitions can occur at the start of each time slot within the frame. in normal mode, the output flag state is asserted for the entire frame period. first bit 430 432 446 447 450 451 455 454 454 452 459 456 453 461 457 458 460 461 462 431 aa0490
specifications enhanced serial audio interface timing motorola dsp56367 24-bit digital signal processor users manual 3-61 figure 3-33 esai receiver timing figure 3-34 esai hckt timing rxc (input/output) fsr (bit) out fsr (word) out data in fsr (bit) in fsr (word) in flags in last bit first bit 430 432 433 437 438 440 439 443 441 442 443 445 444 431 434 aa0491 hckt sckt(output) 464 463
specifications digital audio transmitter timing 3-62 dsp56367 24-bit digital signal processor users manual motorola figure 3-35 esai hckr timing 3.15 digital audio transmitter timing figure 3-36 digital audio transmitter timing table 3-20 digital audio transmitter timing no. characteristic expression 150 mhz unit min max aci frequency (see note) 1 / (2 x t c )75mhz 220 aci period 2 t c 13.4 ns 221 aci high duration 0.5 t c 3.4 ns 222 aci low duration 0.5 t c 3.4 ns 223 aci rising edge to ado valid 1.5 t c 10.0 ns note: in order to assure proper operation of the dax, the aci frequency should be less than 1/2 of the dsp56367 internal clock frequency. for example, if the dsp56367 is running at 150 mhz internally, the aci frequency should be less than 75 mhz. hckr sckr (output) 465 463 aci ado 220 223 aa1280 221 222
specifications timer timing motorola dsp56367 24-bit digital signal processor users manual 3-63 3.16 timer timing figure 3-37 tio timer event input restrictions 3.17 gpio timing table 3-21 timer timing no. characteristics expression 150 mhz unit min max 480 tio low 2 t c + 2.0 15.4 ns 481 tio high 2 t c + 2.0 15.4 ns note: v cc = 1.8 v 0.09 v; t j = C40c to +95c, c l = 50 pf table 3-22 gpio timing no. characteristics 1 expression min max uni t 490 2 extal edge to gpio out valid (gpio out delay time) 32.8 ns 491 extal edge to gpio out not valid (gpio out hold time) 4.8 ns 492 gpio in valid to extal edge (gpio in set-up time) 10.2 ns 493 extal edge to gpio in not valid (gpio in hold time) 1.8 ns 494 2 fetch to extal edge before gpio change 6.75 t c -1.8 43.4 ns 495 gpio out rise time 13 ns 496 gpio out fall time 13 ns note: 1. v cc = 1.8 v 0.09 v; t j = -40c to +95c, c l = 50 pf 2. valid only when pll enabled with multiplication factor equal to one. tio 481 480 aa0492
specifications gpio timing 3-64 dsp56367 24-bit digital signal processor users manual motorola figure 3-38 gpio timing valid gpio (input) gpio (output) extal (input) fetch the instruction move x0,x:(r0); x0 contains the new value of gpio and r0 contains the address of gpio data register. a0Ca17 490 491 492 494 493 gpio (output) 495 496
specifications jtag timing motorola dsp56367 24-bit digital signal processor users manual 3-65 3.18 jtag timing figure 3-39 test clock input timing diagram table 3-23 jtag timing no. characteristics all frequencies unit min max 500 tck frequency of operation (1/(t c 3); maximum 22 mhz) 0.0 22.0 mhz 501 tck cycle time in crystal mode 45.0 ns 502 tck clock pulse width measured at 1.5 v 20.0 ns 503 tck rise and fall times 0.0 3.0 ns 504 boundary scan input data setup time 5.0 ns 505 boundary scan input data hold time 24.0 ns 506 tck low to output data valid 0.0 40.0 ns 507 tck low to output high impedance 0.0 40.0 ns 508 tms, tdi data setup time 5.0 ns 509 tms, tdi data hold time 25.0 ns 510 tck low to tdo data valid 0.0 44.0 ns 511 tck low to tdo high impedance 0.0 44.0 ns note: 1. v cc = 1.8 v 0.09 v; t j = -40c to +95c, c l = 50 pf 2. all timings apply to once module data transfers because it uses the jtag port as an interface. tck (input) vm vm vih vil 501 502 502 503 503 aa0496
specifications jtag timing 3-66 dsp56367 24-bit digital signal processor users manual motorola figure 3-40 boundary scan (jtag) timing diagram figure 3-41 test access port timing diagram tck (input) data inputs data outputs data outputs data outputs vih vil input data valid output data valid output data valid 505 504 506 507 506 aa0497 tck (input) tdi (input) tdo (output) tdo (output) tdo (output) vih vil input data valid output data valid output data valid tms 508 509 510 511 510 aa0498
motorola dsp56367 24-bit digital signal processor users manual 4-1 chapter 4 design considerations
design considerations thermal design considerations 4-2 dsp56367 24-bit digital signal processor users manual motorola 4.1 thermal design considerations an estimation of the chip junction temperature, t j , in c can be obtained from the following equation: where: t a = ambient temperature c r qja = package junction-to-ambient thermal resistance c/w p d = power dissipation in package w historically, thermal resistance has been expressed as the sum of a junction-to-case thermal resistance and a case-to-ambient thermal resistance. where: r ja = package junction-to-ambient thermal resistance c/w r jc = package junction-to-case thermal resistance c/w r ca = package case-to-ambient thermal resistance c/w r jc is device-related and cannot be influenced by the user. the user controls the thermal environment to change the case-to-ambient thermal resistance, r ca . for example, the user can change the air flow around the device, add a heat sink, change the mounting arrangement on the printed circuit board (pcb), or otherwise change the thermal dissipation capability of the area surrounding the device on a pcb. this model is most useful for ceramic packages with heat sinks; some 90% of the heat flow is dissipated through the case to the heat sink and out to the ambient environment. for ceramic packages, in situations where the heat flow is split between a path to the case and an alternate path through the pcb, analysis of the device thermal performance may need the additional modeling capability of a system level thermal simulation tool. the thermal performance of plastic packages is more dependent on the temperature of the pcb to which the package is mounted. again, if the estimations obtained from r ja do not satisfactorily answer whether the thermal performance is adequate, a system level model may be appropriate. a complicating factor is the existence of three common ways for determining the junction-to-case thermal resistance in plastic packages. ? to minimize temperature variation across the surface, the thermal resistance is measured from the junction to the outside surface of the package (case) closest to the chip mounting area when that surface has a proper heat sink. ? to define a value approximately equal to a junction-to-board thermal resistance, the thermal resistance is measured from the junction to where the leads are attached to the case. ? if the temperature of the package case (t t ) is determined by a thermocouple, the thermal resistance is computed using the value obtained by the equation (t j C t t )/p d . as noted above, the junction-to-case thermal resistances quoted in this data sheet are determined using the first definition. from a practical standpoint, that value is also suitable for determining the junction temperature from a case thermocouple reading in forced convection environments. in natural convection, using the junction-to-case thermal resistance to estimate junction temperature from a thermocouple t j t a p d r ja () + = r ja r jc r ca + =
design considerations electrical design considerations motorola dsp56367 24-bit digital signal processor users manual 4-3 reading on the case of the package will estimate a junction temperature slightly hotter than actual temperature. hence, the new thermal metric, thermal characterization parameter or jt , has been defined to be (t j C t t )/p d . this value gives a better estimate of the junction temperature in natural convection when using the surface temperature of the package. remember that surface temperature readings of packages are subject to significant errors caused by inadequate attachment of the sensor to the surface and to errors caused by heat loss to the sensor. the recommended technique is to attach a 40-gauge thermocouple wire and bead to the top center of the package with thermally conductive epoxy. 4.2 electrical design considerations use the following list of recommendations to assure correct dsp operation: ? provide a low-impedance path from the board power supply to each v cc pin on the dsp and from the board ground to each gnd pin. ? use at least six 0.01C0.1 f bypass capacitors positioned as close as possible to the four sides of the package to connect the v cc power source to gnd. ? ensure that capacitor leads and associated printed circuit traces that connect to the chip v cc and gnd pins are less than 1.2 cm (0.5 inch) per capacitor lead. ? use at least a four-layer pcb with two inner layers for v cc and gnd. ? because the dsp output signals have fast rise and fall times, pcb trace lengths should be minimal. this recommendation particularly applies to the address and data buses as well as the irqa , irqb , irqd , and ta pins. maximum pcb trace lengths on the order of 15 cm (6 inches) are recommended. ? consider all device loads as well as parasitic capacitance due to pcb traces when calculating capacitance. this is especially critical in systems with higher capacitive loads that could create higher transient currents in the v cc and gnd circuits. caution this device contains circuitry protecting against damage due to high static voltage or electrical fields. however, normal precautions should be taken to avoid exceeding maximum voltage ratings. reliability of operation is enhanced if unused inputs are tied to an appropriate logic voltage level (e.g., either gnd or v cc ). the suggested value for a pullup or pulldown resistor is 10 k ohm.
design considerations power consumption considerations 4-4 dsp56367 24-bit digital signal processor users manual motorola ? all inputs must be terminated (i.e., not allowed to float) using cmos levels, except for the three pins with internal pull-up resistors (tms, tdi, tck ). ? take special care to minimize noise levels on the v ccp and gnd p pins. ? if multiple dsp56367 devices are on the same board, check for cross-talk or excessive spikes on the supplies due to synchronous operation of the devices. ? reset must be asserted when the chip is powered up. a stable extal signal must be supplied before deassertion of reset. ? at power-up, ensure that the voltage difference between the 3.3 v tolerant pins and the chip v cc never exceeds a tbd voltage. 4.3 power consumption considerations power dissipation is a key issue in portable dsp applications. some of the factors which affect current consumption are described in this section. most of the current consumed by cmos devices is alternating current (ac), which is charging and discharging the capacitances of the pins and internal nodes. current consumption is described by the following formula: where c = node/pin capacitance v = voltage swing f = frequency of node/pin toggle the maximum internal current (i cci max) value reflects the typical possible switching of the internal buses on best-case operation conditions, which is not necessarily a real application case. the typical internal current (i ccityp ) value reflects the average switching of the internal buses on typical operating conditions. for applications that require very low current consumption, do the following: ? set the ebd bit when not accessing external memory. ? minimize external memory accesses and use internal memory accesses. ? minimize the number of pins that are switching. ? minimize the capacitive load on the pins. ? connect the unused inputs to pull-up or pull-down resistors. ? disable unused peripherals. example 4-1 current consumption for a port a address pin loaded with 50 pf capacitance, operating at 3.3 v, and with a 100 mhz clock, toggling at its maximum possible rate (50 mhz), the current consumption is icvf = i5010 12 C 3.3 50 10 6 8.25ma ==
design considerations pll performance issues motorola dsp56367 24-bit digital signal processor users manual 4-5 one way to evaluate power consumption is to use a current per mips measurement methodology to minimize specific board effects (i.e., to compensate for measured board current not caused by the dsp). a benchmark power consumption test algorithm is listed in appendix e, power consumption benchmark . use the test algorithm, specific test current measurements, and the following equation to derive the current per mips value. where : i typf2 = current at f2 i typf1 = current at f1 f2 = high frequency (any specified operating frequency) f1 = low frequency (any specified operating frequency lower than f2) note: f1 should be significantly less than f2. for example, f2 could be 66 mhz and f1 could be 33 mhz. the degree of difference between f1 and f2 determines the amount of precision with which the current rating can be determined for an application. 4.4 pll performance issues the following explanations should be considered as general observations on expected pll behavior. there is no testing that verifies these exact numbers. these observations were measured on a limited number of parts and were not verified over the entire temperature and voltage ranges. 4.4.1 input (extal) jitter requirements the allowed jitter on the frequency of extal is 0.5%. if the rate of change of the frequency of extal is slow (i.e., it does not jump between the minimum and maximum values in one cycle) or the frequency of the jitter is fast (i.e., it does not stay at an extreme value for a long time), then the allowed jitter can be 2%. the phase and frequency jitter performance results are only valid if the input jitter is less than the prescribed values. imips ? imhz ? i typf2 i typf1 C () f2f1 C () ? ==
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual 5-1 chapter 5 memory configuration
memory configuration data and program memory maps 5-2 dsp56367 24-bit digital signal processor users manual motorola 5.1 data and program memory maps the on-chip memory configuration of the dsp56367 is affected by the state of the ce (cache enable), msw0, msw1, and ms (memory switch) control bits in the omr register, and by the sc bit in the status register. the internal data and program memory configurations are shown in table 5-1 . the address ranges for the internal memory are shown in table 5-2 and table 5-3 . the memory maps for each memory configuration are shown in figure 5-1 to figure 5-16 .
memory configuration data and program memory maps motorola dsp56367 24-bit digital signal processor users manual 5-3 table 5-1 internal memory configurations bit settings memory sizes (24-bit words) msw1 msw0 ce ms sc prog ram prog cache prog rom boot rom x data ram y data ram x data rom y data rom x x 0 0 0 3k n.a. 40k 192 13k 7k 32k 8k x x 1 0 0 2k 1k 40k 192 13k 7k 32k 8k 0001010kn.a.40k1928k5k32k8k 010108kn.a.40k1928k7k32k8k 100105kn.a.40k19211k7k32k8k 001109k1k40k1928k5k32k8k 011107k1k40k1928k7k32k8k 101104k1k40k19211k7k32k8k x x 0 0 1 3k n.a. n.a. n.a. 13k 7k 32k 8k x x 1 0 1 2k 1k n.a. n.a. 13k 7k 32k 8k 0001110kn.a.n.a.n.a.8k5k32k8k 010118kn.a.n.a.n.a.8k7k32k8k 100115kn.a.n.a.n.a.11k7k32k8k 001119k1kn.a.n.a.8k5k32k8k 011117k1kn.a.n.a.8k7k32k8k 101114k1kn.a.n.a.11k7k32k8k table 5-2 on-chip ram memory locations bit settings ram memory locations msw1 msw0 ce ms sc prog. ram prog. cache x data ram y data ram x x 0 0 x $0000 - $0bff n.a. $0000 - $33ff $0000-$1bff x x 1 0 x $0000 - $07ff enabled $0000 - $33ff $0000-$1bff 0 0 0 1 x $0000 -$27ff n.a. $0000 - $1fff $0000 - $13ff 0 1 0 1 x $0000 - $1bff and $2400 - $27ff n.a. $0000 - $1fff $0000-$1bff
memory configuration data and program memory maps 5-4 dsp56367 24-bit digital signal processor users manual motorola 1 0 0 1 x $0000 - $ 0fff and $2400 - $27ff n.a. $0000 - $2bff $0000-$1bff 0 0 1 1 x $0000 - $23ff enabled $0000 - $1fff $0000 - $13ff 0 1 1 1 x $0000 - $1bff enabled $0000 - $1fff $0000 - $1bff 1 0 1 1 x $0000 - $0fff enabled $0000 - $2bff $0000 - $1bff table 5-3 on-chip rom memory locations bit settings rom memory locations msw1 msw0 ce ms sc prog. rom boot. rom x data rom y data rom x x x x 0 $ff1000 - $ffafcf $ff0000 - $ff00bf $004000- $00bfff $004000- $005fff x x x x 1 no access no access $004000- $00bfff $004000- $005fff table 5-2 on-chip ram memory locations bit settings ram memory locations msw1 msw0 ce ms sc prog. ram prog. cache x data ram y data ram
memory configuration data and program memory maps motorola dsp56367 24-bit digital signal processor users manual 5-5 figure 5-1 memory maps for msw=(x,x), ce=0, ms=0, sc=0 figure 5-2 memory maps for msw=(x,x), ce=1, ms=0, sc=0 program $ffffff $000000 $000c00 3k internal ram x data $ffffff $000000 $003400 13k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal external boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001c00 7k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved $ffafcf program $ffffff $000000 $000800 2k internal ram x data $ffffff $000000 $003400 13k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal external boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001c00 7k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved 1k i-cache enabled $ffafcf
memory configuration data and program memory maps 5-6 dsp56367 24-bit digital signal processor users manual motorola figure 5-3 memory maps for msw=(0,0), ce=0 ms=1, sc=0 figure 5-4 memory maps for msw=(0,1), ce=0, ms=1, sc=0 program $ffffff $000000 $002800 10k internal ram x data $ffffff $000000 $002000 8k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal external boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001400 5k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved $ffafcf program $ffffff $000000 $001c00 7k internal ram x data $ffffff $000000 $002000 8k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001c00 7k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved int. reserved $002400 external $002800 1k ram $ffafcf
memory configuration data and program memory maps motorola dsp56367 24-bit digital signal processor users manual 5-7 figure 5-5 memory maps for msw=(1,0), ce=0, ms=1, sc=0 figure 5-6 memory maps for msw=(0,0), ce=1, ms=1, sc=0 program $ffffff $000000 $001000 4k internal ram x data $ffffff $000000 $002c00 11k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001c00 7k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved int. reserved $002400 external 1k ram $002800 $ffafcf program $ffffff $000000 $002400 9k internal ram x data $ffffff $000000 $002000 8k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal external boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001400 5k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved 1k i-cache enabled $ffafcf
memory configuration data and program memory maps 5-8 dsp56367 24-bit digital signal processor users manual motorola figure 5-7 memory maps for msw=(0,1), ce=1, ms=1, sc=0 figure 5-8 memory maps for msw=(1,0), ce=1, ms=1, sc=0 program $ffffff $000000 $001c00 7k internal ram x data $ffffff $000000 $002000 8k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal external boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001c00 7k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved int. reserved $002400 1k i-cache enabled $ffafcf program $ffffff $000000 $001000 4k internal ram x data $ffffff $000000 $002c00 11k internal ram internal i/o y data $ff1000 $ffff80 40k internal rom $ffb000 (128 words) $00c000 rom 32k internal internal external boot rom $ff0000 $ff00c0 reserved internal reserved internal reserved external $fff000 external $ff0000 $ffffff $000000 $001c00 7k internal ram external i/o (80 words) $006000 $004000 rom 8k internal int. reserved external $ff0000 internal reserved $fff000 $ffff80 external $ffffb0 internal i/o (48 words) $004000 int. reserved int. reserved $002400 1k i-cache enabled $ffafcf
memory configuration data and program memory maps motorola dsp56367 24-bit digital signal processor users manual 5-9 figure 5-9 memory maps for msw=(x,x), ce=0, ms=0, sc=1 figure 5-10 memory maps for msw=(x,x), ce=1, ms=0, sc=1 program $ffff $0000 $0c00 3k internal ram x data $ffff $0000 $3400 13k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1c00 7k internal ram external i/o $ffb0 (82 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (46 words) $ff80 $4000 int. reserved program $ffff $0000 $0800 2k internal ram x data $ffff $0000 $3400 13k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1c00 7k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48words) $ff80 1k i-cache enabled int. reserved $4000
memory configuration data and program memory maps 5-10 dsp56367 24-bit digital signal processor users manual motorola figure 5-11 memory maps for msw=(0,0), ce=0, ms=1, sc=1 figure 5-12 memory maps for msw=(0,1), ce=0, ms=1, sc=1 program $ffff $0000 $2800 10k internal ram x data $ffff $0000 $2000 8k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1400 5k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48words) $ff80 int. reserved $4000 program $ffff $0000 $1c00 7k internal ram x data $ffff $0000 $2000 8k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1c00 7k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48 words) $ff80 int. reserved $4000 $2400 $2800 1k ram int. reserved
memory configuration data and program memory maps motorola dsp56367 24-bit digital signal processor users manual 5-11 figure 5-13 memory maps for msw=(1,0), ce=0, ms=1, sc=1 figure 5-14 memory maps for msw=(0,0), ce=1, ms=1, sc=1 program $ffff $0000 4k internal ram x data $ffff $0000 $2c00 11k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1c00 7k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48 words) $ff80 int. reserved $4000 $2400 $2800 $1000 int. reserved 1k ram program $ffff $0000 $2400 9k internal ram x data $ffff $0000 $2000 8k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1400 5k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48 words) $ff80 int. reserved $4000 1k i-cache enabled
memory configuration data and program memory maps 5-12 dsp56367 24-bit digital signal processor users manual motorola figure 5-15 memory maps for msw=(0,1), ce=1, ms=1, sc=1 figure 5-16 memory maps for msw=(1,0), ce=1, ms=1, sc=1 program $ffff $0000 $1c00 7k internal ram x data $ffff $0000 $2000 8k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1c00 7k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48 words) $ff80 int. reserved $4000 1k i-cache enabled int. reserved $2400 program $ffff $0000 4k internal ram x data $ffff $0000 $2c00 11k internal ram internal i/o y data $ff80 (128 words) $c000 rom 32k internal external external $ffff $0000 $1c00 7k internal ram external i/o $ffb0 (80 words) $6000 $4000 rom 8k internal int. reserved external internal i/o (48 words) $ff80 int. reserved $4000 1k i-cache enabled int. reserved $1000 $2400
memory configuration data and program memory maps motorola dsp56367 24-bit digital signal processor users manual 5-13 5.1.1 reserved memory spaces the reserved memory spaces should not be accessed by the user. they are reserved for future expansion. 5.1.2 program rom area reserved for motorola use the last 48 words ($ffafd0-$ffafff) of the program rom are reserved for motorola use. this memory area is reserved for use as expansion area for the bootstrap rom as well as for testing purposes. customer code should not use this area. the contents of this program rom segment is defined by the appendixa, memory configuration . 5.1.3 bootstrap rom the 192-word bootstrap rom occupies locations $ff0000-$ff00bf. the bootstrap rom is factory-programmed to perform the bootstrap operation following hardware reset. the contents of the bootstrap rom are defined by the bootstrap rom source code in appendixa, memory configuration . 5.1.4 dynamic memory configuration switching the internal memory configuration is altered by re-mapping ram modules from y and x data memory into program memory space and vice-versa. the contents of the switched ram modules are preserved. the memory can be dynamically switched from one configuration to another by changing the ms, msw0 or msw1 bits in omr. the address ranges that are directly affected by the switch operation are specified in table 5-2 . the memory switch can be accomplished provided that the affected address ranges are not being accessed during the instruction cycle in which the switch operation takes place. accordingly, the following condition must be observed for trouble-free dynamic switching: note: no accesses (including instruction fetches) to or from the affected address ranges in program and data memories are allowed during the switch cycle. note: the switch cycle actually occurs 3 instruction cycles after the instruction that modifies the ms, msw0 or msw1 bits. any sequence that complies with the switch condition is valid. for example, if the program flow executes in the address range that is not affected by the switch, the switch condition can be met very easily. in this case a switch can be accomplished by just changing the ms, msw0 or msw1 bits in omr in the regular program flow, assuming no accesses to the affected address ranges of the data memory occur up to 3 instructions after the instruction that changes the omr bit. special care should be taken in relation to the interrupt vector routines since an interrupt could cause the dsp to fetch instructions out of sequence and might violate the switch condition.
memory configuration data and program memory maps 5-14 dsp56367 24-bit digital signal processor users manual motorola special attention should be given when running a memory switch routine using the once ? port. running the switch routine in trace mode, for example, can cause the switch to complete after the ms bit change while the dsp is in debug mode. as a result, subsequent instructions might be fetched according to the new memory configuration (after the switch), and thus might execute improperly. 5.1.5 external memory support the dsp56367 does not support the ssram memory type. it does support sram and dram as indicated in the dsp56300 24-bit digital signal processor family manual, motorola publication dsp56300fm/ad . also, care should be taken when accessing external memory to ensure that the necessary address lines are available. for example, when using glueless sram interfacing, it is possible to directly address 3 x 2 18 memory locations (768k) when using the 18 address lines and the three programmable address attribute lines.
memory configuration internal i/o memory map motorola dsp56367 24-bit digital signal processor users manual 5-15 5.2 internal i/o memory map the dsp56367 on-chip peripheral modules have their register files programmed to the addresses in the internal x-i/o memory range (the top 128 locations of the x data memory space) and internal y-i/o memory range (48 locations of the ydata memory space) as shown in table 5-4 . table 5-4 internal i/o memory map peripheral address register name ipr x:$ffffff interrupt priority register core (ipr-c) x:$fffffe interrupt priority register peripheral (ipr-p) pll x:$fffffd pll control register (pctl) once x:$fffffc once gdb register (ogdb) biu x:$fffffb bus control register (bcr) x:$fffffa dram control register (dcr) x:$fffff9 address attribute register 0 (aar0) x:$fffff8 address attribute register 1 (aar1) x:$fffff7 address attribute register 2 (aar2) x:$fffff6 address attribute register 3 (aar3) [pin not available] x:$fffff5 id register (idr) dma x:$fffff4 dma status register (dstr) x:$fffff3 dma offset register 0 (dor0) x:$fffff2 dma offset register 1 (dor1) x:$fffff1 dma offset register 2 (dor2) x:$fffff0 dma offset register 3 (dor3) dma0 x:$ffffef dma source address register (dsr0) x:$ffffee dma destination address register (ddr0) x:$ffffed dma counter (dco0) x:$ffffec dma control register (dcr0) dma1 x:$ffffeb dma source address register (dsr1) x:$ffffea dma destination address register (ddr1) x:$ffffe9 dma counter (dco1) x:$ffffe8 dma control register (dcr1) dma2 x:$ffffe7 dma source address register (dsr2) x:$ffffe6 dma destination address register (ddr2) x:$ffffe5 dma counter (dco2) x:$ffffe4 dma control register (dcr2) dma3 x:$ffffe3 dma source address register (dsr3) x:$ffffe2 dma destination address register (ddr3) x:$ffffe1 dma counter (dco3) x:$ffffe0 dma control register (dcr3)
memory configuration internal i/o memory map 5-16 dsp56367 24-bit digital signal processor users manual motorola dma4 x:$ffffdf dma source address register (dsr4) x:$ffffde dma destination address register (ddr4) x:$ffffdd dma counter (dco4) x:$ffffdc dma control register (dcr4) dma5 x:$ffffdb dma source address register (dsr5) x:$ffffda dma destination address register (ddr5) x:$ffffd9 dma counter (dco5) x:$ffffd8 dma control register (dcr5) port d x:$ffffd7 port d control register (pcrd) x:$ffffd6 port d direction register (prrd) x:$ffffd5 port d data register (pdrd) dax x:$ffffd4 dax status register (xstr) x:$ffffd3 dax audio data register b (xadrb) x:$ffffd2 dax audio data register a (xadra) x:$ffffd1 dax non-audio data register (xnadr) x:$ffffd0 dax control register (xctr) x:$ffffcf reserved x:$ffffce reserved x:$ffffcd reserved x:$ffffcc reserved x:$ffffcb reserved x:$ffffca reserved port b x:$ffffc9 host port gpio data register (hdr) x:$ffffc8 host port gpio direction register (hddr) hdi08 x:$ffffc7 host transmit register (hotx) x:$ffffc6 host receive register (horx) x:$ffffc5 host base address register (hbar) x:$ffffc4 host port control register (hpcr) x:$ffffc3 host status register (hsr) x:$ffffc2 host control register (hcr) x:$ffffc1 reserved x:$ffffc0 reserved port c x:$ffffbf port c control register (pcrc) x:$ffffbe port c direction register (prrc) x:$ffffbd port c gpio data register (pdrc) table 5-4 internal i/o memory map (continued) peripheral address register name
memory configuration internal i/o memory map motorola dsp56367 24-bit digital signal processor users manual 5-17 esai x:$ffffbc esai receive slot mask register b (rsmb) x:$ffffbb esai receive slot mask register a (rsma) x:$ffffba esai transmit slot mask register b (tsmb) x:$ffffb9 esai transmit slot mask register a (tsma) x:$ffffb8 esai receive clock control register (rccr) x:$ffffb7 esai receive control register (rcr) x:$ffffb6 esai transmit clock control register (tccr) x:$ffffb5 esai transmit control register (tcr) x:$ffffb4 esai common control register (saicr) x:$ffffb3 esai status register (saisr) x:$ffffb2 reserved x:$ffffb1 reserved x:$ffffb0 reserved x:$ffffaf reserved x:$ffffae reserved x:$ffffad reserved x:$ffffac reserved x:$ffffab esai receive data register 3 (rx3) x:$ffffaa esai receive data register 2 (rx2) x:$ffffa9 esai receive data register 1 (rx1) x:$ffffa8 esai receive data register 0 (rx0) x:$ffffa7 reserved x:$ffffa6 esai time slot register (tsr) x:$ffffa5 esai transmit data register 5 (tx5) x:$ffffa4 esai transmit data register 4 (tx4) x:$ffffa3 esai transmit data register 3 (tx3) x:$ffffa2 esai transmit data register 2 (tx2) x:$ffffa1 esai transmit data register 1 (tx1) x:$ffffa0 esai transmit data register 0 (tx0) x:$ffff9f reserved x:$ffff9e reserved x:$ffff9d reserved x:$ffff9c reserved x:$ffff9b reserved x:$ffff9a reserved x:$ffff99 reserved x:$ffff98 reserved x:$ffff97 reserved table 5-4 internal i/o memory map (continued) peripheral address register name
memory configuration internal i/o memory map 5-18 dsp56367 24-bit digital signal processor users manual motorola x:$ffff96 reserved x:$ffff95 reserved shi x:$ffff94 shi receive fifo (hrx) x:$ffff93 shi transmit register (htx) x:$ffff92 shi i 2 c slave address register (hsar) x:$ffff91 shi control/status register (hcsr) x:$ffff90 shi clock control register (hckr) triple timer x:$ffff8f timer 0 control/status register (tcsr0) x:$ffff8e timer 0 load register (tlr0) x:$ffff8d timer 0 compare register (tcpr0) x:$ffff8c timer 0 count register (tcr0) x:$ffff8b timer 1 control/status register (tcsr1) x:$ffff8a timer 1 load register (tlr1) x:$ffff89 timer 1 compare register (tcpr1) x:$ffff88 timer 1 count register (tcr1) x:$ffff87 timer 2 control/status register (tcsr2) x:$ffff86 timer 2 load register (tlr2) x:$ffff85 timer 2 compare register (tcpr2) x:$ffff84 timer 2 count register (tcr2) x:$ffff83 timer prescaler load register (tplr) x:$ffff82 timer prescaler count register (tpcr) x:$ffff81 reserved x:$ffff80 reserved esai mux pin control y:$ffffaf mux pin control register (emuxr) y:$ffffae reserved y:$ffffad reserved y:$ffffac reserved y:$ffffab reserved y:$ffffaa reserved y:$ffffa9 reserved y:$ffffa8 reserved y:$ffffa7 reserved y:$ffffa6 reserved y:$ffffa5 reserved y:$ffffa4 reserved y:$ffffa3 reserved y:$ffffa2 reserved y:$ffffa1 reserved table 5-4 internal i/o memory map (continued) peripheral address register name
memory configuration internal i/o memory map motorola dsp56367 24-bit digital signal processor users manual 5-19 y:$ffffa0 reserved port e y:$ffff9f port e control register (pcre) y:$ffff9e port e direction register(ppre) y:$ffff9d port e gpio data register(pdre) esai_1 y:$ffff9c esai_1 receive slot mask register b (rsmb_1) y:$ffff9b esai_1 receive slot mask register a (rsma_1) y:$ffff9a esai_1 transmit slot mask register b (tsmb_1) y:$ffff99 esai_1 transmit slot mask register a (tsma_1) y:$ffff98 esai_1 receive clock control register (rccr_1) y:$ffff97 esai_1 receive control register (rcr_1) y:$ffff96 esai_1 transmit clock control register (tccr_1) y:$ffff95 esai_1 transmit control register (tcr_1) y:$ffff94 esai_1 common control register (saicr_1) y:$ffff93 esai_1 status register (saisr_1) y:$ffff92 reserved y:$ffff91 reserved y:$ffff90 reserved y:$ffff8f reserved y:$ffff8e reserved y:$ffff8d reserved y:$ffff8c reserved y:$ffff8b esai_1 receive data register 3 (rx3_1) y:$ffff8a esai_1 receive data register 2 (rx2_1) y:$ffff89 esai_1 receive data register 1 (rx1_1) y:$ffff88 esai_1 receive data register 0 (rx0_1) y:$ffff87 reserved y:$ffff86 esai_1 time slot register (tsr_1) y:$ffff85 esai_1 transmit data register 5 (tx5_1) y:$ffff84 esai_1 transmit data register 4 (tx4_1) y:$ffff83 esai_1 transmit data register 3 (tx3_1) y:$ffff82 esai_1 transmit data register 2 (tx2_1) y:$ffff81 esai_1 transmit data register 1 (tx1_1) y:$ffff80 esai_1 transmit data register 0 (tx0_1) table 5-4 internal i/o memory map (continued) peripheral address register name
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual 6-1 chapter 6 core configuration
core configuration introduction 6-2 dsp56367 24-bit digital signal processor users manual motorola 6.1 introduction this chapter contains dsp56300 core configuration information details specific to the dsp56367. these include the following: ? operating modes ? bootstrap program ? interrupt sources and priorities ? dma request sources ?omr ? pll control register ? aa control registers ?jtag bsr for more information on specific registers or modules in the dsp56300 core, refer to the dsp56300 family manual (dsp56300fm/ad) .
core configuration operating mode register (omr) motorola dsp56367 24-bit digital signal processor users manual 6-3 6.2 operating mode register (omr) the contents of the operating mode register (omr) are shown in table 6-1 . refer to the dsp56300 24-bit digital signal processor family manual, motorola publication dsp56300fm/ad for a description of the omr bits. 6.2.1 asynchronous bus arbitration enable (abe) - bit 13 the asynchronous bus arbitration mode is activated by setting the abe bit in the omr register. hardware reset clears the abe bit. 6.2.2 address attribute priority disable (apd) - bit 14 the address attribute priority disable (apd) bit is used to turn off the address attribute priority mechanism. when this bit is set, more than one address attribute pin aa/ras (2:0) may be simultaneously asserted according to its aar settings. the apd bit is cleared by hardware reset. table 6-1 operating mode register (omr) scs eom com 23222120191817161514131211109876543210 pe n msw 1: 0 se n wr p eo v eu n xy s ate ap d ab e br t tas be cdp1:0 ms sd ebd md mc mb ma pen - patch enable ate - address tracing enable ms - master memory switch mode msw1 - memory switch mode 1 apd - address priority disable sd - stop delay msw0 - memory switch mode 0 abe - asyn. bus arbitration enable sen - stack extension enable brt - bus release timing ebd - external bus disable wrp - extended stack wrap flag tas - ta synchronize select md - operating mode d eov - extended stack overflow flag be - burst mode enable mc - operating mode c eun - extended stack underflow flag cdp1 - core-dma priority 1 mb - operating mode b xys - stack extension space select cdp0 - core-dma priority 0 ma - operating mode a - reserved bit. read as zero, should be written with zero for future compatibility
core configuration operating mode register (omr) 6-4 dsp56367 24-bit digital signal processor users manual motorola 6.2.3 address tracing enable (ate) - bit 15 the address tracing enable (ate) bit is used to turn on address tracing (at) mode. when the at mode is enabled, the dsp56300 core reflects the addresses of internal fetches and program space moves (movem) to the address bus (a0-a17), if the address bus is not needed by the dsp56300 core for external accesses. the ate bit is cleared on hardware reset. 6.2.4 patch enable (pen) - bit 23 the patch enable function is used for patching program rom locations. i.e. to replace during program execution, the contents of the program rom. this is done by using the instruction cache to supply the instruction word instead of the program rom. the patch enable function is activated by setting bit 23 (pen) in the omr register. the pen bit is cleared by hardware reset. the instruction cache should be initialized with the new instructions according to the following procedure: these steps should be executed from external memory or by download via host interface: 1. set cache enable = 1 2. set patch enable = 1 3. initialize tags to different values by unlock eight different external sectors 4. lock the patch sector(s) 5. move new code to locked sector(s), to the addresses that should be replaced 6. start regular prom program ;**************************************************************************** ; patch initialization example ;**************************************************************************** page 132,55,0,0,0 nolist include "ioequ.asm" include "intequ.asm" list start equ $100 ; main program starting address patch_ofset equ 128 ; patch offset m_pae equ 23 ; patch enable m_proms equ $ffafec ; rom area start m_prome equ $ffafff ; rom area end
core configuration operating mode register (omr) motorola dsp56367 24-bit digital signal processor users manual 6-5 org p:start move #m_proms,r0 bset #m_ce,sr ; cacheenable = 1 bset #m_pae,omr ; patchenable = 1 move #$800000,r1 ; any external address move #128,n1 ; 128 for 1k icache, sector size move #(m_proms+patch_ofset),r2 dup 8 punlock (r1)+n1 ; initialize tags to different ; values endm plock (r2) ; lock patch's sector ; (start/mid/end) move #patch_data_start,r1 ; ; replace rom code by patch ; do #(patch_data_end-patch_data_start+1),patch_loop movem p:(r1)+,x0 movem x0,p:(r2)+ nop ; do-loop restriction patch_loop jsr #m_proms ; start rom code execution endtest jmp endtest nop nop nop nop ; ; patch data ; patch_data_start move #5,m0 move #6,m1 move #7,m2 patch_data_end ;****************************************************************************
core configuration operating modes 6-6 dsp56367 24-bit digital signal processor users manual motorola 6.3 operating modes the operating modes are defined as shown in table 6-2 . the operating modes are latched from moda, modb, modc and modd pins during reset. each operating mode is briefly described below. except for modes 0 and 8, the operation of all other modes is defined by the bootstrap rom source code in appendix a, bootstrap rom contents . table 6-2 dsp56367 operating modes mode mod d mod c mod b mod a reset vector description 0 0000$c00000exp anded mode 1 0001$ff0000bootstrap from byte-wide memory 2 0010$ff0000jump to prom starting address 3 0011$ff0000reserved 4 0100$ff0000reserved 5 0101$ff0000bootstrap from shi (slave spi m ode) 6 0110$ff0000bootstrap from shi (slave i 2 c mode)(hckfr=1, 100ns filter enabled) 7 0111$ff0000bootstrap from shi (slave i 2 c mode)(hckr=0) 8 1000 $008000 expanded mode 9 1001$ff0000reserved for burn-in testing a 1010$ff0000reserved b 1011$ff0000reserved c 1100$ff0000hdi08 bootstrap in isa mode d 1101$ff0000hdi08 bootstrap in hc11 non-multiplexed mode e 1110$ff0000hdi08 bootstrap in 8051 multiplexed bus mode f 1111$ff0000hdi08 bootstrap in 68302 bus mode
core configuration operating modes motorola dsp56367 24-bit digital signal processor users manual 6-7 table 6-3 dsp56367 mode descriptions mode 0 the dsp starts fetching instructions beginning at address $c00000. memory accesses are performed using sram memory access type with 31 wait states and no address attributes selected. address $c00000 is reflected as address $00000 on port a pins a0-a17. mode 1 the bootstrap program loads instructions through port a from external byte-wide memory, connected to the least significant byte of the data bus (bits 7-0), and starting at address p:$d00000. the bootstrap code expects to read 3 bytes specifying the number of program words, 3 bytes specifying the address to start loading the program words and then 3 bytes for each program word to be loaded. the number of words, the starting address and the program words are read least significant byte first followed by the mid and then by the most significant byte. the program words will be stored in contiguous pram memory locations starting at the specified starting address. after reading the program words, program execution starts from the same address where loading started.the sram memory access type is selected by the values in address attribute register 1 (aar1), with 31 wait states for each memory access. address $d00000 is reflected as address $00000 on port a pins a0-a17. mode 2 the dsp starts fetching instructions from the starting address of the on-chip program rom. mode 3 reserved. mode 4 reserved. mode 5 in this mode, the internal pram is loaded from the serial host interface (shi). the shi operates in the spi slave mode, with 24-bit word width.the bootstrap code expects to read a 24-bit word specifying the number of program words, a 24-bit word specifying the address to start loading the program words and then a 24-bit word for each program word to be loaded. the program words will be stored in contiguous pram memory locations starting at the specified starting address. after reading the program words, program execution starts from the same address where loading started. mode 6 same as mode 5 except shi interface operates in the i 2 c slave mode with hckfr set to 1 and the 100ns filter enabled. mode 7 same as mode 5 except shi interface operates in the i 2 c slave mode with hckfr set to 0. mode 8 the dsp starts fetching instructions beginning at address $008000. memory accesses are performed using sram memory access type with 31 wait states and no address attributes selected. mode 9 reserved. used for burn-in testing. mode a reserved. mode b reserved. mode c instructions are loaded through the hdi08, which is configured to interface with an isa bus. the host isa bootstrap code expects to read a 24-bit word specifying the number of program words, a 24-bit word specifying the address to start loading the program words and then a 24-bit word for each program word to be loaded. the program words will be stored in contiguous pram memory locations starting at the specified starting address. after reading the program words, program execution starts from the same address where loading started. the host interface bootstrap load program may be stopped by setting the host flag 0 (hf0). this will start execution of the loaded program from the specified starting address. mode d as in mode c, but hdi08 is set for interfacing to motorola hc11 microcontroller in non-multiplexed mode mode e as in mode c, but hdi08 is set for interfacing to intel 8051 multiplexed bus mode f as in mode c, but hdi08 is set for interfacing to motorola 68302 bus.
core configuration interrupt priority registers 6-8 dsp56367 24-bit digital signal processor users manual motorola 6.4 interrupt priority registers there are two interrupt priority registers in the dsp56367: 1. ipr-c is dedicated for dsp56300 core interrupt sources. 2. ipr-p is dedicated for dsp56367 peripheral interrupt sources. the interrupt priority registers are shown in figure 6-1 and figure 6-2 . the interrupt priority level bits are defined in table 6-4 . the interrupt vectors are shown in table 6-6 and the interrupt priorities are shown in table 6-5 . figure 6-1 interrupt priority register p table 6-4 interrupt priority level bits ipl bits interrupts enabled interrupt priority level xxl1 xxl0 00 no 01 yes 0 10 yes 1 11 yes 2 esl0 esl1 shl0 shl1 hdl0 hdl1 23 22 21 20 19 18 17 16 15 14 13 12 0 1 2 3 4 5 6 7 8 9 10 11 esai ipl shi ipl hdi08 ipl dax ipl esai_1 ipl esl11 tal0 tal1 dal0 dal1 reserved triple timer ipl reserved bit. read as zero, should be written with zero for future compatibility. esl10
core configuration interrupt priority registers motorola dsp56367 24-bit digital signal processor users manual 6-9 figure 6-2 interrupt priority register c table 6-5 interrupt sources priorities within an ipl priority interrupt source level 3 (nonmaskable) highesthardware reset stack error illegal instruction debug request interrupt trap lowestnon-maskable interrupt levels 0, 1, 2 (maskable) highestirqa (external interrupt) irqb (external interrupt) irqc (external interrupt) ial0 ial1 ial2 ibl0 ibl1 ibl2 icl0 icl1 icl2 0 1 2 3 4 5 6 7 8 9 10 11 irqa ipl irqa mode irqb ipl irqb mode irqc ipl irqc mode irqd ipl d0l0 d0l1 d1l0 d1l1 23 22 21 20 19 18 17 16 15 14 13 12 dma0 ipl dma1 ipl d2l0 d2l1 d3l0 d3l1 d4l0 d4l1 d5l0 d5l1 dma2 ipl dma3 ipl dma4 ipl dma5 ipl idl2 idl1 idl0 irqd mode
core configuration interrupt priority registers 6-10 dsp56367 24-bit digital signal processor users manual motorola irqd (external interrupt) dma channel 0 interrupt dma channel 1 interrupt dma channel 2 interrupt dma channel 3 interrupt dma channel 4 interrupt dma channel 5 interrupt esai receive data with exception status esai receive even data esai receive data esai receive last slot esai transmit data with exception status esai transmit last slot esai transmit even data esai transmit data shi bus error shi receive overrun error shi transmit underrun error shi receive fifo full shi transmit data shi receive fifo not empty host command interrupt host receive data interrupt host transmit data interrupt dax transmit underrun error dax block transferred dax transmit register empty table 6-5 interrupt sources priorities within an ipl (continued) priority interrupt source
core configuration interrupt priority registers motorola dsp56367 24-bit digital signal processor users manual 6-11 timer0 overflow interrupt timer0 compare interrupt timer1 overflow interrupt timer1 compare interrupt timer2 overflow interrupt timer2 compare interrupt esai_1 receive data with exception status esai_1 receive even data esai_1 receive data esai_1 receive last slot esai_1 transmit data with exception status esai_1 transmit last slot esai_1 transmit even data lowestesai_1 transmit data table 6-6 dsp56367 interrupt vectors interrupt starting address interrupt priority level range interrupt source vba:$00 3 hardware reset vba:$02 3 stack error vba:$04 3 illegal instruction vba:$06 3 debug request interrupt vba:$08 3 trap vba:$0a 3 non-maskable interrupt (nmi ) vba:$0c 3 reserved for future level-3 interrupt source vba:$0e 3 reserved for future level-3 interrupt source vba:$10 0 - 2 irqa vba:$12 0 - 2 irqb table 6-5 interrupt sources priorities within an ipl (continued) priority interrupt source
core configuration interrupt priority registers 6-12 dsp56367 24-bit digital signal processor users manual motorola vba:$14 0 - 2 irqc vba:$16 0 - 2 irqd vba:$18 0 - 2 dma channel 0 vba:$1a 0 - 2 dma channel 1 vba:$1c 0 - 2 dma channel 2 vba:$1e 0 - 2 dma channel 3 vba:$20 0 - 2 dma channel 4 vba:$22 0 - 2 dma channel 5 vba:$24 0 - 2 reserved vba:$26 0 - 2 reserved vba:$28 0 - 2 dax underrun error vba:$2a 0 - 2 dax block transferred vba:$2c 0 - 2 reserved vba:$2e 0 - 2 dax audio data empty vba:$30 0 - 2 esai receive data vba:$32 0 - 2 esai receive even data vba:$34 0 - 2 esai receive data with exception status vba:$36 0 - 2 esai receive last slot vba:$38 0 - 2 esai transmit data vba:$3a 0 - 2 esai transmit even data vba:$3c 0 - 2 esai transmit data with exception status vba:$3e 0 - 2 esai transmit last slot vba:$40 0 - 2 shi transmit data vba:$42 0 - 2 shi transmit underrun error vba:$44 0 - 2 shi receive fifo not empty vba:$46 0 - 2 reserved vba:$48 0 - 2 shi receive fifo full vba:$4a 0 - 2 shi receive overrun error vba:$4c 0 - 2 shi bus error vba:$4e 0 - 2 reserved vba:$50 0 - 2 reserved table 6-6 dsp56367 interrupt vectors (continued) interrupt starting address interrupt priority level range interrupt source
core configuration interrupt priority registers motorola dsp56367 24-bit digital signal processor users manual 6-13 vba:$52 0 - 2 reserved vba:$54 0 - 2 timer0 compare vba:$56 0 - 2 timer0 overflow vba:$58 0 - 2 timer1 compare vba:$5a 0 - 2 timer1 overflow vba:$5c 0 - 2 timer2 compare vba:$5e 0 - 2 timer2 overflow vba:$60 0 - 2 host receive data full vba:$62 0 - 2 host transmit data empty vba:$64 0 - 2 host command (default) vba:$66 0 - 2 reserved vba:$68 0 - 2 reserved vba:$6a 0 - 2 reserved vba:$6c 0 - 2 reserved vba:$6e 0 - 2 reserved vba:$70 0 - 2 esai_1 receive data vba:$72 0 - 2 esai_1 receive even data vba:$74 0 - 2 esai_1 receive data with exception status vba:$76 0 - 2 esai_1 receive last slot vba:$78 0 - 2 esai_1 transmit data vba:$7a 0 - 2 esai_1 transmit even data vba:$7c 0 - 2 esai_1 transmit data with exception status vba:$7e 0 - 2 esai_1 transmit last slot vba:$80 0 - 2 reserved ::: vba:$fe 0 - 2 reserved table 6-6 dsp56367 interrupt vectors (continued) interrupt starting address interrupt priority level range interrupt source
core configuration dma request sources 6-14 dsp56367 24-bit digital signal processor users manual motorola 6.5 dma request sources the dma request source bits (drs0-drs4 bits in the dma control/status registers) encode the source of dma requests used to trigger the dma transfers. the dma request sources may be the internal peripherals or external devices requesting service through the irqa , irqb , irqc and irqd pins. the dma request sources are shown in table 6-7 . table 6-7 dma request sources dma request source bits drs4...drs0 requesting device 00000 external (irqa pin) 00001 external (irqb pin) 00010 external (irqc pin) 00011 external (irqd pin) 00100 transfer done from dma channel 0 00101 transfer done from dma channel 1 00110 transfer done from dma channel 2 00111 transfer done from dma channel 3 01000 transfer done from dma channel 4 01001 transfer done from dma channel 5 01010 dax transmit data 01011 esai receive data (rdf=1) 01100 esai transmit data (tde=1) 01101 shi htx empty 01110 shi fifo not empty 01111 shi fifo full 10000 hdi08 receive data 10001 hdi08 transmit data 10010 timer0 (tcf=1) 10011 timer1 (tcf=1) 10100 timer2 (tcf=1) 10101 esai_1 receive data (rdf=1) 10110 esai_1 transmit data (tde=1) 10111-11111 reserved
core configuration pll initialization motorola dsp56367 24-bit digital signal processor users manual 6-15 6.6 pll initialization 6.6.1 pll multiplication factor (mf0-mf11) the dsp56367 pll multiplication factor is set to 6 during hardware reset, i.e. the multiplication factor bits mf0-mf11 in the pll control register (pctl) are set to $005. 6.6.2 pll pre-divider factor (pd0-pd3) the dsp56367 pll pre-divider factor is set to 1 during hardware reset, i.e. the pre-divider factor bits pd0-pd3 in the pll control register (pctl) are set to $0. 6.6.3 crystal range bit (xtlr) the crystal range (xtlr) bit controls the on-chip crystal oscillator transconductance. the on-chip crystal oscillator is not used on the dsp56367 since no xtal pin is available. the xtlr bit is set to zero during hardware reset in the dsp56367. 6.6.4 xtal disable bit (xtld) the xtal disable bit (xtld) is set to 1 (xtal disabled) during hardware reset in the dsp56367. 6.7 device identification (id) register the device identification register (idr) is a 24 bit read only factory programmed register used to identify the different dsp56300 core-based family members. this register specifies the derivative number and revision number. this information may be used in testing or by software. table 6-8 shows the id register configuration. table 6-8 identification register configuration 23 16 15 12 11 0 reserved revision number derivative number $00 $0 $367
core configuration jtag identification (id) register 6-16 dsp56367 24-bit digital signal processor users manual motorola 6.8 jtag identification (id) register the jtag identification (id) register is a 32 bit, read only thought jtag, factory programmed register used to distinguish the component on a board according to the ieee 1149.1 standard. table 6-9 shows the jtag id register configuration. 6.9 jtag boundary scan register (bsr) the boundary scan register (bsr) in the dsp56367 jtag implementation contains bits for all device signal and clock pins and associated control signals. all bidirectional pins have a single register bit in the boundary scan register for pin data, and are controlled by an associated control bit in the boundary scan register. the boundary scan register bit definitions are described in table 6-10 . table 6-9 jtag identification register configuration 31 28 27 22 21 12 11 1 0 version information customer part number sequence number manufacturer identity 1 0000 000111 0001010010 00000001110 1 table 6-10 dsp56367 bsr bit definition bit # pin name pin type bsr cell type bit # pin name pin type bsr cell type 0 sdo4_1/sdi1 _1 -control 76 fst_1 - control 1 sdo4_1/sdi1 _1 input/output data 77 fst_1 input/output data 2 irqa inputdata 78 sdo5_1/sdi0 _1 control 3 irqb inputdata 79 sdo5_1/sdi0 _1 input/output data 4 irqc inputdata 80 res input data 5 irqd inputdata 81 had0 - control 6 d23 input/output data 82 had0 input/output data 7 d22 input/output data 83 had1 - control
core configuration jtag boundary scan register (bsr) motorola dsp56367 24-bit digital signal processor users manual 6-17 8 d21 input/output data 84 had1 input/output data 9 d20 input/output data 85 had2 - control 10 d19 input/output data 86 had2 input/output data 11 d18 input/output data 87 had3 - control 12 d17 input/output data 88 had3 input/output data 13 d16 input/output data 89 had4 - control 14 d15 input/output data 90 had4 input/output data 15 d[23:13] - control 91 had5 - control 16 d14 input/output data 92 had5 input/output data 17 d13 input/output data 93 had6 - control 18 d12 input/output data 94 had6 input/output data 19 d11 input/output data 95 had7 - control 20 d10 input/output data 96 had7 input/output data 21 d9 input/output data 97 has/a0 - control 22 d8 input/output data 98 has/a0 input/output data 23 d7 input/output data 99 ha8/a1 - control 24 d6 input/output data 100 ha8/a1 input/output data 25 d5 input/output data 101 ha9/a2 - control 26 d4 input/output data 102 ha9/a2 input/output data 27 d3 input/output data 103 hcs/a10 - control 28 d[12:0] - control 104 hcs/a10 input/output data 29 d2 input/output data 105 tio0 - control 30 d1 input/output data 106 tio0 input/output data table 6-10 dsp56367 bsr bit definition (continued) bit # pin name pin type bsr cell type bit # pin name pin type bsr cell type
core configuration jtag boundary scan register (bsr) 6-18 dsp56367 24-bit digital signal processor users manual motorola 31 d0 input/output data 107 aci - control 32 a17 output3 data 108 aci input/output data 33 a16 output3 data 109 ado - control 34 a15 output3 data 110 ado input/output data 35 a[17:9] - control 111 hreq/htrq - control 36 a14 output3 data 112 hreq/htrq input/output data 37 a13 output3 data 113 hack/rrq - control 38 a12 output3 data 114 hack/rrq input/output data 39 a11 output3 data 115 hrw/rd - control 40 a10 output3 data 116 hrw/rd input/output data 41 a9 output3 data 117 hds/wr - control 42 a8 output3 data 118 hds/wr input/output data 43 a7 output3 data 119 hsckr - control 44 a6 output3 data 120 hsckr input/output data 45 a[8:0] - control 121 hsckt - control 46 a5 output3 data 122 hsckt input/output data 47 a4 output3 data 123 sckr - control 48 a3 output3 data 124 sckr input/output data 49 a2 output3 data 125 sckt - control 50 a1 output3 data 126 sckt input/output data 51 a0 output3 data 127 fsr - control 52 bg inputdata 128 fsr input/output data 53 aa0 - control 129 fst - control table 6-10 dsp56367 bsr bit definition (continued) bit # pin name pin type bsr cell type bit # pin name pin type bsr cell type
core configuration jtag boundary scan register (bsr) motorola dsp56367 24-bit digital signal processor users manual 6-19 54 aa0 output3 data 130 fst input/output data 55 aa1 - control 131 sdo5/sdi0 - control 56 aa1 output3 data 132 sdo5/sdi0 input/output data 57 rd output3 data 133 sdo4/sdi1 - control 58 wr output3 data 134 sdo4/sdi1 input/output data 59 bb - control 135 sdo3/sdi2 - control 60 bb input/output data 136 sdo3/sdi2 input/output data 61 br output2 data 137 sdo2/sdi3 - control 62 ta inputdata 138 sdo2/sdi3 input/output data 63 pinit inputdata 139 sdo1 - control 64 sckr_1 control 140 sdo1 input/output data 65 sckr_1 input/output data 141 sdo0 - control 66 fsr_1 control 142 sdo0 input/output data 67 fsr_1 input/output data 143 hreq - control 68 rd ,wr -control 144 hreq input/output data 69 extal inputdata 145 ss input data 70 sckt_1 - control 146 sck/scl - control 71 sckt_1 input/output data 147 sck/scl input/output data 72 cas - control 148 miso/sda - control 73 cas output3 data 149 miso/sda input/output data 74 aa2 - control 150 mosi/ha0 - control 75 aa2 output3 data 151 mosi/ha0 input/output data table 6-10 dsp56367 bsr bit definition (continued) bit # pin name pin type bsr cell type bit # pin name pin type bsr cell type
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual 7-1 chapter 7 general purpose input / output
general purpose input / output introduction 7-2 dsp56367 24-bit digital signal processor users manual motorola 7.1 introduction the dsp56367 provides up to 37 bidirectional signals that can be configured as gpio signals or as peripheral dedicated signals. no dedicated gpio signals are provided. all of these signals are gpio by default after reset. the techniques for register programming for all gpio functionality is very similar between these interfaces. this section describes how signals may be used as gpio. 7.2 programming model the signals description section of this manual describes the special uses of these signals in detail. there are five groups of these signals which can be controlled separately or as groups: ? port b: up to 16 gpio signals (shared with the hdi08 signals) ? port c: 12 gpio signals (shared with the esai signals) ? port d: two gpio signals (shared with the dax signals) ? port e: 10 gpio signals (shared with the esai_1 signals) ? timer: one gpio signal (shared with the timer/event counter signal) 7.2.1 port b signals and registers when hdi08 is disabled, all 16 hdi08 signals can be used as gpio. when hdi08 is enabled, five (ha8, ha9, hcs, horeq, and hack) of the 16 port b signals, if not used as a hdi08 signal, can be configured as gpio signals. the gpio functionality of port b is controlled by three registers: host port control register (hpcr), host port gpio data register (hdr), and host port gpio direction register (hddr). these registers are described in section 8, host interface (hdi08) of this document. 7.2.2 port c signals and registers each of the 12 port c signals not used as an esai signal can be configured individually as a gpio signal. the gpio functionality of port c is controlled by three registers: port c control register (pcrc), port c direction register (prrc), and port c data register (pdrc). these registers are described in section 10, enhanced serial audio interface (esai) . 7.2.3 port d signals and registers each of the two port d signals not used as a dax signal can be configured individually as a gpio signal. the gpio functionality of port d is controlled by three registers: port d control register (pcrd), port d
general purpose input / output programming model motorola dsp56367 24-bit digital signal processor users manual 7-3 direction register (prrd) and port d data register (pdrd). these registers are described in section 12, digital audio transmitter . 7.2.4 port e signals and registers port e has 10 signals, shared with the esai_1. six of the esai_1 signals have their own pin, so each of the six signals, if not used as an esai_1 signal, can be configured individually as a gpio signal. the other four esai_1 signals share pins with the esai. for these shared pins, if the pin is not being used by the esai, port c and the esai_1, then it may be used as a port e gpio signal. the gpio functionality of port e is controlled by three registers: port e control register (pcre), port e direction register (prre), and port e data register (pdre). these registers are described in section 11, enhanced serial audio interface 1 (esai_1) . 7.2.5 timer/event counter signals the timer/event counter signal (tio), when not used as a timer signal can be configured as a gpio signal. the signal is controlled by the appropriate timer control status register (tcsr). the register is described in section 13, general purpose input / output .
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual 8-1 chapter 8 host interface (hdi08)
host interface (hdi08) introduction 8-2 dsp56367 24-bit digital signal processor users manual motorola 8.1 introduction the host interface (hdi08) is a byte-wide, full-duplex, double-buffered, parallel port that can be connected directly to the data bus of a host processor. the hdi08 supports a variety of buses and provides glueless connection with a number of industry standard microcomputers, microprocessors, dsps and dma hardware. the host bus can operate asynchronously to the dsp core clock, therefore the hdi08 registers are divided into 2 banks. the host register bank is accessible to the external host and the dsp register bank is accessible to the dsp core. the hdi08 supports three classes of interfaces: ? host processor/microcontroller (mcu) connection interface ? dma controller interface ? general purpose i/o (gpio) port 8.2 hdi08 features 8.2.1 interface - dsp side ? mapping: C registers are directly mapped into eight internal x data memory locations ?data word: C 24-bit (native) data words are supported, as are 8-bit and 16-bit words ? transfer modes: Cdsp to host Chost to dsp C host command ? handshaking protocols: C software polled C interrupt driven C core dma accesses ? instructions: C memory-mapped registers allow the standard move instruction to be used to transfer data between the dsp and the external host. C special movep instruction provides for i/o service capability using fast interrupts. C bit addressing instructions (e.g. bchg, bclr, bset, btst, jclr, jsclr, jset, jsset) simplify i/o service routines.
host interface (hdi08) hdi08 features motorola dsp56367 24-bit digital signal processor users manual 8-3 8.2.2 interface - host side ? sixteen signals are provided to support non-multiplexed or multiplexed buses: C h0-h7/had0-had7 host data bus (h7-h0) or host multiplexed address/data bus (had0-had7) Chas/ha0 address strobe (has) or host address line ha0 Cha8/ha1 host address line ha8 or host address line ha1 Cha9/ha2 host address line ha9 or host address line ha2 C hrw/hrd read/write select (hrw) or read strobe (hrd) C hds/hwr data strobe (hds) or write strobe (hwr) C hcs/ha10 host chip select (hcs) or host address line ha10 Choreq/htrq host request (horeq) or host transmit request (htrq) C hack/hrrq host acknowledge (hack) or host receive request (hrrq) ? mapping: C hdi08 registers are mapped into eight consecutive byte locations in the external host bus address space. C the hdi08 acts as a memory or io-mapped peripheral for microprocessors, microcontrollers, etc. ? data word: C8-bit ? transfer modes: C mixed 8-bit, 16-bit and 24-bit data transfers ?dsp to host ? host to dsp C host command ? handshaking protocols: C software polled C interrupt-driven (interrupts are compatible with most processors, including the mc68000, 8051, hc11 and hitachi h8). C cycle-stealing dma with initialization
host interface (hdi08) hdi08 host port signals 8-4 dsp56367 24-bit digital signal processor users manual motorola ? dedicated interrupts: C separate interrupt lines for each interrupt source C special host commands force dsp core interrupts under host processor control, which are useful for the following: ? real-time production diagnostics ? debugging window for program development ? host control protocols ? interface capabilities: C glueless interface (no external logic required) to the following: ? motorola hc11 ? hitachi h8 ? 8051 family ? thomson p6 family ? external dma controllers C minimal glue-logic (pullups, pulldowns) required to interface to the following: ? isa bus ? motorola 68k family ? intel x86 family. 8.3 hdi08 host port signals if the host interface functionality is not required, the 16 pins may be defined as general purpose i/o pins pb0-pb15. when the hdi08 is in use, only five host port signals (ha8, ha9, hcs, horeq and hack) may be individually programmed as gpio pins if they are not needed for their hdi08 function. summary of the hdi08 signals. table 8-1 hdi08 signal summary hdi08 port pin multiplexed address/data bus mode non multiplexed bus mode gpio mode had0-had7 had0-had7 h0-h7 pb0-pb7 has/ha0 has/has ha0 pb8 ha8/ha1 ha8 ha1 pb9 ha9/ha2 ha9 ha2 pb10 hcs/ha10 ha10 hcs/hcs pb13
host interface (hdi08) hdi08 block diagram motorola dsp56367 24-bit digital signal processor users manual 8-5 8.4 hdi08 block diagram figure 8-1 shows the hdi08 registers. the top row of registers (hcr, hsr, hddr, hdr, hbar, hpcr, hotx, horx) can be accessed the dsp core. the bottom row of registers (isr, icr, cvr, ivr, rxh:rxm:rxl and txh:txm:txl) can be accessed by the host processor. table 8-2 strobe signals support signals hdi08 port pin single strobe bus dual strobe bus gpio mode hrw/hrd hrw hrd/hrd pb11 hds/hwr hds/hds hwr/hwr pb12 table 8-3 host request support signals hdi08 port pin vector required no vector required gpio mode horeq/htrq horeq/horeq htrq/htrq pb14 hack/hrrq hack/hack hrrq/hrrq pb15
host interface (hdi08) hdi08 block diagram 8-6 dsp56367 24-bit digital signal processor users manual motorola figure 8-1 hdi08 block diagram rxl txm txh 8 hpcr latch rxl ivr cvr icr 24 24 hddr hcr hsr hdr 24 24 24 24 24 dsp peripheral data bus 8 8 8 8 8 8 5 3 host bus address comparator 3 8 8 rxm 24 24 hbar isr 8 horx hotx 24 core dma data bus 24 24 8 rxh 8 hcr host control register hsr host status register hpcr host port control register hbar host base address register hotx host transmit register horx host receive register hddr host data direction register hdr host data register icr interface control register cvr command vector register isr interface status register ivr interrupt vector register rxh/rxm/rxl receive register high/middle/low txh/txm/txl transmit register high/middle/low
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-7 8.5 hdi08 C dsp-side programmers model the dsp core threats the hdi08 as a memory-mapped peripheral occupying eight 24-bit words in x data memory space. the dsp may use the hdi08 as a normal memory-mapped peripheral, employing either standard polled or interrupt-driven programming techniques. separate transmit and receive data registers are double-buffered to allow the dsp and host processor to transfer data efficiently at high speed. direct memory mapping allows the dsp core to communicate with the hdi08 registers using standard instructions and addressing modes. in addition, the movep instruction allows direct data transfers between the dsp memory and the hdi08 registers or vice-versa. the hotx and horx registers may be serviced by the on-chip dma controller for data transfers. the eight host processor registers consists of two data registers and six control registers. all registers can be accessed by the dsp core but not by the external processor. data registers are 24-bit registers used for high-speed data transfer to and from the dsp. they are as follows: ? host data receive register (horx) ? host data transmit register (hotx) the control registers are 16-bit registers used to control the hdi08 functions. the eight msbs in the control registers are read by the dsp as zero. the control registers are as follows: ? host control register (hcr) ? host status register (hsr) ? host base address register (hbar) ? host port control register (hpcr) ? host gpio data direction register (hddr) ? host gpio data register (hdr) hardware and software reset disable the hdi08. after reset, the hdi08 signals are configured as gpio with all pins disconnected. 8.5.1 host receive data register (horx) the 24-bit read-only horx register is used for host-to-dsp data transfers. the horx register is loaded with 24-bit data from the transmit data registers (txh:txm:txl) on the host side when both the transmit data register empty txde (host side) and host receive data full hrdf (dsp side) bits are cleared. this transfer operation sets both the txde and hrdf flags. the horx register contains valid data when the hrdf bit is set. reading horx clears hrdf. the dsp may program the hrie bit to cause a host receive data interrupt when hrdf is set. also, a dma channel may be programmed to read the horx when hrdf is set.
host interface (hdi08) hdi08 C dsp-side programmers model 8-8 dsp56367 24-bit digital signal processor users manual motorola 8.5.2 host transmit data register (hotx) the 24-bit write-only hotx register is used for dsp- to-host data transfers. writing to the hotx register clears the host transfer data empty flag htde (dsp side). the contents of the hotx register are transferred as 24-bit data to the receive byte registers (rxh:rxm:rxl) when both the htde flag (dsp side) and receive data full rxdf flag (host side) are cleared. this transfer operation sets the rxdf and htde flags. the dsp may set the htie bit to cause a host transmit data interrupt when htde is set. also, a dma channel may be programmed to write to hotx when htde is set. to prevent the previous data from being overwritten, data should not be written to the hotx until the htde flag is set. note: when writing data to a peripheral device, there is a two-cycle pipeline delay until any status bits affected by the operation are updated. if the programmer reads any of those status bits within the next two cycles, the bit will not reflect its current status. see the dsp56300 24-bit digital signal processor family manual, motorola publication dsp56300fm/ad for further details. 8.5.3 host control register (hcr) the hcr is 16-bit read/write control register used by the dsp core to control the hdi08 operating mode. the initialization values for the hcr bits are described in section section 8.5.9, dsp-side registers after reset . the hcr bits are described in the following paragraphs. 8.5.3.1 hcr host receive interrupt enable (hrie) bit 0 the hrie bit is used to enable the host receive data interrupt request. when the host receive data full (hrdf) status bit in the host status register (hsr) is set, a host receive data interrupt request occurs if hrie is set. if hrie is cleared, hrdf interrupts are disabled. 8.5.3.2 hcr host transmit interrupt enable (htie) bit 1 the htie bit is used to enable the host transmit data empty interrupt request. when the host transmit data empty (htde) status bit in the hsr is set, a host transmit data interrupt request occurs if htie is set. if htie is cleared, htde interrupts are disabled. 8.5.3.3 hcr host command interrupt enable (hcie) bit 2 the hcie bit is used to enable the host command interrupt request. when the host command pending (hcp) status bit in the hsr is set, a host command interrupt request occurs if hcie is set. if hcie is 1514131211109876543210 hdm2 hmd1 hdm0 hf3 hf2 hcie htie hrie - reserved bit. read as 0. should be written with 0 for future compatibility. figure 8-2 host control register (hcr) (x:$ffffc2)
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-9 cleared, hcp interrupts are disabled. the interrupt address is determined by the host command vector register (cvr). note: host interrupt request priorities: if more than one interrupt request source is asserted and enabled (e.g. hrdf=1, hcp=1, hrie=1 and hcie=1), the hdi08 generates interrupt requests according to the following table: 8.5.3.4 hcr host flags 2,3 (hf2,hf3) bits 3-4 hf2 and hf3 bits are used as a general-purpose flags for dsp to host communication. hf2 and hf3 may be set or cleared by the dsp core. hf2 and hf3 are reflected in the interface status register (isr) on the host side such that if they are modified by the dsp software, the host processor can read the modified values by reading the isr. these two flags are not designated for any specific purpose but are general-purpose flags. they can be used individually or as encoded pairs in a simple dsp to host communication protocol, implemented in both the dsp and the host processor software. 8.5.3.5 hcr host dma mode control bits (hdm0, hdm1, hdm2) bits 5-7 the hdm[2:0] bits are used to enable the hdi08 dma mode operation. the hdi08 dma mode supports external dma controller devices connected to the hdi08 on the host side. this mode should not be confused with the operation of the on-chip dma controller. with hdm[2:0] cleared, the hdi08 does not support dma mode operation and the treq and rreq control bits are used for host processor interrupt control via the external horeq output signal (or hrreq and htreq output signals if hdreq in the icr is set). also, in the non-dma mode, the hack input signal is used for the mc68000 family vectored interrupt acknowledge input. if hdm[2:0] are not all cleared, the hdi08 operates as described in table 8-5 . table 8-4 hdi08 irq priority interrupt source highesthost command (hcp=1) transmit data (htde=1) lowestreceive data (hrdf=1)
host interface (hdi08) hdi08 C dsp-side programmers model 8-10 dsp56367 24-bit digital signal processor users manual motorola if hdm1 or hdm0 are set, the dma mode is enabled, and the horeq signal is used to request dma transfers (the value of the hm1, hm0, hlend and hdreq bits in the icr have no affect). when the dma mode is enabled, the hdm2 bit selects the direction of dma transfers: C setting hdm2 sets the direction of dma transfer to be dsp to host and enables the horeq signal to request data transfer. C clearing hdm2 sets the direction of dma transfer to be host to dsp and enables the horeq signal to request data transfer. table 8-5 hdm[2:0] functionality hdm mode 210 description icr 0 0 0 dma operation disabled 1 0 0 dma operation enabled. host may set hm1 or hm0 in the icr to enable dma transfers. 0 0 1 dma mode data output transfers enabled. (24-bit words) 0 1 0 dma mode data output transfers enabled. (16-bit words) 0 1 1 dma mode data output transfers enabled. (8-bit words) 1 0 1 dma mode data input transfers enabled. (24-bit words) 1 1 0 dma mode data input transfers enabled. (16-bit words) 1 1 1 dma mode data input transfers enabled. (8-bit words) init hlend hf1 hf0 hdrq treq rreq init hm1 hm0 hf1 hf0 treq rreq init hdm1 hdm0 hf1 hf0 treq rreq
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-11 the hack input signal is used as a dma transfer acknowledge input. if the dma direction is from dsp to host, the contents of the selected register are driven onto the host data bus when hack is asserted. if the dma direction is from host to dsp, the selected register is written from the host data bus when hack is asserted. the size of the dma word to be transferred is determined by the dma control bits, hdm[1:0]. only the data registers txh, txm, txl and rxh, rxm, rxl can be accessed in dma mode.the hdi08 data register selected during a dma transfer is determined by a 2-bit address counter, which is preloaded with the value in hdm[1:0]. the address counter substitutes for the address bits of the hdi08 during a dma transfer. the address counter can be initialized with the init bit feature. after each dma transfer on the host data bus, the address counter is incremented to the next register. when the address counter reaches the highest register (rxl or txl), the address counter is not incremented but is loaded with the value in hdm[1:0]. this allows 8-, 16- or 24-bit data to be transferred in a circular fashion and eliminates the need for the dma controller to supply the ha2, ha1, and ha0 signals. for 16- or 24-bit data transfers, the dsp cpu interrupt rate is reduced by a factor of 2 or 3, respectively, from the host request rate C i.e., for every two or three host processor data transfers of one byte each, there is only one 24-bit dsp cpu interrupt. if hdm1 or hdm0 are set, the hm[1:0] bits in the icr register reflect the value of hdm[1:0]. the hdm[2:0] bits should be changed only while hen is cleared in the hpcr. 8.5.3.6 hcr reserved bits 8-15 these bits are reserved. they read as zero and should be written with zero for future compatibility. 8.5.4 host status register (hsr) the hsr is a 16-bit read-only status register used by the dsp to read the status and flags of the hdi08. it cannot be directly accessed by the host processor. the initialization values for the hsr bits are described in section section 8.5.9, dsp-side registers after reset . the hsr bits are described in the following paragraphs. 8.5.4.1 hsr host receive data full (hrdf) bit 0 the hrdf bit indicates that the host receive data register (horx) contains data from the host processor. hrdf is set when data is transferred from the txh:txm:txl registers to the horx register. hrdf is cleared when horx is read by the dsp core. if hrdf is set the hdi08 generates a receive data full dma request, if enabled by a dsp core dma channel. if hrdf is set when hrie is set, a host receive data 1514131211109876543210 dma hf1 hf0 hcp htde hrdf - reserved bit. read as 0. should be written with 0 for future compatibility. figure 8-3 host status register (hsr) (x:ffffc3)
host interface (hdi08) hdi08 C dsp-side programmers model 8-12 dsp56367 24-bit digital signal processor users manual motorola interrupt request is generated. hrdf can also be cleared by the host processor using the initialize function. 8.5.4.2 hsr host transmit data empty (htde) bit 1 the htde bit indicates that the host transmit data register (hotx) is empty and can be written by the dsp core. htde is set when the hotx register is transferred to the rxh:rxm:rxl registers. htde is cleared when hotx is written by the dsp core. if htde is set the hdi08 generates a transmit data empty dma request, if enabled by a dsp core dma channel. if htde is set when htie is set, a host transmit data interrupt request is generated. htde can also be set by the host processor using the initialize function. 8.5.4.3 hsr host command pending (hcp) bit 2 the hcp bit indicates that the host has set the hc bit and that a host command interrupt is pending. the hcp bit reflects the status of the hc bit in the command vector register (cvr). hc and hcp are cleared by the hdi08 hardware when the interrupt request is serviced by the dsp core. the host can clear hc, which also clears hcp. 8.5.4.4 hsr host flags 0,1 (hf0,hf1) bits 3-4 hf0 and hf1 bits are used as a general-purpose flags for host to dsp communication. hf0 and hf1 may be set or cleared by the host. hf0 and hf1 reflect the status of host flags hf0 and hf1 in the icr register on the host side. these two flags are not designated for any specific purpose but are general-purpose flags. they can be used individually or as encoded pairs in a simple host to dsp communication protocol, implemented in both the dsp and the host processor software. 8.5.4.5 hsr reserved bits 5-6, 8-15 these bits are reserved. they read as zero and should be written with zero for future compatibility. 8.5.4.6 hsr dma status (dma) bit 7 the dma status bit is set when the dma mode of operation is enabled, and is cleared when the dma mode is disabled. the dma mode is enabled under the following conditions: ? hcr bits hdm[2:0] = 100 and the host processor has enabled the dma mode by setting either or both the icr bits hm1 and hm0 ? either or both of the hcr bits hdm1 and hdm0 have been set when the dma bit is zero, the channel not in use can be used for polled or interrupt operation by the dsp.
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-13 8.5.5 host base address register (hbar) the hbar is used in multiplexed bus modes. this register selects the base address where the host side registers are mapped into the bus address space. the address from the host bus is compared with the base address as programmed in the base address register. if the addresses match, an internal chip select is generated. the use of this register by the chip select logic is shown in figure 8-5 . 8.5.5.1 hbar base address (ba[10:3]) bits 0-7 these bits define the base address where the host side registers are mapped into the bus address space. 8.5.5.2 hbar reserved bits 8-15 these bits are reserved. they read as zero and should be written with zero for future compatibility. figure 8-5 self chip select logic 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ba10 ba9 ba8 ba7 ba6 ba5 ba4 ba3 - reserved bit. read as 0. should be written with 0, for future compatibility. figure 8-4 host base address register (hbar) (x:$ffffc5) latch had[0-7] chip select comparator a[3:7] 8 bits has ha[8:10] dsp peripheral data bus base address register ba[3:7]
host interface (hdi08) hdi08 C dsp-side programmers model 8-14 dsp56367 24-bit digital signal processor users manual motorola 8.5.6 host port control register (hpcr) the hpcr is a 16-bit read/write control register used by the dsp to control the hdi08 operating mode. the initialization values for the hpcr bits are described in section section 8.5.9, dsp-side registers after reset . the hpcr bits are described in the following paragraphs. note: to assure proper operation of the hdi08, the hpcr bits hap, hrp, hcsp, hdds, hmux, hasp, hdsp, hrod, haen and hren should be changed only if hen is cleared. also, the hpcr bits hap, hrp, hcsp, hdds, hmux, hasp, hdsp, hrod, haen, hren, hcsen, ha9en and ha8en should not be set when hen is set or simultaneously with setting hen. 8.5.6.1 hpcr host gpio port enable (hgen) bit 0 if the hgen bit is set, pins configured as gpio are enabled. if this bit is cleared, pins configured as gpio are disconnected: outputs are high impedance, inputs are electrically disconnected. pins configured as hdi08 are not affected by the state of hgen. 8.5.6.2 hpcr host address line 8 enable (ha8en) bit 1 if the ha8en bit is set and the hdi08 is used in multiplexed bus mode, then ha8/ha1 is used as host address line 8 (ha8). if this bit is cleared and the hdi08 is used in multiplexed bus mode, then ha8/ha1 is configured as gpio pin according to the value of hddr and hdr registers. ha8en is ignored when the hdi08 is not in the multiplexed bus mode (hmux=0). 8.5.6.3 hpcr host address line 9 enable (ha9en) bit 2 if the ha9en bit is set and the hdi08 is used in multiplexed bus mode, then ha9/ha2 is used as host address line 9 (ha9). if this bit is cleared and the hdi08 is used in multiplexed bus mode, then ha9/ha2 is configured as gpio pin according to the value of hddr and hdr registers. ha9en is ignored when the hdi08 is not in the multiplexed bus mode (hmux=0). 8.5.6.4 hpcr host chip select enable (hcsen) bit 3 if the hcsen bit is set, then hcs/ha10 is used as host chip select (hcs) in the non-multiplexed bus mode (hmux=0), and as host address line 10 (ha10) in the multiplexed bus mode (hmux=1). if this bit is cleared, then hcs/ha10 is configured as gpio pin according to the value of hddr and hdr registers. 151413121110987654 3 2 1 0 hap hrp hcsp hdds hmux hasp hdsp hrod hen haen hren hcsen ha9en ha8en hgen - reserved bit. read as 0. should be written with 0, for future compatibility. figure 8-6 host port control register (hpcr) (x:$ffffc4)
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-15 8.5.6.5 hpcr host request enable (hren) bit 4 the hren bit controls the host request signals. if hren is set and the hdi08 is in the single host request mode (hdrq=0 in the icr), horeq/htrq is configured as the host request (horeq) output. if hren is set in the double host request mode (hdrq=1 in the icr), horeq/htrq is configured as the host transmit request (htrq) output and hack/hrrq as the host receive request (hrrq) output. if hren is cleared, horeq/htrq and hack/hrrq are configured as gpio pins according to the value of hddr and hdr registers. 8.5.6.6 hpcr host acknowledge enable (haen) bit 5 the haen bit controls the hack signal. in the single host request mode (hdrq=0 in the icr), if haen and hren are both set, hack/hrrq is configured as the host acknowledge (hack) input. if haen or hren is cleared, hack/hrrq is configured as a gpio pin according to the value of hddr and hdr registers. in the double host request mode (hdrq=1 in the icr), haen is ignored. 8.5.6.7 hpcr host enable (hen) bit 6 if the hen bit is set, the hdi08 operation is enabled as host interface. if cleared, the hdi08 is not active, and all the hdi08 pins are configured as gpio pins according to the value of hddr and hdr registers. 8.5.6.8 hpcr reserved bit 7 this bit is reserved. it reads as zero and should be written with zero for future compatibility. 8.5.6.9 hpcr host request open drain (hrod) bit 8 the hrod bit controls the output drive of the host request signals. in the single host request mode (hdrq=0 in icr), if hrod is cleared and host requests are enabled (hren=1 and hen=1 in hpcr), the horeq signal is always driven. if hrod is set and host requests are enabled, the horeq signal is an open drain output. in the double host request mode (hdrq=1 in the icr), if hrod is cleared and host requests are enabled (hren=1 and hen=1 in the hpcr), the htrq and hrrq signals are always driven. if hrod is set and host requests are enabled, the htrq and hrrq signals are open drain outputs. 8.5.6.10 hpcr host data strobe polarity (hdsp) bit 9 if the hdsp bit is cleared, the data strobe signals are configured as active low inputs, and data is transferred when the data strobe is low. if hdsp is set, the data strobe signals are configured as active high inputs, and data is transferred when the data strobe is high. the data strobe signals are either hds by itself or hrd and hwr together.
host interface (hdi08) hdi08 C dsp-side programmers model 8-16 dsp56367 24-bit digital signal processor users manual motorola 8.5.6.11 hpcr host address strobe polarity (hasp) bit 10 if the hasp bit is cleared, the address strobe (has ) signal is an active low input, and the address on the host address/data bus is sampled when the has signal is low. if hasp is set, has is an active high address strobe input, and the address on the host address/data bus 8 is sampled when the has signal is high. 8.5.6.12 hpcr host multiplexed bus (hmux) bit 11 if the hmux bit is set, the hdi08 latches the lower portion of a multiplexed address/data bus. in this mode the internal address line values of the host registers are taken from the internal latch. if hmux is cleared, it indicates that the hdi08 is connected to a non-multiplexed type of bus, and the address lines are taken from the hdi08 input signals. 8.5.6.13 hpcr host dual data strobe (hdds) bit 12 if the hdds bit is cleared, the hdi08 operates in the single strobe bus mode. in this mode, the bus has a single data strobe signal for both reads and writes. if hdds is set, the hdi08 operates in the dual strobe bus mode. in this mode, the bus has two separate data strobes, one for data reads, the other for data writes. see figure 8-7 and figure 8-8 for more information on the two types of buses. figure 8-7 single strobe bus figure 8-8 dual strobes bus hrw hds in the single strobe bus mode, the hds (data-strobe) signal qualifies the access, while the hrw (read/write) signal specifies the direction of the access. write cycle write data in read cycle read data out data hwr data hrd in the dual strobe bus mode, there are separate hrd and hwr signals that specify the access as being a read or write access, respectively.
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-17 8.5.6.14 hpcr host chip select polarity (hcsp) bit 13 if the hcsp bit is cleared, the chip select (hcs ) signal is configured as an active low input and the hdi08 is selected when the hcs signal is low. if hcsp is set, hcs is configured as an active high input and the hdi08 is selected when the hcs signal is high. this bit is ignored in the multiplexed mode. 8.5.6.15 hpcr host request polarity (hrp) bit 14 the hrp bit controls the polarity of the host request signals. in the single host request mode (hdrq=0 in the icr), if hrp is cleared and host requests are enabled (hren=1 and hen=1 in the hpcr), the horeq signal is an active low output. if hrp is set and host requests are enabled, the horeq signal is an active high output. in the double host request mode (hdrq=1 in the icr), if hrp is cleared and host requests are enabled (hren=1 and hen=1 in the hpcr), the htrq and hrrq signals are active low outputs. if hrp is set and host requests are enabled, the htrq and hrrq signals are active high outputs. 8.5.6.16 hpcr host acknowledge polarity (hap) bit 15 if the hap bit is cleared, the host acknowledge (hack ) signal is configured as an active low input, and the hdi08 drives the contents of the hivr register onto the host bus when the hack signal is low. if hap is set, hack is configured as an active high input, and the hdi08 outputs the contents of the hivr register when the hack signal is high. 8.5.7 data direction register (hddr) the hddr controls the direction of the data flow for each of the hdi08 pins configured as gpio. even when the hdi08 is used as the host interface, some of its unused signals may be configured as gpio pins. for information on the hdi08 gpio configuration options, see section section 8.6.8, general purpose input/output (gpio) . if bit drxx is set, the corresponding hdi08 pin is configured as an output signal. if bit drxx is cleared, the corresponding hdi08 pin is configured as an input signal. see table 8-6 . 8.5.8 host data register (hdr) the hdr register holds the data value of the corresponding bits of the hdi08 pins which are configured as gpio pins. the functionality of the dxx bit depends on the corresponding hddr bit (drxx). see table 8-6 . 1514131211109876543210 dr15 dr14 dr13 dr12 dr11 dr10 dr9 dr8 dr7 dr6 dr5 dr4 dr3 dr2 dr1 dr0 figure 8-9 host data direction register (hddr) (x:$ffffc8)
host interface (hdi08) hdi08 C dsp-side programmers model 8-18 dsp56367 24-bit digital signal processor users manual motorola 8.5.9 dsp-side registers after reset table 8-7 shows the results of the four reset types on the bits in each of the hdi08 registers accessible by the dsp core. the hardware reset (hw) is caused by the reset signal. the software reset (sw) is caused by executing the reset instruction. the individual reset (ir) is caused by clearing the hen bit (hpcr bit 6). the stop reset (st) is caused by executing the stop instruction. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 figure 8-10 host data register (hdr) (x:$ffffc9) table 8-6 hdr and hddr functionality hddr hdr drxx dxx gpio pin a a.defined by the selected configuration non-gpio pin a 0 read only bit. the value read is the binary value of the pin. the corresponding pin is configured as an input. read only bit. does not contain significant data. 1 read/write bit. the value written is the value read. the corresponding pin is configured as an output, and is driven with the data written to dxx. read/write bit. the value written is the value read.
host interface (hdi08) hdi08 C dsp-side programmers model motorola dsp56367 24-bit digital signal processor users manual 8-19 8.5.10 host interface dsp core interrupts the hdi08 may request interrupt service from either the dsp core or the host processor. the dsp core interrupts are internal and do not require the use of an external interrupt pin. when the appropriate interrupt enable bit in the hcr is set, an interrupt condition caused by the host processor sets the appropriate bit in the hsr, generating an interrupt request to the dsp core. the dsp core acknowledges interrupts caused by the host processor by jumping to the appropriate interrupt service routine. the three possible interrupts are as follows: ? host command ? transmit data register empty ? receive data register full although there is a set of vectors reserved for host command use, the host command can access any interrupt vector in the interrupt vector table. the dsp interrupt service routine must read or write the appropriate hdi08 register (clearing hrdf or htde, for example) to clear the interrupt. in the case of host table 8-7 dsp-side registers after reset register name register data reset type hw reset sw reset ir reset st reset hcr all bits 0 0 hpcr all bits 0 0 hsr hf[1:0] 0 0 hcp0000 htde 1 1 1 1 hrdf 0 0 0 0 dma 0 0 hbar ba[10:3] $80 $80 hddr dr[15:0] 0 0 hdr d[15:0] horx horx[23:0] empty empty empty empty hotx hotx[23:0] empty empty empty empty note: note: a long dash () denotes that the register value is not affected by the specified reset.
host interface (hdi08) hdi08 C external host programmers model 8-20 dsp56367 24-bit digital signal processor users manual motorola command interrupts, the interrupt acknowledge from the dsp core program controller clears the pending interrupt condition. figure 8-11 illustrates the hsr-hcr operation. figure 8-11 hsr-hcr operation 8.6 hdi08 C external host programmers model the hdi08 has been designed to provide a simple, high speed interface to a host processor. to the host bus, the hdi08 appears to be eight byte-wide registers. separate transmit and receive data registers are double-buffered to allow the dsp core and host processor to transfer data efficiently at high speed. the host may access the hdi08 asynchronously by using polling techniques or interrupt-based techniques. the hdi08 appears to the host processor as a memory-mapped peripheral occupying 8 bytes in the host processor address space (see table 8-8 ). the eight hdi08 include the following: ? a control register (icr) ? a status register (isr) ? three data registers (rxh/txh, rxm/txm and rxl/txl) ? two vector registers (ivr and cvr) these registers can be accessed only by the host processor. host processors may use standard host processor instructions (e.g., byte move) and addressing modes to communicate with the hdi08 registers. the hdi08 registers are aligned so that 8-bit host processors can use 8/16/24-bit load and store instructions for data transfers. the horeq/htrq and hack/hrrq 15 0 hf3 hf2 hcie htie hrie enable hcr hf1 hf0 hcp htde hrdf 15 0 x:hsr x:hcr dsp core interrupts recieve data full transmit data empty host command hsr status
host interface (hdi08) hdi08 C external host programmers model motorola dsp56367 24-bit digital signal processor users manual 8-21 handshake flags are provided for polled or interrupt-driven data transfers with the host processor. because the dsp interrupt response, most host microprocessors can load or store data at their maximum programmed i/o instruction rate without testing the handshake flags for each transfer. if full handshake is not needed, the host processor can treat the dsp as a fast device, and data can be transferred between the host processor and the dsp at the fastest host processor data rate. one of the most innovative features of the host interface is the host command feature. with this feature, the host processor can issue vectored interrupt requests to the dsp core. the host may select any of 128 dsp interrupt routines to be executed by writing a vector address register in the hdi08. this flexibility allows the host programmer to execute up to 128 pre-programmed functions inside the dsp. for example, host interrupts can allow the host processor to read or write dsp registers (x, y, or program memory locations), force interrupt handlers (e.g. irqa , irqb , etc. interrupt routines), and perform control and debugging operations if interrupt routines are implemented in the dsp to perform these tasks . table 8-8 hdi08 host side register map host address big endian hlend=0 little endian hlend=1 function 0 icr icr interface control 1 cvr cvr command vector 2 isr isr interface status 3 ivr ivr interrupt vector 4 00000000 00000000 unused 5 rxh/txh rxl/txl receive/transmit bytes 6 rxm/txm rxm/txm 7 rxl/txl rxh/txh host data bus h0 - h7 host data bus h0 - h7 note: note: the rxh/txh register is always mapped to the most significant byte of the dsp word.
host interface (hdi08) hdi08 C external host programmers model 8-22 dsp56367 24-bit digital signal processor users manual motorola 8.6.1 interface control register (icr) the icr is an 8-bit read/write control register used by the host processor to control the hdi08 interrupts and flags. the icr cannot be accessed by the dsp core. the icr is a read/write register, which allows the use of bit manipulation instructions on control register bits. the control bits are described in the following paragraphs. bits 2, 5 and 6 of the icr are affected by the condition of hdm[2:0] (hcr bits 5-7), as shown in figure 8-12 . 8.6.1.1 icr receive request enable (rreq) bit 0 in interrupt mode (hdm[2:0]=000 or hm[1:0]=00), rreq is used to enable host receive data requests via the host request (horeq or hrrq) signal when the receive data register full (rxdf) status bit in the isr is set. if rreq is cleared, rxdf requests are disabled. if rreq is set, the host request signal (horeq or hrrq) is asserted if rxdf is set. in the dma modes where hdm[2:0]=100 and (hm1 0 or hm0 0), rreq must be set and treq must be cleared to direct dma transfers from dsp to host. in the other dma modes, rreq is ignored. table 8-9 summarizes the effect of rreq and treq on the horeq, htrq and hrrq signals. 8.6.1.2 icr transmit request enable (treq) bit 1 in interrupt mode (hdm[2:0]=000 or hm[1:0]=00), treq is used to enable host transmit data requests via the host request (horeq or htrq) signal when the transmit data register empty (txde) status bit in the isr is set. if treq is cleared, txde requests are disabled. if treq is set, the host request signal (horeq or htrq) is asserted if txde is set. in the dma modes where hdm[2:0]=100 and (hm1 0 or hm0 0), treq must be set and rreq must be cleared to direct dma transfers from host to dsp. in the other dma modes, treq is ignored. table 8-9 summarizes the effect of rreq and treq on the horeq, htrq and hrrq signals. 76543210 for hdm[2:0]=000 init hlend hf1 hf0 hdrq treq rreq for hdm[2:0]=100 init hm1 hm0 hf1 hf0 treq rreq for hdm1=1 and/or hdm0=1 init hdm1 hdm0 hf1 hf0 treq rreq hdm[1:0] - these read-only bits reflect the value of the hdm[1:0] bits in the hcr. - reserved bit. read as 0. should be written with 0 for future compatibility. figure 8-12 interface control register (icr)
host interface (hdi08) hdi08 C external host programmers model motorola dsp56367 24-bit digital signal processor users manual 8-23 8.6.1.3 icr double host request (hdrq) bit 2 the hdrq bit determines the functions of the horeq/htrq and hack/hrrq signals as shown in table 8-11 . 8.6.1.4 icr host flag 0 (hf0) bit 3 the hf0 bit is used as a general purpose flag for host-to-dsp communication. hf0 may be set or cleared by the host processor and cannot be changed by the dsp core. hf0 is reflected in the hsr on the dsp side of the hdi08. table 8-9 treq rreq interrupt mode (hdm[2:0]=000 or hm[1:0]=00) treq rreq hdrq=0 hdrq=1 horeq signal htrq signal hrrq signal 0 0 no interrupts (polling) no interrupts (polling) no interrupts (polling) 0 1 rxdf request (interrupt) no interrupts (polling) rxdf request (interrupt) 1 0 txde request (interrupt) txde request (interrupt) no interrupts (polling) 11 rxdf and txde requests (interrupts) txde request (interrupt) rxdf request (interrupt) table 8-10 treq rreq dma mode (hm1 0 or hm0 0) treq rreq hdrq=0 hdrq=1 horeq signal htrq signal hrrq signal 0 0 no dma requestno dma requestno dma request 0 1 dsp to host request (rx) no dma request dsp to host request (rx) 1 0 host to dsp request (tx) host to dsp request (tx) no dma request 1 1 reserved reserved reserved table 8-11 hdrq hdrq horeq/htrq pin hack/hrrq pin 0 horeq signal hack signal 1 htrq signal hrrq signal
host interface (hdi08) hdi08 C external host programmers model 8-24 dsp56367 24-bit digital signal processor users manual motorola 8.6.1.5 icr host flag 1 (hf1) bit 4 the hf1 bit is used as a general purpose flag for host-to-dsp communication. hf1 may be set or cleared by the host processor and cannot be changed by the dsp core. hf1 is reflected in the hsr on the dsp side of the hdi08. 8.6.1.6 icr host little endian (hlend) bit 5 if the hlend bit is cleared, the hdi08 can be accessed by the host in big endian byte order. if set, the hdi08 can be accessed by the host in little endian byte order. if the hlend bit is cleared, the rxh/txh register is located at address $5, the rxm/txm register is located at address $6, and the rxl/txl register is located at address $7. if the hlend bit is set, the rxh/txh register is located at address $7, the rxm/txm register is located at address $6, and the rxl/txl is located at address $5. see table 8-8 for an illustration of the effect of hlend. the hlend function is available only if hdm[2:0]=000 in the host control register (hcr). when hlend is available, the icr bit 6 has no function and should be regarded as reserved. 8.6.1.7 icr host mode control (hm1 and hm0 bits) bits 5-6 bits 6 and 5 function as read/write hm[1:0] bits only when the hcr bits hdm[2:0]=100 (see table 8-5 ). the hm0 and hm1 bits select the transfer mode of the hdi08, as shown in table 8-12 . when both hm1 and hm0 are cleared, the dma mode is disabled and the interrupt mode is enabled. in interrupt mode, the treq and rreq control bits are used for host processor interrupt control via the external horeq output signal, and the hack input signal is used for the mc68000 family vectored interrupt acknowledge input. when hm1 and/or hm0 are set, they enable the dma mode and determine the size of the dma word to be transferred. in the dma mode, the horeq signal is used to request dma transfers, the treq and rreq bits select the direction of dma transfers (see table 8-10 ), and the hack input signal is used as a dma transfer acknowledge input. if the dma direction is from dsp to host, the contents of the selected register are enabled onto the host data bus when hack is asserted. if the dma direction is from host to dsp, the selected register is written from the host data bus when hack is asserted. table 8-12 host mode bit definition hm1 hm0 mode 0 0 interrupt mode (dma off) 0 1 dma mode (24 bit) 1 0 dma mode (16 bit) 1 1 dma mode (8 bit)
host interface (hdi08) hdi08 C external host programmers model motorola dsp56367 24-bit digital signal processor users manual 8-25 the size of the dma word to be transferred is determined by the dma control bits, hm0 and hm1. the hdi08 host side data register selected during a dma transfer is determined by a 2-bit address counter, which is preloaded with the value in hm1 and hm0. the address counter substitutes for the ha1 and ha0 host address signals of the hdi08 during a dma transfer. the host address signal ha2 is forced to one during each dma transfer. the address counter can be initialized with the init bit feature. after each dma transfer on the host data bus, the address counter is incremented to the next data register. when the address counter reaches the highest register (rxl or txl), the address counter is not incremented but is loaded with the value in hm1 and hm0. this allows 8-, 16- or 24-bit data to be transferred in a circular fashion and eliminates the need for the dma controller to supply the ha2, ha1, and ha0 address signals. for 16- or 24-bit data transfers, the dsp cpu interrupt rate is reduced by a factor of 2 or 3, respectively, from the host request rate C i.e., for every two or three host processor data transfers of one byte each, there is only one 24-bit dsp cpu interrupt. if either hdm1 or hdm0 in the hcr register are set, bits 6 and 5 become read-only bits that reflect the value of hdm[1:0]. 8.6.1.8 icr initialize bit (init) bit 7 the init bit is used by the host processor to force initialization of the hdi08 hardware. during initialization, the hdi08 transmit and receive control bits are configured. using the init bit to initialize the hdi08 hardware may or may not be necessary, depending on the software design of the interface. the type of initialization done when the init bit is set depends on the state of treq and rreq in the hdi08. the init command, which is local to the hdi08, is designed to conveniently configure the hdi08 into the desired data transfer mode. the effect of the init command is described in table 8-13 . when the host sets the init bit, the hdi08 hardware executes the init command. the interface hardware clears the init bit after the command has been executed. table 8-13 init command effect treq rreq after init execution transfer direction initialized 0 0 init=0 none 0 1 init=0; rxdf=0; htde=1 dsp to host 1 0 init=0; txde=1; hrdf=0 host to dsp 1 1 init=0; rxdf=0; htde=1; txde=1; hrdf=0 host to/from dsp
host interface (hdi08) hdi08 C external host programmers model 8-26 dsp56367 24-bit digital signal processor users manual motorola 8.6.2 command vector register (cvr) the cvr is used by the host processor to cause the dsp core to execute an interrupt. the host command feature is independent of any of the data transfer mechanisms in the hdi08. it can be used to invoke execution of any of the 128 possible interrupt routines in the dsp core. 8.6.2.1 cvr host vector (hv[6:0]) bits 0C6 the seven hv bits select the host command interrupt address to be used by the host command interrupt logic. when the host command interrupt is recognized by the dsp interrupt control logic, the address of the interrupt routine taken is 2 ? hv. the host can write hc and hv in the same write cycle. the host processor can select the starting address of any of the 128 possible interrupt routines in the dsp by writing the interrupt routine address divided by 2 into the hv bits. the host processor can thus force execution of any of the existing interrupt handlers (irqa , irqb , etc.) and can use any of the reserved or otherwise unused addresses provided they have been pre-programmed in the dsp. hv[6:0] is set to $32 (vector location $0064) by hardware, software, individual and stop resets. 8.6.2.2 cvr host command bit (hc) bit 7 the hc bit is used by the host processor to handshake the execution of host command interrupts. normally, the host processor sets hc to request the host command interrupt from the dsp core. when the host command interrupt is acknowledged by the dsp core, the hc bit is cleared by the hdi08 hardware. the host processor can read the state of hc to determine when the host command has been accepted. after setting hc, the host must not write to the cvr again until hc is cleared by the hdi08 hardware. setting hc causes the host command pending (hcp) in the hsr to be set. the host can write to the hc and hv bits in the same write cycle. 8.6.3 interface status register (isr) the isr is an 8-bit read-only status register used by the host processor to interrogate the status and flags of the hdi08. the host processor can write to this address without affecting the internal state of the hdi08, which is useful if the user desires to access all of the hdi08 registers by stepping through the hdi08 addresses. the isr cannot be accessed by the dsp core. the isr bits are described in the following paragraphs. 76543210 hc hv6 hv5 hv4 hv3 hv2 hv1 hv0 figure 8-13 command vector register (cvr)
host interface (hdi08) hdi08 C external host programmers model motorola dsp56367 24-bit digital signal processor users manual 8-27 8.6.3.1 isr receive data register full (rxdf) bit 0 the rxdf bit indicates that the receive byte registers (rxh:rxm:rxl) contain data from the dsp core and may be read by the host processor. rxdf is set when the contents of hotx is transferred to the receive byte registers. rxdf is cleared when the receive data (rxl or rxh according to hlend bit) register is read by the host processor. rxdf can be cleared by the host processor using the initialize function. rxdf may be used to assert the external horeq signal if the rreq bit is set. regardless of whether the rxdf interrupt is enabled, rxdf indicates whether the rx registers are full and data can be latched out (so that polling techniques may be used by the host processor). 8.6.3.2 isr transmit data register empty (txde) bit 1 the txde bit indicates that the transmit byte registers (txh:txm:txl) are empty and can be written by the host processor. txde is set when the contents of the transmit byte registers are transferred to the horx register. txde is cleared when the transmit (txl or txh according to hlend bit) register is written by the host processor. txde can be set by the host processor using the initialize feature. txde may be used to assert the external horeq signal if the treq bit is set. regardless of whether the txde interrupt is enabled, txde indicates whether the tx registers are full and data can be latched in (so that polling techniques may be used by the host processor). 8.6.3.3 isr transmitter ready (trdy) bit 2 the trdy status bit indicates that txh:txm:txl and the horx registers are empty. trdy=txde ? hrdf if trdy is set, the data that the host processor writes to txh:txm:txl is immediately transferred to the dsp side of the hdi08. this feature has many applications. for example, if the host processor issues a host command which causes the dsp core to read the horx, the host processor can be guaranteed that the data it just transferred to the hdi08 is what is being received by the dsp core. 8.6.3.4 isr host flag 2 (hf2) bit 3 the hf2 bit in the isr indicates the state of host flag 2 in the hcr on the dsp side. hf2 can be changed only by the dsp (see section section 8.5.3.4, hcr host flags 2,3 (hf2,hf3) bits 3-4 ). 76543210 hreq hf3 hf2 trdy txde rxdf - reserved bit. read as 0. should be written with 0 for future compatibility. figure 8-14 interface status register (isr)
host interface (hdi08) hdi08 C external host programmers model 8-28 dsp56367 24-bit digital signal processor users manual motorola 8.6.3.5 isr host flag 3 (hf3) bit 4 the hf3 bit in the isr indicates the state of host flag 3 in the hcr on the dsp side. hf3 can be changed only by the dsp (see section section 8.5.3.4, hcr host flags 2,3 (hf2,hf3) bits 3-4 ). 8.6.3.6 isr reserved bits 5-6 these bits are reserved. they read as zero and should be written with zero for future compatibility. 8.6.3.7 isr host request (hreq) bit 7 the hreq bit indicates the status of the external host request output signal (horeq) if hdrq is cleared. if hdrq is set, it indicates the status of the external transmit and receive request output signals (htrq and hrrq). the hreq bit may be set from either or both of two conditions C either the receive byte registers are full or the transmit byte registers are empty. these conditions are indicated by the isr rxdf and txde status bits, respectively. if the interrupt source has been enabled by the associated request enable bit in the icr, hreq is set if one or more of the two enabled interrupt sources is set. 8.6.4 interrupt vector register (ivr) the ivr is an 8-bit read/write register which typically contains the interrupt vector number used with mc68000 family processor vectored interrupts. only the host processor can read and write this register. the contents of ivr are placed on the host data bus (h0Ch7) when both the horeq and hack signals are asserted. the contents of this register are initialized to $0f by hardware or software reset, which corresponds to the uninitialized interrupt vector in the mc68000 family. table 8-14 host request status (hreq) hreq status [hdrq=0] status [hdrq=1] 0 horeq deasserted; no host processor interrupt is requested htrq and hrrq deasserted; no host processor interrupts are requested 1 horeq asserted; a host processor interrupt is requested htrq and/or hrrq asserted; host processor interrupts are requested 76543210 iv7 iv6 iv5 iv4 iv3 iv2 iv1 iv0 figure 8-15 interrupt vector register (ivr)
host interface (hdi08) hdi08 C external host programmers model motorola dsp56367 24-bit digital signal processor users manual 8-29 8.6.5 receive byte registers (rxh:rxm:rxl) the receive byte registers are viewed by the host processor as three 8-bit read-only registers. these registers are the receive high register (rxh), the receive middle register (rxm) and the receive low register (rxl). they receive data from the high, middle and low bytes, respectively, of the hotx register and are selected by the external host address inputs (ha2, ha1 and ha0) during a host processor read operation. the memory locations of the receive byte registers are determined by the hlend bit in the icr. if the hlend bit is set, the rxh is located at address $7, rxm at $6 and rxl at $5. if the hlend bit is cleared, the rxh is located at address $5, rxm at $6 and rxl at $7. when data is transferred from the hotx register to the receive byte registers, the receive data register full (rxdf) bit is set. the host processor may program the rreq bit to assert the external horeq/hrrq signal when rxdf is set. this indicates that the hdi08 has a full word (either 8, 16 or 24 bits) for the host processor. when the host reads the receive byte register at host address $7, the rxdf bit is cleared. 8.6.6 transmit byte registers (txh:txm:txl) the transmit byte registers are viewed as three 8-bit write-only registers by the host processor. these registers are the transmit high register (txh), the transmit middle register (txm) and the transmit low register (txl). these registers send data to the high, middle and low bytes, respectively, of the horx register and are selected by the external host address inputs (ha2, ha1 and ha0) during a host processor write operation. if the hlend bit in the icr is cleared, the txh is located at address $5, txm at $6 and txl at $7. if the hlend bit in the icr is set, the txh is located at address $7, txm at $6 and txl at $5. data may be written into the transmit byte registers when the transmit data register empty (txde) bit is set. the host processor may program the treq bit to assert the external horeq/htrq signal when txde is set. this informs the host processor that the transmit byte registers are empty. writing to the data register at host address $7 clears the txde bit. the contents of the transmit byte registers are transferred as 24-bit data to the horx register when both txde and the hrdf bit are cleared. this transfer operation sets txde and hrdf. 8.6.7 host side registers after reset table 8-15 shows the result of the four kinds of reset on bits in each of the hdi08 registers seen by the host processor. the hardware reset (hw) is caused by asserting the reset signal. the software reset (sw) is caused by executing the reset instruction. the individual reset (ir) is caused by clearing the hen bit in the hpcr register. the stop reset (st) is caused by executing the stop instruction.
host interface (hdi08) hdi08 C external host programmers model 8-30 dsp56367 24-bit digital signal processor users manual motorola 8.6.8 general purpose input/output (gpio) when configured as general-purpose i/o, the hdi08 is viewed by the dsp core as memory-mapped registers (see section 8.5, hdi08 C dsp-side programmers model ) that control up to 16 i/o pins. the software and hardware resets clear all dsp-side control registers and configure the hdi08 as gpio with all 16 signals disconnected. external circuitry connected to the hdi08 may need external pull-up/pull-down resistors until the signals are configured for operation. the registers cleared are the hpcr, hddr and hdr. selection between gpio and hdi08 is made by clearing hpcr bits 6 through 1 for gpio or setting these bits for hdi08 functionality. if the hdi08 is in gpio mode, the hddr configures each corresponding signal in the hdr as an input signal if the hddr bit is cleared or as an output signal if the hddr bit is set (see section 8.5.7, data direction register (hddr) and section 8.5.8, host data register (hdr) ). table 8-15 host side registers after reset register name register data reset type hw reset sw reset ir reset st reset icr all bits 0 0 cvr hc 0 0 0 0 hv[6:0] $32 $32 isr hreq 0 0 1 if treq is set; 0 otherwise 1 if treq is set; 0 otherwise hf3-hf2 0 0 trdy 1 1 1 1 txde 1 1 1 1 rxdf 0 0 0 0 ivr iv[7:0] $0f $0f rx rxh:rxm:rxl empty empty empty empty tx txh:txm:txl empty empty empty empty note: note: a long dash () denotes that the register value is not affected by the specified reset.
host interface (hdi08) servicing the host interface motorola dsp56367 24-bit digital signal processor users manual 8-31 8.7 servicing the host interface the hdi08 can be serviced by using one of the following protocols: ?polling, ? interrupts 8.7.1 hdi08 host processor data transfer to the host processor, the hdi08 appears as a contiguous block of static ram. to transfer data between itself and the hdi08, the host processor performs the following steps: 1. asserts the hdi08 address to select the register to be read or written. 2. selects the direction of the data transfer. if it is writing, the host processor drives the data on the bus. 3. strobes the data transfer. 8.7.2 polling in the polling mode of operation, the horeq/htrq signal is not connected to the host processor and hack must be deasserted to ensure ivr data is not being driven on h0-h7 when other registers are being polled. the host processor first performs a data read transfer to read the isr register.this allows the host processor to assess the status of the hdi08: 1. if rxdf=1, the receive byte registers are full and therefore a data read can be performed by the host processor. 2. if txde=1, the transmit byte registers are empty. a data write can be performed by the host processor. 3. if trdy=1, the transmit byte registers and the receive data register on the dsp side are empty. data written by the host processor is transferred directly to the dsp side. 4. if (hf2 ? hf3) 0, depending on how the host flags have been defined, may indicate an application-specific state within the dsp core has been reached. intervention by the host processor may be required. 5. if hreq=1, the horeq/htrq/hrrq signal has been asserted, and the dsp is requesting the attention of the host processor. one of the previous four conditions exists. after the appropriate data transfer has been made, the corresponding status bit is updated to reflect the transfer. if the host processor has issued a command to the dsp by writing the cvr and setting the hc bit, it can read the hc bit in the cvr to determine when the command has been accepted by the interrupt controller
host interface (hdi08) servicing the host interface 8-32 dsp56367 24-bit digital signal processor users manual motorola in the dsp core. when the command has been accepted for execution, the hc bit is cleared by the interrupt controller in the dsp core. figure 8-16 hdi08 host request structure 8.7.3 servicing interrupts if either the horeq/htrq or the hrrq signal or both are connected to the host processor interrupt inputs, the hdi08 can request service from the host processor by asserting one of these signals. the horeq/htrq and/or the hrrq signal is asserted when txde=1 and/or rxdf=1 and the corresponding enable bit (treq or rreq, respectively) is set. this is depicted in figure 8-16 . horeq/htrq and hrrq are normally connected to the host processor maskable interrupt inputs. the host processor acknowledges host interrupts by executing an interrupt service routine. the host processor can test rxdf and txde to determine the interrupt source. the host processor interrupt service routine must read or write the appropriate hdi08 data register to clear the interrupt. horeq/htrq and/or hrrq is deasserted under the following conditions: ? the enabled request is cleared or masked ? the dsp is reset. if the host processor is a member of the mc68000 family, there is no need for the additional step when the host processor reads the isr to determine how to respond to an interrupt generated by the dsp. instead, the dsp automatically sources the contents of the ivr on the data bus when the host processor acknowledges the interrupt by asserting hack. the contents of the ivr are placed on the host data bus while horeq and hack are simultaneously asserted. the ivr data tells the mc680xx host processor which interrupt routine to execute to service the dsp. 70 hreq 0 0 hf3 hf2 trdy txde rxdf status isr init 0 hlend hf1 hf0 hdrq treq rreq 70 $0 icr enable host request asserted horeq hrrq htrq $2
motorola dsp56367 24-bit digital signal processor users manual 9-1 chapter 9 serial host interface
serial host interface introduction 9-2 dsp56367 24-bit digital signal processor users manual motorola 9.1 introduction the serial host interface (shi) is a serial i/o interface that provides a path for communication and program/coefficient data transfers between the dsp and an external host processor. the shi can also communicate with other serial peripheral devices. the shi supports two well-known and widely used synchronous serial buses: the motorola serial peripheral interface (spi) bus and the philips inter-integrated-circuit control (i 2 c) bus. the shi supports either bus protocol as either a slave or a single-master device. to minimize dsp overhead, the shi supports 8-bit, 16-bit and 24-bit data transfers. the shi has a 1 or 10-word receive fifo that permits receiving up to 30 bytes before generating a receive interrupt, reducing the overhead for data reception. when configured in the spi mode, the shi can perform the following functions: ? identify its slave selection (in slave mode) ? simultaneously transmit (shift out) and receive (shift in) serial data ? directly operate with 8-, 16- and 24-bit words ? generate vectored interrupts separately for receive and transmit events and update status bits ? generate a separate vectored interrupt for a receive exception ? generate a separate vectored interrupt for a bus-error exception ? generate the serial clock signal (in master mode) ? trigger dma interrupts to service the transmit and receive events when configured in the i 2 c mode, the shi can perform the following functions: ? detect/generate start and stop events ? identify its slave (id) address (in slave mode) ? identify the transfer direction (receive/transmit) ? transfer data byte-wise according to the scl clock line ? generate ack signal following a byte receive ? inspect ack signal following a byte transmit ? directly operate with 8-, 16- and 24-bit words ? generate vectored interrupts separately for receive and transmit events and update status bits ? generate a separate vectored interrupt for a receive exception ? generate a separate vectored interrupt for a bus error exception ? generate the clock signal (in master mode) ? trigger dma interrupts to service the transmit and receive events
serial host interface serial host interface internal architecture motorola dsp56367 24-bit digital signal processor users manual 9-3 9.2 serial host interface internal architecture the dsp views the shi as a memory-mapped peripheral in the x data memory space. the dsp uses the shi as a normal memory-mapped peripheral using standard polling or interrupt programming techniques and dma transfers. memory mapping allows dsp communication with the shi registers to be accomplished using standard instructions and addressing modes. in addition, the movep instruction allows interface-to-memory and memory-to-interface data transfers without going through an intermediate register. the dma controller may be used to service the receive or transmit data path. the single master configuration allows the dsp to directly connect to dumb peripheral devices. for that purpose, a programmable baud-rate generator is included to generate the clock signal for serial transfers. the host side invokes the shi for communication and data transfer with the dsp through a shift register that may be accessed serially using either the i 2 c or the spi bus protocols. figure 9-1 shows the shi block diagram. figure 9-1 serial host interface block diagram dsp global data bus dsp accessible host accessible sck/scl miso/sda mosi/ha0 ss/ha2 hrx (fifo) hreq hcsr htx hckr 24 bit hsar clock generator controller logic slave address recognition unit (sar) pin control logic input/output shift register (iosr) aa0416 dsp dma data bus
serial host interface characteristics of the spi bus 9-4 dsp56367 24-bit digital signal processor users manual motorola 9.3 characteristics of the spi bus the spi bus consists of two serial data lines (miso and mosi), a clock line (sck), and a slave select line (ss ). during an spi transfer, a byte is shifted out one data pin while a different byte is simultaneously shifted in through a second data pin. it can be viewed as two 8-bit shift registers connected together in a circular manner, with one shift register on the master side and the other on the slave side. thus the data bytes in the master device and slave device are exchanged. the miso and mosi data pins are used for transmitting and receiving serial data. when the spi is configured as a master, miso is the master data input line, and mosi is the master data output line. when the spi is configured as a slave device, miso is the slave data output line, and mosi is the slave data input line. clock control logic allows a selection of clock polarity and a choice of two fundamentally different clocking protocols to accommodate most available synchronous serial peripheral devices. when the spi is configured as a master, the control bits in the hckr select the appropriate clock rate, as well as the desired clock polarity and phase format (see figure 9-6 ). the ss line allows selection of an individual slave spi device; slave devices that are not selected do not interfere with spi bus activity (i.e., they keep their miso output pin in the high-impedance state). when the shi is configured as an spi master device, the ss line should be held high. if the ss line is driven low when the shi is in spi master mode, a bus error is generated (the hcsr hber bit is set). 9.4 shi clock generator the shi clock generator generates the shi serial clock if the interface operates in the master mode. the clock generator is disabled if the interface operates in the slave mode, except in i 2 c mode when the hckfr bit is set in the hckr register. when the shi operates in the slave mode, the clock is external and is input to the shi (hmst = 0). figure 9-2 illustrates the internal clock path connections. it is the users responsibility to select the proper clock rate within the range as defined in the i 2 c and spi bus specifications. figure 9-2 shi clock generator shi hmst hmst = 0 hmst = 1 sck/scl divide by 1 or 8 divide by 1 to divide by 256 hrs hdm0Chdm7 shi clock fosc divide by 2 controller clock logic cpha, cpol, hi2c aa0417
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-5 9.5 serial host interface programming model the serial host interface programming model has two parts: ? host side see figure 9-3 below and section 9.5.1, shi input/output shift register (iosr)host side ? dsp side see figure 9-4 and section 9.5.2, shi host transmit data register (htx)dsp side through section 9.5.6, shi control/status register (hcsr)dsp side for detailed information. figure 9-3 shi programming modelhost side 0 i/o shift register (iosr) iosr 23 aa0418
serial host interface serial host interface programming model 9-6 dsp56367 24-bit digital signal processor users manual motorola figure 9-4 shi programming modeldsp side hckfr 8 15 14 13 12 11 10 9 16 23 22 21 20 19 18 17 0 23 shi receive data fifo (hrx) (read only, x: $ffff94) hrx shi transmit data register (htx) (write only, x: $ffff93) reserved bit, read as 0, should be written with 0 for future compatibility. hdm5 hfm1 0 7654321 hdm6 hdm7 hfm0 hdm2 hdm0 hdm1 hrs hdm3 hdm4 cpha cpol shi clock control register (hckr) x: $ffff90 0 23 htx 8 15 14 13 12 11 10 9 16 23 22 21 20 19 18 17 hen 0 7654321 hm1 hi 2 c hm0 hrqe0 hmst hrne hber hrff hroe hbusy hrqe1 hidle shi control/status register (hcsr) hrie0 hrie1 htue htde htie x: $ffff91 fifo (10 words deep) hbie hfifo 8 15 14 13 12 11 10 9 16 23 22 21 20 19 18 17 ha6 0 7654321 ha3 ha4 ha5 shi i 2 c slave address register (hsar) x: $ffff92 ha1 aa0419
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-7 the shi interrupt vector table is shown in table 9-1 and the exception priorities generated by the shi are shown in table 9-2 . 9.5.1 shi input/output shift register (iosr)host side the variable length input/output shift register (iosr) can be viewed as a serial-to-parallel and parallel-to-serial buffer in the shi. the iosr is involved with every data transfer in both directions (read and write). in compliance with the i 2 c and spi bus protocols, data is shifted in and out msb first. in 8-bit data transfer modes, the most significant byte of the iosr is used as the shift register. in 16-bit data transfer modes, the two most significant bytes become the shift register. in 24-bit transfer modes, the shift register uses all three bytes of the iosr (see figure 9-5 ). note: the iosr cannot be accessed directly either by the host processor or by the dsp. it is fully controlled by the shi controller logic. table 9-1 shi interrupt vectors program address interrupt source vba:$0040 shi transmit data vba:$0042 shi transmit underrun error vba:$0044 shi receive fifo not empty vba:$0048 shi receive fifo full vba:$004a shi receive overrun error vba:$004c shi bus error table 9-2 shi internal interrupt priorities priority interrupt highestshi bus error shi receive overrun error shi transmit underrun error shi receive fifo full shi transmit data lowestshi receive fifo not empty
serial host interface serial host interface programming model 9-8 dsp56367 24-bit digital signal processor users manual motorola figure 9-5 shi i/o shift register (iosr) 9.5.2 shi host transmit data register (htx)dsp side the host transmit data register (htx) is used for dsp-to-host data transfers. the htx register is 24 bits wide. writing to the htx register by dsp core instructions or by dma transfers clears the htde flag. the dsp may program the htie bit to cause a host transmit data interrupt when htde is set (see section 9.5.6.10, hcsr transmit-interrupt enable (htie)bit 11 ). data should not be written to the htx until htde is set in order to prevent overwriting the previous data. htx is reset to the empty state when in stop mode and during hardware reset, software reset, and individual reset. in the 8-bit data transfer mode the most significant byte of the htx is transmitted; in the 16-bit mode the two most significant bytes, and in the 24-bit mode all the contents of htx is transferred. 9.5.3 shi host receive data fifo (hrx)dsp side the 24-bit host receive data fifo (hrx) is a 10-word deep, first-in-first-out (fifo) register used for host-to-dsp data transfers. the serial data is received via the shift register and then loaded into the hrx. in the 8-bit data transfer mode, the most significant byte of the shift register is transferred to the hrx (the other bits are cleared); in the 16-bit mode the two most significant bytes are transferred (the least significant byte is cleared), and in the 24-bit mode, all 24 bits are transferred to the hrx. the hrx may be read by the dsp while the fifo is being loaded from the shift register. reading all data from hrx clears the hrne flag. the hrx may be read by dsp core instructions or by dma transfers. the hrx fifo is reset to the empty state when the chip is in stop mode, and during hardware reset, software reset, and individual reset. 16 23 8 15 0 7 8-bit data mode 16-bit data mode 24-bit data mode mode of oper stops data when data mode is selected passes data when data mode is selected aa0420 ation
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-9 9.5.4 shi slave address register (hsar)dsp side the 24-bit slave address register (hsar) is used when the shi operates in the i 2 c slave mode and is ignored in the other operational modes. hsar holds five bits of the 7-bit slave device address. the shi also acknowledges the general call address specified by the i 2 c protocol (eight zeroes comprising a 7-bit address and a r/w bit), but treats any following data bytes as regular data. that is, the shi does not differentiate between its dedicated address and the general call address. hsar cannot be accessed by the host processor. 9.5.4.1 hsar reserved bitsbits 19, 17C0 these bits are reserved. they read as zero and should be written with zero for future compatibility. 9.5.4.2 hsar i 2 c slave address (ha[6:3], ha1)bits 23C20,18 part of the i 2 c slave device address is stored in the read/write ha[6:3], ha1 bits of hsar. the full 7-bit slave device address is formed by combining the ha[6:3], ha1 bits with the ha0 and ha2 pins to obtain the ha[6:0] slave device address. the full 7-bit slave device address is compared to the received address byte whenever an i 2 c master device initiates an i 2 c bus transfer. during hardware reset or software reset, ha[6:3] = 1011 and ha1 is cleared; this results in a default slave device address of 1011[ha2]0[ha0]. 9.5.5 shi clock control register (hckr)dsp side the hckr is a 24-bit read/write register that controls shi clock generator operation. the hckr bits should be modified only while the shi is in the individual reset state (hen = 0 in the hcsr). for proper shi clock setup, please consult the datasheet. the programmer should not use the combination hrs = 1 and hdm[7:0] = 00000000, since it may cause synchronization problems and improper operation (it is an illegal combination). the hckr bits are cleared during hardware reset or software reset, except for cpha, which is set. the hckr is not affected by the stop state. the hckr bits are described in the following paragraphs. 9.5.5.1 clock phase and polarity (cpha and cpol)bits 1C0 the clock phase (cpha) bit controls the relationship between the data on the master-in-slave-out (miso) and master-out-slave-in (mosi) pins and the clock produced or received at the sck pin. the cpol bit determines the clock polarity (1 = active-high, 0 = active-low). the clock phase and polarity should be identical for both the master and slave spi devices. cpha and cpol are functional only when the shi operates in the spi mode, and are ignored in the i 2 c mode. the cpha bit is set and the cpol bit is cleared during hardware reset and software reset.
serial host interface serial host interface programming model 9-10 dsp56367 24-bit digital signal processor users manual motorola the programmer may select any of four combinations of serial clock (sck) phase and polarity when operating in the spi mode (see figure 9-6 ). figure 9-6 spi data-to-clock timing diagram if cpol is cleared, it produces a steady-state low value at the sck pin of the master device whenever data is not being transferred. if the cpol bit is set, it produces a high value at the sck pin of the master device whenever data is not being transferred. cpha is used with the cpol bit to select the desired clock-to-data relationship. the cpha bit, in general, selects the clock edge that captures data and allows it to change states. it has its greatest impact on the first bit transmitted (msb) in that it does or does not allow a clock transition before the data capture edge. when the shi is in slave mode and cpha = 0, the ss line must be deasserted and asserted by the external master between each successive word transfer. ss must remain asserted between successive bytes within a word. the dsp core should write the next data word to htx when htde = 1, clearing htde. however, the data is transferred to the shift register for transmission only when ss is deasserted. htde is set when the data is transferred from htx to the shift register. when the shi is in slave mode and cpha = 1, the ss line may remain asserted between successive word transfers. the ss must remain asserted between successive bytes within a word. the dsp core should write the next data word to htx when htde = 1, clearing htde. the htx data is transferred to the shift register for transmission as soon as the shift register is empty. htde is set when the data is transferred from htx to the shift register. when the shi is in master mode and cpha = 0, the dsp core should write the next data word to htx when htde = 1, clearing htde. the data is transferred immediately to the shift register for transmission. htde is set only at the end of the data word transmission. internal strobe for data capture msb654321lsb (cpol = 0, cpha = 0) (cpol = 0, cpha = 1) (cpol = 1, cpha = 0) (cpol = 1, cpha = 1) ss sck sck sck sck miso/ mosi aa0421
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-11 note: the master is responsible for deasserting and asserting the slave device ss line between word transmissions. when the shi is in master mode and cpha = 1, the dsp core should write the next data word to htx when htde = 1, clearing htde. the htx data is transferred to the shift register for transmission as soon as the shift register is empty. htde is set when the data is transferred from htx to the shift register. 9.5.5.2 hckr prescaler rate select (hrs)bit 2 the hrs bit controls a prescaler in series with the clock generator divider. this bit is used to extend the range of the divider when slower clock rates are desired. when hrs is set, the prescaler is bypassed. when hrs is cleared, the fixed divide-by-eight prescaler is operational. hrs is ignored when the shi operates in the slave mode, except for i 2 c when hckfr is set. the hrs bit is cleared during hardware reset and software reset. note: use the equations in the shi datasheet to determine the value of hrs for the specific serial clock frequency required. 9.5.5.3 hckr divider modulus select (hdm[7:0])bits 10C3 the hdm[7:0] bits specify the divide ratio of the clock generator divider. a divide ratio between 1 and 256 (hdm[7:0] = $00 to $ff) may be selected. when the shi operates in the slave mode, the hdm[7:0] bits are ignored (except for i 2 c when hckfr is set). the hdm[7:0] bits are cleared during hardware reset and software reset. note: use the equations in the shi datasheet to determine the value of hdm[7:0] for the specific serial clock frequency required. 9.5.5.4 hckr reserved bitsbits 23C14, 11 these bits in hckr are reserved. they are read as zero and should be written with zero for future compatibility. 9.5.5.5 hckr filter mode (hfm[1:0]) bits 13C12 the read/write control bits hfm[1:0] specify the operational mode of the noise reduction filters, as described in table 9-3 . the filters are designed to eliminate undesired spikes that might occur on the clock and data-in lines and allow the shi to operate in noisy environments when required. one filter is located in the input path of the sck/scl line and the other is located in the input path of the data line (i.e., the sda line when in i 2 c mode, the miso line when in spi master mode, and the mosi line when in spi slave mode).
serial host interface serial host interface programming model 9-12 dsp56367 24-bit digital signal processor users manual motorola when hfm[1:0] = 00, the filter is bypassed (spikes are not filtered out). this mode is useful when higher bit-rate transfers are required and the shi operates in a noise-free environment. when hfm[1:0] = 10, the narrow-spike-tolerance filter mode is selected. in this mode the filters eliminate spikes with durations of up to 50ns. this mode is suitable for use in mildly noisy environments and imposes some limitations on the maximum achievable bit-rate transfer. when hfm[1:0] = 11, the wide-spike-tolerance filter mode is selected. in this mode the filters eliminate spikes up to 100 ns. this mode is recommended for use in noisy environments; the bit-rate transfer is strictly limited. the wide-spike- tolerance filter mode is highly recommended for use in i 2 c bus systems as it fully conforms to the i 2 c bus specification and improves noise immunity. note: hfm[1:0] are cleared during hardware reset and software reset. after changing the filter bits in the hckr to a non-bypass mode (hfm[1:0] not equal to 00), the programmer should wait at least ten times the tolerable spike width before enabling the shi (setting the hen bit in the hcsr). similarly, after changing the hi 2 c bit in the hcsr or the cpol bit in the hckr, while the filter mode bits are in a non-bypass mode (hfm[1:0] not equal to 00), the programmer should wait at least ten times the tolerable spike width before enabling the shi (setting hen in the hcsr). 9.5.6 shi control/status register (hcsr)dsp side the hcsr is a 24-bit register that controls the shi operation and reflects its status. the control bits are read/write. the status bits are read-only. the bits are described in the following paragraphs. when in the stop state or during individual reset, the hcsr status bits are reset to their hardware-reset state, while the control bits are not affected. 9.5.6.1 hcsr host enable (hen)bit 0 the read/write control bit hen, when set, enables the shi. when hen is cleared, the shi is disabled (that is, it is in the individual reset state, see below). the hckr and the hcsr control bits are not affected when hen is cleared. when operating in master mode, hen should be cleared only when the shi is idle (hbusy = 0). hen is cleared during hardware reset and software reset. table 9-3 shi noise reduction filter mode hfm1 hfm0 description 0 0 bypassed (disabled) 01reserved 1 0 narrow spike tolerance 1 1 wide spike tolerance
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-13 9.5.6.1.1 shi individual reset while the shi is in the individual reset state, shi input pins are inhibited, output and bidirectional pins are disabled (high impedance), the hcsr status bits and the transmit/receive paths are reset to the same state produced by hardware reset or software reset. the individual reset state is entered following a one-instruction-cycle delay after clearing hen. 9.5.6.2 hcsr i 2 c/spi selection (hi 2 c)bit 1 the read/write control bit hi 2 c selects whether the shi operates in the i 2 c or spi modes. when hi 2 c is cleared, the shi operates in the spi mode. when hi 2 c is set, the shi operates in the i 2 c mode. hi 2 c affects the functionality of the shi pins as described in chapter 2, signal / connection descriptions . it is recommended that an shi individual reset be generated (hen cleared) before changing hi 2 c. hi 2 c is cleared during hardware reset and software reset. 9.5.6.3 hcsr serial host interface mode (hm[1:0])bits 3C2 the read/write control bits hm[1:0] select the size of the data words to be transferred, as shown in table 9-4 . hm[1:0] should be modified only when the shi is idle (hbusy = 0). hm[1:0] are cleared during hardware reset and software reset. 9.5.6.4 hcsr i 2 c clock freeze (hckfr)bit 4 the read/write control bit hckfr determines the behavior of the shi when the shi is unable to service the master request, when operating in the i 2 c slave mode. the hckfr bit is used only in the i 2 c slave mode; it is ignored otherwise. if hckfr is set, the shi holds the clock line to gnd if it is not ready to send data to the master during a read transfer or if the input fifo is full when the master attempts to execute a write transfer. in this way, the master may detect that the slave is not ready for the requested transfer, without causing an error condition in the slave. when hckfr is set for transmit sessions, the shi clock generator must be programmed as if to generate the same serial clock as produced by the external master, otherwise erroneous operation may result. the programmed frequency should be in the range of 1 to 0.75 times the external clock frequency. table 9-4 shi data size hm1 hmo description 0 0 8-bit data 0 1 16-bit data 1 0 24-bit data 11reserved
serial host interface serial host interface programming model 9-14 dsp56367 24-bit digital signal processor users manual motorola if hckfr is cleared, any attempt from the master to execute a transfer when the slave is not ready results in an overrun or underrun error condition. it is recommended that an shi individual reset be generated (hen cleared) before changing hckfr. hckfr is cleared during hardware reset and software reset. 9.5.6.5 hcsr fifo-enable control (hfifo)bit 5 the read/write control bit hfifo selects the receive fifo size. when hfifo is cleared, the fifo has one level. when hfifo is set, the fifo has 10 levels. it is recommended that an shi individual reset be generated (hen cleared) before changing hfifo. hfifo is cleared during hardware reset and software reset. 9.5.6.6 hcsr master mode (hmst)bit 6 the read/write control bit hmst determines the shi operating mode. if hmst is set, the interface operates in the master mode. if hmst is cleared, the interface operates in the slave mode. the shi supports a single-master configuration in both i 2 c and spi modes. when configured as an spi master, the shi drives the sck line and controls the direction of the data lines mosi and miso. the ss line must be held deasserted in the spi master mode; if the ss line is asserted when the shi is in spi master mode, a bus error is generated (the hcsr hber bit is setsee section 9.5.6.18, host bus error (hber)bit 21 ). when configured as an i 2 c master, the shi controls the i 2 c bus by generating start events, clock pulses, and stop events for transmission and reception of serial data. it is recommended that an shi individual reset be generated (hen cleared) before changing hmst. hmst is cleared during hardware reset and software reset. 9.5.6.7 hcsr host-request enable (hrqe[1:0])bits 8C7 the read/write control bits hrqe[1:0] are used to control the hreq pin. when hrqe[1:0] are cleared, the hreq pin is disabled and held in the high impedance state. if either of hrqe[1:0] are set and the shi is in a master mode, the hreq pin becomes an input controlling sck: deasserting hreq suspends sck. if either of hrqe[1:0] are set and the shi is in a slave mode, hreq becomes an output and its operation is defined in table 9-5 . hrqe[1:0] should be changed only when the shi is idle (hbusy = 0). hrqe[1:0] are cleared during hardware reset and software reset. table 9-5 hreq function in shi slave modes hrqe1 hrqe0 hreq pin operation 0 0 high impedance 0 1 asserted if iosr is ready to receive a new word 1 0 asserted if iosr is ready to transmit a new word 11i 2 c: asserted if iosr is ready to transmit or receive spi: asserted if iosr is ready to transmit and receive
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-15 9.5.6.8 hcsr idle (hidle)bit 9 the read/write control/status bit hidle is used only in the i 2 c master mode; it is ignored otherwise. it is only possible to set the hidle bit during writes to the hcsr. hidle is cleared by writing to htx. to ensure correct transmission of the slave device address byte, hidle should be set only when htx is empty (htde = 1). after hidle is set, a write to htx clears hidle and causes the generation of a stop event, a start event, and then the transmission of the eight msbs of the data as the slave device address byte. while hidle is cleared, data written to htx is transmitted as is. if the shi completes transmitting a word and there is no new data in htx, the clock is suspended after sampling ack. if hidle is set when the shi completes transmitting a word with no new data in htx, a stop event is generated. hidle determines the acknowledge that the receiver sends after correct reception of a byte. if hidle is cleared, the reception is acknowledged by sending a 0 bit on the sda line at the ack clock tick. if hidle is set, the reception is not acknowledged (a 1 bit is sent). it is used to signal an end-of-data to a slave transmitter by not generating an ack on the last byte. as a result, the slave transmitter must release the sda line to allow the master to generate the stop event. if the shi completes receiving a word and the hrx fifo is full, the clock is suspended before transmitting an ack. while hidle is cleared the bus is busy, that is, the start event was sent but no stop event was generated. setting hidle causes a stop event after receiving the current word. hidle is set while the shi is not in the i 2 c master mode, while the chip is in the stop state, and during hardware reset, software reset and individual reset. note: programmers should take care to ensure that all dma channel service to htx is disabled before setting hidle. 9.5.6.9 hcsr bus-error interrupt enable (hbie)bit 10 the read/write control bit hbie is used to enable the shi bus-error interrupt. if hbie is cleared, bus-error interrupts are disabled, and the hber status bit must be polled to determine if an shi bus error occurred. if both hbie and hber are set, the shi requests an shi bus-error interrupt service from the interrupt controller. hbie is cleared by hardware reset and software reset. note: clearing hbie masks a pending bus-error interrupt only after a one instruction cycle delay. if hbie is cleared in a long interrupt service routine, it is recommended that at least one other instruction separate the instruction that clears hbie and the rti instruction at the end of the interrupt service routine. 9.5.6.10 hcsr transmit-interrupt enable (htie)bit 11 the read/write control bit htie is used to enable the shi transmit data interrupts. if htie is cleared, transmit interrupts are disabled, and the htde status bit must be polled to determine if htx is empty. if both htie and htde are set and htue is cleared, the shi requests an shi transmit-data interrupt service from the interrupt controller. if both htie and htue are set, the shi requests an shi transmit-underrun-error interrupt service from the interrupt controller. htie is cleared by hardware reset and software reset. note: clearing htie masks a pending transmit interrupt only after a one instruction cycle delay. if htie is cleared in a long interrupt service routine, it is recommended that at least one
serial host interface serial host interface programming model 9-16 dsp56367 24-bit digital signal processor users manual motorola other instruction separate the instruction that clears htie and the rti instruction at the end of the interrupt service routine. 9.5.6.11 hcsr receive interrupt enable (hrie[1:0])bits 13C12 the read/write control bits hrie[1:0] are used to enable the shi receive-data interrupts. if hrie[1:0] are cleared, receive interrupts are disabled, and the hrne and hrff (bits 17 and 19, see below) status bits must be polled to determine if there is data in the receive fifo. if hrie[1:0] are not cleared, receive interrupts are generated according to table 9-6 . hrie[1:0] are cleared by hardware and software reset. note: clearing hrie[1:0] masks a pending receive interrupt only after a one instruction cycle delay. if hrie[1:0] are cleared in a long interrupt service routine, it is recommended that at least one other instruction separate the instruction that clears hrie[1:0] and the rti instruction at the end of the interrupt service routine. 9.5.6.12 hcsr host transmit underrun error (htue)bit 14 the read-only status bit htue indicates whether a transmit-underrun error occurred. transmit-underrun errors can occur only when operating in the spi slave mode or the i 2 c slave mode when hckfr is cleared. in a master mode, transmission takes place on demand and no underrun can occur. htue is set when both the shift register and the htx register are empty and the external master begins reading the next word: ? when operating in the i 2 c mode, htue is set in the falling edge of the ack bit. in this case, the shi retransmits the previously transmitted word. ? when operating in the spi mode, htue is set at the first clock edge if cpha = 1; it is set at the assertion of ss if cpha = 0. if a transmit interrupt occurs with htue set, the transmit-underrun interrupt vector is generated. if a transmit interrupt occurs with htue cleared, the regular transmit-data interrupt vector is generated. htue is cleared by reading the hcsr and then writing to the htx register. htue is cleared by hardware reset, software reset, shi individual reset, and during the stop state. table 9-6 hcsr receive interrupt enable bits hrie[1:0] interrupt condition 00 disabled not applicable 01 receive fifo not empty receive overrun error hrne = 1 and hroe = 0 hroe = 1 10 reserved not applicable 11 receive fifo full receive overrun error hrff = 1 and hroe = 0 hroe = 1
serial host interface serial host interface programming model motorola dsp56367 24-bit digital signal processor users manual 9-17 9.5.6.13 hcsr host transmit data empty (htde)bit 15 the read-only status bit htde indicates whether the htx register is empty and can be written by the dsp. htde is set when the data word is transferred from htx to the shift register, except in spi master mode when cpha = 0 (see hckr). when in the spi master mode with cpha = 0, htde is set after the end of the data word transmission. htde is cleared when the dsp writes the htx either with write instructions or dma transfers. htde is set by hardware reset, software reset, shi individual reset, and during the stop state. 9.5.6.14 hcsr reserved bitsbits 23, 18 and 16 these bits are reserved. they read as zero and should be written with zero for future compatibility. 9.5.6.15 host receive fifo not empty (hrne)bit 17 the read-only status bit hrne indicates that the host receive fifo (hrx) contains at least one data word. hrne is set when the fifo is not empty. hrne is cleared when hrx is read by the dsp (read instructions or dma transfers), reducing the number of words in the fifo to zero. hrne is cleared during hardware reset, software reset, shi individual reset, and during the stop state. 9.5.6.16 host receive fifo full (hrff)bit 19 the read-only status bit hrff indicates, when set, that the host receive fifo (hrx) is full. hrff is cleared when hrx is read by the dsp (read instructions or dma transfers) and at least one place is available in the fifo. hrff is cleared by hardware reset, software reset, shi individual reset, and during the stop state. 9.5.6.17 host receive overrun error (hroe)bit 20 the read-only status bit hroe indicates, when set, that a data-receive overrun error has occurred. receive-overrun errors cannot occur when operating in the i 2 c master mode, because the clock is suspended if the receive fifo is full; nor can they occur in the i 2 c slave mode when hckfr is set. hroe is set when the shift register (iosr) is filled and ready to transfer the data word to the hrx fifo and the fifo is already full (hrff is set). when a receive-overrun error occurs, the shift register is not transferred to the fifo. if a receive interrupt occurs with hroe set, the receive-overrun interrupt vector is generated. if a receive interrupt occurs with hroe cleared, the regular receive-data interrupt vector is generated. hroe is cleared by reading the hcsr with hroe set, followed by reading hrx. hroe is cleared by hardware reset, software reset, shi individual reset, and during the stop state.
serial host interface characteristics of the i 2 c bus 9-18 dsp56367 24-bit digital signal processor users manual motorola 9.5.6.18 host bus error (hber)bit 21 the read-only status bit hber indicates, when set, that an shi bus error occurred when operating as a master (hmst set). in i 2 c mode, hber is set if the transmitter does not receive an acknowledge after a byte is transferred; then a stop event is generated and transmission is suspended. in spi mode, hber is set if ss is asserted; then transmission is suspended at the end of transmission of the current word. hber is cleared only by hardware reset, software reset, shi individual reset, and during the stop state. 9.5.6.19 hcsr host busy (hbusy)bit 22 the read-only status bit hbusy indicates that the i 2 c bus is busy (when in the i 2 c mode) or that the shi itself is busy (when in the spi mode). when operating in the i 2 c mode, hbusy is set after the shi detects a start event and remains set until a stop event is detected. when operating in the slave spi mode, hbusy is set while ss is asserted. when operating in the master spi mode, hbusy is set if the htx register is not empty or if the iosr is not empty. hbusy is cleared otherwise. hbusy is cleared by hardware reset, software reset, shi individual reset, and during the stop state. 9.6 characteristics of the i 2 c bus the i 2 c serial bus consists of two bidirectional lines, one for data signals (sda) and one for clock signals (scl). both the sda and scl lines must be connected to a positive supply voltage via a pull-up resistor. note: in the i 2 c bus specifications, the standard mode (100 khz clock rate) and a fast mode (400 khz clock rate) are defined. the shi can operate in either mode. 9.6.1 overview the i 2 c bus protocol must conform to the following rules: ? data transfer may be initiated only when the bus is not busy. ? during data transfer, the data line must remain stable whenever the clock line is high. changes in the data line when the clock line is high are interpreted as control signals (see figure 9-7 ). figure 9-7 i 2 c bit transfer sda scl data line stable: data valid change of data allowed aa0422
serial host interface characteristics of the i 2 c bus motorola dsp56367 24-bit digital signal processor users manual 9-19 accordingly, the i 2 c bus protocol defines the following events: ? bus not busy both data and clock lines remain high. ? start data transfer the start event is defined as a change in the state of the data line, from high to low, while the clock is high (see figure 9-8 ). ? stop data transfer the stop event is defined as a change in the state of the data line, from low to high, while the clock is high (see figure 9-8 ). ? data valid the state of the data line represents valid data when, after a start event, the data line is stable for the duration of the high period of the clock signal. the data on the line may be changed during the low period of the clock signal. there is one clock pulse per bit of data. figure 9-8 i 2 c start and stop events each 8-bit word is followed by one acknowledge bit. this acknowledge bit is a high level put on the bus by the transmitter when the master device generates an extra acknowledge-related clock pulse. a slave receiver that is addressed must generate an acknowledge after each byte is received. also, a master receiver must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. the acknowledging device must pull down the sda line during the acknowledge clock pulse so that the sda line is stable low during the high period of the acknowledge-related clock pulse (see figure 9-9 ). figure 9-9 acknowledgment on the i 2 c bus s p start event stop event sda scl aa0423 start event clock pulse for acknowledgment s 12 89 scl from master device data output by transmitter data output by receiver aa0424
serial host interface characteristics of the i 2 c bus 9-20 dsp56367 24-bit digital signal processor users manual motorola a device generating a signal is called a transmitter, and a device receiving a signal is called a receiver. a device controlling a signal is called a master and devices controlled by the master are called slaves. a master receiver must signal an end-of-data to the slave transmitter by not generating an acknowledge on the last byte clocked out of the slave device. in this case the transmitter must leave the data line high to enable the master to generate the stop event. handshaking may also be accomplished by using the clock synchronizing mechanism. slave devices can hold the scl line low, after receiving and acknowledging a byte, to force the master into a wait state until the slave device is ready for the next byte transfer. the shi supports this feature when operating as a master device and waits until the slave device releases the scl line before proceeding with the data transfer. 9.6.2 i 2 c data transfer formats i 2 c bus data transfers follow the following process: after the start event, a slave device address is sent. the address consists of seven address bits and an eighth bit as a data direction bit (r/w). in the data direction bit, zero indicates a transmission (write), and one indicates a request for data (read). a data transfer is always terminated by a stop event generated by the master device. however, if the master device still wishes to communicate on the bus, it can generate another start event, and address another slave device without first generating a stop event (the shi does not support this feature when operating as an i 2 c master device). this method is also used to provide indivisible data transfers. various combinations of read/write formats are illustrated in figure 9-10 and figure 9-11 . figure 9-10 i 2 c bus protocol for host write cycle saa 0 slave address r/w s, p a start start or bit stop bit slave device ack from slave device ack from slave device ack from n = 0 to m data bytes first data byte data byte aa0425
serial host interface shi programming considerations motorola dsp56367 24-bit digital signal processor users manual 9-21 figure 9-11 i 2 c bus protocol for host read cycle note: the first data byte in a write-bus cycle can be used as a user-predefined control byte (e.g., to determine the location to which the forthcoming data bytes should be transferred). 9.7 shi programming considerations the shi implements both spi and i 2 c bus protocols and can be programmed to operate as a slave device or a single-master device. once the operating mode is selected, the shi may communicate with an external device by receiving and/or transmitting data. before changing the shi operational mode, an shi individual reset should be generated by clearing the hen bit. the following paragraphs describe programming considerations for each operational mode. 9.7.1 spi slave mode the spi slave mode is entered by enabling the shi (hen=1), selecting the spi mode (hi 2 c=0), and selecting the slave mode of operation (hmst=0). the programmer should verify that the cpha and cpol bits (in the hckr) correspond to the external host clock phase and polarity. other hckr bits are ignored. when configured in the spi slave mode, the shi external pins operate as follows: ? sck/scl is the sck serial clock input. ? miso/sda is the miso serial data output. ? mosi/ha0 is the mosi serial data input. ?ss /ha2 is the ss slave select input. ? hreq is the host request output. in the spi slave mode, a receive, transmit, or full-duplex data transfer may be performed. actually, the interface performs data receive and transmit simultaneously. the status bits of both receive and transmit paths are active; however, the programmer may disable undesired interrupts and ignore irrelevant status bits. it is recommended that an shi individual reset (hen cleared) be generated before beginning data saa 1 slave address r/w p 1 start stop bit bit slave device ack from master device ack from no ack data byte n = 0 to m data bytes last data byte from master device aa0426
serial host interface shi programming considerations 9-22 dsp56367 24-bit digital signal processor users manual motorola reception in order to reset the hrx fifo to its initial (empty) state (e.g., when switching from transmit to receive data). if a write to htx occurs, its contents are transferred to iosr between data word transfers. the iosr data is shifted out (via miso) and received data is shifted in (via mosi). the dsp may write htx with either dsp instructions or dma transfers if the htde status bit is set. if no writes to htx occur, the contents of htx are not transferred to iosr, so the data shifted out when receiving is the data present in the iosr at the time. the hrx fifo contains valid receive data, which the dsp can read with either dsp instructions or dma transfers (if the hrne status bit is set). the hreq output pin, if enabled for receive (hrqe[1:0] = 01), is asserted when the iosr is ready for receive and the hrx fifo is not full; this operation guarantees that the next received data word is stored in the fifo. the hreq output pin, if enabled for transmit (hrqe[1:0] = 10), is asserted when the iosr is loaded from htx with a new data word to transfer. if hreq is enabled for both transmit and receive (hrqe[1:0] = 11), it is asserted when the receive and transmit conditions are both true. hreq is deasserted at the first clock pulse of the next data word transfer. the hreq line may be used to interrupt the external master device. connecting the hreq line between two shi-equipped dsps, one operating as an spi master device and the other as an spi slave device, enables full hardware handshaking if operating with cpha = 1. the ss line should be kept asserted during a data word transfer. if the ss line is deasserted before the end of the data word transfer, the transfer is aborted and the received data word is lost. 9.7.2 spi master mode the spi master mode is initiated by enabling the shi (hen = 1), selecting the spi mode (hi 2 c = 0), and selecting the master mode of operation (hmst = 1). before enabling the shi as an spi master device, the programmer should program the proper clock rate, phase and polarity in hckr. when configured in the spi master mode, the shi external pins operate as follows: ? sck/scl is the sck serial clock output. ? miso/sda is the miso serial data input. ? mosi/ha0 is the mosi serial data output. ?ss /ha2 is the ss input. it should be kept deasserted (high) for proper operation. ? hreq is the host request input. the external slave device can be selected either by using external logic or by activating a gpio pin connected to its ss pin. however, the ss input pin of the spi master device should be held deasserted (high) for proper operation. if the spi master device ss pin is asserted, the host bus error status bit (hber) is set. if the hbie bit is also set, the shi issues a request to the dsp interrupt controller to service the shi bus error interrupt. in the spi master mode the dsp must write to htx to receive, transmit or perform a full-duplex data transfer. actually, the interface performs simultaneous data receive and transmit. the status bits of both receive and transmit paths are active; however, the programmer may disable undesired interrupts and ignore irrelevant status bits. in a data transfer, the htx is transferred to iosr, clock pulses are generated,
serial host interface shi programming considerations motorola dsp56367 24-bit digital signal processor users manual 9-23 the iosr data is shifted out (via mosi) and received data is shifted in (via miso). the dsp programmer may write htx (if the htde status bit is set) with either dsp instructions or dma transfers to initiate the transfer of the next word. the hrx fifo contains valid receive data, which the dsp can read with either dsp instructions or dma transfers, if the hrne status bit is set. it is recommended that an shi individual reset (hen cleared) be generated before beginning data reception in order to reset the receive fifo to its initial (empty) state (e.g., when switching from transmit to receive data). the hreq input pin is ignored by the spi master device if the hrqe[1:0] bits are cleared, and considered if any of them is set. when asserted by the slave device, hreq indicates that the external slave device is ready for the next data transfer. as a result, the spi master sends clock pulses for the full data word transfer. hreq is deasserted by the external slave device at the first clock pulse of the new data transfer. when deasserted, hreq prevents the clock generation of the next data word transfer until it is asserted again. connecting the hreq line between two shi-equipped dsps, one operating as an spi master device and the other as an spi slave device, enables full hardware handshaking if cpha = 1. for cpha = 0, hreq should be disabled by clearing hrqe[1:0]. 9.7.3 i 2 c slave mode the i 2 c slave mode is entered by enabling the shi (hen=1), selecting the i 2 c mode (hi 2 c=1), and selecting the slave mode of operation (hmst=0). in this operational mode the contents of hckr are ignored. when configured in the i 2 c slave mode, the shi external pins operate as follows: ? sck/scl is the scl serial clock input. ? miso/sda is the sda open drain serial data line. ? mosi/ha0 is the ha0 slave device address input. ?ss /ha2 is the ha2 slave device address input. ? hreq is the host request output. when the shi is enabled and configured in the i 2 c slave mode, the shi controller inspects the sda and scl lines to detect a start event. upon detection of the start event, the shi receives the slave device address byte and enables the slave device address recognition unit. if the slave device address byte was not identified as its personal address, the shi controller fails to acknowledge this byte by not driving low the sda line at the ninth clock pulse (ack = 1). however, it continues to poll the sda and scl lines to detect a new start event. if the personal slave device address was correctly identified, the slave device address byte is acknowledged (ack = 0 is sent) and a receive/transmit session is initiated according to the eighth bit of the received slave device address byte (i.e., the r/w bit). 9.7.3.1 receive data in i 2 c slave mode a receive session is initiated when the personal slave device address has been correctly identified and the r/w bit of the received slave device address byte has been cleared. following a receive initiation, data in the sda line is shifted into iosr msb first. following each received byte, an acknowledge (ack = 0) is sent at the ninth clock pulse via the sda line. data is acknowledged bytewise, as required by the i 2 c bus
serial host interface shi programming considerations 9-24 dsp56367 24-bit digital signal processor users manual motorola protocol, and is transferred to the hrx fifo when the complete word (according to hm[1:0]) is filled into iosr. it is the responsibility of the programmer to select the correct number of bytes in an i 2 c frame so that they fit in a complete number of words. for this purpose, the slave device address byte does not count as part of the data; therefore, it is treated separately. in a receive session, only the receive path is enabled and htx to iosr transfers are inhibited. the hrx fifo contains valid data, which may be read by the dsp with either dsp instructions or dma transfers (if the hrne status bit is set). if hckfr is cleared, when the hrx fifo is full and iosr is filled, an overrun error occurs and the hroe status bit is set. in this case, the last received byte is not acknowledged (ack=1 is sent) and the word in the iosr is not transferred to the hrx fifo. this may inform the external i 2 c master device of the occurrence of an overrun error on the slave side. consequently the i 2 c master device may terminate this session by generating a stop event. if hckfr is set, when the hrx fifo is full the shi holds the clock line to gnd not letting the master device write to iosr, which eliminates the possibility of reaching the overrun condition. the hreq output pin, if enabled for receive (hrqe[1:0] = 01), is asserted when the iosr is ready to receive and the hrx fifo is not full; this operation guarantees that the next received data word is stored in the fifo. hreq is deasserted at the first clock pulse of the next received word. the hreq line may be used to interrupt the external i 2 c master device. connecting the hreq line between two shi-equipped dsps, one operating as an i 2 c master device and the other as an i 2 c slave device, enables full hardware handshaking. 9.7.3.2 transmit data in i 2 c slave mode a transmit session is initiated when the personal slave device address has been correctly identified and the r/w bit of the received slave device address byte has been set. following a transmit initiation, the iosr is loaded from htx (assuming the latter was not empty) and its contents are shifted out, msb first, on the sda line. following each transmitted byte, the shi controller samples the sda line at the ninth clock pulse, and inspects the ack status. if the transmitted byte was acknowledged (ack = 0), the shi controller continues and transmits the next byte. however, if it was not acknowledged (ack = 1), the transmit session is stopped and the sda line is released. consequently, the external master device may generate a stop event in order to terminate the session. htx contents are transferred to iosr when the complete word (according to hm[1:0]) has been shifted out. it is, therefore, the responsibility of the programmer to select the correct number of bytes in an i 2 c frame so that they fit in a complete number of words. for this purpose, the slave device address byte does not count as part of the data; therefore, it is treated separately. in a transmit session, only the transmit path is enabled and the iosr-to-hrx fifo transfers are inhibited. when the htx transfers its valid data word to iosr, the htde status bit is set and the dsp may write a new data word to htx with either dsp instructions or dma transfers. if hckfr is cleared and both iosr and htx are empty when the master device attempts a transmit session, an underrun condition occurs, setting the htue status bit, and the previous word is retransmitted. if hckfr is set and both iosr and htx are empty when the master device attempts a transmit session, the shi holds the clock line to gnd to avoid an underrun condition.
serial host interface shi programming considerations motorola dsp56367 24-bit digital signal processor users manual 9-25 the hreq output pin, if enabled for transmit (hrqe[1:0] = 10), is asserted when htx is transferred to iosr for transmission. when asserted, hreq indicates that the slave device is ready to transmit the next data word. hreq is deasserted at the first clock pulse of the next transmitted data word. the hreq line may be used to interrupt the external i 2 c master device. connecting the hreq line between two shi-equipped dsps, one operating as an i 2 c master device and the other as an i 2 c slave device, enables full hardware handshaking. 9.7.4 i 2 c master mode the i 2 c master mode is entered by enabling the shi (hen=1), selecting the i 2 c mode (hi 2 c=1) and selecting the master mode of operation (hmst=1). before enabling the shi as an i 2 c master, the programmer should program the appropriate clock rate in hckr. when configured in the i 2 c master mode, the shi external pins operate as follows: ? sck/scl is the scl open drain serial clock output. ? miso/sda is the sda open drain serial data line. ? mosi/ha0 is the ha0 slave device address input. ?ss /ha2 is the ha2 slave device address input. ? hreq is the host request input. in the i 2 c master mode, a data transfer session is always initiated by the dsp by writing to the htx register when hidle is set. this condition ensures that the data byte written to htx is interpreted as being a slave address byte. this data byte must specify the slave device address to be selected and the requested data transfer direction. note: the slave address byte should be located in the high portion of the data word, whereas the middle and low portions are ignored. only one byte (the slave address byte) is shifted out, independent of the word length defined by the hm[1:0] bits. in order for the dsp to initiate a data transfer the following actions are to be performed: ? the dsp tests the hidle status bit. ? if the hidle status bit is set, the dsp writes the slave device address and the r/w bit to the most significant byte of htx. ? the shi generates a start event. ? the shi transmits one byte only, internally samples the r/w direction bit (last bit), and accordingly initiates a receive or transmit session. ? the shi inspects the sda level at the ninth clock pulse to determine the ack value. if acknowledged (ack = 0), it starts its receive or transmit session according to the sampled r/w value. if not acknowledged (ack = 1), the hber status bit in hcsr is set, which causes an shi bus error interrupt request if hbie is set, and a stop event is generated. the hreq input pin is ignored by the i 2 c master device if hrqe[1:0] are cleared, and considered if either of them is set. when asserted, hreq indicates that the external slave device is ready for the next data transfer. as a result, the i 2 c master device sends clock pulses for the full data word transfer. hreq is
serial host interface shi programming considerations 9-26 dsp56367 24-bit digital signal processor users manual motorola deasserted by the external slave device at the first clock pulse of the next data transfer. when deasserted, hreq prevents the clock generation of the next data word transfer until it is asserted again. connecting the hreq line between two shi-equipped dsps, one operating as an i 2 c master device and the other as an i 2 c slave device, enables full hardware handshaking. 9.7.4.1 receive data in i 2 c master mode a receive session is initiated if the r/w direction bit of the transmitted slave device address byte is set. following a receive initiation, data in the sda line is shifted into iosr msb first. following each received byte, an acknowledge (ack = 0) is sent at the ninth clock pulse via the sda line if the hidle control bit is cleared. data is acknowledged bytewise, as required by the i 2 c bus protocol, and is transferred to the hrx fifo when the complete word (according to hm[1:0]) is filled into iosr. it is the responsibility of the programmer to select the correct number of bytes in an i 2 c frame so that they fit in a complete number of words. for this purpose, the slave device address byte does not count as part of the data; therefore, it is treated separately. if the i 2 c slave transmitter is acknowledged, it should transmit the next data byte. in order to terminate the receive session, the programmer should set the hidle bit at the last required data word. as a result, the last byte of the next received data word is not acknowledged, the slave transmitter releases the sda line, and the shi generates the stop event and terminates the session. in a receive session, only the receive path is enabled and the htx-to-iosr transfers are inhibited. if the hrne status bit is set, the hrx fifo contains valid data, which may be read by the dsp with either dsp instructions or dma transfers. when the hrx fifo is full, the shi suspends the serial clock just before acknowledge. in this case, the clock is reactivated when the fifo is read (the shi gives an ack = 0 and proceeds receiving). 9.7.4.2 transmit data in i 2 c master mode a transmit session is initiated if the r/w direction bit of the transmitted slave device address byte is cleared. following a transmit initiation, the iosr is loaded from htx (assuming htx is not empty) and its contents are shifted out, msb-first, on the sda line. following each transmitted byte, the shi controller samples the sda line at the ninth clock pulse, and inspects the ack status. if the transmitted byte was acknowledged (ack=0), the shi controller continues transmitting the next byte. however, if it was not acknowledged (ack=1), the hber status bit is set to inform the dsp side that a bus error (or overrun, or any other exception in the slave device) has occurred. consequently, the i 2 c master device generates a stop event and terminates the session. htx contents are transferred to the iosr when the complete word (according to hm[1:0]) has been shifted out. it is, therefore, the responsibility of the programmer to select the right number of bytes in an i 2 c frame so that they fit in a complete number of words. remember that for this purpose, the slave device address byte does not count as part of the data. in a transmit session, only the transmit path is enabled and the iosr-to-hrx fifo transfers are inhibited. when the htx transfers its valid data word to the iosr, the htde status bit is set and the dsp may write a new data word to htx with either dsp instructions or dma transfers. if both iosr and htx are empty, the shi suspends the serial clock until new data is written into htx (when the shi proceeds with the
serial host interface shi programming considerations motorola dsp56367 24-bit digital signal processor users manual 9-27 transmit session) or hidle is set (the shi reactivates the clock to generate the stop event and terminate the transmit session). 9.7.5 shi operation during dsp stop the shi operation cannot continue when the dsp is in the stop state, because no dsp clocks are active. while the dsp is in the stop state, the shi remains in the individual reset state. while in the individual reset state the following is true: ? if the shi was operating in the i 2 c mode, the shi signals are disabled (high impedance state). ? if the shi was operating in the spi mode, the shi signals are not affected. ? the hcsr status bits and the transmit/receive paths are reset to the same state produced by hardware reset or software reset. ? the hcsr and hckr control bits are not affected. note: it is recommended that the shi be disabled before entering the stop state.
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual 10-1 section 10 enhanced serial audio interface (esai)
enhanced serial audio interface (esai) introduction 10-2 dsp56367 24-bit digital signal processor users manual motorola 10.1 introduction the enhanced serial audio interface (esai) provides a full-duplex serial port for serial communication with a variety of serial devices including one or more industry-standard codecs, other dsps, microprocessors, and peripherals which implement the motorola spi serial protocol. the esai consists of independent transmitter and receiver sections, each section with its own clock generator. it is a superset of the 56300 family essi peripheral and of the 56000 family sai peripheral. note: the dsp56367 has two esai modules. this section describes the esai, and section 11 describes the esai_1. the esai and esai_1 share 4 data pins. this is described in the esai_1 section. the esai block diagram is shown in figure 10-1 . the esai is named synchronous because all serial transfers are synchronized to a clock. additional synchronization signals are used to delineate the word frames. the normal mode of operation is used to transfer data at a periodic rate, one word per period. the network mode is similar in that it is also intended for periodic transfers; however, it supports up to 32 words (time slots) per period. this mode can be used to build time division multiplexed (tdm) networks. in contrast, the on-demand mode is intended for non-periodic transfers of data and to transfer data serially at high speed when the data becomes available. this mode offers a subset of the spi protocol.
enhanced serial audio interface (esai) introduction motorola dsp56367 24-bit digital signal processor users manual 10-3 figure 10-1 esai block diagram sdo1 [pc10] sdo0 [pc11] shift register rx0 tx5 sdo5/sdi0 [pc6] shift register rx1 tx4 sdo4/sdi1 [pc7] shift register rx2 tx3 sdo3/sdi2 [pc8] shift register rx3 tx2 sdo2/sdi3 [pc9] shift register tx1 shift register tx0 ddb gdb rsma rsmb tsma tsmb rccr rcr tccr tcr saicr saisr tsr tclk rclk [pc3] sckt [pc4] fst [pc5] hckt [pc0] sckr [pc1] fsr [pc2] hckr clock / frame sync generators and control logic
enhanced serial audio interface (esai) esai data and control pins 10-4 dsp56367 24-bit digital signal processor users manual motorola 10.2 esai data and control pins three to twelve pins are required for operation, depending on the operating mode selected and the number of transmitters and receivers enabled. the sdo0 and sdo1 pins are used by transmitters 0 and 1 only. the sdo2/sdi3, sdo3/sdi2, sdo4/sdi1, and sdo5/sdi0 pins are shared by transmitters 2 to 5 with receivers 0 to 3. the actual mode of operation is selected under software control. all transmitters operate fully synchronized under control of the same transmitter clock signals. all receivers operate fully synchronized under control of the same receiver clock signals. 10.2.1 serial transmit 0 data pin (sdo0) sdo0 is used for transmitting data from the tx0 serial transmit shift register. sdo0 is an output when data is being transmitted from the tx0 shift register. in the on-demand mode with an internally generated bit clock, the sdo0 pin becomes high impedance for a full clock period after the last data bit has been transmitted, assuming another data word does not follow immediately. if a data word follows immediately, there is no high-impedance interval. sdo0 may be programmed as a general-purpose i/o pin (pc11) when the esai sdo0 function is not being used. 10.2.2 serial transmit 1 data pin (sdo1) sdo1 is used for transmitting data from the tx1 serial transmit shift register. sdo1 is an output when data is being transmitted from the tx1 shift register. in the on-demand mode with an internally generated bit clock, the sdo1 pin becomes high impedance for a full clock period after the last data bit has been transmitted, assuming another data word does not follow immediately. if a data word follows immediately, there is no high-impedance interval. sdo1 may be programmed as a general-purpose i/o pin (pc10) when the esai sdo1 function is not being used. 10.2.3 serial transmit 2/receive 3 data pin (sdo2/sdi3) sdo2/sdi3 is used as the sdo2 for transmitting data from the tx2 serial transmit shift register when programmed as a transmitter pin, or as the sdi3 signal for receiving serial data to the rx3 serial receive shift register when programmed as a receiver pin. sdo2/sdi3 is an input when data is being received by the rx3 shift register. sdo2/sdi3 is an output when data is being transmitted from the tx2 shift register. in the on-demand mode with an internally generated bit clock, the sdo2/sdi3 pin becomes high impedance for a full clock period after the last data bit has been transmitted, assuming another data word does not follow immediately. if a data word follows immediately, there is no high-impedance interval.
enhanced serial audio interface (esai) esai data and control pins motorola dsp56367 24-bit digital signal processor users manual 10-5 sdo2/sdi3 may be programmed as a general-purpose i/o pin (pc9) when the esai sdo2 and sdi3 functions are not being used. 10.2.4 serial transmit 3/receive 2 data pin (sdo3/sdi2) sdo3/sdi2 is used as the sdo3 signal for transmitting data from the tx3 serial transmit shift register when programmed as a transmitter pin, or as the sdi2 signal for receiving serial data to the rx2 serial receive shift register when programmed as a receiver pin. sdo3/sdi2 is an input when data is being received by the rx2 shift register. sdo3/sdi2 is an output when data is being transmitted from the tx3 shift register. in the on-demand mode with an internally generated bit clock, the sdo3/sdi2 pin becomes high impedance for a full clock period after the last data bit has been transmitted, assuming another data word does not follow immediately. if a data word follows immediately, there is no high-impedance interval. sdo3/sdi2 may be programmed as a general-purpose i/o pin (pc8) when the esai sdo3 and sdi2 functions are not being used. 10.2.5 serial transmit 4/receive 1 data pin (sdo4/sdi1) sdo4/sdi1 is used as the sdo4 signal for transmitting data from the tx4 serial transmit shift register when programmed as transmitter pin, or as the sdi1 signal for receiving serial data to the rx1 serial receive shift register when programmed as a receiver pin. sdo4/sdi1 is an input when data is being received by the rx1 shift register. sdo4/sdi1 is an output when data is being transmitted from the tx4 shift register. in the on-demand mode with an internally generated bit clock, the sdo4/sdi1 pin becomes high impedance for a full clock period after the last data bit has been transmitted, assuming another data word does not follow immediately. if a data word follows immediately, there is no high-impedance interval. sdo4/sdi1 may be programmed as a general-purpose i/o pin (pc7) when the esai sdo4 and sdi1 functions are not being used. 10.2.6 serial transmit 5/receive 0 data pin (sdo5/sdi0) sdo5/sdi0 is used as the sdo5 signal for transmitting data from the tx5 serial transmit shift register when programmed as transmitter pin, or as the sdi0 signal for receiving serial data to the rx0 serial shift register when programmed as a receiver pin. sdo5/sdi0 is an input when data is being received by the rx0 shift register. sdo5/sdi0 is an output when data is being transmitted from the tx5 shift register. in the on-demand mode with an internally generated bit clock, the sdo5/sdi0 pin becomes high impedance for a full clock period after the last data bit has been transmitted, assuming another data word does not follow immediately. if a data word follows immediately, there is no high-impedance interval. sdo5/sdi0 may be programmed as a general-purpose i/o pin (pc6) when the esai sdo5 and sdi0 functions are not being used.
enhanced serial audio interface (esai) esai data and control pins 10-6 dsp56367 24-bit digital signal processor users manual motorola 10.2.7 receiver serial clock (sckr) sckr is a bidirectional pin providing the receivers serial bit clock for the esai interface. the direction of this pin is determined by the rckd bit in the rccr register.the sckr operates as a clock input or output used by all the enabled receivers in the asynchronous mode (syn=0), or as serial flag 0 pin in the synchronous mode (syn=1). when this pin is configured as serial flag pin, its direction is determined by the rckd bit in the rccr register. when configured as the output flag of0, this pin reflects the value of the of0 bit in the saicr register, and the data in the of0 bit shows up at the pin synchronized to the frame sync being used by the transmitter and receiver sections. when this pin is configured as the input flag if0, the data value at the pin is stored in the if0 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. sckr may be programmed as a general-purpose i/o pin (pc0) when the esai sckr function is not being used. note: although the external esai serial clock can be independent of and asynchronous to the dsp system clock, the dsp clock frequency must be at least three times the external esai serial clock frequency and each esai serial clock phase must exceed the minimum of 1.5 dsp clock periods. for more information on pin mode and definition, see table 10-7 and on receiver clock signals see table 10-1 . table 10-1 receiver clock sources (asynchronous mode only) rhckd rfsd rckd receiver bit clock source outputs 0 0 0 sckr 001hckr sckr 0 1 0 sckr fsr 0 1 1 hckr fsr sckr 1 0 0 sckr hckr 101inthckr sckr 1 1 0 sckr hckr fsr 1 1 1 int hckr fsr sckr
enhanced serial audio interface (esai) esai data and control pins motorola dsp56367 24-bit digital signal processor users manual 10-7 10.2.8 transmitter serial clock (sckt) sckt is a bidirectional pin providing the transmitters serial bit clock for the esai interface. the direction of this pin is determined by the tckd bit in the tccr register. the sckt is a clock input or output used by all the enabled transmitters in the asynchronous mode (syn=0) or by all the enabled transmitters and receivers in the synchronous mode (syn=1) (see table 10-2 ). sckt may be programmed as a general-purpose i/o pin (pc3) when the esai sckt function is not being used. note: although the external esai serial clock can be independent of and asynchronous to the dsp system clock, the dsp clock frequency must be at least three times the external esai serial clock frequency and each esai serial clock phase must exceed the minimum of 1.5 dsp clock periods. 10.2.9 frame sync for receiver (fsr) fsr is a bidirectional pin providing the receivers frame sync signal for the esai interface. the direction of this pin is determined by the rfsd bit in rcr register. in the asynchronous mode (syn=0), the fsr pin operates as the frame sync input or output used by all the enabled receivers. in the synchronous mode (syn=1), it operates as either the serial flag 1 pin (tebe=0), or as the transmitter external buffer enable control (tebe=1, rfsd=1). for further information on pin mode and definition, see table 10-8 and on receiver clock signals see table 10-1 . when this pin is configured as serial flag pin, its direction is determined by the rfsd bit in the rccr register. when configured as the output flag of1, this pin reflects the value of the of1 bit in the saicr table 10-2 transmitter clock sources thckd tfsd tckd transmitter bit clock source outputs 000sckt 0 0 1 hckt sckt 010sckt fst 0 1 1 hckt fst sckt 1 0 0 sckt hckt 1 0 1 int hckt sckt 1 1 0 sckt hckt fst 1 1 1 int hckt fst sckt
enhanced serial audio interface (esai) esai data and control pins 10-8 dsp56367 24-bit digital signal processor users manual motorola register, and the data in the of1 bit shows up at the pin synchronized to the frame sync being used by the transmitter and receiver sections. when configured as the input flag if1, the data value at the pin is stored in the if1 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. fsr may be programmed as a general-purpose i/o pin (pc1) when the esai fsr function is not being used. 10.2.10 frame sync for transmitter (fst) fst is a bidirectional pin providing the frame sync for both the transmitters and receivers in the synchronous mode (syn=1) and for the transmitters only in asynchronous mode (syn=0) (see table 10-2 ). the direction of this pin is determined by the tfsd bit in the tcr register. when configured as an output, this pin is the internally generated frame sync signal. when configured as an input, this pin receives an external frame sync signal for the transmitters (and the receivers in synchronous mode). fst may be programmed as a general-purpose i/o pin (pc4) when the esai fst function is not being used. 10.2.11 high frequency clock for transmitter (hckt) hckt is a bidirectional pin providing the transmitters high frequency clock for the esai interface. the direction of this pin is determined by the thckd bit in the tccr register. in the asynchronous mode (syn=0), the hckt pin operates as the high frequency clock input or output used by all enabled transmitters. in the synchronous mode (syn=1), it operates as the high frequency clock input or output used by all enabled transmitters and receivers. when programmed as input this pin is used as an alternative high frequency clock source to the esai transmitter rather than the dsp main clock. when programmed as output it can serve as a high frequency sample clock (to external dacs for example) or as an additional system clock. see table 10-2 . hckt may be programmed as a general-purpose i/o pin (pc5) when the esai hckt function is not being used. 10.2.12 high frequency clock for receiver (hckr) hckr is a bidirectional pin providing the receivers high frequency clock for the esai interface. the direction of this pin is determined by the rhckd bit in the rccr register. in the asynchronous mode (syn=0), the hckr pin operates as the high frequency clock input or output used by all the enabled receivers. in the synchronous mode (syn=1), it operates as the serial flag 2 pin. for further information on pin mode and definition, see table 10-9 and on receiver clock signals see table 10-1 . when this pin is configured as serial flag pin, its direction is determined by the rhckd bit in the rccr register. when configured as the output flag of2, this pin reflects the value of the of2 bit in the saicr
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-9 register, and the data in the of2 bit shows up at the pin synchronized to the frame sync being used by the transmitter and receiver sections. when configured as the input flag if2, the data value at the pin is stored in the if2 bit in the saisr register, synchronized by the frame sync in normal mode or the slot in network mode. hckr may be programmed as a general-purpose i/o pin (pc2) when the esai hckr function is not being used. 10.3 esai programming model the esai can be viewed as five control registers, one status register, six transmit data registers, four receive data registers, two transmit slot mask registers, two receive slot mask registers and a special-purpose time slot register. the following paragraphs give detailed descriptions and operations of each bit in the esai registers. the esai pins can also function as gpio pins (port c), described in section 10.5, gpio - pins and registers . 10.3.1 esai transmitter clock control register (tccr) the read/write transmitter clock control register (tccr) controls the esai transmitter clock generator bit and frame sync rates, the bit clock and high frequency clock sources and the directions of the hckt, fst and sckt signals. (see figure 10-2 ). in the synchronous mode (syn=1), the bit clock defined for the transmitter determines the receiver bit clock as well. tccr also controls the number of words per frame for the serial data. hardware and software reset clear all the bits of the tccr register. the tccr control bits are described in the following paragraphs. 11109876543210 x:$ffffb6 tdc2 tdc1 tdc0 tpsr tpm7 tpm6 tpm5 tpm4 tpm3 tpm2 tpm1 tpm0 23 22 21 20 19 18 17 16 15 14 13 12 thckd tfsd tckd thckp tfsp tckp tfp3 tfp2 tfp1 tfp0 tdc4 tdc3 figure 10-2 tccr register
enhanced serial audio interface (esai) esai programming model 10-10 dsp56367 24-bit digital signal processor users manual motorola 10.3.1.1 tccr transmit prescale modulus select (tpm7Ctpm0) - bits 0C7 the tpm7Ctpm0 bits specify the divide ratio of the prescale divider in the esai transmitter clock generator. a divide ratio from 1 to 256 (tpm[7:0]=$00 to $ff) may be selected. the bit clock output is available at the transmit serial bit clock (sckt) pin of the dsp. the bit clock output is also available internally for use as the bit clock to shift the transmit and receive shift registers. the esai transmit clock generator functional diagram is shown in figure 10-3 . figure 10-3 esai clock generator functional block diagram flag0 out (sync mode) flag0 in (sync mode) sckr sckt rckd tckd syn=1 syn=0 rclock tclock internal bit clock syn=1 rsws4-rsws0 tsws4-tsws0 rx word length divider tx word length divider rx shift register tx shift register divide by 2 prescale divide by 1 or divide by 8 divider divide by 1 to divide by 256 tpsr tpm0 - tpm7 rx word clock tx word clock syn=0 divide by 2 prescale divide by 1 or divide by 8 divider divide by 1 to divide by 256 f osc rpsr rpm0 - rpm7 rhckd=1 rhckd=0 hckr rhckd divider divide by 1 to divide by 16 rfp0 - rfp3 f osc thckd=1 thckd=0 hckt thckd divider divide by 1 to divide by 16 tfp0 - tfp3 notes: 1. f osc is the dsp56300 core internal clock frequency. internal bit clock
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-11 10.3.1.2 tccr transmit prescaler range (tpsr) - bit 8 the tpsr bit controls a fixed divide-by-eight prescaler in series with the variable prescaler. this bit is used to extend the range of the prescaler for those cases where a slower bit clock is desired. when tpsr is set, the fixed prescaler is bypassed. when tpsr is cleared, the fixed divide-by-eight prescaler is operational (see figure 10-3 ). the maximum internally generated bit clock frequency is fosc/4; the minimum internally generated bit clock frequency is fosc/(2 x 8 x 256)=fosc/4096. note: do not use the combination tpsr=1 and tpm7-tpm0=$00, which causes synchronization problems when using the internal dsp clock as source (tckd=1 or thckd=1). 10.3.1.3 tccr tx frame rate divider control (tdc4Ctdc0) - bits 9C13 the tdc4Ctdc0 bits control the divide ratio for the programmable frame rate dividers used to generate the transmitter frame clocks. in network mode, this ratio may be interpreted as the number of words per frame minus one. the divide ratio may range from 2 to 32 (tdc[4:0]=00001 to 11111) for network mode. a divide ratio of one (tdc[4:0]=00000) in network mode is a special case (on-demand mode). in normal mode, this ratio determines the word transfer rate. the divide ratio may range from 1 to 32 (tdc[4:0]=00000 to 11111) for normal mode. in normal mode, a divide ratio of 1 (tdc[4:0]=00000) provides continuous periodic data word transfers. a bit-length frame sync (tfsl=1) must be used in this case. the esai frame sync generator functional diagram is shown in figure 10-4 .
enhanced serial audio interface (esai) esai programming model 10-12 dsp56367 24-bit digital signal processor users manual motorola figure 10-4 esai frame sync generator functional block diagram 10.3.1.4 tccr tx high frequency clock divider (tfp3-tfp0) - bits 14C17 the tfp3Ctfp0 bits control the divide ratio of the transmitter high frequency clock to the transmitter serial bit clock when the source of the high frequency clock and the bit clock is the internal dsp clock. when the hckt input is being driven from an external high frequency clock, the tfp3-tfp0 bits specify an additional division ratio in the clock divider chain. see table 10-3 for the specification of the divide ratio. the esai high frequency clock generator functional diagram is shown in figure 10-3 . frame sync transmit frame sync receive rx word clock tx word clock tdc0 - tdc4 receiver frame rate divider transmitter frame rate divider receive control logic transmit control logic tfsl sync type sync type syn=0 syn=1 internal rx frame clock rfsd=1 syn=1 rfsd=0 syn=0 rfsd fsr tfsd fst internal tx frame clock flag1 in (sync mode) flag1out (sync mode)
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-13 10.3.1.5 tccr transmit clock polarity (tckp) - bit 18 the transmitter clock polarity (tckp) bit controls on which bit clock edge data and frame sync are clocked out and latched in. if tckp is cleared the data and the frame sync are clocked out on the rising edge of the transmit bit clock and latched in on the falling edge of the transmit bit clock. if tckp is set the falling edge of the transmit clock is used to clock the data out and frame sync and the rising edge of the transmit clock is used to latch the data and frame sync in. 10.3.1.6 tccr transmit frame sync polarity (tfsp) - bit 19 the transmitter frame sync polarity (tfsp) bit determines the polarity of the transmit frame sync signal. when tfsp is cleared, the frame sync signal polarity is positive (i.e the frame start is indicated by a high level on the frame sync pin). when tfsp is set, the frame sync signal polarity is negative (i.e the frame start is indicated by a low level on the frame sync pin). 10.3.1.7 tccr transmit high frequency clock polarity (thckp) - bit 20 the transmitter high frequency clock polarity (thckp) bit controls on which bit clock edge data and frame sync are clocked out and latched in. if thckp is cleared the data and the frame sync are clocked out on the rising edge of the transmit bit clock and latched in on the falling edge of the transmit bit clock. if thckp is set the falling edge of the transmit clock is used to clock the data out and frame sync and the rising edge of the transmit clock is used to latch the data and frame sync in. 10.3.1.8 tccr transmit clock source direction (tckd) - bit 21 the transmitter clock source direction (tckd) bit selects the source of the clock signal used to clock the transmit shift registers in the asynchronous mode (syn=0) and the transmit shift registers and the receive shift registers in the synchronous mode (syn=1). when tckd is set, the internal clock source becomes the bit clock for the transmit shift registers and word length divider and is the output on the sckt pin. when tckd is cleared, the clock source is external; the internal clock generator is disconnected from the sckt pin, and an external clock source may drive this pin. see table 10-2 . table 10-3 transmitter high frequency clock divider tfp3-tfp0 divide ratio $0 1 $1 2 $2 3 $3 4 ... ... $f 16
enhanced serial audio interface (esai) esai programming model 10-14 dsp56367 24-bit digital signal processor users manual motorola 10.3.1.9 tccr transmit frame sync signal direction (tfsd) - bit 22 tfsd controls the direction of the fst pin. when tfsd is cleared, fst is an input; when tfsd is set, fst is an output. see table 10-2 . 10.3.1.10 tccr transmit high frequency clock direction (thckd) - bit 23 thckd controls the direction of the hckt pin. when thckd is cleared, hckt is an input; when thckd is set, hckt is an output. see table 10-2 . 10.3.2 esai transmit control register (tcr) the read/write transmit control register (tcr) controls the esai transmitter section. interrupt enable bits for the transmitter section are provided in this control register. operating modes are also selected in this register. see figure 10-5 . hardware and software reset clear all the bits in the tcr register. the tcr bits are described in the following paragraphs. 10.3.2.1 tcr esai transmit 0 enable (te0) - bit 0 te0 enables the transfer of data from tx0 to the transmit shift register #0. when te0 is set and a frame sync is detected, the transmit #0 portion of the esai is enabled for that frame. when te0 is cleared, the transmitter #0 is disabled after completing transmission of data currently in the esai transmit shift register. the sdo0 output is tri-stated, and any data present in tx0 is not transmitted (i.e., data can be written to tx0 with te0 cleared; but data is not transferred to the transmit shift register #0). the normal mode transmit enable sequence is to write data to one or more transmit data registers before setting tex. the normal transmit disable sequence is to clear tex, tie and teie after tde equals one. 11109876543210 x:$ffffb5 tsws1 tsws0 tmod1 tmod0 twa tshfd te5 te4 te3 te2 te1 te0 23 22 21 20 19 18 17 16 15 14 13 12 tlie tie tedie teie tpr padc tfsr tfsl tsws4 tsws3 tsws2 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-5 tcr register
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-15 in the network mode, the operation of clearing te0 and setting it again disables the transmitter #0 after completing transmission of the current data word until the beginning of the next frame. during that time period, the sdo0 pin remains in the high-impedance state.the on-demand mode transmit enable sequence can be the same as the normal mode, or te0 can be left enabled. 10.3.2.2 tcr esai transmit 1 enable (te1) - bit 1 te1 enables the transfer of data from tx1 to the transmit shift register #1. when te1 is set and a frame sync is detected, the transmit #1 portion of the esai is enabled for that frame. when te1 is cleared, the transmitter #1 is disabled after completing transmission of data currently in the esai transmit shift register. the sdo1 output is tri-stated, and any data present in tx1 is not transmitted (i.e., data can be written to tx1 with te1 cleared; but data is not transferred to the transmit shift register #1). the normal mode transmit enable sequence is to write data to one or more transmit data registers before setting tex. the normal transmit disable sequence is to clear tex, tie and teie after tde equals one. in the network mode, the operation of clearing te1 and setting it again disables the transmitter #1 after completing transmission of the current data word until the beginning of the next frame. during that time period, the sdo1 pin remains in the high-impedance state. the on-demand mode transmit enable sequence can be the same as the normal mode, or te1 can be left enabled. 10.3.2.3 tcr esai transmit 2 enable (te2) - bit 2 te2 enables the transfer of data from tx2 to the transmit shift register #2. when te2 is set and a frame sync is detected, the transmit #2 portion of the esai is enabled for that frame. when te2 is cleared, the transmitter #2 is disabled after completing transmission of data currently in the esai transmit shift register. data can be written to tx2 when te2 is cleared but the data is not transferred to the transmit shift register #2. the sdo2/sdi3 pin is the data input pin for rx3 if te2 is cleared and re3 in the rcr register is set. if both re3 and te2 are cleared the transmitter and receiver are disabled, and the pin is tri-stated. both re3 and te2 should not be set at the same time. the normal mode transmit enable sequence is to write data to one or more transmit data registers before setting tex. the normal transmit disable sequence is to clear tex, tie and teie after tde equals one. in the network mode, the operation of clearing te2 and setting it again disables the transmitter #2 after completing transmission of the current data word until the beginning of the next frame. during that time period, the sdo2/sdi3 pin remains in the high-impedance state. the on-demand mode transmit enable sequence can be the same as the normal mode, or te2 can be left enabled. 10.3.2.4 tcr esai transmit 3 enable (te3) - bit 3 te3 enables the transfer of data from tx3 to the transmit shift register #3. when te3 is set and a frame sync is detected, the transmit #3 portion of the esai is enabled for that frame. when te3 is cleared, the transmitter #3 is disabled after completing transmission of data currently in the esai transmit shift register. data can be written to tx3 when te3 is cleared but the data is not transferred to the transmit shift register #3. the sdo3/sdi2 pin is the data input pin for rx2 if te3 is cleared and re2 in the rcr register is set. if both re2 and te3 are cleared the transmitter and receiver are disabled, and the pin is tri-stated. both re2 and te3 should not be set at the same time.
enhanced serial audio interface (esai) esai programming model 10-16 dsp56367 24-bit digital signal processor users manual motorola the normal mode transmit enable sequence is to write data to one or more transmit data registers before setting tex. the normal transmit disable sequence is to clear tex, tie and teie after tde equals one. in the network mode, the operation of clearing te3 and setting it again disables the transmitter #3 after completing transmission of the current data word until the beginning of the next frame. during that time period, the sdo3/sdi2 pin remains in the high-impedance state. the on-demand mode transmit enable sequence can be the same as the normal mode, or te3 can be left enabled. 10.3.2.5 tcr esai transmit 4 enable (te4) - bit 4 te4 enables the transfer of data from tx4 to the transmit shift register #4. when te4 is set and a frame sync is detected, the transmit #4 portion of the esai is enabled for that frame. when te4 is cleared, the transmitter #4 is disabled after completing transmission of data currently in the esai transmit shift register. data can be written to tx4 when te4 is cleared but the data is not transferred to the transmit shift register #4. the sdo4/sdi1 pin is the data input pin for rx1 if te4 is cleared and re1 in the rcr register is set. if both re1 and te4 are cleared the transmitter and receiver are disabled, and the pin is tri-stated. both re1 and te4 should not be set at the same time. the normal mode transmit enable sequence is to write data to one or more transmit data registers before setting tex. the normal transmit disable sequence is to clear tex, tie and teie after tde equals one. in the network mode, the operation of clearing te4 and setting it again disables the transmitter #4 after completing transmission of the current data word until the beginning of the next frame. during that time period, the sdo4/sdi1 pin remains in the high-impedance state. the on-demand mode transmit enable sequence can be the same as the normal mode, or te4 can be left enabled. 10.3.2.6 tcr esai transmit 5 enable (te5) - bit 5 te5 enables the transfer of data from tx5 to the transmit shift register #5. when te5 is set and a frame sync is detected, the transmit #5 portion of the esai is enabled for that frame. when te5 is cleared, the transmitter #5 is disabled after completing transmission of data currently in the esai transmit shift register. data can be written to tx5 when te5 is cleared but the data is not transferred to the transmit shift register #5. the sdo5/sdi0 pin is the data input pin for rx0 if te5 is cleared and re0 in the rcr register is set. if both re0 and te5 are cleared the transmitter and receiver are disabled, and the pin is tri-stated. both re0 and te5 should not be set at the same time. the normal mode transmit enable sequence is to write data to one or more transmit data registers before setting tex. the normal transmit disable sequence is to clear tex, tie and teie after tde equals one. in the network mode, the operation of clearing te5 and setting it again disables the transmitter #5 after completing transmission of the current data word until the beginning of the next frame. during that time period, the sdo5/sdi0 pin remains in the high-impedance state. the on-demand mode transmit enable sequence can be the same as the normal mode, or te5 can be left enabled. 10.3.2.7 tcr transmit shift direction (tshfd) - bit 6 the tshfd bit causes the transmit shift registers to shift data out msb first when tshfd equals zero or lsb first when tshfd equals one (see figure 10-13 and figure 10-14 ).
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-17 10.3.2.8 tcr transmit word alignment control (twa) - bit 7 the transmitter word alignment control (twa) bit defines the alignment of the data word in relation to the slot. this is relevant for the cases where the word length is shorter than the slot length. if twa is cleared, the data word is left-aligned in the slot frame during transmission. if twa is set, the data word is right-aligned in the slot frame during transmission. since the data word is shorter than the slot length, the data word is extended until achieving the slot length, according to the following rule: 1. if the data word is left-aligned (twa=0), and zero padding is disabled (padc=0), then the last data bit is repeated after the data word has been transmitted. if zero padding is enabled (padc=1), zeroes are transmitted after the data word has been transmitted. 2. if the data word is right-aligned (twa=1), and zero padding is disabled (padc=0), then the first data bit is repeated before the transmission of the data word. if zero padding is enabled (padc=1), zeroes are transmitted before the transmission of the data word. 10.3.2.9 tcr transmit network mode control (tmod1-tmod0) - bits 8-9 the tmod1 and tmod0 bits are used to define the network mode of esai transmitters according to table 10-4 . in the normal mode, the frame rate divider determines the word transfer rate C one word is transferred per frame sync during the frame sync time slot, as shown in figure 10-6 . in network mode, it is possible to transfer a word for every time slot, as shown in figure 10-6 . for more details, see section 10.4, operating modes . in order to comply with ac-97 specifications, tsws4-tsws0 should be set to 00011 (20-bit slot, 20-bit word length), tfsl and tfsr should be cleared, and tdc4-tdc0 should be set to $0c (13 words in frame). if tmod[1:0]=$11 and the above recommendations are followed, the first slot and word will be 16 bits long, and the next 12 slots and words will be 20 bits long, as required by the ac97 protocol. table 10-4 transmit network mode selection tmod1 tmod0 tdc4-tdc0 transmitter network mode 0 0 $0-$1f normal mode 0 1 $0 on-demand mode 0 1 $1-$1f network mode 1 0 x reserved 11$0cac97
enhanced serial audio interface (esai) esai programming model 10-18 dsp56367 24-bit digital signal processor users manual motorola figure 10-6 normal and network operation normal mode serial frame sync serial data data data transmitter interrupt (or dma request) and flags set receiver interrupt (or dma request) and flags set note: interrupts occur and data is transferred once per frame sync. network mode serial frame sync transmitter interrupts (or dma request) and flags set slot 0 slot 1 slot 2 slot 0 slot 1 serial data receiver interrupt (or dma request) and flags set note: interrupts occur and a word may be transferred at every time slot.
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-19 10.3.2.10 tcr tx slot and word length select (tsws4-tsws0) - bits 10-14 the tsws4-tsws0 bits are used to select the length of the slot and the length of the data words being transferred via the esai. the word length must be equal to or shorter than the slot length. the possible combinations are shown in table 10-5 . see also the esai data path programming model in figure 10-13 and figure 10-14 . table 10-5 esai transmit slot and word length selection tsws4 tsws3 tsws2 tsws1 tsws0 slot length word length 00000 8 8 00100 12 8 00001 12 01000 16 8 00101 12 00010 16 01100 20 8 01001 12 00110 16 00011 20 10000 24 8 01101 12 01010 16 00111 20 11110 24 11000 32 8 10101 12 10010 16 01111 20 11111 24
enhanced serial audio interface (esai) esai programming model 10-20 dsp56367 24-bit digital signal processor users manual motorola 10.3.2.11 tcr transmit frame sync length (tfsl) - bit 15 the tfsl bit selects the length of frame sync to be generated or recognized. if tfsl is cleared, a word-length frame sync is selected. if tfsl is set, a 1-bit clock period frame sync is selected. see figure 10-7 for examples of frame length selection. 01011 reserved 01110 10001 10011 10100 10110 10111 11001 11010 11011 11100 11101 table 10-5 esai transmit slot and word length selection (continued) tsws4 tsws3 tsws2 tsws1 tsws0 slot length word length
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-21 figure 10-7 frame length selection data data serial clock rx, tx frame sync word length: tfsl=0, rfsl=0 rx, tx serial data note: frame sync occurs while data is valid. data data serial clock rx, tx frame sync one bit length: tfsl=1, rfsl=1 rx, tx serial data note: frame sync occurs for one bit time preceding the data. data data serial clock tx frame sync mixed frame length: tfsl=1, rfsl=0 tx serial data rx frame sync data data rx serial data data data serial clock tx frame sync mixed frame length: tfsl=0, rfsl=1 tx serial data rx frame sync data data rx serial data
enhanced serial audio interface (esai) esai programming model 10-22 dsp56367 24-bit digital signal processor users manual motorola 10.3.2.12 tcr transmit frame sync relative timing (tfsr) - bit 16 tfsr determines the relative timing of the transmit frame sync signal as referred to the serial data lines, for a word length frame sync only (tfsl=0). when tfsr is cleared the word length frame sync occurs together with the first bit of the data word of the first slot. when tfsr is set the word length frame sync starts one serial clock cycle earlier (i.e together with the last bit of the previous data word). 10.3.2.13 tcr transmit zero padding control (padc) - bit 17 when padc is cleared, zero padding is disabled. when padc is set, zero padding is enabled. padc, in conjunction with the twa control bit, determines the way that padding is done for operating modes where the word length is less than the slot length. see the twa bit description in section 10.3.2.8, tcr transmit word alignment control (twa) - bit 7 for more details. since the data word is shorter than the slot length, the data word is extended until achieving the slot length, according to the following rule: 1. if the data word is left-aligned (twa=0), and zero padding is disabled (padc=0), then the last data bit is repeated after the data word has been transmitted. if zero padding is enabled (padc=1), zeroes are transmitted after the data word has been transmitted. 2. if the data word is right-aligned (twa=1), and zero padding is disabled (padc=0), then the first data bit is repeated before the transmission of the data word. if zero padding is enabled (padc=1), zeroes are transmitted before the transmission of the data word. 10.3.2.14 tcr reserved bit - bits 18 this bit is reserved. it reads as zero, and it should be written with zero for future compatibility. 10.3.2.15 tcr transmit section personal reset (tpr) - bit 19 the tpr control bit is used to put the transmitter section of the esai in the personal reset state. the receiver section is not affected. when tpr is cleared, the transmitter section may operate normally. when tpr is set, the transmitter section enters the personal reset state immediately. when in the personal reset state, the status bits are reset to the same state as after hardware reset. the control bits are not affected by the personal reset state. the transmitter data pins are tri-stated while in the personal reset state; if a stable logic level is desired, the transmitter data pins should be defined as gpio outputs, or external pull-up or pull-down resistors should be used. the transmitter clock outputs drive zeroes while in the personal reset state. note that to leave the personal reset state by clearing tpr, the procedure described in section 10.6, esai initialization examples should be followed. 10.3.2.16 tcr transmit exception interrupt enable (teie) - bit 20 when teie is set, the dsp is interrupted when both tde and tue in the saisr status register are set. when teie is cleared, this interrupt is disabled. reading the saisr status register followed by writing to all the data registers of the enabled transmitters clears tue, thus clearing the pending interrupt.
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-23 10.3.2.17 tcr transmit even slot data interrupt enable (tedie) - bit 21 the tedie control bit is used to enable the transmit even slot data interrupts. if tedie is set, the transmit even slot data interrupts are enabled. if tedie is cleared, the transmit even slot data interrupts are disabled. a transmit even slot data interrupt request is generated if tedie is set and the tede status flag in the saisr status register is set. even time slots are all even-numbered time slots (0, 2, 4, etc.) when operating in network mode. the zero time slot in the frame is marked by the frame sync signal and is considered to be even. writing data to all the data registers of the enabled transmitters or to tsr clears the tede flag, thus servicing the interrupt. transmit interrupts with exception have higher priority than transmit even slot data interrupts, therefore if exception occurs (tue is set) and teie is set, the esai requests an esai transmit data with exception interrupt from the interrupt controller. 10.3.2.18 tcr transmit interrupt enable (tie) - bit 22 the dsp is interrupted when tie and the tde flag in the saisr status register are set. when tie is cleared, this interrupt is disabled. writing data to all the data registers of the enabled transmitters or to tsr clears tde, thus clearing the interrupt. transmit interrupts with exception have higher priority than normal transmit data interrupts, therefore if exception occurs (tue is set) and teie is set, the esai requests an esai transmit data with exception interrupt from the interrupt controller. 10.3.2.19 tcr transmit last slot interrupt enable (tlie) - bit 23 tlie enables an interrupt at the beginning of last slot of a frame in network mode. when tlie is set the dsp is interrupted at the start of the last slot in a frame in network mode regardless of the transmit mask register setting. when tlie is cleared the transmit last slot interrupt is disabled. tlie is disabled when tdc[4:0]=$00000 (on-demand mode). the use of the transmit last slot interrupt is described in section 10.4.3, esai interrupt requests . 10.3.3 esai receive clock control register (rccr) the read/write receive clock control register (rccr) controls the esai receiver clock generator bit and frame sync rates, word length, and number of words per frame for the serial data. the rccr control bits are described in the following paragraphs (see figure 10-8 ).
enhanced serial audio interface (esai) esai programming model 10-24 dsp56367 24-bit digital signal processor users manual motorola hardware and software reset clear all the bits of the rccr register. 10.3.3.1 rccr receiver prescale modulus select (rpm7Crpm0) - bits 7C0 the rpm7Crpm0 bits specify the divide ratio of the prescale divider in the esai receiver clock generator. a divide ratio from 1 to 256 (rpm[7:0]=$00 to $ff) may be selected. the bit clock output is available at the receiver serial bit clock (sckr) pin of the dsp. the bit clock output is also available internally for use as the bit clock to shift the receive shift registers. the esai receive clock generator functional diagram is shown in figure 10-3 . 10.3.3.2 rccr receiver prescaler range (rpsr) - bit 8 the rpsr controls a fixed divide-by-eight prescaler in series with the variable prescaler. this bit is used to extend the range of the prescaler for those cases where a slower bit clock is desired. when rpsr is set, the fixed prescaler is bypassed. when rpsr is cleared, the fixed divide-by-eight prescaler is operational (see figure 10-3 ). the maximum internally generated bit clock frequency is fosc/4, the minimum internally generated bit clock frequency is fosc/(2 x 8 x 256)=fosc/4096. note: do not use the combination rpsr=1 and rpm7-rpm0=$00, which causes synchronization problems when using the internal dsp clock as source (rhckd=1 or rckd=1). 10.3.3.3 rccr rx frame rate divider control (rdc4Crdc0) - bits 9C13 the rdc4Crdc0 bits control the divide ratio for the programmable frame rate dividers used to generate the receiver frame clocks. in network mode, this ratio may be interpreted as the number of words per frame minus one. the divide ratio may range from 2 to 32 (rdc[4:0]=00001 to 11111) for network mode. a divide ratio of one (rdc[4:0]=00000) in network mode is a special case (on-demand mode). in normal mode, this ratio determines the word transfer rate. the divide ratio may range from 1 to 32 (rdc[4:0]=00000 to 11111) for normal mode. in normal mode, a divide ratio of one (rdc[4:0]=00000) provides continuous periodic data word transfers. a bit-length frame sync (rfsl=1) must be used in this case . the esai frame sync generator functional diagram is shown in figure 10-4 . 11109876543210 x:$ffffb8 rdc2 rdc1 rdc0 rpsr rpm7 rpm6 rpm5 rpm4 rpm3 rpm2 rpm1 rpm0 23 22 21 20 19 18 17 16 15 14 13 12 rhckd rfsd rckd rhckp rfsp rckp rfp3 rfp2 rfp1 rfp0 rdc4 rdc3 figure 10-8 rccr register
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-25 10.3.3.4 rccr rx high frequency clock divider (rfp3-rfp0) - bits 14-17 the rfp3Crfp0 bits control the divide ratio of the receiver high frequency clock to the receiver serial bit clock when the source of the receiver high frequency clock and the bit clock is the internal dsp clock. when the hckr input is being driven from an external high frequency clock, the rfp3-rfp0 bits specify an additional division ration in the clock divider chain. see table 10-6 for the specification of the divide ratio. the esai high frequency generator functional diagram is shown in figure 10-3 . 10.3.3.5 rccr receiver clock polarity (rckp) - bit 18 the receiver clock polarity (rckp) bit controls on which bit clock edge data and frame sync are clocked out and latched in. if rckp is cleared the data and the frame sync are clocked out on the rising edge of the receive bit clock and the frame sync is latched in on the falling edge of the receive bit clock. if rckp is set the falling edge of the receive clock is used to clock the data and frame sync out and the rising edge of the receive clock is used to latch the frame sync in. 10.3.3.6 rccr receiver frame sync polarity (rfsp) - bit 19 the receiver frame sync polarity (rfsp) determines the polarity of the receive frame sync signal. when rfsp is cleared the frame sync signal polarity is positive (i.e the frame start is indicated by a high level on the frame sync pin). when rfsp is set the frame sync signal polarity is negative (i.e the frame start is indicated by a low level on the frame sync pin). 10.3.3.7 rccr receiver high frequency clock polarity (rhckp) - bit 20 the receiver high frequency clock polarity (rhckp) bit controls on which bit clock edge data and frame sync are clocked out and latched in. if rhckp is cleared the data and the frame sync are clocked out on the rising edge of the receive bit clock and the frame sync is latched in on the falling edge of the receive bit clock. if rhckp is set the falling edge of the receive clock is used to clock the data and frame sync out and the rising edge of the receive clock is used to latch the frame sync in. table 10-6 receiver high frequency clock divider rfp3-rfp0 divide ratio $0 1 $1 2 $2 3 $3 4 ... ... $f 16
enhanced serial audio interface (esai) esai programming model 10-26 dsp56367 24-bit digital signal processor users manual motorola 10.3.3.8 rccr receiver clock source direction (rckd) - bit 21 the receiver clock source direction (rckd) bit selects the source of the clock signal used to clock the receive shift register in the asynchronous mode (syn=0) and the if0/of0 flag direction in the synchronous mode (syn=1). in the asynchronous mode when rckd is set, the internal clock source becomes the bit clock for the receive shift registers and word length divider, and is the output on the sckr pin. in the asynchronous mode when rckd is cleared, the clock source is external; the internal clock generator is disconnected from the sckr pin, and an external clock source may drive this pin. in the synchronous mode when rckd is set, the sckr pin becomes the of0 output flag. if rckd is cleared, then the sckr pin becomes the if0 input flag. see table 10-1 and table 10-7 . 10.3.3.9 rccr receiver frame sync signal direction (rfsd) - bit 22 the receiver frame sync signal direction (rfsd) bit selects the source of the receiver frame sync signal when in the asynchronous mode (syn=0), and the if1/of1/transmitter buffer enable flag direction in the synchronous mode (syn=1). in the asynchronous mode when rfsd is set, the internal clock generator becomes the source of the receiver frame sync, and is the output on the fsr pin. in the asynchronous mode when rfsd is cleared, the receiver frame sync source is external; the internal clock generator is disconnected from the fsr pin, and an external clock source may drive this pin. in the synchronous mode when rfsd is set, the fsr pin becomes the of1 output flag or the transmitter buffer enable, according to the tebe control bit. if rfsd is cleared, then the fsr pin becomes the if1 input flag. see table 10-1 and table 10-8 . table 10-7 sckr pin definition table control bits sckr pin syn rckd 0 0 sckr input 0 1 sckr output 10if0 11of0
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-27 10.3.3.10 rccr receiver high frequency clock direction (rhckd) - bit 23 the receiver high frequency clock direction (rhckd) bit selects the source of the receiver high frequency clock when in the asynchronous mode (syn=0), and the if2/of2 flag direction in the synchronous mode (syn=1). in the asynchronous mode when rhckd is set, the internal clock generator becomes the source of the receiver high frequency clock, and is the output on the hckr pin. in the asynchronous mode when rhckd is cleared, the receiver high frequency clock source is external; the internal clock generator is disconnected from the hckr pin, and an external clock source may drive this pin. when rhckd is cleared, hckr is an input; when rhckd is set, hckr is an output. in the synchronous mode when rhckd is set, the hckr pin becomes the of2 output flag. if rhckd is cleared, then the hckr pin becomes the if2 input flag. see table 10-1 and table 10-9 . table 10-8 fsr pin definition table control bits fsr pin syn tebe rfsd 0 x 0 fsr input 0 x 1 fsr output 100 if1 101 of1 110reserved 111transmitter buffer enable table 10-9 hckr pin definition table control bits hckr pin syn rhckd 0 0 hckr input 0 1 hckr output 10 if2 11 of2
enhanced serial audio interface (esai) esai programming model 10-28 dsp56367 24-bit digital signal processor users manual motorola 10.3.4 esai receive control register (rcr) the read/write receive control register (rcr) controls the esai receiver section. interrupt enable bits for the receivers are provided in this control register. the receivers are enabled in this register (0,1,2 or 3 receivers can be enabled) if the input data pin is not used by a transmitter. operating modes are also selected in this register. hardware and software reset clear all the bits in the rcr register. the esai rcr bits are described in the following paragraphs. 10.3.4.1 rcr esai receiver 0 enable (re0) - bit 0 when re0 is set and te5 is cleared, the esai receiver 0 is enabled and samples data at the sdo5/sdi0 pin. tx5 and rx0 should not be enabled at the same time (re0=1 and te5=1). when re0 is cleared, receiver 0 is disabled by inhibiting data transfer into rx0. if this bit is cleared while receiving a data word, the remainder of the word is shifted in and transferred to the rx0 data register. if re0 is set while some of the other receivers are already in operation, the first data word received in rx0 will be invalid and must be discarded. 10.3.4.2 rcr esai receiver 1 enable (re1) - bit 1 when re1 is set and te4 is cleared, the esai receiver 1 is enabled and samples data at the sdo4/sdi1 pin. tx4 and rx1 should not be enabled at the same time (re1=1 and te4=1). when re1 is cleared, receiver 1 is disabled by inhibiting data transfer into rx1. if this bit is cleared while receiving a data word, the remainder of the word is shifted in and transferred to the rx1 data register. if re1 is set while some of the other receivers are already in operation, the first data word received in rx1 will be invalid and must be discarded. 11109876543210 x:$ffffb7 rsws1 rsws0 rmod1 rmod0 rwa rshfd re3 re2 re1 re0 23 22 21 20 19 18 17 16 15 14 13 12 rlie rie redie reie rpr rfsr rfsl rsws4 rsws3 rsws2 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-9 rcr register
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-29 10.3.4.3 rcr esai receiver 2 enable (re2) - bit 2 when re2 is set and te3 is cleared, the esai receiver 2 is enabled and samples data at the sdo3/sdi2 pin. tx3 and rx2 should not be enabled at the same time (re2=1 and te3=1). when re2 is cleared, receiver 2 is disabled by inhibiting data transfer into rx2. if this bit is cleared while receiving a data word, the remainder of the word is shifted in and transferred to the rx2 data register. if re2 is set while some of the other receivers are already in operation, the first data word received in rx2 will be invalid and must be discarded. 10.3.4.4 rcr esai receiver 3 enable (re3) - bit 3 when re3 is set and te2 is cleared, the esai receiver 3 is enabled and samples data at the sdo2/sdi3 pin. tx2 and rx3 should not be enabled at the same time (re3=1 and te2=1). when re3 is cleared, receiver 3 is disabled by inhibiting data transfer into rx3. if this bit is cleared while receiving a data word, the remainder of the word is shifted in and transferred to the rx3 data register. if re3 is set while some of the other receivers are already in operation, the first data word received in rx3 will be invalid and must be discarded. 10.3.4.5 rcr reserved bits - bits 4-5, 17-18 these bits are reserved. they read as zero, and they should be written with zero for future compatibility. 10.3.4.6 rcr receiver shift direction (rshfd) - bit 6 the rshfd bit causes the receiver shift registers to shift data in msb first when rshfd is cleared or lsb first when rshfd is set (see figure 10-13 and figure 10-14 ). 10.3.4.7 rcr receiver word alignment control (rwa) - bit 7 the receiver word alignment control (rwa) bit defines the alignment of the data word in relation to the slot. this is relevant for the cases where the word length is shorter than the slot length. if rwa is cleared, the data word is assumed to be left-aligned in the slot frame. if rwa is set, the data word is assumed to be right-aligned in the slot frame. if the data word is shorter than the slot length, the data bits which are not in the data word field are ignored. for data word lengths of less than 24 bits, the data word is right-extended with zeroes before being stored in the receive data registers. 10.3.4.8 rcr receiver network mode control (rmod1-rmod0) - bits 8-9 the rmod1 and rmod0 bits are used to define the network mode of the esai receivers according to table 10-10 . in the normal mode, the frame rate divider determines the word transfer rate C one word is transferred per frame sync during the frame sync time slot, as shown in figure 10-6 . in network mode, it is
enhanced serial audio interface (esai) esai programming model 10-30 dsp56367 24-bit digital signal processor users manual motorola possible to transfer a word for every time slot, as shown in figure 10-6 . for more details, see section 10.4, operating modes . in order to comply with ac-97 specifications, rsws4-rsws0 should be set to 00011 (20-bit slot, 20-bit word), rfsl and rfsr should be cleared, and rdc4-rdc0 should be set to $0c (13 words in frame). 10.3.4.9 rcr receiver slot and word select (rsws4-rsws0) - bits 10-14 the rsws4-rsws0 bits are used to select the length of the slot and the length of the data words being received via the esai. the word length must be equal to or shorter than the slot length. the possible combinations are shown in table 10-11 . see also the esai data path programming model in figure 10-13 and figure 10-14 . table 10-10 esai receive network mode selection rmod1 rmod0 rdc4-rd c0 receiver network mode 0 0 $0-$1f normal mode 0 1 $0 on-demand mode 0 1 $1-$1f network mode 1 0 x reserved 11$0c ac97 table 10-11 esai receive slot and word length selection rsws4 rsws3 rsws2 rsws1 rsws0 slot length word length 00000 8 8 00100 12 8 00001 12 01000 16 8 00101 12 00010 16 01100 20 8 01001 12 00110 16 00011 20
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-31 10.3.4.10 rcr receiver frame sync length (rfsl) - bit 15 the rfsl bit selects the length of the receive frame sync to be generated or recognized. if rfsl is cleared, a word-length frame sync is selected. if rfsl is set, a 1-bit clock period frame sync is selected. see figure 10-7 for examples of frame length selection. 10.3.4.11 rcr receiver frame sync relative timing (rfsr) - bit 16 rfsr determines the relative timing of the receive frame sync signal as referred to the serial data lines, for a word length frame sync only. when rfsr is cleared the word length frame sync occurs together with the first bit of the data word of the first slot. when rfsr is set the word length frame sync starts one serial clock cycle earlier (i.e. together with the last bit of the previous data word). 10000 24 8 01101 12 01010 16 00111 20 11110 24 11000 32 8 10101 12 10010 16 01111 20 11111 24 01011 reserved 01110 10001 10011 10100 10110 10111 11001 11010 11011 11100 11101 table 10-11 esai receive slot and word length selection (continued) rsws4 rsws3 rsws2 rsws1 rsws0 slot length word length
enhanced serial audio interface (esai) esai programming model 10-32 dsp56367 24-bit digital signal processor users manual motorola 10.3.4.12 rcr receiver section personal reset (rpr) - bit 19 the rpr control bit is used to put the receiver section of the esai in the personal reset state. the transmitter section is not affected. when rpr is cleared, the receiver section may operate normally. when rpr is set, the receiver section enters the personal reset state immediately. when in the personal reset state, the status bits are reset to the same state as after hardware reset.the control bits are not affected by the personal reset state.the receiver data pins are disconnected while in the personal reset state. note that to leave the personal reset state by clearing rpr, the procedure described in section 10.6, esai initialization examples should be followed. 10.3.4.13 rcr receive exception interrupt enable (reie) - bit 20 when reie is set, the dsp is interrupted when both rdf and roe in the saisr status register are set. when reie is cleared, this interrupt is disabled. reading the saisr status register followed by reading the enabled receivers data registers clears roe, thus clearing the pending interrupt. 10.3.4.14 rcr receive even slot data interrupt enable (redie) - bit 21 the redie control bit is used to enable the receive even slot data interrupts. if redie is set, the receive even slot data interrupts are enabled. if redie is cleared, the receive even slot data interrupts are disabled. a receive even slot data interrupt request is generated if redie is set and the redf status flag in the saisr status register is set. even time slots are all even-numbered time slots (0, 2, 4, etc.) when operating in network mode. the zero time slot is marked by the frame sync signal and is considered to be even. reading all the data registers of the enabled receivers clears the redf flag, thus servicing the interrupt. receive interrupts with exception have higher priority than receive even slot data interrupts, therefore if exception occurs (roe is set) and reie is set, the esai requests an esai receive data with exception interrupt from the interrupt controller. 10.3.4.15 rcr receive interrupt enable (rie) - bit 22 the dsp is interrupted when rie and the rdf flag in the saisr status register are set. when rie is cleared, this interrupt is disabled. reading the receive data registers of the enabled receivers clears rdf, thus clearing the interrupt. receive interrupts with exception have higher priority than normal receive data interrupts, therefore if exception occurs (roe is set) and reie is set, the esai requests an esai receive data with exception interrupt from the interrupt controller. 10.3.4.16 rcr receive last slot interrupt enable (rlie) - bit 23 rlie enables an interrupt after the last slot of a frame ended in network mode only. when rlie is set the dsp is interrupted after the last slot in a frame ended regardless of the receive mask register setting. when rlie is cleared the receive last slot interrupt is disabled. hardware and software reset clear rlie. rlie is disabled when rdc[4:0]=00000 (on-demand mode). the use of the receive last slot interrupt is described in section 10.4.3, esai interrupt requests .
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-33 10.3.5 esai common control register (saicr) the read/write common control register (saicr) contains control bits for functions that affect both the receive and transmit sections of the esai see figure 10-10 . . hardware and software reset clear all the bits in the saicr register. 10.3.5.1 saicr serial output flag 0 (of0) - bit 0 the serial output flag 0 (of0) is a data bit used to hold data to be send to the of0 pin. when the esai is in the synchronous clock mode (syn=1), the sckr pin is configured as the esai flag 0. if the receiver serial clock direction bit (rckd) is set, the sckr pin is the output flag of0, and data present in the of0 bit is written to the of0 pin at the beginning of the frame in normal mode or at the beginning of the next time slot in network mode. 10.3.5.2 saicr serial output flag 1 (of1) - bit 1 the serial output flag 1 (of1) is a data bit used to hold data to be send to the of1 pin. when the esai is in the synchronous clock mode (syn=1), the fsr pin is configured as the esai flag 1. if the receiver frame sync direction bit (rfsd) is set and the tebe bit is cleared, the fsr pin is the output flag of1, and data present in the of1 bit is written to the of1 pin at the beginning of the frame in normal mode or at the beginning of the next time slot in network mode. 10.3.5.3 saicr serial output flag 2 (of2) - bit 2 the serial output flag 2 (of2) is a data bit used to hold data to be send to the of2 pin. when the esai is in the synchronous clock mode (syn=1), the hckr pin is configured as the esai flag 2. if the receiver high frequency clock direction bit (rhckd) is set, the hckr pin is the output flag of2, and data present in the of2 bit is written to the of2 pin at the beginning of the frame in normal mode or at the beginning of the next time slot in network mode. 11109876543210 x:$ffffb4 alc tebe syn of2 of1 of0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-10 saicr register
enhanced serial audio interface (esai) esai programming model 10-34 dsp56367 24-bit digital signal processor users manual motorola 10.3.5.4 saicr reserved bits - bits 3-5, 9-23 these bits are reserved. they read as zero, and they should be written with zero for future compatibility. 10.3.5.5 saicr synchronous mode selection (syn) - bit 6 the synchronous mode selection (syn) bit controls whether the receiver and transmitter sections of the esai operate synchronously or asynchronously with respect to each other (see figure 10-11 ). when syn is cleared, the asynchronous mode is chosen and independent clock and frame sync signals are used for the transmit and receive sections. when syn is set, the synchronous mode is chosen and the transmit and receive sections use common clock and frame sync signals. when in the synchronous mode (syn=1), the transmit and receive sections use the transmitter section clock generator as the source of the clock and frame sync for both sections. also, the receiver clock pins sckr, fsr and hckr now operate as i/o flags. see table 10-7 , table 10-8 and table 10-9 for the effects of syn on the receiver clock pins. 10.3.5.6 saicr transmit external buffer enable (tebe) - bit 7 the transmitter external buffer enable (tebe) bit controls the function of the fsr pin when in the synchronous mode. if the esai is configured for operation in the synchronous mode (syn=1), and tebe is set while fsr pin is configured as an output (rfsd=1), the fsr pin functions as the transmitter external buffer enable control, to enable the use of an external buffers on the transmitter outputs. if tebe is cleared then the fsr pin functions as the serial i/o flag 1. see table 10-8 for a summary of the effects of tebe on the fsr pin. 10.3.5.7 saicr alignment control (alc) - bit 8 the esai is designed for 24-bit fractional data, thus shorter data words are left aligned to the msb (bit 23). some applications use 16-bit fractional data. in those cases, shorter data words may be left aligned to bit 15. the alignment control (alc) bit supports these applications. if alc is set, transmitted and received words are left aligned to bit 15 in the transmit and receive shift registers. if alc is cleared, transmitted and received word are left aligned to bit 23 in the transmit and receive shift registers. note: while alc is set, 20-bit and 24-bit words may not be used, and word length control should specify 8-, 12- or 16-bit words, otherwise results are unpredictable.
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-35 figure 10-11 saicr syn bit operation external frame sync fsr asynchronous (syn=0) transmitter clock frame sync receiver clock frame sync sdi sdo fst external transmit frame sync external receive frame sync internal frame sync sckr sckt external transmit clock external receive clock internal clock esai bit clock note: transmitter and receiver may have different clocks and frame syncs. synchronous (syn=1) transmitter clock frame sync receiver clock frame sync sdi sdo fst internal frame sync sckt external clock internal clock esai bit clock note: transmitter and receiver have the same clocks and frame syncs.
enhanced serial audio interface (esai) esai programming model 10-36 dsp56367 24-bit digital signal processor users manual motorola 10.3.6 esai status register (saisr) the status register (saisr) is a read-only status register used by the dsp to read the status and serial input flags of the esai. see figure 10-12 . the status bits are described in the following paragraphs. 10.3.6.1 saisr serial input flag 0 (if0) - bit 0 the if0 bit is enabled only when the sckr pin is defined as esai in the port control register, syn=1 and rckd=0, indicating that sckr is an input flag and the synchronous mode is selected. data present on the sckr pin is latched during reception of the first received data bit after frame sync is detected. the if0 bit is updated with this data when the receiver shift registers are transferred into the receiver data registers. if0 reads as a zero when it is not enabled. hardware, software, esai individual, and stop reset clear if0. 10.3.6.2 saisr serial input flag 1 (if1) - bit 1 the if1 bit is enabled only when the fsr pin is defined as esai in the port control register, syn =1, rfsd=0 and tebe=0, indicating that fsr is an input flag and the synchronous mode is selected. data present on the fsr pin is latched during reception of the first received data bit after frame sync is detected. the if1 bit is updated with this data when the receiver shift registers are transferred into the receiver data registers. if1 reads as a zero when it is not enabled. hardware, software, esai individual, and stop reset clear if1. 10.3.6.3 saisr serial input flag 2 (if2) - bit 2 the if2 bit is enabled only when the hckr pin is defined as esai in the port control register, syn=1 and rhckd=0, indicating that hckr is an input flag and the synchronous mode is selected. data present on the hckr pin is latched during reception of the first received data bit after frame sync is detected. the if2 bit is updated with this data when the receive shift registers are transferred into the receiver data registers. if2 reads as a zero when it is not enabled. hardware, software, esai individual, and stop reset clear if2. 11109876543210 x:$ffffb3 rodf redf rdf roe rfs if2 if1 if0 23 22 21 20 19 18 17 16 15 14 13 12 tode tede tde tue tfs reserved bit - read as zero; should be written with zero for future compatibility. figure 10-12 saisr register
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-37 10.3.6.4 saisr reserved bits - bits 3-5, 11-12, 18-23 these bits are reserved for future use. they read as zero. 10.3.6.5 saisr receive frame sync flag (rfs) - bit 6 when set, rfs indicates that a receive frame sync occurred during reception of the words in the receiver data registers. this indicates that the data words are from the first slot in the frame. when rfs is clear and a word is received, it indicates (only in the network mode) that the frame sync did not occur during reception of that word. rfs is cleared by hardware, software, esai individual, or stop reset. rfs is valid only if at least one of the receivers is enabled (rex=1). note: in normal mode, rfs always reads as a one when reading data because there is only one time slot per frame C the frame sync time slot. 10.3.6.6 saisr receiver overrun error flag (roe) - bit 7 the roe flag is set when the serial receive shift register of an enabled receiver is full and ready to transfer to its receiver data register (rxx) and the register is already full (rdf=1). if reie is set, an esai receive data with exception (overrun error) interrupt request is issued when roe is set. hardware, software, esai individual, and stop reset clear roe. roe is also cleared by reading the saisr with roe set, followed by reading all the enabled receive data registers. 10.3.6.7 saisr receive data register full (rdf) - bit 8 rdf is set when the contents of the receive shift register of an enabled receiver is transferred to the respective receive data register. rdf is cleared when the dsp reads the receive data register of all enabled receivers or cleared by hardware, software, esai individual, or stop reset. if rie is set, an esai receive data interrupt request is issued when rdf is set. 10.3.6.8 saisr receive even-data register full (redf) - bit 9 when set, redf indicates that the received data in the receive data registers of the enabled receivers have arrived during an even time slot when operating in the network mode. even time slots are all even-numbered slots (0, 2, 4, 6, etc.). time slots are numbered from zero to n-1, where n is the number of time slots in the frame. the zero time slot is considered even. redf is set when the contents of the receive shift registers are transferred to the receive data registers. redf is cleared when the dsp reads all the enabled receive data registers or cleared by hardware, software, esai individual, or stop resets. if redie is set, an esai receive even slot data interrupt request is issued when redf is set. 10.3.6.9 saisr receive odd-data register full (rodf) - bit 10 when set, rodf indicates that the received data in the receive data registers of the enabled receivers have arrived during an odd time slot when operating in the network mode. odd time slots are all odd-numbered slots (1, 3, 5, etc.). time slots are numbered from zero to n-1, where n is the number of time slots in the frame. rodf is set when the contents of the receive shift registers are transferred to the
enhanced serial audio interface (esai) esai programming model 10-38 dsp56367 24-bit digital signal processor users manual motorola receive data registers. rodf is cleared when the dsp reads all the enabled receive data registers or cleared by hardware, software, esai individual, or stop resets. 10.3.6.10 saisr transmit frame sync flag (tfs) - bit 13 when set, tfs indicates that a transmit frame sync occurred in the current time slot. tfs is set at the start of the first time slot in the frame and cleared during all other time slots. data written to a transmit data register during the time slot when tfs is set is transmitted (in network mode), if the transmitter is enabled, during the second time slot in the frame. tfs is useful in network mode to identify the start of a frame. tfs is cleared by hardware, software, esai individual, or stop reset. tfs is valid only if at least one transmitter is enabled (i.e. one or more of te0, te1, te2, te3, te4 and te5 are set). note: in normal mode, tfs always reads as a one when transmitting data because there is only one time slot per frame C the frame sync time slot. 10.3.6.11 saisr transmit underrun error flag (tue) - bit 14 tue is set when at least one of the enabled serial transmit shift registers is empty (no new data to be transmitted) and a transmit time slot occurs. when a transmit underrun error occurs, the previous data (which is still present in the tx registers that were not written) is retransmitted. if teie is set, an esai transmit data with exception (underrun error) interrupt request is issued when tue is set. hardware, software, esai individual, and stop reset clear tue. tue is also cleared by reading the saisr with tue set, followed by writing to all the enabled transmit data registers or to tsr. 10.3.6.12 saisr transmit data register empty (tde) - bit 15 tde is set when the contents of the transmit data register of all the enabled transmitters are transferred to the transmit shift registers; it is also set for a tsr disabled time slot period in network mode (as if data were being transmitted after the tsr was written). when set, tde indicates that data should be written to all the tx registers of the enabled transmitters or to the time slot register (tsr). tde is cleared when the dsp writes to all the transmit data registers of the enabled transmitters, or when the dsp writes to the tsr to disable transmission of the next time slot. if tie is set, an esai transmit data interrupt request is issued when tde is set. hardware, software, esai individual, and stop reset clear tde. 10.3.6.13 saisr transmit even-data register empty (tede) - bit 16 when set, tede indicates that the enabled transmitter data registers became empty at the beginning of an even time slot. even time slots are all even-numbered slots (0, 2, 4, 6, etc.). time slots are numbered from zero to n-1, where n is the number of time slots in the frame. the zero time slot is considered even. this flag is set when the contents of the transmit data register of all the enabled transmitters are transferred to the transmit shift registers; it is also set for a tsr disabled time slot period in network mode (as if data were being transmitted after the tsr was written). when set, tede indicates that data should be written to all the tx registers of the enabled transmitters or to the time slot register (tsr). tede is cleared when the dsp writes to all the transmit data registers of the enabled transmitters, or when the dsp writes to the tsr to disable transmission of the next time slot. if tie is set, an esai transmit data interrupt request is issued when tede is set. hardware, software, esai individual, and stop reset clear tede.
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-39 10.3.6.14 saisr transmit odd-data register empty (tode) - bit 17 when set, tode indicates that the enabled transmitter data registers became empty at the beginning of an odd time slot. odd time slots are all odd-numbered slots (1, 3, 5, etc.). time slots are numbered from zero to n-1, where n is the number of time slots in the frame. this flag is set when the contents of the transmit data register of all the enabled transmitters are transferred to the transmit shift registers; it is also set for a tsr disabled time slot period in network mode (as if data were being transmitted after the tsr was written). when set, tode indicates that data should be written to all the tx registers of the enabled transmitters or to the time slot register (tsr). tode is cleared when the dsp writes to all the transmit data registers of the enabled transmitters, or when the dsp writes to the tsr to disable transmission of the next time slot. if tie is set, an esai transmit data interrupt request is issued when tode is set. hardware, software, esai individual, and stop reset clear tode.
enhanced serial audio interface (esai) esai programming model 10-40 dsp56367 24-bit digital signal processor users manual motorola figure 10-13 esai data path programming model ([r/t]shfd=0) sdi 23 16 15 8 7 0 707070 receive high byte receive middle byte receive low byte esai receive data register (read only) serial receive shift register 23 16 15 8 7 0 707070 receive high byte receive middle byte receive low byte 24 bit rsws4- rsws0 notes: 1. data is received msb first if rshfd=0. 2. 24-bit fractional format (alc=0). 3. 32-bit mode is not shown. 16 bit 12 bit 8 bit (a) receive registers sdo 23 16 15 8 7 0 707070 transmit high byte transmit middle byte transmit low byte esai transmit data register (write only) esai transmit shift register 23 16 15 8 7 0 707070 transmit high byte transmit middle byte transmit low byte notes: 1. data is sent msb first if tshfd=0. 2. 24-bit fractional format (alc=0). 3. 32-bit mode is not shown. 4. data word is left-aligned (twa=0,padc=0). (b) transmit registers 24-bit data 0 0 16-bit data 12-bit data 8-bit data lsb lsb lsb lsb msb msb msb msb least significant zero fill 0 0 20-bit data lsb msb 20 bit 24-bit data * * 16-bit data 12-bit data 8-bit data lsb lsb lsb lsb msb msb msb msb * - least significant bit fill * * 20-bit data lsb msb
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-41 figure 10-14 esai data path programming model ([r/t]shfd=1) sdi 23 16 15 8 7 0 707070 receive high byte receive middle byte receive low byte esai receive data register (read only) esai receive shift register 23 16 15 8 7 0 707070 receive high byte receive middle byte receive low byte 24-bit data 0 0 16-bit data 12-bit data 8-bit data lsb lsb lsb lsb msb msb msb msb least significant zero fill notes: 1. data is received lsb first if rshfd=1. 2. 24-bit fractional format (alc=0). 3. 32-bit mode is not shown. (a) receive registers sdo 23 16 15 8 7 0 707070 transmit high byte transmit middle byte transmit low byte esai transmit data register (write only) esai transmit shift register 23 16 15 8 7 0 707070 transmit high byte transmit middle byte transmit low byte 24 bit tsws4- tsws0 24-bit data 0 0 16-bit data 12-bit data 8-bit data lsb lsb lsb lsb msb msb msb msb notes: 1. data is sent lsb first if tshfd=1. 2. 24-bit fractional format (alc=0). 3. 32-bit mode is not shown. 4. data word is left aligned (twa=0,padc=1). 16 bit 12 bit 8 bit (b) transmit registers 0 0 20-bit data lsb msb 20 bit lsb msb 20-bit data 0 0
enhanced serial audio interface (esai) esai programming model 10-42 dsp56367 24-bit digital signal processor users manual motorola 10.3.7 esai receive shift registers the receive shift registers (see figure 10-13 and figure 10-14 ) receive the incoming data from the serial receive data pins. data is shifted in by the selected (internal/external) bit clock when the associated frame sync i/o is asserted. data is assumed to be received msb first if rshfd=0 and lsb first if rshfd=1. data is transferred to the esai receive data registers after 8, 12, 16, 20, 24, or 32 serial clock cycles were counted, depending on the slot length control bits in the rcr register. 10.3.8 esai receive data registers (rx3, rx2, rx1, rx0) rx3, rx2, rx1 and rx0 are 24-bit read-only registers that accept data from the receive shift registers when they become full (see figure 10-13 and figure 10-14 ). the data occupies the most significant portion of the receive data registers, according to the alc control bit setting. the unused bits (least significant portion, and 8 most significant bits when alc=1) read as zeros. the dsp is interrupted whenever rxx becomes full if the associated interrupt is enabled. 10.3.9 esai transmit shift registers the transmit shift registers contain the data being transmitted (see figure 10-13 and figure 10-14 ). data is shifted out to the serial transmit data pins by the selected (internal/external) bit clock when the associated frame sync i/o is asserted. the number of bits shifted out before the shift registers are considered empty and may be written to again can be 8, 12, 16, 20, 24 or 32 bits (determined by the slot length control bits in the tcr register). data is shifted out of these registers msb first if tshfd=0 and lsb first if tshfd=1. 10.3.10 esai transmit data registers (tx5, tx4, tx3, tx2,tx1,tx0) tx5, tx4, tx3, tx2, tx1 and tx0 are 24-bit write-only registers. data to be transmitted is written into these registers and is automatically transferred to the transmit shift registers (see figure 10-13 and figure 10-14 ). the data written (8, 12, 16, 20 or 24 bits) should occupy the most significant portion of the txx according to the alc control bit setting. the unused bits (least significant portion, and the 8 most significant bits when alc=1) of the txx are dont care bits. the dsp is interrupted whenever the txx becomes empty if the transmit data register empty interrupt has been enabled. 10.3.11 esai time slot register (tsr) the write-only time slot register (tsr) is effectively a null data register that is used when the data is not to be transmitted in the available transmit time slot. the transmit data pins of all the enabled transmitters are in the high-impedance state for the respective time slot where tsr has been written. the transmitter external buffer enable pin (fsr pin when syn=1, tebe=1, rfsd=1) disables the external buffers during the slot when the tsr register has been written.
enhanced serial audio interface (esai) esai programming model motorola dsp56367 24-bit digital signal processor users manual 10-43 10.3.12 transmit slot mask registers (tsma, tsmb) the transmit slot mask registers (tsma and tsmb) are two read/write registers used by the transmitters in network mode to determine for each slot whether to transmit a data word and generate a transmitter empty condition (tde=1), or to tri-state the transmitter data pins. tsma and tsmb should each be considered as containing half a 32-bit register tsm. see figure 10-15 and figure 10-16 . bit number n in tsm (ts**) is the enable/disable control bit for transmission in slot number n. when bit number n in tsm is cleared, all the transmit data pins of the enabled transmitters are tri-stated during transmit time slot number n. the data is still transferred from the transmit data registers to the transmit shift registers but neither the tde nor the tue flags are set. this means that during a disabled slot, no transmitter empty interrupt is generated. the dsp is interrupted only for enabled slots. data that is written to the transmit data registers when servicing this request is transmitted in the next enabled transmit time slot. when bit number n in tsm register is set, the transmit sequence is as usual: data is transferred from the tx registers to the shift registers, transmitted during slot number n, and the tde flag is set. using the slot mask in tsm does not conflict with using tsr. even if a slot is enabled in tsm, the user may chose to write to tsr instead of writing to the transmit data registers txx. this causes all the transmit data pins of the enabled transmitters to be tri-stated during the next slot. 11109876543210 x:$ffffb9 ts11 ts10 ts9 ts8 ts7 ts6 ts5 ts4 ts3 ts2 ts1 ts0 23 22 21 20 19 18 17 16 15 14 13 12 ts15 ts14 ts13 ts12 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-15 tsma register 11109876543210 x:$ffffba ts27 ts26 ts25 ts24 ts23 ts22 ts21 ts20 ts19 ts18 ts17 ts16 23 22 21 20 19 18 17 16 15 14 13 12 ts31 ts30 ts29 ts28 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-16 tsmb register
enhanced serial audio interface (esai) esai programming model 10-44 dsp56367 24-bit digital signal processor users manual motorola data written to the tsm affects the next frame transmission. the frame being transmitted is not affected by this data and would comply to the last tsm setting. data read from tsm returns the last written data. after hardware or software reset, the tsm register is preset to $ffffffff, which means that all 32 possible slots are enabled for data transmission. note: when operating in normal mode, bit 0 of the mask register must be set, otherwise no output is generated. 10.3.13 receive slot mask registers (rsma, rsmb) the receive slot mask registers (rsma and rsmb) are two read/write registers used by the receiver in network mode to determine for each slot whether to receive a data word and generate a receiver full condition (rdf=1), or to ignore the received data. rsma and rsmb should be considered as each containing half of a 32-bit register rsm. see figure 10-17 and figure 10-18 . bit number n in rsm (rs**) is an enable/disable control bit for receiving data in slot number n. when bit number n in the rsm register is cleared, the data from the enabled receivers input pins are shifted into their receive shift registers during slot number n. the data is not transferred from the receive 11109876543210 x:$ffffbb rs11 rs10 rs9 rs8 rs7 rs6 rs5 rs4 rs3 rs2 rs1 rs0 23 22 21 20 19 18 17 16 15 14 13 12 rs15 rs14 rs13 rs12 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-17 rsma register 11109876543210 x:$ffffbc rs27 rs26 rs25 rs24 rs23 rs22 rs21 rs20 rs19 rs18 rs17 rs16 23 22 21 20 19 18 17 16 15 14 13 12 rs31 rs30 rs29 rs28 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-18 rsmb register
enhanced serial audio interface (esai) operating modes motorola dsp56367 24-bit digital signal processor users manual 10-45 shift registers to the receive data registers, and neither the rdf nor the roe flags are set. this means that during a disabled slot, no receiver full interrupt is generated. the dsp is interrupted only for enabled slots. when bit number n in the rsm is set, the receive sequence is as usual: data which is shifted into the enabled receivers shift registers is transferred to the receive data registers and the rdf flag is set. data written to the rsm affects the next received frame. the frame being received is not affected by this data and would comply to the last rsm setting. data read from rsm returns the last written data. after hardware or software reset, the rsm register is preset to $ffffffff, which means that all 32 possible slots are enabled for data reception. note: when operating in normal mode, bit 0 of the mask register must be set to one, otherwise no input is received. 10.4 operating modes esai operating mode are selected by the esai control registers (tccr, tcr, rccr, rcr and saicr). the main operating mode are described in the following paragraphs. 10.4.1 esai after reset hardware or software reset clears the port control register bits and the port direction control register bits, which configure all esai i/o pins as disconnected. the esai is in the individual reset state while all esai pins are programmed as gpio or disconnected, and is active only if at least one of the esai i/o pins is programmed as an esai pin. 10.4.2 esai initialization the correct way to initialize the esai is as follows: 1. hardware, software, esai individual, or stop reset. 2. program esai control and time slot registers. 3. write data to all the enabled transmitters. 4. configure at least one pin as esai pin. during program execution, all esai pins may be defined as gpio or disconnected, causing the esai to stop serial activity and enter the individual reset state. all status bits of the interface are set to their reset state; however, the control bits are not affected. this procedure allows the dsp programmer to reset the esai separately from the other internal peripherals. during individual reset, internal dma accesses to the data registers of the esai are not valid and data read is undefined.
enhanced serial audio interface (esai) operating modes 10-46 dsp56367 24-bit digital signal processor users manual motorola the dsp programmer must use an individual esai reset when changing the esai control registers (except for teie, reie, tlie, rlie, tie, rie, te0-te5, re0-re3) to ensure proper operation of the interface. note: if the esai receiver section is already operating with some of the receivers, enabling additional receivers on the fly (i.e. without first putting the esai receiver in the personal reset state) by setting their rex control bits will result in erroneous data being received as the first data word for the newly enabled receivers. 10.4.3 esai interrupt requests the esai can generate eight different interrupt requests (ordered from the highest to the lowest priority) : 1. esai receive data with exception status. occurs when the receive exception interrupt is enabled (reie=1 in the rcr register), at least one of the enabled receive data registers is full (rdf=1), and a receiver overrun error has occurred (roe=1 in the saisr register). roe is cleared by first reading the saisr and then reading all the enabled receive data registers. 2. esai receive even data occurs when the receive even slot data interrupt is enabled (redie=1), at least one of the enabled receive data registers is full (rdf=1), the data is from an even slot (redf=1), and no exception has occurred (roe=0 or reie=0). reading all enabled receiver data registers clears rdf and redf. 3. esai receive data occurs when the receive interrupt is enabled (rie=1), at least one of the enabled receive data registers is full (rdf=1), no exception has occurred (roe=0 or reie=0), and no even slot interrupt has occurred (redf=0 or redie=0). reading all enabled receiver data registers clears rdf. 4. esai receive last slot interrupt occurs, if enabled (rlie=1), after the last slot of the frame ended (in network mode only) regardless of the receive mask register setting. the receive last slot interrupt may be used for resetting the receive mask slot register, reconfiguring the dma channels and reassigning data memory pointers. using the receive last slot interrupt guarantees that the previous frame was serviced with the previous setting and the new frame is serviced with the new setting without synchronization problems. note that the maximum receive last slot interrupt service time should not exceed n-1 esai bits service time (where n is the number of bits in a slot). 5. esai transmit data with exception status occurs when the transmit exception interrupt is enabled (teie=1), at least one transmit data register of the enabled transmitters is empty (tde=1), and a transmitter underrun error has occurred (tue=1). tue is cleared by first reading the saisr and then writing to all the enabled transmit data registers, or to the tsr register. 6. esai transmit last slot interrupt occurs, if enabled (tlie=1), at the start of the last slot of the frame in network mode regardless of the transmit mask register setting. the transmit last slot interrupt may be used for resetting the transmit mask slot register, reconfiguring the dma channels and reassigning data memory pointers. using the transmit last slot interrupt guarantees that the previous frame was serviced with the previous setting and the new frame is serviced with the new setting without
enhanced serial audio interface (esai) operating modes motorola dsp56367 24-bit digital signal processor users manual 10-47 synchronization problems. note that the maximum transmit last slot interrupt service time should not exceed n-1 esai bits service time (where n is the number of bits in a slot). 7. esai transmit even data occurs when the transmit even slot data interrupt is enabled (tedie=1), at least one of the enabled transmit data registers is empty (tde=1), the slot is an even slot (tede=1), and no exception has occurred (tue=0 or teie=0). writing to all the tx registers of the enabled transmitters or to tsr clears this interrupt request. 8. esai transmit data occurs when the transmit interrupt is enabled (tie=1), at least one of the enabled transmit data registers is empty (tde=1), no exception has occurred (tue=0 or teie=0), and no even slot interrupt has occurred (tede=0 or tedie=0). writing to all the tx registers of the enabled transmitters, or to the tsr clears this interrupt request. 10.4.4 operating modes C normal, network, and on-demand the esai has three basic operating modes and many data/operation formats. 10.4.4.1 normal/network/on-demand mode selection selecting between the normal mode and network mode is accomplished by clearing or setting the tmod0-tmod1 bits in the tcr register for the transmitter section, and in the rmod0-rmod1 bits in the rcr register for the receiver section. for normal mode, the esai functions with one data word of i/o per frame (per enabled transmitter or receiver). the normal mode is typically used to transfer data to/from a single device. for the network mode, 2 to 32 time slots per frame may be selected. during each frame, 0 to 32 data words of i/o may be received/transmitted. in either case, the transfers are periodic. the frame sync signal indicates the first time slot in the frame. network mode is typically used in time division multiplexed (tdm) networks of codecs, dsps with multiple words per frame, or multi-channel devices. selecting the network mode and setting the frame rate divider to zero (dc=00000) selects the on-demand mode. this special case does not generate a periodic frame sync. a frame sync pulse is generated only when data is available to transmit. the on-demand mode requires that the transmit frame sync be internal (output) and the receive frame sync be external (input). therefore, for simplex operation, the synchronous mode could be used; however, for full-duplex operation, the asynchronous mode must be used. data transmission that is data driven is enabled by writing data into each tx. although the esai is double buffered, only one word can be written to each tx, even if the transmit shift register is empty. the receive and transmit interrupts function as usual using tde and rdf; however, transmit underruns are impossible for on-demand transmission and are disabled. 10.4.4.2 synchronous/asynchronous operating modes the transmit and receive sections of the esai may be synchronous or asynchronous C i.e., the transmitter and receiver sections may use common clock and synchronization signals (synchronous operating mode),
enhanced serial audio interface (esai) operating modes 10-48 dsp56367 24-bit digital signal processor users manual motorola or they may have their own separate clock and sync signals (asynchronous operating mode). the syn bit in the saicr register selects synchronous or asynchronous operation. since the esai is designed to operate either synchronously or asynchronously, separate receive and transmit interrupts are provided. when syn is cleared, the esai transmitter and receiver clocks and frame sync sources are independent. if syn is set, the esai transmitter and receiver clocks and frame sync come from the transmitter section (either external or internal sources). data clock and frame sync signals can be generated internally by the dsp or may be obtained from external sources. if internally generated, the esai clock generator is used to derive high frequency clock, bit clock and frame sync signals from the dsp internal system clock. 10.4.4.3 frame sync selection the frame sync can be either a bit-long or word-long signal. the transmitter frame format is defined by the tfsl bit in the tcr register. the receiver frame format is defined by the rfsl bit in the rcr register. 1. in the word-long frame sync format, the frame sync signal is asserted during the entire word data transfer period. this frame sync length is compatible with motorola codecs, spi serial peripherals, serial a/d and d/a converters, shift registers, and telecommunication pcm serial i/o. 2. in the bit-long frame sync format, the frame sync signal is asserted for one bit clock immediately before the data transfer period. this frame sync length is compatible with intel and national components, codecs, and telecommunication pcm serial i/o. the relative timing of the word length frame sync as referred to the data word is specified by the tfsr bit in the tcr register for the transmitter section, and by the rfsr bit in the rcr register for the receive section. the word length frame sync may be generated (or expected) with the first bit of the data word, or with the last bit of the previous word. tfsr and rfsr are ignored when a bit length frame sync is selected. polarity of the frame sync signal may be defined as positive (asserted high) or negative (asserted low). the tfsp bit in the tccr register specifies the polarity of the frame sync for the transmitter section. the rfsp bit in the rccr register specifies the polarity of the frame sync for the receiver section. the esai receiver looks for a receive frame sync leading edge (trailing edge if rfsp is set) only when the previous frame is completed. if the frame sync goes high before the frame is completed (or before the last bit of the frame is received in the case of a bit frame sync or a word length frame sync with rfsr set), the current frame sync is not recognized, and the receiver is internally disabled until the next frame sync. frames do not have to be adjacent C i.e., a new frame sync does not have to immediately follow the previous frame. gaps of arbitrary periods can occur between frames. enabled transmitters are tri-stated during these gaps. when operating in the synchronous mode (syn=1), all clocks including the frame sync are generated by the transmitter section. 10.4.4.4 shift direction selection some data formats, such as those used by codecs, specify msb first while other data formats, such as the aes-ebu digital audio interface, specify lsb first. the msb/lsb first selection is made by programming rshfd bit in the rcr register for the receiver section, and by programming the tshfd bit in the tcr register for the transmitter section.
enhanced serial audio interface (esai) gpio - pins and registers motorola dsp56367 24-bit digital signal processor users manual 10-49 10.4.5 serial i/o flags three esai pins (fsr, sckr and hckr) are available as serial i/o flags when the esai is operating in the synchronous mode (syn=1). their operation is controlled by rckd, rfsd, tebe bits in the rcr, rccr and saicr registers.the output data bits (of2, of1 and of0) and the input data bits (if2, if1 and if0) are double buffered to/from the hckr, fsr and sckr pins. double buffering the flags keeps them in sync with the tx and rx data lines. each flag can be separately programmed. flag 0 (sckr pin) direction is selected by rckd, rckd=1 for output and rckd=0 for input. flag 1 (fsr pin) is enabled when the pin is not configured as external transmitter buffer enable (tebe=0) and its direction is selected by rfsd, rfsd=1 for output and rfsd=0 for input. flag 2 (hckr pin) direction is selected by rhckd, rhckd=1 for output and rhckd=0 for input. when programmed as input flags, the sckr, fsr and hckr logic values, respectively, are latched at the same time as the first bit of the receive data word is sampled. because the input was latched, the signal on the input flag pin (sckr, fsr or hckr) can change without affecting the input flag until the first bit of the next receive data word. when the received data words are transferred to the receive data registers, the input flag latched values are then transferred to the if0, if1 and if2 bits in the saisr register, where they may be read by software. when programmed as output flags, the sckr, fsr and hckr logic values are driven by the contents of the of0, of1 and of2 bits in the saicr register respectively, and are driven when the transmit data registers are transferred to the transmit shift registers. the value on sckr, fsr and hckr is stable from the time the first bit of the transmit data word is transmitted until the first bit of the next transmit data word is transmitted. software may change the of0-of2 values thus controlling the sckr, fsr and hckr pin values for each transmitted word. the normal sequence for setting output flags when transmitting data is as follows: wait for tde (transmitter empty) to be set, first write the flags, and then write the transmit data to the transmit registers. of0, of1 and of2 are double buffered so that the flag states appear on the pins when the transmit data is transferred to the transmit shift register (i.e., the flags are synchronous with the data). 10.5 gpio - pins and registers the gpio functionality of the esai port is controlled by three registers: port c control register (pcrc), port c direction register (prrc) and port c data register (pdrc). 10.5.1 port c control register (pcrc) the read/write 24-bit port c control register (pcrc) in conjunction with the port c direction register (prrc) controls the functionality of the esai gpio pins. each of the pc(11:0) bits controls the functionality of the corresponding port pin. see table 10-12 for the port pin configurations. hardware and software reset clear all pcrc bits.
enhanced serial audio interface (esai) gpio - pins and registers 10-50 dsp56367 24-bit digital signal processor users manual motorola 10.5.2 port c direction register (prrc) the read/write 24-bit port c direction register (prrc) in conjunction with the port c control register (pcrc) controls the functionality of the esai gpio pins. table 10-12 describes the port pin configurations. hardware and software reset clear all prrc bits. table 10-12 pcrc and prrc bits functionality pdc[i] pc[i] port pin[i] function 0 0 disconnected 0 1 gpio input 1 0 gpio output 11 esai 11109876543210 x:$ffffbf pc11 pc10 pc9 pc8 pc7 pc6 pc5 pc4 pc3 pc2 pc1 pc0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-19 pcrc register 11109876543210 x:$ffffbe pdc11 pdc10 pdc9 pdc8 pdc7 pdc6 pdc5 pdc4 pdc3 pdc2 pdc1 pdc0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-20 prrc register
enhanced serial audio interface (esai) esai initialization examples motorola dsp56367 24-bit digital signal processor users manual 10-51 10.5.3 port c data register (pdrc) the read/write 24-bit port c data register (see figure 10-21 ) is used to read or write data to/from esai gpio pins. bits pd(11:0) are used to read or write data from/to the corresponding port pins if they are configured as gpio. if a port pin [i] is configured as a gpio input, then the corresponding pd[i] bit reflects the value present on this pin. if a port pin [i] is configured as a gpio output, then the value written into the corresponding pd[i] bit is reflected on this pin. if a port pin [i] is configured as disconnected, the corresponding pd[i] bit is not reset and contains undefined data. 10.6 esai initialization examples 10.6.1 initializing the esai using individual reset ? the esai should be in its individual reset state (pcrc = $000 and prrc = $000). in the individual reset state, both the transmitter and receiver sections of the esai are simultaneously reset. the tpr bit in the tcr register may be used to reset just the transmitter section. the rpr bit in the rcr register may be used to reset just the receiver section. ? configure the control registers (tccr, tcr, rccr, rcr) according to the operating mode, but do not enable transmitters (te5Cte0 = $0) or receivers (re3Cre0 = $0). it is possible to set the interrupt enable bits which are in use during the operation (no interrupt occurs). ? enable the esai by setting the pcrc register and prrc register bits according to pins which are in use during operation. ? write the first data to be transmitted to the transmitters which are in use during operation. this step is needed even if dma is used to service the transmitters. ? enable the transmitters and receivers. ? from now on esai can be serviced either by polling, interrupts, or dma. 11109876543210 x:$ffffbd pd11 pd10 pd9 pd8 pd7 pd6 pd5 pd4 pd3 pd2 pd1 pd0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 10-21 pdrc register
enhanced serial audio interface (esai) esai initialization examples 10-52 dsp56367 24-bit digital signal processor users manual motorola operation proceeds as follows: ? for internally generated clock and frame sync, these signals are active immediately after esai is enabled (step 3 above). ? data is received only when one of the receive enable (rex) bits is set and after the occurrence of frame sync signal (either internally or externally generated). ? data is transmitted only when the transmitter enable (tex) bit is set and after the occurrence of frame sync signal (either internally or externally generated). the transmitter outputs remain tri-stated after tex bit is set until the frame sync occurs. 10.6.2 initializing just the esai transmitter section ? it is assumed that the esai is operational; that is, at least one pin is defined as an esai pin. ? the transmitter section should be in its personal reset state (tpr = 1). ? configure the control registers tccr and tcr according to the operating mode, making sure to clear the transmitter enable bits (te0 - te5). tpr must remain set. ? take the transmitter section out of the personal reset state by clearing tpr. ? write first data to the transmitters which will be used during operation. this step is needed even if dma is used to service the transmitters. ? enable the transmitters by setting their te bits. ? data is transmitted only when the transmitter enable (tex) bit is set and after the occurrence of frame sync signal (either internally or externally generated). the transmitter outputs remain tri-stated after tex bit is set until the frame sync occurs. ? from now on the transmitters are operating and can be serviced either by polling, interrupts, or dma. 10.6.3 initializing just the esai receiver section ? it is assumed that the esai is operational; that is, at least one pin is defined as an esai pin. ? the receiver section should be in its personal reset state (rpr = 1). ? configure the control registers rccr and rcr according to the operating mode, making sure to clear the receiver enable bits (re0 - re3). rpr must remain set. ? take the receiver section out of the personal reset state by clearing rpr. ? enable the receivers by setting their re bits. ? from now on the receivers are operating and can be serviced either by polling, interrupts, or dma.
motorola dsp56367 24-bit digital signal processor users manual 11-1 chapter 11 enhanced serial audio interface 1 (esai_1)
enhanced serial audio interface 1 (esai_1) introduction 11-2 dsp56367 24-bit digital signal processor users manual motorola 11.1 introduction the enhanced serial audio interface i (esai_1) is the second esai peripheral in the dsp56367. it is functionally identical to the esai peripheral described in sectionenhanced serial audio interface (esai) except for minor differences described in this section. refer to the esai section for functional information about the esai_1, in addition to using the information in this section. the esai_1 block diagram is shown in figure 11-1 . the esai_1 shares 4 pins with the esai. the esai_1 does not have the two high frequency clock pins but otherwise it is identical to the esai.
enhanced serial audio interface 1 (esai_1) introduction motorola dsp56367 24-bit digital signal processor users manual 11-3 figure 11-1 esai_1 block diagram clock / frame sync generators and control logic sdo1_1 [pe10] sdo0_1 [pe11] shift register rx0_1 tx5_1 sdo5_1/sdi0_1 [pe6] shift register rx1_1 tx4_1 sdo4_1/sdi1_1 [pe7] shift register rx2_1 tx3_1 sdo3_1/sdi2_1 [pe8] shift register rx3_1 tx2_1 sdo2_1/sdi3_1 [pe9] shift register tx1_1 shift register tx0_1 ddb gdb rsma_1 rsmb_1 tsma_1 tsmb_1 rccr_1 rcr_1 tccr_1 tcr_1 saicr_1 saisr_1 tsr_1 tclk rclk [pe3] sckt_1 [pe0] sckr_1 [pe1] fsr_1 (shared with sdo0 [pc11]) (shared with sdo1 [pc10]) (shared with sdo2/sdi3 [pc9]) (shared with sdo3/sdi2 [pc8]) [pe4] fst_1
enhanced serial audio interface 1 (esai_1) esai_1 data and control pins 11-4 dsp56367 24-bit digital signal processor users manual motorola 11.2 esai_1 data and control pins the esai_1 has 6 dedicated pins and shares 4 pins with the esai. the pins are described in the following sections. 11.2.1 serial transmit 0 data pin (sdo0_1) sdo0_1 transmits data from the tx0_1 serial transmit shift register. it is shared with the esai sdo0 signal. the pin may be used as sdo0_1 if it is not defined as esai sdo0. the pin may be used as gpio pe11 if not used by the esai or esai_1. the esai_1 multiplex control register (emuxr) defines if the pin belongs to the esai or to the esai_1. 11.2.2 serial transmit 1 data pin (sdo1_1) sdo1_1 transmits data from the tx1_1 serial transmit shift register. it is shared with the esai sdo1 signal. the pin may be used as sdo1_1 if it is not defined as esai sdo1. the pin may be used as gpio pe10 if not used by the esai or esai_1. the esai_1 multiplex control register (emuxr) defines if the pin belongs to the esai or to the esai_1. 11.2.3 serial transmit 2/receive 3 data pin (sdo2_1/sdi3_1) sdo2_1/sdi3_1 transmits data from the tx2_1 serial transmit shift register when programmed as a transmitter pin, or receives serial data to the rx3_1 serial receive shift register when programmed as a receiver pin. it is shared with the esai sdo2/sdi3 signal. the pin may be used as sdo2_1/sdi3_1 if it is not defined as esa i sdo2/sdi3. the pin may be used as gpio pe9 if not used by the esai or esai_1. the esai_1 multiplex control register (emuxr) defines if the pin belongs to the esai or to the esai_1. 11.2.4 serial transmit 3/receive 2 data pin (sdo3_1/sdi2_1) sdo3_1/sdi2_1 transmits data from the tx3_1 serial transmit shift register when programmed as a transmitter pin, or receives serial data to the rx2_1 serial receive shift register when programmed as a receiver pin. it is shared with the esai sdo3/sdi2 signal. the pin may be used as sdo3_1/sdi2_1 if it is not defined as esai sdo3/sdi2. the pin may be used as gpio pe8 if not used by the esai or esai_1. the esai_1 multiplex control register (emuxr) defines if the pin belongs to the esai or to the esai_1. 11.2.5 serial transmit 4/receive 1 data pin (sdo4_1/sdi1_1) sdo4_1/sdi1_1 transmits data from the tx4_1 serial transmit shift register when programmed as a transmitter pin, or receives serial data to the rx1_1 serial receive shift register when programmed as a
enhanced serial audio interface 1 (esai_1) esai_1 data and control pins motorola dsp56367 24-bit digital signal processor users manual 11-5 receiver pin. sdo4_1/sdi1_1 may be programmed as a general-purpose pin (pe7) when the esai_1 sdo4_1 and sdi1_1 functions are not being used. 11.2.6 serial transmit 5/receive 0 data pin (sdo5_1/sdi0_1) sdo5_1/sdi0_1 transmits data from the tx5_1 serial transmit shift register when programmed as transmitter pin, or receives serial data to the rx0_1 serial shift register when programmed as a receiver pin. sdo5_1/sdi0_1 may be programmed as a general-purpose pin (pe6) when the esai_1 sdo5_1 and sdi0_1 functions are not being used. 11.2.7 receiver serial clock (sckr_1) sckr_1 is a bidirectional pin that provides the receivers serial bit clock for the esai_1 interface. sckr_1 may be programmed as a general-purpose i/o pin (pe0) when the esai_1 sckr_1 function is not being used. 11.2.8 transmitter serial clock (sckt_1) sckt_1 is a bidirectional pin that provides the transmitters serial bit clock for the esai_1 interface. sckt_1 may be programmed as a general-purpose i/o pin (pe3) when the esai_1 sckt_1 function is not being used. 11.2.9 frame sync for receiver (fsr_1) the fsr_1 pin is a bidirectional pin that provides the receivers frame sync signal for the esai_1 interface. fsr_1 may be programmed as a general-purpose i/o pin (pe1) when the esai_1 fsr_1 function is not being used. 11.2.10 frame sync for transmitter (fst_1) the fst_1 pin is a bidirectional pin that provides the transmitters frame sync signal for the esai_1 interface. fst_1 may be programmed as a general-purpose i/o pin (pe4) when the esai_1 fst_1 function is not being used.
enhanced serial audio interface 1 (esai_1) esai_1 programming model 11-6 dsp56367 24-bit digital signal processor users manual motorola 11.3 esai_1 programming model the esai_1 has the following registers: ? one multiplex control register ? five control registers ? one status register ? six transmit data registers ? four receive data registers ? two transmit slot mask registers ? two receive slot mask registers ? one special-purpose time slot register the esai_1 also contains the gpio port e functionality, described in section11.5, gpio - pins and registers . the following paragraphs give detailed descriptions of bits in the esai_1 registers that differ in functionality from their descriptions in the esai programming model. 11.3.1 esai_1 multiplex control register (emuxr) the read/write esai_1 multiplex control register (emuxr) controls which peripheral (esai or esai_1) is using the shared pins. hardware and software reset clear all the bits of the emuxr register. the selection of esai/esai_1 pins is shown in table 11-1 . 11109876543210 y:$ffffaf emux3 emux2 emux1 emux0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-2 emuxr register
enhanced serial audio interface 1 (esai_1) esai_1 programming model motorola dsp56367 24-bit digital signal processor users manual 11-7 11.3.2 esai_1 transmitter clock control register (tccr_1) the read/write transmitter clock control register (tccr_1) controls the esai_1 transmitter clock generator bit and frame sync rates, the bit rate and high frequency clock sources and the directions of the fst_1 and sckt_1 signals. in synchronous mode, the bit clock defined for the transmitter determines the receiver bit clock as well. tccr_1 also controls the number of words per frame for the serial data. hardware and software reset clear all the bits of the tccr_1 register. 11.3.2.1 tccr_1 tx high freq. clock divider (tfp3-tfp0) - bits 14C17 since the esai_1 does not have the transmitter high frequency clock pin, the tfp3Ctfp0 bits simply specify an additional division ratio in the clock divider chain. see figure 11-4 . table 11-1 emuxr esai/esai_1 pin selection emuxr bit esai pin esai_1 pin emux0 0 sdo0 [pc11] disconnected emux0 1 disconnected sdo0_1 [pe11] emux1 0 sdo1[pc10] disconnected emux1 1 disconnected sdo1_1 [pe10] emux2 0 sdo2/sdi3 [pc9] disconnected emux2 1 disconnected sdo2_1/sdi3_1 [pe9] emux3 0 sdo3/sdi2 [pc8] disconnected emux3 1 disconnected sdo3_1/sdi2_1 [pe8] 11109876543210 y:$ffff96 tdc2 tdc1 tdc0 tpsr tpm7 tpm6 tpm5 tpm4 tpm3 tpm2 tpm1 tpm0 23 22 21 20 19 18 17 16 15 14 13 12 thckd tfsd tckd thckp tfsp tckp tfp3 tfp2 tfp1 tfp0 tdc4 tdc3 figure 11-3 tccr_1 register
enhanced serial audio interface 1 (esai_1) esai_1 programming model 11-8 dsp56367 24-bit digital signal processor users manual motorola 11.3.2.2 tccr_1 tx high freq. clock polarity (thckp) - bit 20 the esai_1 does not have the transmitter high frequency clock pin. it it recommended that thckp should be kept cleared. 11.3.2.3 tccr_1 tx high freq. clock direction (thckd) - bit 23 the esai_1 does not have the transmitter high frequency clock pin. thckd must be set for proper esai_1 transmitter section operation. table 11-2 transmitter clock sources thckd tfsd tckd transmitter bit clock source outputs 0 x x reserved 100sckt_1 101 int sckt_1 110sckt_1fst_1 1 1 1 int fst_1 sckt_1
enhanced serial audio interface 1 (esai_1) esai_1 programming model motorola dsp56367 24-bit digital signal processor users manual 11-9 figure 11-4 esai_1 clock generator functional block diagram flag0 out (sync mode) flag0 in (sync mode) sckr_1 sckt_1 rckd tckd syn=1 syn=0 rclock tclock internal bit clock syn=1 rsws4-rsws0 tsws4-tsws0 rx word length divider tx word length divider rx shift register tx shift register divide by 2 prescale divide by 1 or divide by 8 divider divide by 1 to divide by 256 tpsr tpm0 - tpm7 rx word clock tx word clock syn=0 divide by 2 prescale divide by 1 or divide by 8 divider divide by 1 to divide by 256 f osc rpsr rpm0 - rpm7 rhckd=1 divider divide by 1 to divide by 16 rfp0 - rfp3 f osc thckd=1 divider divide by 1 to divide by 16 tfp0 - tfp3 notes: 1. f osc is the dsp56300 core internal clock frequency. internal bit clock
enhanced serial audio interface 1 (esai_1) esai_1 programming model 11-10 dsp56367 24-bit digital signal processor users manual motorola figure 11-5 esai_1 frame sync generator functional block diagram 11.3.3 esai_1 transmit control register (tcr_1) the read/write transmit control register (tcr_1) controls the esai_1 transmitter section. interrupt enable bits for the transmitter section are provided in this control register. operating modes are also selected in this register. frame sync transmit frame sync receive rx word clock tx word clock rdc0 - rdc4 tdc0 - tdc4 receiver frame rate divider transmitter frame rate divider receive control logic transmit control logic rfsl tfsl sync type sync type syn=0 syn=1 internal rx frame clock rfsd=1 syn=1 rfsd=0 syn=0 rfsd fsr_1 tfsd fst_1 internal tx frame clock flag1 in (sync mode) flag1out (sync mode)
enhanced serial audio interface 1 (esai_1) esai_1 programming model motorola dsp56367 24-bit digital signal processor users manual 11-11 hardware and software reset clear all the bits in the tcr_1 register. 11.3.4 esai_1 receive clock control register (rccr_1) the read/write receive clock control register (rccr_1) controls the esai_1 receiver clock generator bit and frame sync rates, word length, and number of words per frame for the serial data. hardware and software reset clear all the bits of the rccr_1 register. 11.3.4.1 rccr_1 rx high freq. clock divider (rfp3-rfp0) - bits 14C17 since the esai_1 does not have the receiver high frequency clock pin, the rfp3Crfp0 bits simply specify an additional division ratio in the clock divider chain. see figure 11-4 . 11.3.4.2 rccr_1 rx high freq. clock polarity (rhckp) - bit 20 the esai_1 does not have the receiver high frequency clock pin. it it recommended that rhckp should be kept cleared. 11109876543210 y:$ffff95 tsws1 tsws0 tmod1 tmod0 twa tshfd te5 te4 te3 te2 te1 te0 23 22 21 20 19 18 17 16 15 14 13 12 tlie tie tedie teie tpr padc tfsr tfsl tsws4 tsws3 tsws2 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-6 tcr_1 register 11109876543210 y:$ffff98 rdc2 rdc1 rdc0 rpsr rpm7 rpm6 rpm5 rpm4 rpm3 rpm2 rpm1 rpm0 23 22 21 20 19 18 17 16 15 14 13 12 rhckd rfsd rckd rhckp rfsp rckp rfp3 rfp2 rfp1 rfp0 rdc4 rdc3 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-7 rccr_1 register
enhanced serial audio interface 1 (esai_1) esai_1 programming model 11-12 dsp56367 24-bit digital signal processor users manual motorola 11.3.4.3 rccr_1 rx high freq. clock direction (rhckd) - bit 23 the esai_1 does not have the receiver high frequency clock pin. rhckd must be set for proper esai_1 receiver section operation. 11.3.5 esai_1 receive control register (rcr_1) the read/write receive control register (rcr_1) controls the esai_1 receiver section. hardware and software reset clear all the bits in the rcr_1 register. 11.3.6 esai_1 common control register (saicr_1) the read/write common control register (saicr_1) contains control bits for functions that use both the receive and transmit sections of the esai_1. table 11-3 receiver clock sources (asynchronous mode only) rhckd rfsd rckd receiver bit clock source outputs 0 x x reserved 100sckr_1 1 0 1 int sckr_1 110sckr_1fsr_1 1 1 1 int fsr_1 sckr_1 11109876543210 y:$ffff97 rsws1 rsws0 rmod1 rmod0 rwa rshfd re3 re2 re1 re0 23 22 21 20 19 18 17 16 15 14 13 12 rlie rie redie reie rpr rfsr rfsl rsws4 rsws3 rsws2 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-8 rcr_1 register
enhanced serial audio interface 1 (esai_1) esai_1 programming model motorola dsp56367 24-bit digital signal processor users manual 11-13 hardware and software reset clear all the bits in the saicr_1 register. 11.3.7 esai_1 status register (saisr_1) the status register (saisr_1) is a read-only status register used by the dsp to read the status and serial input flags of the esai_1. 11.3.8 esai_1 receive shift registers the receive shift registers receive the incoming data from the serial receive data pins. data is shifted in by the selected (internal/external) bit clock when the associated frame sync i/o is asserted. data is assumed to be received msb first if rshfd=0 and lsb first if rshfd=1. data is transferred to the esai_1 receive data registers after 8, 12, 16, 20, 24, or 32 serial clock cycles were counted, depending on the slot length control bits in the rcr_1 register. 11109876543210 y:$ffff94 alc tebe syn of2 of1 of0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-9 saicr_1 register 11109876543210 y:$ffff93 rodf redf rdf roe rfs if2 if1 if0 23 22 21 20 19 18 17 16 15 14 13 12 tode tede tde tue tfs reserved bit - read as zero; should be written with zero for future compatibility. figure 11-10 saisr_1 register
enhanced serial audio interface 1 (esai_1) esai_1 programming model 11-14 dsp56367 24-bit digital signal processor users manual motorola 11.3.9 esai_1 receive data registers the receive data registers rx3_1, rx2_1, rx1_1, and rx0_1 are 24-bit read-only registers that accept data from the receive shift registers when they become full. the data occupies the most significant portion of the receive data registers, according to the alc control bit setting. the unused bits (least significant portion, and 8 most significant bits when alc=1) read as zeros. the dsp is interrupted whenever rxx_1 becomes full if the associated interrupt is enabled. 11.3.10 esai_1 transmit shift registers the transmit shift registers contain the data being transmitted. data is shifted out to the serial transmit data pins by the selected (internal/external) bit clock when the associated frame sync i/o is asserted. the number of bits shifted out before the shift registers are considered empty and may be written to again can be 8, 12, 16, 20, 24 or 32 bits (determined by the slot length control bits in the tcr_1 register). data is shifted out of these registers msb first if tshfd=0 and lsb first if tshfd=1. 11.3.11 esai_1 transmit data registers the transmit data registers tx5_1, tx4_1, tx3_1, tx2_1, tx1_1, and tx0_1 are 24-bit write-only registers. data to be transmitted is written into these registers and is automatically transferred to the transmit shift registers. the data written (8, 12, 16, 20 or 24 bits) should occupy the most significant portion of the txx_1 according to the alc control bit setting. the unused bits (least significant portion, and the 8 most significant bits when alc=1) of the txx_1 are dont care bits. the dsp is interrupted whenever the txx_1 becomes empty if the transmit data register empty interrupt has been enabled. 11.3.12 esai_1 time slot register (tsr_1) the write-only time slot register (tsr_1) is effectively a null data register that is used when the data is not to be transmitted in the available transmit time slot. the transmit data pins of all the enabled transmitters are in the high-impedance state for the respective time slot where tsr_1 has been written. the transmitter external buffer enable pin (fsr_1 pin when syn=1, tebe=1, rfsd=1) disables the external buffers during the slot when the tsr_1 register has been written. 11.3.13 transmit slot mask registers (tsma_1, tsmb_1) the transmit slot mask registers (tsma_1 and tsmb_1) are two read/write registers used by the transmitters in network mode to determine for each slot whether to transmit a data word and generate a transmitter empty condition (tde=1), or to tri-state the transmitter data pins. tsma_1 and tsmb_1 should each be considered as containing half a 32-bit register tsm_1. see figure 11-11 and figure 11-12 . bit number n in tsm_1 (ts**) is the enable/disable control bit for transmission in slot number n.
enhanced serial audio interface 1 (esai_1) esai_1 programming model motorola dsp56367 24-bit digital signal processor users manual 11-15 11.3.14 receive slot mask registers (rsma_1, rsmb_1) the receive slot mask registers (rsma_1 and rsmb_1) are two read/write registers used by the receiver in network mode to determine for each slot whether to receive a data word and generate a receiver full condition (rdf=1), or to ignore the received data. rsma_1 and rsmb_1 should be considered as each containing half of a 32-bit register rsm_1. see figure 11-13 and figure 11-14 . bit number n in rsm_1 (rs**) is an enable/disable control bit for receiving data in slot number n. 11109876543210 y:$ffff99 ts11 ts10 ts9 ts8 ts7 ts6 ts5 ts4 ts3 ts2 ts1 ts0 23 22 21 20 19 18 17 16 15 14 13 12 ts15 ts14 ts13 ts12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-11 tsma_1 register 11109876543210 y:$ffff9a ts27 ts26 ts25 ts24 ts23 ts22 ts21 ts20 ts19 ts18 ts17 ts16 23 22 21 20 19 18 17 16 15 14 13 12 ts31 ts30 ts29 ts28 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-12 tsmb_1 register
enhanced serial audio interface 1 (esai_1) operating modes 11-16 dsp56367 24-bit digital signal processor users manual motorola 11.4 operating modes 11.4.1 esai_1 after reset hardware or software reset clears the emuxr register, the port e control register bits and the port e direction control register bits, which configure all 6 esai_1 dedicated i/o pins as disconnected, and all 4 shared pins as belonging to the esai. the esai_1 is in the individual reset state while all esai_1 signals are programmed as general-purpose i/o or disconnected, and is active only if at least one of the esai_1 i/o pins is programmed as belonging to the esai_1. 11.5 gpio - pins and registers the gpio functionality of the esai_1 port is controlled by three registers: port e control register (pcre), port e direction register (prre) and port e data register (pdre). 11109876543210 y:$ffff9b rs11 rs10 rs9 rs8 rs7 rs6 rs5 rs4 rs3 rs2 rs1 rs0 23 22 21 20 19 18 17 16 15 14 13 12 rs15 rs14 rs13 rs12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-13 rsma_1 register 11109876543210 y:$ffff9c rs27 rs26 rs25 rs24 rs23 rs22 rs21 rs20 rs19 rs18 rs17 rs16 23 22 21 20 19 18 17 16 15 14 13 12 rs31 rs30 rs29 rs28 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-14 rsmb_1 register
enhanced serial audio interface 1 (esai_1) gpio - pins and registers motorola dsp56367 24-bit digital signal processor users manual 11-17 11.5.1 port e control register (pcre) the read/write 24-bit port e control register (pcre) in conjunction with the port e direction register (prre) controls the functionality of the esai_1 gpio pins. each of the pe(11:0) bits controls the functionality of the corresponding port pin. see table 11-4 for the port pin configurations. hardware and software reset clear all pcre bits. 11.5.2 port e direction register (prre) the read/write 24-bit port e direction register (prre) in conjunction with the port e control register (pcre) controls the functionality of the esai_1 gpio pins. table 11-4 describes the port pin configurations. hardware and software reset clear all prre bits. table 11-4 pcre and prre bits functionality pde[i] pe[i] port pin[i] function 0 0 disconnected 0 1 gpio input 1 0 gpio output 1 1 esai_1 11109876543210 y:$ffff9f pe11 pe10 pe9 pe8 pe7 pe6 pe4 pe3 pe1 pe0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-15 pcre register
enhanced serial audio interface 1 (esai_1) gpio - pins and registers 11-18 dsp56367 24-bit digital signal processor users manual motorola 11.5.3 port e data register (pdre) the read/write 24-bit port e data register (see figure 11-17 ) is used to read or write data to/from esai_1 gpio pins. bits pd(11:0) are used to read or write data from/to the corresponding port pins if they are configured as gpio. if a port pin [i] is configured as a gpio input, then the corresponding pd[i] bit will reflect the value present on this pin. if a port pin [i] is configured as a gpio output, then the value written into the corresponding pd[i] bit will be reflected on this pin. if a port pin [i] is configured as disconnected, the corresponding pd[i] bit is not reset and contains undefined data. 11109876543210 y:$ffff9e pde11 pde10 pde9 pde8 pde7 pde6 pde4 pde3 pde1 pde0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-16 prre register 11109876543210 y:$ffff9d pd11 pd10 pd9 pd8 pd7 pd6 pd4 pd3 pd1 pd0 23 22 21 20 19 18 17 16 15 14 13 12 reserved bit - read as zero; should be written with zero for future compatibility. figure 11-17 pdre register
motorola dsp56367 24-bit digital signal processor users manual 12-1 chapter 12 digital audio transmitter
digital audio transmitter introduction 12-2 dsp56367 24-bit digital signal processor users manual motorola 12.1 introduction the digital audio transmitter (dax) is a serial audio interface module that outputs digital audio data in the aes/ebu, cp-340 and iec958 formats. some of the key features of the dax are listed below. ? operates on a frame basis the dax can handle one frame (consisting of two subframes) of audio and non-audio data at a time. ? double-buffered audio and non-audio data the dax data path is double-buffered so the next frame data can be stored in the dax without affecting the frame currently being transmitted. ? direct memory access audio data and non-audio data can be written to the dax using dma. ? programmable clock source users can select the dax clock source, and this selection configures the dax to operate in slave or master mode. ? supports both master mode and slave mode in a digital audio network if the user selects a divided dsp core clock, the dax will operate in the master mode. if the user selects an external clock source, the dax will operate in the slave mode. ? gpio each of the two dax pins can be configured as either gpio or as specific dax pin. each pin is independent of the other. however, at least one of the two pins must be selected as a dax pin to release the dax from reset. the accessible dax registers are all mapped in the x i/o memory space. this allows programmers to access the dax using standard instructions and addressing modes. interrupts generated by the dax can be handled with a fast interrupt for cases in which the non-audio data does not change from frame to frame. when the dax interrupts are disabled, they can still be served by dma or by a polling technique. a block diagram of the dax is shown in figure 12-1 . note: the shaded registers in figure 12-1 are directly accessible by dsp instructions.
digital audio transmitter dax signals motorola dsp56367 24-bit digital signal processor users manual 12-3 figure 12-1 digital audio transmitter (dax) block diagram 12.2 dax signals the dax has two signal lines: ? dax digital audio output (ado/pd1) the ado pin sends audio and non-audio data in the aes/ebu, cp340, and iec958 formats in a biphase mark format. the ado pin may also be used as a gpio pin pd1 if the dax is not operational. ? dax clock input (aci/pd0) when the dax clock is configured to be supplied externally, the external clock is applied to the aci pin. the frequency of the external clock must be 256 times, 384 times, or 512 times the audio sampling frequency (256 fs, 384 fs, or 512 fs). the aci pin may also be used as a gpio pin pd0 when the dax is disabled or when operating from the internal dsp clock. 12.3 dax functional overview the dax consists of the following: ? audio data register (xadr) ? two audio data buffers (xadbufa and xadbufb) ? non-audio data register (xnadr) ? non-audio data buffer (xnadbuf) 26 xstr c-u-v prtyg biphase encoder preamble generator dax state machine control signals xnadbuf global data bus 0 23 dax clock mux dsp core clock dax clocks xadsr 0 23 xnadr 23 upload mux mux mux 23 0 0 xadr xadbufb xadbufa dma bus ado aci xctr 0 23
digital audio transmitter dax programming model 12-4 dsp56367 24-bit digital signal processor users manual motorola ? audio and non-audio data shift register (xadsr) ? control register (xctr) ? status register (xstr) ? parity generator (prtyg) ? preamble generator ? biphase encoder ? clock multiplexer ? control state machine xadr, xadbufa, xadbufb and xadsr creates a fifo-like data path. channel a is written to xadr and moves to xadbufa. then channel b is written to xadr, and when xadbufb empties xadr moves into it. xadbufa moves to the shift register xadsr when xadsr has shifted out its last bit. after channel a audio and non-audio data has been shifted out, xadbufb moves into xadsr, and channel b audio and non audio shift begins. the frame non-audio data (stored in xnadr) is transferred to the xadsr (for channel a) and to the xnadbuf registers (for channel b) at the beginning of a frame transmission. this is called an upload. the dax audio data register empty (xade) flag is set when xadr and xadbufa are empty, and, if the audio data register empty interrupt is enabled (xdie=1), an interrupt request is sent to the dsp core. the interrupt handling routine then sends the non-audio data bits to xnadr and the next frame of audio data to xadr (two subframes). at the beginning of a frame transmission, one of the 8-bit channel a preambles (z-preamble for the first subframe in a block, or x-preamble otherwise) is generated in the preamble generator, and then shifted out to the ado pin in the first eight time slots. the preamble is generated in biphase mark format. the twenty-four audio and three non-audio data bits in the xadsr are shifted out to the biphase encoder, which shifts them out through the ado pin in the biphase mark format in the next 54 time slots. the parity generator calculates an even parity over the 27 bits of audio and non-audio data, and then outputs the result through the biphase encoder to the ado pin at the last two time slots. this is the end of the first (channel a) subframe transmission. the second subframe transmission (channel b) starts with the preamble generator generating the channel b preamble (y-preamble). at the same time, channel b audio and non-audio data is transferred to the xadsr shift-register from the xadbufb and xnadbuf registers. the generated y-preamble is output immediately after the channel a parity and is followed by the audio and non-audio data in the xadsr, which is in turn followed by the calculated parity for channel b. this completes a frame transmission. when the channel b parity is sent, the audio data for the next frame, stored in xadbufa and the non-audio data bits from the xnadr, are uploaded to xadsr. 12.4 dax programming model the programmer-accessible dax registers are shown in figure 12-2 . the registers are described in the following subsections. the interrupt vector table for the dax is shown in table 12-1 . the internal interrupt priority is shown in table 12-2 .
digital audio transmitter dax internal architecture motorola dsp56367 24-bit digital signal processor users manual 12-5 12.5 dax internal architecture hardware components shown in figure 12-1 are described in the following sections. the dax programming model is illustrated in figure 12-2 . figure 12-2 dax programming model table 12-1 dax interrupt vectors condition address description xaur vba:$28 dax transmit underrun error xade & xblk vba:$2a dax block transferred xade vba:$2e dax audio data register empty table 12-2 dax interrupt priority priority interrupt highestdax transmit underrun error dax block transferred lowest dax audio data register empty 23 1 2 21 22 8 xblk 3 4 7 9 18 17 16 19 20 xade 0 6 5 13 12 11 10 14 15 reserved bit 0 23 1 2 21 22 8 3 6 5 7 9 xva 10 xcb 15 xub 14 xvb 13 xca 12 xua 11 18 17 16 19 20 4 0 23 xaur xadra - audio data register a - x:$ffffd2 and xadrb - audio data register b -x:$ffffd3 xnadr - non-audio data register - x:$ffffd1 xstr - status register - x:$ffffd4 0 23 1 2 21 22 8 xcs0 3 6 5 7 9 10 15 14 13 12 11 18 17 16 19 20 xcs1 4 xuie xsb xbie xdie xctr - control register - x:$ffffd0
digital audio transmitter dax internal architecture 12-6 dsp56367 24-bit digital signal processor users manual motorola 12.5.1 dax audio data register (xadr) xadr is a 24-bit write-only register. one frame of audio data, which is to be transmitted in the next frame slot, is transferred to this register. successive write accesses to this register will store channel a and channel b alternately in xadbufa and in xadbufb respectively. when xadr and xadbufa are empty, xade bit in the xstr is set, and, if the audio data register empty interrupt is enabled (xdie=1), an interrupt request is sent to the dsp core. when channel b is transferred to xadr, the xade bit in the xstr is cleared. xadr can also be accessed by dma. when xadr and xadbufa are empty, the dax sends a dma request to the core. the dma first transfers non-audio data bits to xnadr (optional), then transfers channel a and channel b to xadr. the xadr can be accessed with two different successive addresses. this feature supports sending non-audio data bits, channel a and channel b to the dax in three successive dma transfers. 12.5.2 dax audio data buffers (xadbufa / xadbufb) xadbufa and xadbufb are 24-bit registers that buffer xadr from xadsr, creating a fifo-like data path. these registers hold the next two subframes of audio data to be transmitted. channel a audio data is transferred from xadr to xadbufa if xadbufa is empty. channel b audio data is transferred from xadr to xadbufb if xadbufb is empty. audio data is transferred from xadbufa and xadbufb alternately to xadsr provided that xadsr shifted out all the audio and non-audio bits of the currently transmitted channel. this buffering mechanism provides more cycles for writing the next audio data to xadr. these registers are not directly accessible by dsp instructions. 12.5.3 dax audio data shift register (xadsr) the xadsr is a 27-bit shift register that shifts the 24-bit audio data and the 3-bit non-audio data for one subframe. the contents of xadbufa or xadbufb are directly transferred to the xadsr at the beginning of the subframe transmission. the channel a subframe is transferred to xadsr at the same time that the three bits of non-audio data (v-bit, u-bit and c-bit) for channel a in the dax non-audio data register (xnadr) are transferred to the three highest-order bits of the xadsr. at the beginning of the channel b transmission, audio and non-audio data for channel b are transferred from the xadbufb and the xnadbuf to the xadsr for shifting. the data in the xadsr is shifted toward the lowest-order bit at the fifth to thirty-first bit slot of each subframe transmission. this register is not directly accessible by dsp instructions. 12.5.4 dax non-audio data register (xnadr) the xnadr is a 24-bit write-only register. it holds the three bits of non-audio data for each subframe. xnadr can be accessed by core instructions or by dma. the contents of the xnadr are shown in figure 12-2 . xnadr is not affected by any of the dax reset states. the xnadr bits are described in the following paragraphs.
digital audio transmitter dax internal architecture motorola dsp56367 24-bit digital signal processor users manual 12-7 12.5.4.1 dax channel a validity (xva)bit 10 the value of the xva bit is transmitted as the twenty-ninth bit (bit 28) of channel a subframe in the next frame. 12.5.4.2 dax channel a user data (xua)bit 11 the value of the xua bit is transmitted as the thirtieth bit (bit 29) of the channel a subframe in the next frame. 12.5.4.3 dax channel a channel status (xca)bit 12 the value of the xca bit is transmitted as the thirty-first bit (bit 30) of the channel a subframe in the next frame. 12.5.4.4 dax channel b validity (xvb)bit 13 the value of the xvb bit is transmitted as the twenty-ninth bit (bit 28) of the channel b subframe in the next frame. 12.5.4.5 dax channel b user data (xub)bit 14 the value of the xub bit is transmitted as the thirtieth bit (bit 29) of the channel b subframe in the next frame. 12.5.4.6 dax channel b channel status (xcb)bit 15 the value of the xcb bit is transmitted as the thirty-first bit (bit 30) of the channel b subframe in the next frame. 12.5.4.7 xnadr reserved bitsbits 0-9, 16C23 these xnadr bits are reserved. they read as 0, and should be written with 0 to ensure compatibility with future device versions. 12.5.5 dax non-audio data buffer (xnadbuf) the xnadbuf is a 3-bit register that temporarily holds channel b non-audio data (xvb, xub and xcb) for the current transmission while the channel a data is being transmitted. this mechanism provides programmers more instruction cycles to store the next frames non-audio data to the xcb, xub, xvb, xca, xua and xva bits in the xnadr. the data in the xnadbuf register is transferred to the xadsr along with the contents of the xadbuf register at the beginning of channel b transmission. note: the xnadbuf register is not directly accessible by dsp instructions.
digital audio transmitter dax internal architecture 12-8 dsp56367 24-bit digital signal processor users manual motorola 12.5.6 dax control register (xctr) the xctr is a 24-bit read/write register that controls the dax operation. the contents of the xctr are shown in figure 12-2 . xctr is cleared by software reset and hardware reset. the xctr bits are described in the following paragraphs. 12.5.6.1 audio data register empty interrupt enable (xdie)bit 0 when the xdie bit is set, the audio data register empty interrupt is enabled and sends an interrupt request signal to the dsp if the xade status bit is set. when xdie bit is cleared, this interrupt is disabled. 12.5.6.2 underrun error interrupt enable (xuie)bit 1 when the xuie bit is set, the underrun error interrupt is enabled and sends an interrupt request signal to the dsp if the xaur status bit is set. when xuie bit is cleared, this interrupt is disabled. 12.5.6.3 block transferred interrupt enable (xbie)bit 2 when the xbie bit is set, the block transferred interrupt is enabled and sends an interrupt request signal to the dsp if the xblk and xade status bits are set. when xbie bit is cleared, this interrupt is disabled. 12.5.6.4 dax clock input select (xcs[1:0])bits 3C4 the xcs[1:0] bits select the source of the dax clock and/or its frequency. table 12-3 shows the configurations selected by these bits. these bits should be changed only when the dax is disabled. 12.5.6.5 dax start block (xsb)bit 5 the xsb bit forces the dax to start a new block. when this bit is set, the next frame will start with z preamble and will start a new block even though the current block was not finished. this bit is cleared when the new block starts. 12.5.6.6 xctr reserved bitsbits 6-23 these xctr bits are reserved. they read as 0 and should be written with 0 for future compatibility. table 12-3 clock source selection xcs1 xcs0 dax clock source 0 0 dsp core clock (f = 1024 x fs) 0 1 aci pin, f = 256 x fs 1 0 aci pin, f = 384 x fs 1 1 aci pin, f = 512 x fs
digital audio transmitter dax internal architecture motorola dsp56367 24-bit digital signal processor users manual 12-9 12.5.7 dax status register (xstr) the xstr is a 24-bit read-only register that contains the dax status flags. the contents of the xstr are shown in figure 12-2 . xstr is cleared by software reset, hardware reset an by the stop state. the xstr bits are described in the following paragraphs. 12.5.7.1 dax audio data register empty (xade)bit 0 the xade status flag indicates that the dax audio data register xadr and the audio data buffer xadbufa are empty (and ready to receive the next frames audio data). this bit is set at the beginning of every frame transmission (more precisely, when channel a audio data is transferred from xadbufa to xadsr). when xade is set and the interrupt is enabled (xdie = 1), an audio data register empty interrupt request is sent to the dsp core. xade is cleared by writing two channels of audio data to xadr. 12.5.7.2 dax transmit underrun error flag (xaur)bit 1 the xaur status flag is set when the dax audio data buffers xadbufa or xadbufb are empty and the respective audio data upload occurs. when a dax underrun error occurs, the previous frame data will be retransmitted in both channels. when xaur is set and the interrupt is enabled (xuie = 1), an underrun error interrupt request is sent to the dsp core. this allows programmers to write an exception handling routine for this special case. the xaur bit is cleared by reading the xstr register with xaur set, followed by writing two channels of audio data to xadr. 12.5.7.3 dax block transfer flag (xblk)bit 2 the xblk flag indicates that the frame being transmitted is the last frame in a block. this bit is set at the beginning of the transmission of the last frame (the 191st frame). this bit does not cause any interrupt. however, if xbie=1 it causes a change in the interrupt vector sent to dsp core in the event of an audio data register empty interrupt, so that a different interrupt routine can be called (providing the next non-audio data structures for the next block as well as storing audio data for the next frame). writing two channels of audio data to xadr clears this bit. the relative timing of transmit frames and xade and xblk flags is shown in figure 12-3 .
digital audio transmitter dax internal architecture 12-10 dsp56367 24-bit digital signal processor users manual motorola figure 12-3 dax relative timing 12.5.7.4 xstr reserved bitsbits 3C23 these xstr bits are reserved. they read as 0, and should be written with 0 to ensure compatibility with future device versions. 12.5.8 dax parity generator (prtyg) the prtyg generates the parity bit for the subframe being transmitted. the generated parity bit ensures that subframe bits four to thirty-one will carry an even number of ones and zeroes. 12.5.9 dax biphase encoder the dax biphase encoder encodes each audio and non-audio bit into its biphase mark format and shifts this encoded data out to the ado output pin synchronously to the biphase clock. 12.5.10 dax preamble generator the dax preamble generator automatically generates one of three preambles in the 8-bit preamble shift register at the beginning of each subframe transmission, and shifts it out. the generated preambles always start with 0. bit patterns of preambles generated in the preamble generator are shown in table 12-4 . the preamble bits are already in the biphase mark format. #000 #001 #008 #007 #006 #005 #004 #003 #002 #009 #010 #021 #011 #018 #017 #016 #015 #014 #013 #012 #019 #020 #022 #023 #024 #025 #032 #031 #030 #029 #028 #027 #026 #033 #034 #045 #035 #042 #041 #040 #039 #038 #037 #036 #043 #044 #046 #047 xade xblk frame xade xblk frame xade xblk frame #168 #169 #176 #175 #174 #173 #172 #171 #170 #177 #178 #189 #179 #186 #185 #184 #183 #182 #181 #180 #187 #188 #190 #191 aa0608
digital audio transmitter dax internal architecture motorola dsp56367 24-bit digital signal processor users manual 12-11 there is no programmable control for the preamble selection. the first subframe to be transmitted (immediately after the dax is enabled) is the beginning of a block, and therefore it has a z preamble. this is followed by the second subframe, which has an y preamble. after that, x and y preambles are transmitted alternately until the end of the block transfer (192 frames transmitted). see figure 12-4 for an illustration of the preamble sequence. figure 12-4 preamble sequence 12.5.11 dax clock multiplexer the dax clock multiplexer selects one of the clock sources and generates the biphase clock (128 fs) and shift clock (64 fs). the clock source can be selected from the following options (see also section 12.5.6.4, dax clock input select (xcs[1:0])bits 3C4 on page 1-8 ). ? the internal dsp core clockassumes 1024 fs ? dax clock input pin (aci)512 fs ? dax clock input pin (aci)384 fs ? dax clock input pin (aci)256 fs figure 12-5 shows how each clock is divided to generate the biphase and bit shift clocks table 12-4 preamble bit patterns preamble bit pattern channel x 00011101 a y 00011011 b z 00010111 a (first in block) dax enabled here first block (384 subframes) second block z y x y x y x y z y x y aa0609k
digital audio transmitter dax programming considerations 12-12 dsp56367 24-bit digital signal processor users manual motorola figure 12-5 clock multiplexer diagram note: for proper operation of the dax, the dsp core clock frequency must be at least five times higher than the dax bit shift clock frequency (64 fs). 12.5.12 dax state machine the dax state machine generates a set of sequencing signals used in the dax. 12.6 dax programming considerations the following sections describe programming considerations for the dax. 12.6.1 initiating a transmit session to initiate the dax operation, follow this procedure: 1. ensure that the dax is disabled (pc1 and pc0 bits of port control register pcr are cleared) 2. write the non-audio data to the corresponding bits in the xnadr register 3. write the channel a and channel b audio data in the xadr register 4. write the transmit mode to the xctr register 5. enable dax by setting pc1 bit (and by setting pc0 bit if in slave mode) in the port control register (pcr); transmission begins. 12.6.2 audio data register empty interrupt handling when the xdie bit is set and the dax is active, an audio data register empty interrupt (xade = 1) is generated once at the beginning of every frame transmission. typically, within an xade interrupt, the non-audio data bits of the next frame are stored in xnadr and one frame of audio data to be transmitted 1/4 2/3 1/2 1/2 1/2 biphase clock (128 fs) bit shift clock (64 fs) dsp core clock (1024 fs) aci pin {256,384,512} fs (xcs1 or xcs0) xcs0 1 0 xcs1 1 0 1 0 mux mux mux aa0610
digital audio transmitter dax programming considerations motorola dsp56367 24-bit digital signal processor users manual 12-13 in the next frame is stored in the fifo by two consecutive movep instructions to xadr. if the non-audio bits are not changed from frame to frame, this procedure can be handled within a fast interrupt routine. storing the next frames audio data in the fifo clears the xade bit in the xstr. 12.6.3 block transferred interrupt handling an interrupt with the xblk vector indicates the end of a block transmission and may require some computation to provide the next non-audio data structures that are to be transmitted within the next block. within the routine, the next audio data can be stored in the fifo by two consecutive movep instructions to xadr, and the next non-audio data can be stored in the xnadr. the xblk interrupt occurs only if the xbie bit in xctr is set. if xbie is cleared, a xade interrupt vector will take place. 12.6.4 dax operation with dma during dma transfers, the xdie bit of the xctr must be cleared to avoid xade interrupt services by the dsp core. the initialization appearing in section 12.6.1, initiating a transmit session on page 1-12 is relevant for dma operation. dma transfers can be performed with or without changing non-audio bits from frame to frame. table 12-5 describes two examples of dma configuration. table 12-5 examples of dma configuration register non-audio data bits change non-audio data bits do not change dcr2 de=1; enable dma channel. die=1; enable dma interrupt. dtm[2:0]=010; line transfer mode. d3d=0; not 3d. dam[5:3]=000; 2d mode. dam[2:0]=101; post increment by 1. dds[1:0]=00; x memory space. drs[4:0]=01010; dax is dma request source. other bits are application dependent. de=1; enable dma channel. die=1; enable dma interrupt. dtm[2:0]=010; line transfer mode. d3d=0; not 3d. dam[5:3]=000; 2d mode. dam[2:0]=101; post increment by 1. dds[1:0]=00; x memory space. drs[4:0]=01010; dax is dma request source. other bits are application dependent. dco2 dcoh=number of frames in block - 1 dcol=$002; 3 destination registers dcoh=number of frames in block - 1 dcol=$001; 2 destination registers dsr2 first memory address of the block first memory address of the block ddr2 xnadr address (base address + $1) xadr address (base address + $2) dor0 $fffffe; offset=-2 $ffffff; offset=-1
digital audio transmitter gpio (port d) - pins and registers 12-14 dsp56367 24-bit digital signal processor users manual motorola the memory organization employed for dma transfers depends on whether or not non-audio data changes from frame to frame as shown in figure 12-6 . figure 12-6 examples of data organization in memory 12.6.5 dax operation during stop the dax operation cannot continue when the dsp is in the stop state since no dsp clocks are active. while the dsp is in the stop state, the dax will remain in the individual reset state and the status flags are initialized as described for resets. no dax control bits are affected. the dax should be disabled before the dsp enters the stop state. 12.7 gpio (port d) - pins and registers the port d gpio functionality of the dax is controlled by three registers: port d control register (pcrd), port d direction register (prrd) and port d data register (pdrd). 12.7.1 port d control register (pcrd) non-audio data channel a channel a channel b channel b non-audio data non-audio data non-audio data channel a channel a channel b channel b $000000 $00000b $000005 $000004 $000003 $000002 $000001 $000007 $000006 $00000a $000009 $000008 non-audio data bits change from frame to frame $000000 $00000b $000005 $000004 $000003 $000002 $000001 $000007 $000006 $00000a $000009 $000008 non-audio data bits do not change from frame to frame channel a channel a channel a channel a channel a channel a channel b channel b channel b channel b channel b channel b
digital audio transmitter gpio (port d) - pins and registers motorola dsp56367 24-bit digital signal processor users manual 12-15 the read/write 24-bit dax port d control register controls the functionality of the dax gpio pins. each of the pc[1:0] bits controls the functionality of the corresponding port pin. when a pc[i] bit is set, the corresponding port pin is configured as a dax pin. when a pc[i] bit is cleared, the corresponding port pin is configured as gpio pin. if both pc1 and pc0 are cleared, the dax is disabled. hardware and software reset clear all pcrd bits. figure 12-7 port d control register (pcrd) 12.7.2 port d direction register (prrd) the read/write 24-bit port d direction register controls the direction of the dax gpio pins. when port pin[i] is configured as gpio, pdc[i] controls the port pin direction. when pdc[i] is set, the gpio port pin[i] is configured as output. when pdc[i] is cleared the gpio port pin[i] is configured as input. hardware and software reset clear all prrd bits. table 12-6 describes the port pin configurations. figure 12-8 port d direction register (prrd) table 12-6 dax port gpio control register functionality pdc1 pc1 ado/pd1 pin pdc0 pc0 aci/pd0 pin dax state 0 0 disconnected 0 0 disconnected personal reset 0 0 disconnected 0 1 pd0 input personal reset 0 0 disconnected 1 0 pd0 output personal reset 0 0 disconnected 1 1 aci enabled 0 1 pd1 input0 0 disconnected personal reset 0 1 pd1 input0 1 pd0 inputpersonal reset 0 1 pd1 input1 0 pd0 outputpersonal reset 7 pc1 1 pc0 0 4 3 2 5 6 15 12 11 10 13 14 8 9 read as zero, should be written with zero for future compatibility. 23 20 19 18 21 22 16 17 pcrd -port d control register - x:$ffffd7 7 pdc1 1 pdc0 0 4 3 2 5 6 15 12 11 10 13 14 8 9 read as zero, should be written with zero for future compatibility. 23 20 19 18 21 22 16 17 prrd - port d direction register - x:$ffffd6
digital audio transmitter gpio (port d) - pins and registers 12-16 dsp56367 24-bit digital signal processor users manual motorola 12.7.3 port d data register (pdrd) the read/write 24-bit port d data register is used to read or write data to/from the dax gpio pins. bits pd[1:0] are used to read or write data from/to the corresponding port pins if they are configured as gpio. if a port pin [i] is configured as a gpio input, then the corresponding pd[i] bit will reflect the value present on this pin. if a port pin [i] is configured as a gpio output, then the value written into the corresponding pd[i] bit will be reflected on the this pin. hardware and software reset clear all pdrd bits. figure 12-9 port d data register (pdrd) 0 1 pd1 input1 1 aci enabled 1 0 pd1 output 0 0 disconnected personal reset 1 0 pd1 output 0 1 pd0 input personal reset 1 0 pd1 output 1 0 pd0 output personal reset 1 0 pd1 output 1 1 aci enabled 1 1 ado 0 0 disconnected enabled 1 1 ado 0 1 pd0 inputenabled 1 1 ado 1 0 pd0 output enabled 1 1 ado 1 1 aci enabled table 12-6 dax port gpio control register functionality (continued) pdc1 pc1 ado/pd1 pin pdc0 pc0 aci/pd0 pin dax state 7 pd1 1 pd0 0 4 3 2 5 6 15 12 11 10 13 14 8 9 read as zero, should be written with zero for future compatibility. 23 20 19 18 21 22 16 17 pdrd - port d data register - x:$ffffd5
motorola dsp56367 24-bit digital signal processor users manual 13-1 chapter 13 timer/event counter
timer/event counter introduction 13-2 dsp56367 24-bit digital signal processor users manual motorola 13.1 introduction this section describes the internal timer/event counter in the dsp56367. each of the three timers (timer 0, 1 and 2) can use internal clocking to interrupt the dsp56367 or trigger dma transfers after a specified number of events (clocks). in addition, timer 0 provides external access via the bidirectional signal tio0. when the tio0 pin is configured as an input, timer 0 can count or capture events, or measure the width or period of an external signal. when tio0 is configured as an output, timer 0 can function as a timer, a watchdog timer, or a pulse width modulator. tio0 can also function as a gpio signal. 13.2 timer/event counter architecture the timer module is composed of a common 21-bit prescaler and three independent general purpose 24-bit timer/event counters, each having its own register set. 13.2.1 timer/event counter block diagram figure 13-1 shows a block diagram of the timer/event counter. this module includes a 24-bit timer prescaler load register (tplr), a 24-bit timer prescaler count register (tpcr), a 21-bit prescaler clock counter, and three timers. each of the three timers may use the prescaler clock as its clock source.
timer/event counter timer/event counter architecture motorola dsp56367 24-bit digital signal processor users manual 13-3 figure 13-1 timer/event counter block diagram 13.2.2 individual timer block diagram figure 13-2 shows the structure of an individual timer module. the three timers are identical in structure, but only timer 0 is externally accessible. each timer includes a 24-bit counter, a 24-bit read/write timer control and status register (tcsr), a 24-bit read-only timer count register (tcr), a 24-bit write-only timer load register (tlr), a 24-bit read/write timer compare register (tcpr), and logic for clock selection and interrupt/dma trigger generation. the timer mode is controlled by the tc[3:0] bits of the timer control/status register (tcsr). timer modes are described in section 13.4, timer modes of operation . timer prescaler count register gdb 24 24 tplr 24 timer 0 timer 2 timer 1 21-bit prescaler clk/2 tpcr timer prescaler load register 24 counter aa0673 tio0
timer/event counter timer/event counter programming model 13-4 dsp56367 24-bit digital signal processor users manual motorola figure 13-2 timer block diagram 13.3 timer/event counter programming model the dsp56367 views each timer as a memory-mapped peripheral with four registers occupying four 24-bit words in the x data memory space. either standard polled or interrupt programming techniques can be used to service the timers. the timer programming model is shown in figure 13-3 . gdb control/status register tcsr counter timer interrupt/ timer control clk/2 tio compare register tcpr = 24 24 dma request logic load register count register tlr prescaler clk tcr 24 24 9 2 24 24 24 24 24 (timer 0 only) aa0676
timer/event counter timer/event counter programming model motorola dsp56367 24-bit digital signal processor users manual 13-5 figure 13-3 timer module programmers model do di dir 15 14 13 12 11 10 9 8 tc1 tc0 inv tcie te 76543210 timer control/status register (tcsr) - r eserved, read as 0, should be written with 0 for future compatibility. 23 0 timer load register (tlr) 23 22 21 20 19 18 17 16 23 0 timer compare register (tcpr) pce trm tcf tof toie tc2 23 0 timer count register (tcr) tc3 tcsr0 = $ffff8f tcsr1 = $ffff8b tcsr2 = $ffff87 tlr0 = $ffff8e tlr1 = $ffff8a tlr2 = $ffff86 tcr0 = $ffff8c tcr1 = $ffff88 tcr2 = $ffff84 tcpr0 = $ffff8d tcpr1 = $ffff89 tcpr2 = $ffff85 23 0 timer prescaler load register (tplr) tplr = $ffff83 23 0 timer prescaler count register (tpcr) tplr = $ffff82
timer/event counter timer/event counter programming model 13-6 dsp56367 24-bit digital signal processor users manual motorola 13.3.1 prescaler counter the prescaler counter is a 21-bit counter that is decremented on the rising edge of the prescaler input clock. the counter is enabled when at least one of the three timers is enabled (i.e., one or more of the timer enable (te) bits are set) and is using the prescaler output as its source (i.e., one or more of the pce bits are set). 13.3.2 timer prescaler load register (tplr) the tplr is a 24-bit read/write register that controls the prescaler divide factor (i.e., the number that the prescaler counter will load and begin counting from) and the source for the prescaler input clock. see figure 13-4 . 13.3.2.1 tplr prescaler preload value pl[20:0] bits 20C0 these 21 bits contain the prescaler preload value. this value is loaded into the prescaler counter when the counter value reaches zero or the counter switches state from disabled to enabled. if pl[20:0] = n, then the prescaler counts n + 1 source clock cycles before generating a prescaler clock pulse. therefore, the prescaler divide factor = (preload value) + 1. the pl[20:0] bits are cleared by the hardware reset signal or the software reset instruction. 13.3.2.2 tplr prescaler source ps[1:0] bits 22-21 the two prescaler source (ps) bits control the source of the prescaler clock. table 13-1 summarizes ps bit functionality. the prescalers use of the tio0 signal is not affected by the tcsr settings of timer 0. if the prescaler source clock is external, the prescaler counter is incremented by signal transitions on the tio0 signal. the external clock is internally synchronized to the internal clock. the external clock frequency must be lower than the dsp56367 internal operating frequency divided by 4 (clk/4). the ps[1:0] bits are cleared by the hardware reset signal or the software reset instruction. 23 22 21 20 19 18 17 16 15 14 13 12 ps1 ps0 pl20 pl19 pl18 pl17 pl16 pl15 pl14 pl13 pl12 11109876543210 pl11 pl10 pl9 pl8 pl7 pl6 pl5 pl4 pl3 pl2 pl1 pl0 reserved, read as 0, should be written with 0 for future compatibility figure 13-4 timer prescaler load register
timer/event counter timer/event counter programming model motorola dsp56367 24-bit digital signal processor users manual 13-7 note: to ensure proper operation, change the ps[1:0] bits only when the prescaler counter is disabled. disable the prescaler counter by clearing the te bit in the tcsr of each of three timers. 13.3.2.3 tplr reserved bit 23 this reserved bit is read as zero and should be written with zero for future compatibility. 13.3.3 timer prescaler count register (tpcr) the tpcr is a 24-bit read-only register that reflects the current value in the prescaler counter. see figure 13-5 . 13.3.3.1 tpcr prescaler counter value pc[20:0] bits 20C0 these 21 bits contain the current value of the prescaler counter. 13.3.3.2 tpcr reserved bits 23C21 these reserved bits are read as zero and should be written with zero for future compatibility. 13.3.4 timer control/status register (tcsr) the tcsr is a 24-bit read/write register controlling the timer and reflecting its status. table 13-1 prescaler source selection ps1 ps0 prescaler clock source 0 0 internal clk/2 01 tio0 10 reserved 11 reserved 23 22 21 20 19 18 17 16 15 14 13 12 pc20 pc19 pc18 pc17 pc16 pc15 pc14 pc13 pc12 11109876543210 pc11 pc10 pc9 pc8 pc7 pc6 pc5 pc4 pc3 pc2 pc1 pc0 reserved, read as 0, should be written with 0 for future compatibility figure 13-5 timer prescaler count register (tpcr)
timer/event counter timer/event counter programming model 13-8 dsp56367 24-bit digital signal processor users manual motorola 13.3.4.1 tcsr timer enable (te) bit 0 the timer enable (te) bit is used to enable or disable the timer. setting te enables the timer and clears the timer counter. the counter starts counting according to the mode selected by the timer control (tc[3:0]) bit values. clearing the te bit disables the timer. the te bit is cleared by the hardware reset signal or the software reset instruction. note: when timer 0 is disabled and tio0 is not in gpio mode, the pin is tri-stated. to prevent undesired spikes on tio0 when timer 0 is switched from tri-state to an active state, tio0 should be tied to the power supply with a pullup or pulldown resistor. 13.3.4.2 tcsr timer overflow interrupt enable (toie) bit 1 the toie bit is used to enable the timer overflow interrupts. setting toie enables overflow interrupt generation. the timer counter can hold a maximum value of $ffffff. when the counter value is at the maximum value and a new event causes the counter to be incremented to $000000, the timer generates an overflow interrupt. clearing the toie bit disables overflow interrupt generation. the toie bit is cleared by the hardware reset signal or the software reset instruction. 13.3.4.3 tcsr timer compare interrupt enable (tcie) bit 2 the timer compare interrupt enable (tcie) bit is used to enable or disable the timer compare interrupts. setting tcie enables the compare interrupts. in the timer, pwm, or watchdog modes, a compare interrupt is generated after the counter value matches the value of the tcpr. the counter will start counting up from the number loaded from the tlr and if the tcpr value is n, an interrupt occurs after (n C m + 1) events, where m is the value of tlr. clearing the tcie bit disables the compare interrupts. the tcie bit is cleared by the hardware reset signal or the software reset instruction. 13.3.4.4 tcsr timer control (tc[3:0]) bits 4C7 the four tc bits control the source of the timer clock, the behavior of the tio0 signal, and the timer mode of operation. table 13-2 summarizes the tc bit functionality. a detailed description of the timer operating modes is given in section 13.4, timer modes of operation . the tc bits are cleared by the hardware reset signal or the software reset instruction. notes: 1. if the clock is external, the counter is incremented by the transitions on the tio0 signal. the external clock is internally synchronized to the internal clock, and its frequency should be lower than the internal operating frequency divided by 4 (clk/4). 2. to ensure proper operation, the tc[3:0] bits should be changed only when the timer is disabled (when the te bit in the tcsr has been cleared).
timer/event counter timer/event counter programming model motorola dsp56367 24-bit digital signal processor users manual 13-9 table 13-2 timer control bits for timer 0 bit settings mode characteristics tc3 tc2 tc1 tc0 mode number mode function tio0 clock 0000 0 timer and gpio gpio * internal 0 0 0 1 1 timer pulse output internal 0 0 1 0 2 timer toggle output internal 0 0 1 1 3 event counter input external 0 1 0 0 4 input width measurement input internal 0 1 0 1 5 input period measurement input internal 0 1 1 0 6 capture event input internal 0 1 1 1 7 pulse width modulation output internal 1000 8 reserved 1 0 0 1 9 watchdog pulse output internal 1 0 1 0 10 watchdog toggle output internal 1 0 1 1 11 reserved 1 1 0 0 12 reserved 1 1 0 1 13 reserved 1 1 1 0 14 reserved 1 1 1 1 15 reserved note: the gpio function is enabled only if all of the tc[3:0] bits are zero. table 13-3 timer control bits for timers 1 and 2 tc3 tc2 tc1 tc0 clock mode 0 0 0 0 internal timer 0 0 0 1 reserved 0 0 1 x reserved 0 1 x x reserved 1 x x x reserved
timer/event counter timer/event counter programming model 13-10 dsp56367 24-bit digital signal processor users manual motorola 13.3.4.5 tcsr inverter (inv) bit 8 the inv bit affects the polarity of the incoming signal on the tio0 input signal and the polarity of the output pulse generated on the tio0 output signal. the effects of the inv bit are summarized in table 13-4 . this bit is not in use for timers 1 and 2. it should be left cleared. table 13-4 inverse bit mode tio0 programmed as input tio0 programmed as output inv = 0 inv = 1 inv = 0 inv = 1 0 gpio signal on the tio0 signal read directly gpio signal on the tio0 signal inverted bit written to gpio put on tio0 signal directly bit written to gpio inverted and put on tio0 signal 1 counter is incremented on the rising edge of the signal from the tio0 signal counter is incremented on the falling edge of the signal from the tio0 signal 2 counter is incremented on the rising edge of the signal from the tio0 signal counter is incremented on the falling edge of the signal from the tio0 signal tcrx output put on tio0 signal directly tcrx output inverted and put on tio0 signal 3 counter is incremented on the rising edge of the signal from the tio0 signal counter is incremented on the falling edge of the signal from the tio0 signal 4 width of the high input pulse is measured. width of the low input pulse is measured. 5 period is measured between the rising edges of the input signal. period is measured between the falling edges of the input signal. 6 event is captured on the rising edge of the signal from the tio0 signal event is captured on the falling edge of the signal from the tio0 signal 7 pulse generated by the timer has positive polarity pulse generated by the timer has negative polarity 9 pulse generated by the timer has positive polarity pulse generated by the timer has negative polarity 10 pulse generated by the timer has positive polarity pulse generated by the timer has negative polarity
timer/event counter timer/event counter programming model motorola dsp56367 24-bit digital signal processor users manual 13-11 the inv bit is cleared by the hardware reset signal or the software reset instruction. note: the inv bit affects both the timer and gpio modes of operation. to ensure correct operation, this bit should be changed only when one or both of the following conditions is true: ? the timer has been disabled by clearing the te bit in the tcsr. ? the timer is in gpio mode. the inv bit does not affect the polarity of the prescaler source when tio0 is used as input to the prescaler. 13.3.4.6 tcsr timer reload mode (trm) bit 9 the trm bit controls the counter preload operation. in timer (0C3) and watchdog (9C10) modes, the counter is preloaded with the tlr value after the te bit is set and the first internal or external clock signal is received. if the trm bit is set, the counter is reloaded each time after it reaches the value contained by the tcr. in pwm mode (7), the counter is reloaded each time counter overflow occurs. in measurement (4C5) modes, if the trm and the te bits are set, the counter is preloaded with the tlr value on each appropriate edge of the input signal. if the trm bit is cleared, the counter operates as a free-running counter and is incremented on each incoming event. the trm bit is cleared by the hardware reset signal or the software reset instruction. 13.3.4.7 tcsr direction (dir) bit 11 the dir bit determines the behavior of the tio0 signal when it is used as a gpio pin. when the dir bit is set, the tio0 signal is an output; when the dir bit is cleared, the tio0 signal is an input. the tio0 signal can be used as a gpio only when the tc[3:0] bits are all cleared. if any of the tc[3:0] bits are set, then the gpio mode is disabled and the dir bit has no effect. the dir bit is cleared by the hardware reset signal or the software reset instruction. this bit is not in use for timers 1 and 2. it should be left cleared. 13.3.4.8 tcsr data input (di) bit 12 the di bit reflects the value of the tio0 signal. if the inv bit is set, the value of the tio0 signal is inverted before it is written to the di bit. if the inv bit is cleared, the value of the tio0 signal is written directly to the di bit. di is cleared by the hardware reset signal or the software reset instruction. 13.3.4.9 tcsr data output (do) bit 13 the do bit is the source of the tio0 value when it is a data output signal. the tio0 signal is data output when the gpio mode is enabled and dir is set. a value written to the do bit is written to the tio0 signal. if the inv bit is set, the value of the do bit is inverted when written to the tio0 signal. when the inv bit is
timer/event counter timer/event counter programming model 13-12 dsp56367 24-bit digital signal processor users manual motorola cleared, the value of the do bit is written directly to the tio0 signal. when gpio mode is disabled, writing the do bit has no effect. the do bit is cleared by the hardware reset signal or the software reset instruction. this bit is not in use for timers 1 and 2. it should be left cleared. 13.3.4.10 tcsr prescaler clock enable (pce) bit 15 the pce bit is used to select the prescaler clock as the timer source clock. when the pce bit is cleared, the timer uses either an internal (clk/2) signal or an external signal (tio0) as its source clock. when the pce bit is set, the prescaler output is used as the timer source clock for the counter regardless of the timer operating mode. to ensure proper operation, the pce bit should be changed only when the timer is disabled (when the te bit is cleared). which source clock is used for the prescaler is determined by the ps[1:0] bits of the tplr. timers 1 and 2 can be clocked by the prescaler clock derived from tio0. 13.3.4.11 tcsr timer overflow flag (tof) bit 20 the tof bit is set to indicate that counter overflow has occurred. this bit is cleared by writing a 1 to the tof bit. writing a 0 to the tof bit has no effect. the bit is also cleared when the timer overflow interrupt is serviced. the tof bit is cleared by the hardware reset signal, the software reset instruction, the stop instruction, or by clearing the te bit to disable the timer. 13.3.4.12 tcsr timer compare flag (tcf) bit 21 the tcf bit is set to indicate that the event count is complete. in the timer, pwm, and watchdog modes, the tcf bit is set when (n C m + 1) events have been counted (n is the value in the compare register and m is the tlr value). in the measurement modes, the tcf bit is set when the measurement has been completed. the tcf bit is cleared by writing a one into the tcf bit. writing a zero into the tcf bit has no effect. the bit is also cleared when the timer compare interrupt is serviced. the tcf bit is cleared by the hardware reset signal, the software reset instruction, the stop instruction, or by clearing the te bit to disable the timer. note: the tof and tcf bits are cleared by writing a one to the specific bit. in order to assure that only the desired bit is cleared, do not use the bset command. the proper way to clear these bits is to write (using a movep instruction) a one to the flag to be cleared and a zero to the other flag. 13.3.4.13 tcsr reserved bits (bits 3, 10, 14, 16-19, 22, 23) these reserved bits are read as zero and should be written with zero for future compatibility.
timer/event counter timer/event counter programming model motorola dsp56367 24-bit digital signal processor users manual 13-13 13.3.5 timer load register (tlr) the tlr is a 24-bit write-only register. in all modes, the counter is preloaded with the tlr value after the te bit in the tcsr is set and a first event occurs. the programmer must initialize the tlr to ensure correct operation in the appropriate timer operating modes. ? in timer modes, if the timer reload mode (trm) bit in the tcsr is set, the counter is reloaded each time after it has reached the value contained by the timer compare register (tcr) and the new event occurs. ? in measurement modes, if the trm bit in the tcsr is set and the te bit in the tcsr is set, the counter is reloaded with the value in the tlr on each appropriate edge of the input signal. ? in pwm modes, if the trm bit in the tcsr is set, the counter is reloaded each time after it has overflowed and the new event occurs. ? in watchdog modes, if the trm bit in the tcsr is set, the counter is reloaded each time after it has reached the value contained by the tcr and the new event occurs. in this mode, the counter is also reloaded whenever the tlr is written with a new value while the te bit in the tcsr is set. ? in all modes, if the trm bit in the tcsr is cleared (trm = 0), the counter operates as a free-running counter. 13.3.6 timer compare register (tcpr) the tcpr is a 24-bit read/write register that contains the value to be compared to the counter value. these two values are compared every timer clock after the te bit in the tcsr is set. when the values match, the timer compare flag (tcf) bit is set and an interrupt is generated if interrupts are enabled (if the timer compare interrupt enable (tcie) bit in the tcsr is set). the programmer must initialize the tcpr to ensure correct operation in the appropriate timer operating modes. the tcpr is ignored in measurement modes. 13.3.7 timer count register (tcr) the tcr is a 24-bit read-only register. in timer and watchdog modes, the counters contents can be read at any time by reading the tcr register. in measurement modes, the tcr is loaded with the current value of the counter on the appropriate edge of the input signal, and its value can be read to determine the width, period, or delay of the leading edge of the input signal. when the timer is in measurement modes, the tio0 signal is used for the input signal.
timer/event counter timer modes of operation 13-14 dsp56367 24-bit digital signal processor users manual motorola 13.4 timer modes of operation each timer has various operational modes that meet a variety of system requirements. these modes are as follows: ?timer C gpio, mode 0: internal timer interrupt generated by the internal clock C pulse, mode 1: external timer pulse generated by the internal clock C toggle, mode 2: output timing signal toggled by the internal clock C event counter, mode 3: internal timer interrupt generated by an external clock ? measurement C input width, mode 4: input pulse width measurement C input pulse, mode 5: input signal period measurement C capture, mode 6: capture external signal ? pwm, mode 7: pulse width modulation ? watchdog C pulse, mode 9: output pulse, internal clock C toggle, mode 10: output toggle, internal clock these modes are described in detail below. timer modes are selected by setting the tc[3:0] bits in the tcsr. table 13-2 and table 13-3 show how the different timer modes are selected by setting the bits in the tcsr. table 13-2 also shows the tio0 signal direction and the clock source for each timer mode. note: to ensure proper operation, the tc[3:0] bits should be changed only when the timer is disabled (i.e., when the te bit in the tcsr is cleared). 13.4.1 timer modes 13.4.1.1 timer gpio (mode 0) in this mode, the timer generates an internal interrupt when a counter value is reached (if the timer compare interrupt is enabled). note that any of the three timers can be placed in gpio mode to generate internal interrupts, but only timer 0 provides actual external gpio access on the tio0 signal. set the te bit to clear the counter and enable the timer. load the value the timer is to count into the tcpr. the counter is loaded with the tlr value when the first timer clock signal is received. the timer clock can bit settings mode characteristics tc3 tc2 tc1 tc0 tio0 clock # kind name 0000gpiointernal0 timer gpio
timer/event counter timer modes of operation motorola dsp56367 24-bit digital signal processor users manual 13-15 be taken from either the dsp56367 clock divided by two (clk/2) or from the prescaler clock output. each subsequent clock signal increments the counter. when the counter equals the tcpr value, the tcf bit in tcsr is set, and a compare interrupt is generated if the tcie bit is set. if the trm bit in the tcsr is set, the counter is reloaded with the tlr value at the next timer clock and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each timer clock signal. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. 13.4.1.2 timer pulse (mode 1) in this mode, the timer generates a compare interrupt when the timer count reaches a preset value. in addition, timer 0 provides an external pulse on its tio0 signal. set the te bit to clear the counter and enable the timer. the value to which the timer is to count is loaded into the tcpr. the counter is loaded with the tlr value when the first timer clock signal is received. the tio0 signal is loaded with the value of the inv bit. the timer clock signal can be taken from either the dsp56367 clock divided by two (clk/2) or from the prescaler clock output. each subsequent clock signal increments the counter. when the counter matches the tcpr value, the tcf bit in tcsr is set and a compare interrupt is generated if the tcie bit is set. the polarity of the tio0 signal is inverted for one timer clock period. if the trm bit is set, the counter is loaded with the tlr value on the next timer clock and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each timer clock. this process is repeated until the te bit is cleared (disabling the timer). the value of the tlr sets the delay between starting the timer and the generation of the output pulse. to generate successive output pulses with a delay of x clocks between signals, the tlr value should be set to x/2 and the trm bit should be set. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. bit settings mode characteristics tc3 tc2 tc1 tc0 tio0 clock # kind name 0001output internal1 timer pulse
timer/event counter timer modes of operation 13-16 dsp56367 24-bit digital signal processor users manual motorola 13.4.1.3 timer toggle (mode 2) in this mode, the timer generates a periodic interrupt; timer 0 also toggles the polarity of the tio0 signal. set the te bit in the tcr to clear the counter and enable the timer. the value the timer is to count is loaded into the tpcr. the counter is loaded with the tlr value when the first timer clock signal is received. the tio0 signal is loaded with the value of the inv bit. the timer clock signal can be taken from either the dsp56367 clock divided by two (clk/2) or from the prescaler clock output. each subsequent clock signal increments the counter. when the counter value matches the value in the tcpr, the polarity of the tio0 output signal is inverted. the tcf bit in the tcsr is set and a compare interrupt is generated if the tcie bit is set. if the trm bit is set, the counter is loaded with the value of the tlr when the next timer clock is received, and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each timer clock. this process is repeated until the te bit is cleared, disabling the timer. the tlr value in the tcpr sets the delay between starting the timer and toggling the tio0 signal. to generate output signals with a delay of x clock cycles between toggles, the tlr value should be set to x/2 and the trm bit should be set. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. 13.4.1.4 timer event counter (mode 3) in this mode, the timer counts internal events and issues an interrupt when a preset number of events is counted. timer 0 can also count external events. set the te bit to clear the counter and enable the timer. the number of events the timer is to count is loaded into the tpcr. the counter is loaded with the tlr value when the first timer clock signal is received. the timer clock signal is provided by the prescaler clock output. timer 0 can be also be clocked bit settings mode characteristics tc3 tc2 tc1 tc0 tio0 clock # kind name 0010output internal0 timer toggle bit settings mode characteristics tc3 tc2 tc1 tc0 tio0 clock # kind name 0011input external3 timer event counter
timer/event counter timer modes of operation motorola dsp56367 24-bit digital signal processor users manual 13-17 from the tio0 input signal. each subsequent clock signal increments the counter. if an external clock is used, it must be internally synchronized to the internal clock and its frequency must be less than the dsp56367 internal operating frequency divided by 4. the value of the inv bit in the tcsr determines whether low-to-high (0 to 1) transitions or high-to-low (1 to 0) transitions increment the counter. if the inv bit is set, high-to-low transitions increment the counter. if the inv bit is cleared, low-to-high transitions increment the counter. when the counter matches the value contained in the tcpr, the tcf bit in the tcsr is set and a compare interrupt is generated if the tcie bit is set. if the trm bit is set, the counter is loaded with the value of the tlr when the next timer clock is received, and the count is resumed. if trm bit is cleared, the counter continues to be incremented on each timer clock. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. 13.4.2 signal measurement modes the following signal measurement modes are provided: ? measurement input width ? measurement input period ? measurement capture these functions are available only on timer 0. 13.4.2.1 measurement accuracy the external signal is synchronized with the internal clock used to increment the counter. this synchronization process can cause the number of clocks measured for the selected signal value to vary from the actual signal value by plus or minus one counter clock cycle. 13.4.2.2 measurement input width (mode 4) in this mode, the timer 0 counts the number of clocks that occur between opposite edges of an input signal. bit settings mode characteristics tc3 tc2 tc1 tc0 mode name kind tio0 clock 0100 4 input widthmeasurement input internal
timer/event counter timer modes of operation 13-18 dsp56367 24-bit digital signal processor users manual motorola set the te bit to clear the counter and enable the timer. load the timers count value into the tlr. after the first appropriate transition (as determined by the inv bit) occurs on the tio0 input pin, the counter is loaded with the tlr value on the first timer clock signal received either from the dsp56367 clock divided by two (clk/2) or from the prescaler clock input. each subsequent clock signal increments the counter. if the inv bit is set, the timer starts on the first high-to-low (1 to 0) signal transition on the tio0 signal. if the inv bit is cleared, the timer starts on the first low-to-high (0 to 1) transition on the tio0 signal. when the first transition opposite in polarity to the inv bit setting occurs on the tio0 signal, the counter stops. the tcf bit in the tcsr is set and a compare interrupt is generated if the tcie bit is set. the value of the counter (which measures the width of the tio0 pulse) is loaded into the tcr. the tcr can be read to determine the external signal pulse width. if the trm bit is set, the counter is loaded with the tlr value on the first timer clock received following the next valid transition occurring on the tio0 input pin and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each timer clock. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. 13.4.2.3 measurement input period (mode 5) in this mode, the timer counts the period between the reception of signal edges of the same polarity across the tio0 signal. set the te bit to clear the counter and enable the timer. the value the timer is to count is loaded into the tlr. the value of the inv bit determines whether the period is measured between consecutive low-to-high (0 to 1) transitions of tio0 or between consecutive high-to-low (1 to 0) transitions of tio0. if inv is set, high-to-low signal transitions are selected. if inv is cleared, low-to-high signal transitions are selected. after the first appropriate transition occurs on the tio0 input pin, the counter is loaded with the tlr value on the first timer clock signal received from either the dsp56367 clock divided by two (clk/2) or the prescaler clock output. each subsequent clock signal increments the counter. on the next signal transition of the same polarity that occurs on tio0, the tcf bit in the tcsr is set and a compare interrupt is generated if the tcie bit is set. the contents of the counter are loaded into the tcr. the tcr then contains the value of the time that elapsed between the two signal transitions on the tio0 signal. bit settings mode characteristics tc3 tc2 tc1 tc0 mode name kind tio0 clock 0101 5 input periodmeasurement input internal
timer/event counter timer modes of operation motorola dsp56367 24-bit digital signal processor users manual 13-19 after the second signal transition, if the trm bit is set, the te bit is set to clear the counter and enable the timer. the counter is repeatedly loaded and incremented until the timer is disabled. if the trm bit is cleared, the counter continues to be incremented until it overflows. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. 13.4.2.4 measurement capture (mode 6 ) in this mode, the timer counts the number of clocks that elapse between starting the timer and receiving an external signal. set the te bit to clear the counter and enable the timer. the value the timer is to count is loaded into the tlr. when the first timer clock signal is received, the counter is loaded with the tlr value. the timer clock signal can be taken from either the dsp56367 clock divided by two (clk/2) or from the prescaler clock output. each subsequent clock signal increments the counter. at the first appropriate transition of the external clock detected on the tio0 signal, the tcf bit in the tcsr is set and, if the tcie bit is set, a compare interrupt is generated. the counter halts. the contents of the counter are loaded into the tcr. the value of the tcr represents the delay between the setting of the te bit and the detection of the first clock edge signal on the tio0 signal. if the inv bit is set, a high-to-low transition signals the end of the timing period. if inv is cleared, a low-to-high transition signals the end of the timing period. if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. the counter contents can be read at any time by reading the tcr. 13.4.3 pulse width modulation (pwm, mode 7) bit settings mode characteristics tc3 tc2 tc1 tc0 mode name kind tio0 clock 0110 6 capture measurement input internal bit settings mode characteristics tc3 tc2 tc1 tc0 mode name kind tio0 clock 0111 7pulse width modulationpwmoutput internal
timer/event counter timer modes of operation 13-20 dsp56367 24-bit digital signal processor users manual motorola in this mode, the timer generates periodic pulses of a preset width. this function is available only on timer 0. set the te bit to clear the counter and enable the timer. the value the timer is to count is loaded into the tpcr. when first timer clock is received from either the dsp56367 internal clock divided by two (clk/2) or the prescaler clock output, the counter is loaded with the tlr value. each subsequent timer clock increments the counter. when the counter equals the value in the tcpr, the tio0 output pin is toggled and the tcf bit in the tcsr is set. the contents of the counter are placed into the tcr. if the tcie bit is set, a compare interrupt is generated. the counter continues to be incremented on each timer clock. if counter overflow has occurred, the tio0 output pin is toggled, the tof bit in tcsr is set, and an overflow interrupt is generated if the toie bit is set. if the trm bit is set, the counter is loaded with the tlr value on the next timer clock and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each timer clock. this process is repeated until the timer is disabled by clearing the te bit. tio0 signal polarity is determined by the value of the inv bit. when the counter is started by setting the te bit, the tio0 signal assumes the value of the inv bit. on each subsequent toggling of the tio0 signal, the polarity of the tio0 signal is reversed. for example, if the inv bit is set, the tio0 signal generates the following signal: 1010. if the inv bit is cleared, the tio0 signal generates the following signal: 0101. the counter contents can be read at any time by reading the tcr. the value of the tlr determines the output period ($ffffff ? tlr + 1). the timer counter increments the initial tlr value and toggles the tio0 signal when the counter value exceeds $ffffff. the duty cycle of the tio0 signal is determined by the value in the tcpr. when the value in the tlr is incremented to a value equal to the value in the tcpr, the tio0 signal is toggled. the duty cycle is equal to ($ffffff C tcpr) divided by ($ffffff ? tlr + 1). for a 50% duty cycle, the value of tcpr is equal to ($ffffff + tlr + 1) / 2. note: the value in tcpr must be greater than the value in tlr. 13.4.4 watchdog modes 13.4.4.1 watchdog pulse (mode 9 ) in this mode, the timer generates an interrupt at a preset rate. timer 0 also generates pulse on tio0. the signal period is equal to the period of one timer clock. bit settings mode characteristics tc3 tc2 tc1 tc0 mode name kind tio0 clock 1001 9 pulse watchdogoutput internal
timer/event counter timer modes of operation motorola dsp56367 24-bit digital signal processor users manual 13-21 set the te bit to clear the counter and enable the timer. the value the timer is to count is loaded into the tcpr. the counter is loaded with the tlr value on the first timer clock received from either the dsp56367 internal clock divided by two (clk/2) or the prescaler clock output. each subsequent timer clock increments the counter. when the counter matches the value of the tcpr, the tcf bit in the tcsr is set and a compare interrupt is generated if the tcie bit is also set. if the trm bit is set, the counter is loaded with the tlr value on the next timer clock and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each subsequent timer clock. this process is repeated until the timer is disabled (i.e., te is cleared). if the counter overflows, the tof bit is set, and if toie is set, an overflow interrupt is generated. timer 0 also generates an output pulse on the tio0 signal with a pulse width equal to the timer clock period. the pulse polarity is determined by the value of the inv bit. if the inv bit is set, the pulse polarity is high (logical 1). if the inv bit is cleared, the pulse polarity is low (logical 0). the counter contents can be read at any time by reading the tcr. the counter is reloaded whenever the tlr is written with a new value while the te bit is set. note: in this mode, internal logic preserves the tio0 value and direction for an additional 2.5 internal clock cycles after the dsp56367 hardware reset signal is asserted. this ensures that a valid reset signal is generated when the tio0 signal is used to reset the dsp56367. 13.4.4.2 watchdog toggle (mode 10) in this mode, the timer generates an interrupt at a preset rate. timer 0 also toggles the output on tio0. set the te bit to clear the counter and enable the timer. the value the timer is to count is loaded into the tpcr. the counter is loaded with the tlr value on the first timer clock received from either the dsp56367 internal clock divided by two (clk/2) or the prescaler clock output. each subsequent timer clock increments the counter. the tio0 signal is set to the value of the inv bit. when the counter equals the value in the tcpr, the tcf bit in the tcsr is set, and a compare interrupt is generated if the tcie bit is also set. if the trm bit is set, the counter is loaded with the tlr value on the next timer clock and the count is resumed. if the trm bit is cleared, the counter continues to be incremented on each subsequent timer clock. bit settings mode characteristics tc3 tc2 tc1 tc0 mode name kind tio0 clock 1010 10 toggle watchdogoutput internal
timer/event counter timer modes of operation 13-22 dsp56367 24-bit digital signal processor users manual motorola when counter overflow has occurred, the polarity of the tio0 output pin is inverted, the tof bit in the tcsr is set, and an overflow interrupt is generated if the toie bit is also set. the tio0 polarity is determined by the inv bit. the counter is reloaded whenever the tlr is written with a new value while the te bit is set. this process is repeated until the timer is disabled by clearing the te bit. the counter contents can be read at any time by reading the tcr register. note: in this mode, internal logic preserves the tio0 value and direction for an additional 2.5 internal clock cycles after the dsp56367 hardware reset signal is asserted. this ensures that a valid reset signal is generated when the tio0 signal is used to reset the dsp56367. 13.4.5 reserved modes modes 8, 11, 12, 13, 14, and 15 are reserved. 13.4.6 special cases the following special cases apply during wait and stop state. 13.4.6.1 timer behavior during wait timer clocks are active during the execution of the wait instruction and timer activity is undisturbed. if a timer interrupt is generated, the dsp56367 leaves the wait state and services the interrupt. 13.4.6.2 timer behavior during stop during the execution of the stop instruction, the timer clocks are disabled, timer activity is stopped, and the tio0 signal is disconnected. any external changes that happen to the tio0 signal is ignored when the dsp56367 is the stop state. to ensure correct operation, the timers should be disabled before the dsp56367 is placed into the stop state. 13.4.7 dma trigger each timer can also be used to trigger dma transfers. for this to occur, a dma channel must be programmed to be triggered by a timer event. the timer issues a dma trigger on every event in all modes of operation. the dma channel does not have the capability to save multiple dma triggers generated by the timer. to ensure that all dma triggers are serviced, the user must provide for the preceding dma trigger to be serviced before the next trigger is received by the dma channel.
motorola dsp56367 24-bit digital signal processor users manual 14-1 chapter 14 packaging
packaging pin-out and package information 14-2 dsp56367 24-bit digital signal processor users manual motorola 14.1 pin-out and package information this section provides information about the available package for this product, including diagrams of the package pinouts and tables describing how the signals described in chapterdsp56367 overview are allocated for the package. the dsp56367 is available in a 144-pin lqfp package. table 14-1 and table 14-2 show the pin/name assignments for the packages. 14.1.1 lqfp package description top view of the 144-pin lqfp package is shown in figure 14-1 with its pin-outs. the package drawing is shown in figure 14-2 .
packaging pin-out and package information motorola dsp56367 24-bit digital signal processor users manual 14-3 figure 14-1 144-pin package 108 d6 107 d5 106 d4 105 d3 104 gndd 103 vccd 102 d2 101 d1 100 d0 99 a17 98 a16 97 a15 96 gnda 95 vccqh 94 a14 93 a13 92 a12 91 vccql 90 gndq 89 a11 88 a10 87 gnda 86 vcca 85 a9 84 a8 83 a7 82 a6 81 gnda 80 vcca 79 a5 78 a4 77 a3 76 a2 75 gnda 74 vcca 73 a1 had4 37 vcch 38 gndh 38 had3 40 had2 41 had1 42 had0 43 reset# 44 vccp 45 pcap 46 gndp 47 sdo5_1/sdi0_1 48 vccqh 49 fst_1 50 aa2 51 cas# 52 sckt_1 53 gndq 54 extal 55 vccql 56 vccc 57 gndc 58 fsr_1 59 sckr_1 60 pinit/nmi# 61 ta# 62 br# 63 bb# 64 vccc 65 gndc 66 wr# 67 rd# 68 aa1 69 aa0 70 bg# 71 a0 72 sck/scl 1 ss#/ha2 2 hreq# 3 sdo0/sdo0_1 4 sdo1/sdo1_1 5 sdo2/sdi3/sdo2_1/sdi3_1 6 sdo3/sdi2/sdo3_1/sdi2_1 7 vccs 8 gnds 9 sdo4/sdi1 10 sdo5/sdi0 11 fst 12 fsr 13 sckt 14 sckr 15 hckt 16 hckr 17 vccql 18 gndq 19 vccqh 20 hds/hwr 21 hrw/hrd 22 hack/hrrq 23 horeq/htrq 24 vccs 25 gnds 26 ado 27 aci 28 tio0 29 hcs/ha10 30 ha9/ha2 31 ha8/ha1 32 has/ha0 33 had7 34 had6 35 had5 36 144 miso/sda 143 mosi/ha0 142 tms 141 tck 140 tdi 139 tdo 138 sdo4_1/sdi1_1 137 moda/irqa# 136 modb/irqb# 135 modcirqc# 134 modd/irqd# 133 d23 132 d22 131 d21 130 gndd 129 vccd 128 d20 127 gndq 126 vccql 125 d19 124 d18 123 d17 122 d16 121 d15 120 gndd 119 vccd 118 d14 117 d13 116 d12 115 d11 114 d10 113 d9 112 gndd 111 vccd 110 d8 109 d7
packaging pin-out and package information 14-4 dsp56367 24-bit digital signal processor users manual motorola table 14-1 signal identification by name signal name pin no. signal name pin no. signal name pin no. signal name pin no. a0 72 d9 113 gnds 9 sdo0/sdo0_1 4 a1 73 d10 114 gnds 26 sdo1/sdo1_1 5 a2 76 d11 115 ha8/ha1 32 sdo2/sdi3/sdo2_ 1/sdi3_1 6 a3 77 d12 116 ha9/ha2 31 sdo3/sdi2/sdo3_ 1/sdi2_1 7 a4 78 d13 117 hack/hrrq 23 sdo4/sdi1 10 a5 79 d14 118 had0 43 sdo4_1/sdi1_1 138 a6 82 d15 121 had1 42 sdo5/sdi0 11 a7 83 d16 122 had2 41 sdo5_1/sdi0_1 48 a8 84 d17 123 had3 40 ss#/ha2 2 a9 85 d18 124 had4 37 ta# 62 a10 88 d19 125 had5 36 tck 141 a11 89 d20 128 had6 35 tdi 140 a12 92 d21 131 had7 34 tdo 139 a13 93 d22 132 has/ha0 33 tio0 29 a14 94 d23 133 hckr 17 tms 142 a15 97 extal 55 hckt 16 vcca 74 a16 98 fsr 13 hcs/ha10 30 vcca 80 a17 99 fsr_1 59 hds/hwr 21 vcca 86 aa0 70 fst 12 horeq/htrq 24 vccc 57 aa1 69 fst_1 50 hreq# 3 vccc 65 aa2 51 gnda 75 hrw/hrd 22 vccd 103 aci 28 gnda 81 moda/irqa# 137 vccd 111 ado 27 gnda 87 modb/irqb# 136 vccd 119 bb# 64 gnda 96 modc/irqc# 135 vccd 129 bg# 71 gndc 58 modd/irqd# 134 vcch 38 br# 63gndc 66miso/sda 144vccqh 20 cas# 52 gndd 104 mosi/ha0 143 vccqh 95 d0 100 gndd 112 pcap 46 vccqh 49 d1 101 gndd 120 pinit/nmi# 61 vccql 18 d2 102 gndd 130 rd# 68 vccql 56 d3 105 gndh 39 reset# 44 vccql 91 d4 106 gndp 47 sck/scl 1 vccql 126 d5 107 gndq 19 sckr 15 vccp 45 d6 108 gndq 54 sckr_1 60 vccs 8 d7 109 gndq 90 sckt 14 vccs 25 d8 110 gndq 127 sckt_1 53 wr# 67
packaging pin-out and package information motorola dsp56367 24-bit digital signal processor users manual 14-5 table 14-2 signal identification by pin number pin no. signal name pin no. signal name pin no. signal name pin no. signal name 1 sck/scl 37 had4 73 a1 109 d7 2 ss#/ha2 38 vcch 74 vcca 110 d8 3 hreq# 39 gndh 75 gnda 111 vccd 4 sdo0/sdo0_1 40 had3 76 a2 112 gndd 5 sdo1/sdo1_1 41 had2 77 a3 113 d9 6 sdo2/sdi3/sdo2 _1/sdi3_1 42 had1 78 a4 114 d10 7 sdo3/sdi2/sdo3 _1/sdi2_1 43 had0 79 a5 115 d11 8 vccs 44 reset# 80 vcca 116 d12 9 gnds 45 vccp 81 gnda 117 d13 10 sdo4/sdi1 46 pcap 82 a6 118 d14 11 sdo5/sdi0 47 gndp 83 a7 119 vccd 12 fst 48 sdo5_1/sdi0_1 84 a8 120 gndd 13 fsr 49 vccqh 85 a9 121 d15 14 sckt 50 fst_1 86 vcca 122 d16 15 sckr 51 aa2 87 gnda 123 d17 16 hckt 52 cas# 88 a10 124 d18 17 hckr 53 sckt_1 89 a11 125 d19 18 vccql 54 gndq 90 gndq 126 vccql 19 gndq 55 extal 91 vccql 127 gndq 20 vccqh 56 vccql 92 a12 128 d20 21 hds/hwr 57 vccc 93 a13 129 vccd 22 hrw/hrd 58 gndc 94 a14 130 gndd 23 hack/hrrq 59 fsr_1 95 vccqh 131 d21 24 horeq/htrq 60 sckr_1 96 gnda 132 d22 25 vccs 61 pinit/nmi# 97 a15 133 d23 26 gnds 62 ta# 98 a16 134 modd/irqd# 27 ado 63 br# 99 a17 135 modc/irqc# 28 aci 64 bb# 100 d0 136 modb/irqb# 29 tio0 65 vccc 101 d1 137 moda/irqa# 30 hcs/ha10 66 gndc 102 d2 138 sdo4_1/sdi1_1 31 ha9/ha2 67 wr# 103 vccd 139 tdo 32 ha8/ha1 68 rd# 104 gndd 140 tdi 33 has/ha0 69 aa1 105 d3 141 tck 34 had7 70 aa0 106 d4 142 tms 35 had6 71 bg# 107 d5 143 mosi/ha0 36 had5 72 a0 108 d6 144 miso/sda
packaging pin-out and package information 14-6 dsp56367 24-bit digital signal processor users manual motorola 14.1.2 lqfp package mechanical drawing figure 14-2 dsp56367 144-pin lqfp package (1 of 3)
packaging pin-out and package information motorola dsp56367 24-bit digital signal processor users manual 14-7 figure 14-3 dsp56367 144-pin lqfp package (2 of 3)
packaging pin-out and package information 14-8 dsp56367 24-bit digital signal processor users manual motorola figure 14-4 dsp56367 144-pin lqfp package (3 of 3)
packaging ordering drawings motorola dsp56367 24-bit digital signal processor users manual 14-9 14.2 ordering drawings the detailed package drawing is available on the motorola web page at: http://www.mot-sps.com/cgi-bin/cases.pl use package 918-03 for the search.
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual a-1 appendix a bootstrap rom contents
bootstrap rom contents a-2 dsp56367 24-bit digital signal processor users manual motorola a.1 dsp56367 bootstrap program ; bootstrap code for dsp56367 rev. 0 silicon ; (c) copyright 1999, 2000, 2001 motorola inc. ; ; ; revision 0.0 1999/jan/26 - modified from 56362_reva_regular_boot_rev01.asm: ; - change the length of xram and the length of yram ; in burn-in code ; - change the address of the reserved area in the ; program rom to $ffaf80 - $ffafff ; ; revision 0.1 1999/mar/29 - enabled 100ns i2c filter in bootstrap ; mode 0110. ; - added 5 nop instructions after once enable. ; ; this is the bootstrap program contained in the dsp56367 192-word boot ; rom. this program can load any program ram segment from an external ; eprom, from the host interface or from the shi serial interface. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=x000, then the boot rom is bypassed and the dsp56367 ; will start fetching instructions beginning with address $c00000 (md=0) ; or $008000 (md=1) assuming that an external memory of sram type is ; used. the accesses will be performed using 31 wait states with no ; address attributes selected (default area). ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=0001, then it loads a program ram segment from consecutive ; byte-wide p memory locations, starting at p:$d00000 (bits 7-0). ; the memory is selected by the address attribute aa1 and is accessed with ; 31 wait states. ; the eprom bootstrap code expects to read 3 bytes ; specifying the number of program words, 3 bytes specifying the address ; to start loading the program words and then 3 bytes for each program ; word to be loaded. the number of words, the starting address and the ; program words are read least significant byte first followed by the ; mid and then by the most significant byte. ; the program words will be condensed into 24-bit words and stored in ; contiguous pram memory locations starting at the specified starting address. ; after reading the program words, program execution starts from the same ; address where loading started. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=0010, then the bootstrap code jumps to the internal ; program rom, without loading the program ram. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-3 ; operation mode md:mc:mb:ma=0011 is reserved. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=01xx, then the program ram is loaded from the shi. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; operation mode md:mc:mb:ma=1001 is used for burn-in testing. ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; operation mode md:mc:mb:ma=1010 is reserved ; operation mode md:mc:mb:ma=1011 is reserved ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=1100, then it loads the program ram from the host ; interface programmed to operate in the isa mode. ; the host isa bootstrap code expects to read a 24-bit word ; specifying the number of program words, a 24-bit word specifying the address ; to start loading the program words and then a 24-bit word for each program ; word to be loaded. the program words will be stored in ; contiguous pram memory locations starting at the specified starting address. ; after reading the program words, program execution starts from the same ; address where loading started. ; the host interface bootstrap load program may be stopped by ; setting the host flag 0 (hf0). this will start execution of the loaded ; program from the specified starting address. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=1101, then it loads the program ram from the host ; interface programmed to operate in the hc11 non multiplexed mode. ; ; the host hc11 bootstrap code expects to read a 24-bit word ; specifying the number of program words, a 24-bit word specifying the address ; to start loading the program words and then a 24-bit word for each program ; word to be loaded. the program words will be stored in ; contiguous pram memory locations starting at the specified starting address. ; after reading the program words, program execution starts from the same ; address where loading started. ; the host interface bootstrap load program may be stopped by ; setting the host flag 0 (hf0). this will start execution of the loaded ; program from the specified starting address. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=1110, then it loads the program ram from the host ; interface programmed to operate in the 8051 multiplexed bus mode, ; in double-strob pin configuration. ; the host 8051 bootstrap code expects accesses that are byte wide. ; the host 8051 bootstrap code expects to read 3 bytes forming a 24-bit word ; specifying the number of program words, 3 bytes forming a 24-bit word
bootstrap rom contents a-4 dsp56367 24-bit digital signal processor users manual motorola ; specifying the address to start loading the program words and then 3 bytes ; forming 24-bit words for each program word to be loaded. ; the program words will be stored in contiguous pram memory locations ; starting at the specified starting address. ; after reading the program words, program execution starts from the same ; address where loading started. ; the host interface bootstrap load program may be stopped by setting the ; host flag 0 (hf0). this will start execution of the loaded program from ; the specified starting address. ; ; the base address of the hdi08 in multiplexed mode is 0x80 and is not ; modified by the bootstrap code. all the address lines are enabled ; and should be connected accordingly. ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; if md:mc:mb:ma=1111, then it loads the program ram from the host ; interface programmed to operate in the mc68302 (imp) bus mode, ; in single-strob pin configuration. ; the host mc68302 bootstrap code expects accesses that are byte wide. ; the host mc68302 bootstrap code expects to read 3 bytes forming a 24-bit word ; specifying the number of program words, 3 bytes forming a 24-bit word ; specifying the address to start loading the program words and then 3 bytes ; forming 24-bit words for each program word to be loaded. ; the program words will be stored in contiguous pram memory locations ; starting at the specified starting address. ; after reading the program words, program execution starts from the same ; address where loading started. ; the host interface bootstrap load program may be stopped by setting the ; host flag 0 (hf0). this will start execution of the loaded program from ; the specified starting address. ; page 132,55,0,0,0 opt cex,mex,mu ;; ;;;;;;;;;;;;;;;;;;;; general equates ;;;;;;;;;;;;;;;;;;;;;;;; ;; boot equ $d00000 ; this is the location in p memory ; on the external memory bus ; where the external byte-wide ; eprom is located aarv equ $d00409 ; aar1 selects the eprom as ce~ ; mapped as p from $d00000 to ; $dfffff, active low promaddr equ $ff1000 ; starting prom address ma equ 0 mb equ 1 mc equ 2 md equ 3
bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-5 ;; ;;;;;;;;;;;;;;;;;;;; dsp i/o registers ;;;;;;;;;;;;;;;;;;;;;;;; ;; m_aar1 equ $fffff8 ; address attribute register 1 m_ogdb equ $fffffc ; once gdb register m_hpcr equ $ffffc4 ; host polarity control register m_hsr equ $ffffc3 ; host status register m_horx equ $ffffc6 ; host receive register hrdf equ $0 ; host receive data full hf0 equ $3 ; host flag 0 hen equ $6 ; host enable m_hrx equ $ffff94 ; shi receive fifo m_hcsr equ $ffff91 ; shi control/status register m_hckr equ $ffff90 ; shi clock control register hrne equ 17 ; shi fifo not empty flag hi2c equ 1 ; shi i2c enable control bit hckfr equ 4 ; shi i2c clock freeze control bit hfm0 equ 12 ; shi i2c filter mode bit 0 hfm1 equ 13 ; shi i2c filter mode bit 1 org pl:$ff0000,pl:$ff0000 ; bootstrap code starts at $ff0000 start movep #$0,x:m_ogdb ; enable once nop ; 5 nop instructions, needed for test procedure nop nop nop nop clr a #$0,r5 ; clear a and init r5 with 0 jset #md,omr,omr1xxx ; if md:mc:mb:ma=1xxx go to omr1xxx jset #mc,omr,shild ; if md:mc:mb:ma=01xx, go load from shi jclr #mb,omr,epromld ; if md:mc:mb:ma=0001, go load from eprom jset #ma,omr,reserved ; if md:mc:mb:ma=0011, go to reserved ;======================================================================== ; this is the routine that jumps to the internal program rom. ; md:mc:mb:ma=0010 move #promaddr,r1 ; store starting prom address in r1 bra bootstrap rom contents a-6 dsp56367 24-bit digital signal processor users manual motorola ; md:mc:mb:ma=0111 - bootstrap from shi (i2c slave, hckfr=0) shild ; this is the routine which loads a program through the shi port. ; the shi operates in the slave ; mode, with the 10-word fifo enabled, and with the hreq pin enabled for ; receive operation. the word size for transfer is 24 bits. the shi ; operates in the spi or in the i2c mode, according to the bootstrap mode. ; ; the program is downloaded according to the following rules: ; 1) 3 bytes - define the program length. ; 2) 3 bytes - define the address to which to start loading the program to. ; 3) 3n bytes (while n is the program length defined by the first 3 bytes) ; the program words will be stored in contiguous pram memory locations starting ; at the specified starting address. ; after storing the program words, program execution starts from the same ; address where loading started. move #$a9,r1 ; prepare shi control value in r1 ; hen=1, hi2c=0, hm1-hm0=10, hckfr=0, hfifo=1, hmst=0, ; hrqe1-hrqe0=01, hidle=0, hbie=0, htie=0, hrie1-hrie0=00 jclr #ma,omr,shi_cf ; if md:mc:mb:ma=01x0, go to shi clock freeze jclr #mb,omr,shi_loop ; if md:mc:mb:ma=0101, select spi mode bset #hi2c,r1 ; otherwise select i2c mode. shi_loop movep r1,x:m_hcsr ; enable shi jclr #hrne,x:m_hcsr,* ; wait for no. of words movep x:m_hrx,a0 jclr #hrne,x:m_hcsr,* ; wait for starting address movep x:m_hrx,r0 move r0,r1 do a0,_loop2 jclr #hrne,x:m_hcsr,* ; wait for hrx not empty movep x:m_hrx,p:(r0)+ ; store in program ram nop ; req. because of restriction _loop2 bra bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-7 bra bootstrap rom contents a-8 dsp56367 24-bit digital signal processor users manual motorola ; through the hdi08 port: ; ; c - isa - dual strobes non-multiplexed bus with negative strobe ; pulses dual positive request ; d - hc11 - single strobe non-multiplexed bus with positive strobe ; pulse single negative request. ; e - i8051 - dual strobes multiplexed bus with negative strobe pulses ; dual negative request. ; f - mc68302 - single strobe non-multiplexed bus with negative strobe ; pulse single negative request. ;======================================================================== mc68302hostld movep #%0000000000111000,x:m_hpcr ; configure the following conditions: ; hap = 0 negative host acknowledge ; hrp = 0 negative host request ; hcsp = 0 negatice chip select input ; hdds = 0 single strobe bus (r/w~ and ds) ; hmux = 0 non multiplexed bus ; hasp = 0 (address strobe polarity has no ; meaning in non-multiplexed bus) ; hdsp = 0 negative data stobes polarity ; hrod = 0 host request is active when enabled ; spare = 0 this bit should be set to 0 for ; future compatability ; hen = 0 when the hpcr register is modified ; hen should be cleared ; haen = 1 host acknowledge is enabled ; hren = 1 host requests are enabled ; hcsen = 1 host chip select input enabled ; ha9en = 0 (address 9 enable bit has no ; meaning in non-multiplexed bus) ; ha8en = 0 (address 8 enable bit has no ; meaning in non-multiplexed bus) ; hgen = 0 host gpio pins are disabled bra bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-9 ; hcsp = 0 negatice chip select input ; hdds = 1 dual strobes bus (rd and wr) ; hmux = 0 non multiplexed bus ; hasp = 0 (address strobe polarity has no ; meaning in non-multiplexed bus) ; hdsp = 0 negative data stobes polarity ; hrod = 0 host request is active when enabled ; spare = 0 this bit should be set to 0 for ; future compatability ; hen = 0 when the hpcr register is modified ; hen should be cleared ; haen = 0 host acknowledge is disabled ; hren = 1 host requests are enabled ; hcsen = 1 host chip select input enabled ; ha9en = 0 (address 9 enable bit has no ; meaning in non-multiplexed bus) ; ha8en = 0 (address 8 enable bit has no ; meaning non-multiplexed bus) ; hgen = 0 host gpio pins are disabled bra bootstrap rom contents a-10 dsp56367 24-bit digital signal processor users manual motorola movep #%0001110000011110,x:m_hpcr ; configure the following conditions: ; hap = 0 negative host acknowledge ; hrp = 0 negatice host request ; hcsp = 0 negatice chip select input ; hdds = 1 dual strobes bus (rd and wr) ; hmux = 1 multiplexed bus ; hasp = 1 positive address strobe polarity ; hdsp = 0 negative data stobes polarity ; hrod = 0 host request is active when enabled ; spare = 0 this bit should be set to 0 for ; future compatability ; hen = 0 when the hpcr register is modified ; hen should be cleared ; haen = 0 host acknowledge is disabled ; hren = 1 host requests are enabled ; hcsen = 1 host chip select input enabled ; ha9en = 1 enable address 9 input ; ha8en = 1 enable address 8 input ; hgen = 0 host gpio pins are disabled hdi08cont bset #hen,x:m_hpcr ; enable the hdi08 to operate as host ; interface (set hen=1) jclr #hrdf,x:m_hsr,* ; wait for the program length to be ; written movep x:m_horx,a0 jclr #hrdf,x:m_hsr,* ; wait for the program starting address ; to be written movep x:m_horx,r0 move r0,r1 do a0,hdi08loop ; set a loop with the downloaded length hdi08ll jset #hrdf,x:m_hsr,hdi08nw ; if new word was loaded then jump to ; read that word jclr #hf0,x:m_hsr,hdi08ll ; if hf0=0 then continue with the ; downloading enddo ; must terminate the do loop bra bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-11 nop ; pipeline delay hdi08loop ;======================================================================== ; this is the exit handler that returns execution to normal ; expanded mode and jumps to the reset vector. finish andi #$0,ccr ; clear ccr as if reset to 0. jmp (r1) ; then go to starting prog addr. ;======================================================================== ; md:mc:mb:ma=1001 is used for burn-in code burn_reser jclr #mb,omr,burn ; if md:mc:mb:ma=1001, go to burn ;======================================================================== ; the following modes are reserved, some of which are used for internal testing ; md:mc:mb:ma=0011 is reserved ; md:mc:mb:ma=1010 is reserved ; md:mc:mb:ma=1011 is reserved reserved bra <* ;======================================================================== ; code for burn-in ;======================================================================== m_pcrc equ $ffffbf ;; port c gpio control register m_pdrc equ $ffffbd ;; port c gpio data register m_prrc equ $ffffbe ;; port c direction register sckt equ $3 ;; sckt is gpio bit #3 in esai (port c) equaldata equ 0 ;; 1 if xram and yram are of equal ;; size and addresses, 0 otherwise. if (equaldata) start_dram equ 0 ;; length_dram equ $1600 ;; same addresses else start_xram equ 0 ;; 13k xram length_xram equ $3400 start_yram equ 0 ;; 7k yram length_yram equ $1c00 endif
bootstrap rom contents a-12 dsp56367 24-bit digital signal processor users manual motorola start_pram equ 0 ;; 3k pram length_pram equ $c00 burn ;; get pattern pointer clr b #patterns,r6 ;; b is the error accumulator move #<(num_patterns-1),m6 ;; program runs forever in ;; cyclic form ;; configure sckt as gpio output. movep b,x:m_pdrc ;; clear gpio data register bclr #sckt,x:m_pcrc ;; define sckt as output gpio pin bset #sckt,x:m_prrc ;; sckt toggles means test pass ;; r5 = test fail flag = $000000 lua (r5)-,r7 ;; r7 = test pass flag = $ffffff burnin_loop do #9,burn1 ;;---------------------------- ;; test ram ;; each pass checks 1 pattern ;;---------------------------- move p:(r6)+,x1 ;; pattern for x memory move p:(r6)+,x0 ;; pattern for y memory move p:(r6)+,y0 ;; pattern for p memory ;; write pattern to all memory locations if (equaldata) ;; x/y ram symmetrical ;; write x and y memory clr a #start_dram,r0 ;; start of x/y ram move #>length_dram,n0 ;; length of x/y ram rep n0 mac x0,x1,a x,l:(r0)+ ;; exercise mac, write x/y ram else ;; x/y ram not symmetrical ;; write x memory clr a #start_xram,r0 ;; start of xram move #>length_xram,n0 ;; length of xram rep n0 mac x0,y0,a x1,x:(r0)+ ;; exercise mac, write xram ;; write y memory clr a #start_yram,r1 ;; start of yram move #>length_yram,n1 ;; length of yram rep n1 mac x1,y0,a x0,y:(r1)+ ;; exercise mac, write yram endif
bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-13 ;; write p memory clr a #start_pram,r2 ;; start of pram move #>length_pram,n2 ;; length of pram rep n2 move y0,p:(r2)+ ;; write pram ;; check memory contents if (equaldata) ;; x/y ram symmetrical ;; check dram clr a #start_dram,r0 ;; restore pointer, clear a do n0,_loopd move x:(r0),a1 ;; a0=a2=0 eor x1,a add a,b ;; accumulate error in b move y:(r0)+,a1 ;; a0=a2=0 eor x0,a add a,b ;; accumulate error in b _loopd else ;; x/y ram not symmetrical ;; check xram clr a #start_xram,r0 ;; restore pointer, clear a do n0,_loopx move x:(r0)+,a1 ;; a0=a2=0 eor x1,a add a,b ;; accumulate error in b _loopx ;; check yram clr a #start_yram,r1 ;; restore pointer, clear a do n1,_loopy move y:(r1)+,a1 ;; a0=a2=0 eor x0,a add a,b ;; accumulate error in b _loopy endif ;; check pram clr a #start_pram,r2 ;; restore pointer, clear a do n2,_loopp move p:(r2)+,a1 ;; a0=a2=0 eor y0,a add a,b ;; accumulate error in b _loopp ;;--------------------------------------------------- ;; toggle pin if no errors, stop execution otherwise. ;;--------------------------------------------------- ;; if error tne r5,r7 ;; r7=$ffffff as long as test pass
bootstrap rom contents a-14 dsp56367 24-bit digital signal processor users manual motorola ;; condition codes preserved ;; this instr can be removed in case of shortage movep r7,x:m_ogdb ;; write pass/fail flag to once ;; condition codes preserved ;; this instr can be removed in case of shortage beq label1 bclr #sckt,x:m_pdrc ;; clear sckt if error, enddo ;; terminate the loop normally ;; this instr can be removed in case of shortage bra bootstrap rom contents motorola dsp56367 24-bit digital signal processor users manual a-15 ;======================================================================== ; reserved area in the program rom: upper 128 words. ; address range: $ffaf80 - $ffafff ;======================================================================== org pl:$ffaf80,pl:$ffaf80 ; this code fills the unused rom locations with their address dup $ffb000-$14-* dc * endm ; code segment for testing of rom patch ; this code segment is located in the uppermost addresses of the program rom org pl:$ffb000-$14,pl:$ffb000-$14 move #$80000,r0 move #$0,x0 move x0,x:(r0)+ move #$1,x0 move x0,x:(r0)+ move #$2,x0 move x0,x:(r0)+ move #$3,x0 move x0,x:(r0)+ move #$4,x0 move x0,x:(r0)+ move #$5,x0 move x0,x:(r0)+ move #$6,x0 move x0,x:(r0)+ move #$7,x0 move x0,x:(r0)+ move #$8,x0 move x0,x:(r0)+ end
bootstrap rom contents a-16 dsp56367 24-bit digital signal processor users manual motorola
motorola dsp56367 24-bit digital signal processor users manual b-1 appendix b equates
equates b-2 dsp56367 24-bit digital signal processor users manual motorola ;********************************************************************************* ; equates for dsp56367 interrupts ; last update: april 24, 2000 ; ;********************************************************************************* page 132,55,0,0,0 opt mex intequ ident 1,0 if @def(i_vec) ;leave user definition as is. else i_vec equ $0 endif ;------------------------------------------------------------------------ ; non-maskable interrupts ;------------------------------------------------------------------------ i_reset equ i_vec+$00 ; hardware reset i_stack equ i_vec+$02 ; stack error i_ill equ i_vec+$04 ; illegal instruction i_iinst equ i_vec+$04 ; illegal instruction i_dbg equ i_vec+$06 ; debug request i_trap equ i_vec+$08 ; trap i_nmi equ i_vec+$0a ; non maskable interrupt ;------------------------------------------------------------------------ ; interrupt request pins ;------------------------------------------------------------------------
equates motorola dsp56367 24-bit digital signal processor users manual b-3 i_irqa equ i_vec+$10 ; irqa i_irqb equ i_vec+$12 ; irqb i_irqc equ i_vec+$14 ; irqc i_irqd equ i_vec+$16 ; irqd ;------------------------------------------------------------------------ ; dma interrupts ;------------------------------------------------------------------------ i_dma0 equ i_vec+$18 ; dma channel 0 i_dma1 equ i_vec+$1a ; dma channel 1 i_dma2 equ i_vec+$1c ; dma channel 2 i_dma3 equ i_vec+$1e ; dma channel 3 i_dma4 equ i_vec+$20 ; dma channel 4 i_dma5 equ i_vec+$22 ; dma channel 5 ;------------------------------------------------------------------------ ; dax interrupts ;------------------------------------------------------------------------ i_daxtue equ i_vec+$28 ; dax underrun error i_daxblk equ i_vec+$2a ; dax block transferred i_daxtd equ i_vec+$2e ; dax audio data empty ;------------------------------------------------------------------------ ; esai interrupts ;------------------------------------------------------------------------ i_esaird equ i_vec+$30 ; esai receive data i_esaired equ i_vec+$32 ; esai receive even data i_esairde equ i_vec+$34 ; esai receive data with exception status i_esairls equ i_vec+$36 ; esai receive last slot i_esaitd equ i_vec+$38 ; esai transmit data
equates b-4 dsp56367 24-bit digital signal processor users manual motorola i_esaited equ i_vec+$3a ; esai transmit even data i_esaitde equ i_vec+$3c ; esai transmit data with exception status i_esaitls equ i_vec+$3e ; esai transmit last slot ;------------------------------------------------------------------------ ; shi interrupts ;------------------------------------------------------------------------ i_shitd equ i_vec+$40 ; shi transmit data i_shitue equ i_vec+$42 ; shi transmit underrun error i_shirne equ i_vec+$44 ; shi receive fifo not empty i_shirff equ i_vec+$48 ; shi receive fifo full i_shiroe equ i_vec+$4a ; shi receive overrun error i_shiber equ i_vec+$4c ; shi bus error ;------------------------------------------------------------------------ ; timer interrupts ;------------------------------------------------------------------------ i_tim0c equ i_vec+$54 ; timer 0 compare i_tim0of equ i_vec+$56 ; timer 0 overflow i_tim1c equ i_vec+$58 ; timer 1 compare i_tim1of equ i_vec+$5a ; timer 1 overflow i_tim2c equ i_vec+$5c ; timer 2 compare i_tim2of equ i_vec+$5e ; timer 2 overflow ;------------------------------------------------------------------------ ; hdi08 interrupts ;------------------------------------------------------------------------ i_hi08rx equ i_vec+$60 ; host receive data full i_hi08tx equ i_vec+$62 ; host transmit data empty
equates motorola dsp56367 24-bit digital signal processor users manual b-5 i_hi08cm equ i_vec+$64 ; host command (default) ;------------------------------------------------------------------------ ; esai_1 interrupts ;------------------------------------------------------------------------ i_esai1rd equ i_vec+$70 ; esai_1 receive data i_esai1red equ i_vec+$72 ; esai_1 receive even data i_esai1rde equ i_vec+$74 ; esai_1 receive data with exception status i_esai1rls equ i_vec+$76 ; esai_1 receive last slot i_esai1td equ i_vec+$78 ; esai_1 transmit data i_esai1ted equ i_vec+$7a ; esai_1 transmit even data i_esai1tde equ i_vec+$7c ; esai_1 transmit data with exception status i_esai1tls equ i_vec+$7e ; esai_1 transmit last slot ;------------------------------------------------------------------------ ; interrupt ending address ;------------------------------------------------------------------------ i_intend equ i_vec+$ff ; last address of interrupt vector space ;------------------ end of intequ.asm ------------------------ ;********************************************************************************* ; equates for dsp56367 i/o registers and ports ; last update: april 24, 2000 ; ;********************************************************************************* page 132,55,0,0,0 opt mex ioequ ident 1,0 ;------------------------------------------------------------------------
equates b-6 dsp56367 24-bit digital signal processor users manual motorola ; ; equates for i/o port programming ; ;------------------------------------------------------------------------ ; register addresses m_hdr equ $ffffc9 ; host port gpio data register m_hddr equ $ffffc8 ; host port gpio direction register m_pcrc equ $ffffbf ; port c control register m_prrc equ $ffffbe ; port c direction register m_pdrc equ $ffffbd ; port c gpio data register m_pcrd equ $ffffd7 ; port d control register m_prrd equ $ffffd6 ; port d direction data register m_pdrd equ $ffffd5 ; port d gpio data register m_pcre equ $ffffd7 ; port e control register m_prre equ $ffffd6 ; port e direction data register m_pdre equ $ffffd5 ; port e gpio data register m_ogdb equ $fffffc ; once gdb register ;------------------------------------------------------------------------ ; ; equates for exception processing ; ;------------------------------------------------------------------------ ; register addresses m_iprc equ $ffffff ; interrupt priority register core m_iprp equ $fffffe ; interrupt priority register peripheral ; interrupt priority register core (iprc) m_ial equ $7 ; irqa mode mask
equates motorola dsp56367 24-bit digital signal processor users manual b-7 m_ial0 equ 0 ; irqa mode interrupt priority level (low) m_ial1 equ 1 ; irqa mode interrupt priority level (high) m_ial2 equ 2 ; irqa mode trigger mode m_ibl equ $38 ; irqb mode mask m_ibl0 equ 3 ; irqb mode interrupt priority level (low) m_ibl1 equ 4 ; irqb mode interrupt priority level (high) m_ibl2 equ 5 ; irqb mode trigger mode m_icl equ $1c0 ; irqc mode mask m_icl0 equ 6 ; irqc mode interrupt priority level (low) m_icl1 equ 7 ; irqc mode interrupt priority level (high) m_icl2 equ 8 ; irqc mode trigger mode m_idl equ $e00 ; irqd mode mask m_idl0 equ 9 ; irqd mode interrupt priority level (low) m_idl1 equ 10 ; irqd mode interrupt priority level (high) m_idl2 equ 11 ; irqd mode trigger mode m_d0l equ $3000 ; dma0 interrupt priority level mask m_d0l0 equ 12 ; dma0 interrupt priority level (low) m_d0l1 equ 13 ; dma0 interrupt priority level (high) m_d1l equ $c000 ; dma1 interrupt priority level mask m_d1l0 equ 14 ; dma1 interrupt priority level (low) m_d1l1 equ 15 ; dma1 interrupt priority level (high) m_d2l equ $30000 ; dma2 interrupt priority level mask m_d2l0 equ 16 ; dma2 interrupt priority level (low) m_d2l1 equ 17 ; dma2 interrupt priority level (high) m_d3l equ $c0000 ; dma3 interrupt priority level mask m_d3l0 equ 18 ; dma3 interrupt priority level (low)
equates b-8 dsp56367 24-bit digital signal processor users manual motorola m_d3l1 equ 19 ; dma3 interrupt priority level (high) m_d4l equ $300000 ; dma4 interrupt priority level mask m_d4l0 equ 20 ; dma4 interrupt priority level (low) m_d4l1 equ 21 ; dma4 interrupt priority level (high) m_d5l equ $c00000 ; dma5 interrupt priority level mask m_d5l0 equ 22 ; dma5 interrupt priority level (low) m_d5l1 equ 23 ; dma5 interrupt priority level (high) ; interrupt priority register peripheral (iprp) m_esl equ $3 ; esai interrupt priority level mask m_esl0 equ 0 ; esai interrupt priority level (low) m_esl1 equ 1 ; esai interrupt priority level (high) m_shl equ $c ; shi interrupt priority level mask m_shl0 equ 2 ; shi interrupt priority level (low) m_shl1 equ 3 ; shi interrupt priority level (high) m_hdl equ $30 ; hdi08 interrupt priority level mask m_hdl0 equ 4 ; hdi08 interrupt priority level (low) m_hdl1 equ 5 ; hdi08 interrupt priority level (high) m_dal equ $c0 ; dax interrupt priority level mask m_dal0 equ 6 ; dax interrupt priority level (low) m_dal1 equ 7 ; dax interrupt priority level (high) m_tal equ $300 ;timer interrupt priority level mask m_tal0 equ 8 ;timer interrupt priority level (low) m_tal1 equ 9 ;timer interrupt priority level (high) m_es1l equ $c00 ; esai_1 interrupt priority level mask m_esl10 equ 0 ; esai_1 interrupt priority level (low) m_esl11 equ 1 ; esai_1 interrupt priority level (high) ;------------------------------------------------------------------------
equates motorola dsp56367 24-bit digital signal processor users manual b-9 ; ; equates for direct memory access (dma) ; ;------------------------------------------------------------------------ ; register addresses of dma m_dstr equ $fffff4 ; dma status register m_dor0 equ $fffff3 ; dma offset register 0 m_dor1 equ $fffff2 ; dma offset register 1 m_dor2 equ $fffff1 ; dma offset register 2 m_dor3 equ $fffff0 ; dma offset register 3 ; register addresses of dma0 m_dsr0 equ $ffffef ; dma0 source address register m_ddr0 equ $ffffee ; dma0 destination address register m_dco0 equ $ffffed ; dma0 counter m_dcr0 equ $ffffec ; dma0 control register ; register addresses of dma1 m_dsr1 equ $ffffeb ; dma1 source address register m_ddr1 equ $ffffea ; dma1 destination address register m_dco1 equ $ffffe9 ; dma1 counter m_dcr1 equ $ffffe8 ; dma1 control register ; register addresses of dma2 m_dsr2 equ $ffffe7 ; dma2 source address register m_ddr2 equ $ffffe6 ; dma2 destination address register m_dco2 equ $ffffe5 ; dma2 counter m_dcr2 equ $ffffe4 ; dma2 control register
equates b-10 dsp56367 24-bit digital signal processor users manual motorola ; register addresses of dma3 m_dsr3 equ $ffffe3 ; dma3 source address register m_ddr3 equ $ffffe2 ; dma3 destination address register m_dco3 equ $ffffe1 ; dma3 counter m_dcr3 equ $ffffe0 ; dma3 control register ; register addresses of dma4 m_dsr4 equ $ffffdf ; dma4 source address register m_ddr4 equ $ffffde ; dma4 destination address register m_dco4 equ $ffffdd ; dma4 counter m_dcr4 equ $ffffdc ; dma4 control register ; register addresses of dma5 m_dsr5 equ $ffffdb ; dma5 source address register m_ddr5 equ $ffffda ; dma5 destination address register m_dco5 equ $ffffd9 ; dma5 counter m_dcr5 equ $ffffd8 ; dma5 control register ; dma control register m_dss equ $3 ; dma source space mask (dss0-dss1) m_dss0 equ 0 ; dma source memory space 0 m_dss1 equ 1 ; dma source memory space 1 m_dds equ $c ; dma destination space mask (dds-dds1) m_dds0 equ 2 ; dma destination memory space 0 m_dds1 equ 3 ; dma destination memory space 1 m_dam equ $3f0 ; dma address mode mask (dam5-dam0) m_dam0 equ 4 ; dma address mode 0 m_dam1 equ 5 ; dma address mode 1 m_dam2 equ 6 ; dma address mode 2 m_dam3 equ 7 ; dma address mode 3
equates motorola dsp56367 24-bit digital signal processor users manual b-11 m_dam4 equ 8 ; dma address mode 4 m_dam5 equ 9 ; dma address mode 5 m_d3d equ 10 ; dma three dimensional mode m_drs equ $f800 ; dma request source mask (drs0-drs4) m_drs0 equ 11 ;dma request source bit 0 m_drs1 equ 12 ;dma request source bit 1 m_drs2 equ 13 ;dma request source bit 2 m_drs3 equ 14 ;dma request source bit 3 m_drs4 equ 15 ;dma request source bit 4 m_dcon equ 16 ; dma continuous mode m_dpr equ $60000 ; dma channel priority m_dpr0 equ 17 ; dma channel priority level (low) m_dpr1 equ 18 ; dma channel priority level (high) m_dtm equ $380000 ; dma transfer mode mask (dtm2-dtm0) m_dtm0 equ 19 ; dma transfer mode 0 m_dtm1 equ 20 ; dma transfer mode 1 m_dtm2 equ 21 ; dma transfer mode 2 m_die equ 22 ; dma interrupt enable bit m_de equ 23 ; dma channel enable bit ; dma status register m_dtd equ $3f ; channel transfer done status mask (dtd0-dtd5) m_dtd0 equ 0 ; dma channel transfer done status 0 m_dtd1 equ 1 ; dma channel transfer done status 1 m_dtd2 equ 2 ; dma channel transfer done status 2 m_dtd3 equ 3 ; dma channel transfer done status 3 m_dtd4 equ 4 ; dma channel transfer done status 4
equates b-12 dsp56367 24-bit digital signal processor users manual motorola m_dtd5 equ 5 ; dma channel transfer done status 5 m_dact equ 8 ; dma active state m_dch equ $e00 ; dma active channel mask (dch0-dch2) m_dch0 equ 9 ; dma active channel 0 m_dch1 equ 10 ; dma active channel 1 m_dch2 equ 11 ; dma active channel 2 ;------------------------------------------------------------------------ ; ; equates for phase locked loop (pll) ; ;------------------------------------------------------------------------ ; register addresses of pll m_pctl equ $fffffd ; pll control register ; pll control register m_mf equ $fff ; multiplication factor bits mask (mf0-mf11) m_mf0 equ 0 ;multiplication factor bit 0 m_mf1 equ 1 ;multiplication factor bit 1 m_mf2 equ 2 ;multiplication factor bit 2 m_mf3 equ 3 ;multiplication factor bit 3 m_mf4 equ 4 ;multiplication factor bit 4 m_mf5 equ 5 ;multiplication factor bit 5 m_mf6 equ 6 ;multiplication factor bit 6 m_mf7 equ 7 ;multiplication factor bit 7 m_mf8 equ 8 ;multiplication factor bit 8 m_mf9 equ 9 ;multiplication factor bit 9 m_mf10 equ 10 ;multiplication factor bit 10 m_mf11 equ 11 ;multiplication factor bit 11
equates motorola dsp56367 24-bit digital signal processor users manual b-13 m_df equ $7000 ; division factor bits mask (df0-df2) m_df0 equ 12 ;division factor bit 0 m_df1 equ 13 ;division factor bit 1 m_df2 equ 14 ;division factor bit 2 m_xtlr equ 15 ; xtal range select bit m_xtld equ 16 ; xtal disable bit m_pstp equ 17 ; stop processing state bit m_pen equ 18 ; pll enable bit m_cod equ 19 ; pll clock output disable bit m_pd equ $f00000 ; predivider factor bits mask (pd0-pd3) m_pd0 equ 20 ;predivider factor bit 0 m_pd1 equ 21 ;predivider factor bit 1 m_pd2 equ 22 ;predivider factor bit 2 m_pd3 equ 23 ;predivider factor bit 3 ;------------------------------------------------------------------------ ; ; equates for biu ; ;------------------------------------------------------------------------ ; register addresses of biu m_bcr equ $fffffb ; bus control register m_dcr equ $fffffa ; dram control register m_aar0 equ $fffff9 ; address attribute register 0 m_aar1 equ $fffff8 ; address attribute register 1 m_aar2 equ $fffff7 ; address attribute register 2 m_aar3 equ $fffff6 ; address attribute register 3
equates b-14 dsp56367 24-bit digital signal processor users manual motorola m_idr equ $fffff5 ; id register ; bus control register m_ba0w equ $1f ; area 0 wait control mask (ba0w0-ba0w4) m_ba0w0 equ 0 ;area 0 wait control bit 0 m_ba0w1 equ 1 ;area 0 wait control bit 1 m_ba0w2 equ 2 ;area 0 wait control bit 2 m_ba0w3 equ 3 ;area 0 wait control bit 3 m_ba0w4 equ 4 ;area 0 wait control bit 4 m_ba1w equ $3e0 ; area 1 wait control mask (ba1w0-ba14) m_ba1w0 equ 5 ;area 1 wait control bit 0 m_ba1w1 equ 6 ;area 1 wait control bit 1 m_ba1w2 equ 7 ;area 1 wait control bit 2 m_ba1w3 equ 8 ;area 1 wait control bit 3 m_ba1w4 equ 9 ;area 1 wait control bit 4 m_ba2w equ $1c00 ; area 2 wait control mask (ba2w0-ba2w2) m_ba2w0 equ 10 ;area 2 wait control bit 0 m_ba2w1 equ 11 ;area 2 wait control bit 1 m_ba2w2 equ 12 ;area 2 wait control bit 2 m_ba3w equ $e000 ; area 3 wait control mask (ba3w0-ba3w3) m_ba3w0 equ 13 ;area 3 wait control bit 0 m_ba3w1 equ 14 ;area 3 wait control bit 1 m_ba3w2 equ 15 ;area 3 wait control bit 2 m_bdfw equ $1f0000 ; default area wait control mask (bdfw0-bdfw4) m_bdfw0 equ 16 ;default area wait control bit 0 m_bdfw1 equ 17 ;default area wait control bit 1 m_bdfw2 equ 18 ;default area wait control bit 2 m_bdfw3 equ 19 ;default area wait control bit 3
equates motorola dsp56367 24-bit digital signal processor users manual b-15 m_bdfw4 equ 20 ;default area wait control bit 4 m_bbs equ 21 ; bus state m_blh equ 22 ; bus lock hold m_brh equ 23 ; bus request hold ; dram control register m_bcw equ $3 ; in page wait states bits mask (bcw0-bcw1) m_bcw0 equ 0 ; in page wait states bit 0 m_bcw1 equ 1 ; in page wait states bit 1 m_brw equ $c ; out of page wait states bits mask (brw0-brw1) m_brw0 equ 2 ;out of page wait states bit 0 m_brw1 equ 3 ; out of page wait states bit 1 m_bps equ $300 ; dram page size bits mask (bps0-bps1) m_bps0 equ 4 ; dram page size bits 0 m_bps1 equ 5 ; dram page size bits 1 m_bple equ 11 ; page logic enable m_bme equ 12 ; mastership enable m_bre equ 13 ; refresh enable m_bstr equ 14 ; software triggered refresh m_brf equ $7f8000 ; refresh rate bits mask (brf0-brf7) m_brf0 equ 15 ; refresh rate bit 0 m_brf1 equ 16 ; refresh rate bit 1 m_brf2 equ 17 ; refresh rate bit 2 m_brf3 equ 18 ; refresh rate bit 3 m_brf4 equ 19 ; refresh rate bit 4 m_brf5 equ 20 ; refresh rate bit 5 m_brf6 equ 21 ; refresh rate bit 6
equates b-16 dsp56367 24-bit digital signal processor users manual motorola m_brf7 equ 22 ; refresh rate bit 7 m_brp equ 23 ; refresh prescaler ; address attribute registers m_bat equ $3 ; external access type and pin definition bits mask (bat0-bat1) m_bat0 equ 0 ; external access type and pin definition bits 0 m_bat1 equ 1 ; external access type and pin definition bits 1 m_baap equ 2 ; address attribute pin polarity m_bpen equ 3 ; program space enable m_bxen equ 4 ; x data space enable m_byen equ 5 ; y data space enable m_bam equ 6 ; address muxing m_bpac equ 7 ; packing enable m_bnc equ $f00 ; number of address bits to compare mask (bnc0-bnc3) m_bnc0 equ 8 ; number of address bits to compare 0 m_bnc1 equ 9 ; number of address bits to compare 1 m_bnc2 equ 10 ; number of address bits to compare 2 m_bnc3 equ 11 ; number of address bits to compare 3 m_bac equ $fff000 ; address to compare bits mask (bac0-bac11) m_bac0 equ 12 ; address to compare bits 0 m_bac1 equ 13 ; address to compare bits 1 m_bac2 equ 14 ; address to compare bits 2 m_bac3 equ 15 ; address to compare bits 3 m_bac4 equ 16 ; address to compare bits 4 m_bac5 equ 17 ; address to compare bits 5 m_bac6 equ 18 ; address to compare bits 6 m_bac7 equ 19 ; address to compare bits 7
equates motorola dsp56367 24-bit digital signal processor users manual b-17 m_bac8 equ 20 ; address to compare bits 8 m_bac9 equ 21 ; address to compare bits 9 m_bac10 equ 22 ; address to compare bits 10 m_bac11 equ 23 ; address to compare bits 11 ; control and status bits in sr m_c equ 0 ; carry m_v equ 1 ; overflow m_z equ 2 ; zero m_n equ 3 ; negative m_u equ 4 ; unnormalized m_e equ 5 ; extension m_l equ 6 ; limit m_s equ 7 ; scaling bit m_i0 equ 8 ; interupt mask bit 0 m_i1 equ 9 ; interupt mask bit 1 m_s0 equ 10 ; scaling mode bit 0 m_s1 equ 11 ; scaling mode bit 1 m_sc equ 13 ; sixteen_bit compatibility m_dm equ 14 ; double precision multiply m_lf equ 15 ; do-loop flag m_fv equ 16 ; do-forever flag m_sa equ 17 ; sixteen-bit arithmetic m_ce equ 19 ; instruction cache enable m_sm equ 20 ; arithmetic saturation m_rm equ 21 ; rounding mode m_cp equ $c00000 ; mask for core-dma priority bits in sr m_cp0 equ 22 ; bit 0 of priority bits in sr
equates b-18 dsp56367 24-bit digital signal processor users manual motorola m_cp1 equ 23 ; bit 1 of priority bits in sr ; control and status bits in omr m_ma equ 0 ; operating mode a m_mb equ 1 ; operating mode b m_mc equ 2 ; operating mode c m_md equ 3 ; operating mode d m_ebd equ 4 ; external bus disable bit in omr m_sd equ 6 ; stop delay m_ms equ 7 ;memory switch mode m_cdp equ $300 ; mask for core-dma priority bits in omr m_cdp0 equ 8 ; bit 0 of priority bits in omr core dma m_cdp1 equ 9 ; bit 1 of priority bits in omr core dma m_be equ 10 ; burst enable m_tas equ 11 ; ta synchronize select m_brt equ 12 ; bus release timing m_abe equ 13 ;async. bus arbitration enable m_apd equ 14 ;addess priority disable m_ate equ 15 ;address tracing enable m_xys equ 16 ; stack extension space select bit in omr. m_eun equ 17 ; extensed stack underflow flag in omr. m_eov equ 18 ; extended stack overflow flag in omr. m_wrp equ 19 ; extended wrap flag in omr. m_sen equ 20 ; stack extension enable bit in omr. m_paen equ 23 ; patch enable ;------------------------------------------------------------------------ ;
equates motorola dsp56367 24-bit digital signal processor users manual b-19 ; equates for dax (spdif tx) ; ;------------------------------------------------------------------------ ; register addresses m_xstr equ $ffffd4 ; dax status register (xstr) m_xadrb equ $ffffd3 ; dax audio data register b (xadrb) m_xadr equ $ffffd2 ;dax audio data register (xadr) m_xadra equ $ffffd2 ; dax audio data register a (xadra) m_xnadr equ $ffffd1 ; dax non-audio data register (xnadr) m_xctr equ $ffffd0 ; dax control register (xctr) ; status bits in xstr m_xade equ 0 ; dax audio data register empty (xade) m_xaur equ 1 ; dax trasmit underrun error flag (xaur) m_xblk equ 2 ; dax block transferred (xblk) ; non-audio bits in xnadr m_xva equ 10 ; dax channel a validity (xva) m_xua equ 11 ; dax channel a user data (xua) m_xca equ 12 ; dax channel a channel status (xca) m_xvb equ 13 ; dax channel b validity (xvb) m_xub equ 14 ; dax channel b user data (xub) m_xcb equ 15 ; dax channel b channel status (xcb) ; control bits in xctr m_xdie equ 0 ; dax audio data register empty interrupt enable (xdie) m_xuie equ 1 ; dax underrun error interrupt enable (xuie) m_xbie equ 2 ; dax block transferred interrupt enable (xbie) m_xcs0 equ 3 ; dax clock input select 0 (xcs0)
equates b-20 dsp56367 24-bit digital signal processor users manual motorola m_xcs1 equ 4 ; dax clock input select 1 (xcs1) m_xsb equ 5 ; dax start block (xsb) ;------------------------------------------------------------------------ ; ; equates for shi ; ;------------------------------------------------------------------------ ; register addresses m_hrx equ $ffff94 ; shi receive fifo (hrx) m_htx equ $ffff93 ; shi transmit register (htx) m_hsar equ $ffff92 ; shi i2c slave address register (hsar) m_hcsr equ $ffff91 ; shi control/status register (hcsr) m_hckr equ $ffff90 ; shi clock control register (hckr) ; hsar bits m_ha6 equ 23 ; shi i2c slave address (ha6) m_ha5 equ 22 ; shi i2c slave address (ha5) m_ha4 equ 21 ; shi i2c slave address (ha4) m_ha3 equ 20 ; shi i2c slave address (ha3) m_ha1 equ 18 ; shi i2c slave address (ha1) ; control and status bits in hcsr m_hbusy equ 22 ; shi host busy (hbusy) m_hber equ 21 ; shi bus error (hber) m_hroe equ 20 ; shi receive overrun error (hroe) m_hrff equ 19 ; shi receivr fifo full (hrff) m_hrne equ 17 ; shi receive fifo not empty (hrne)
equates motorola dsp56367 24-bit digital signal processor users manual b-21 m_htde equ 15 ; shi host transmit data empty (htde) m_htue equ 14 ; shi host transmit underrun error (htue) m_hrie1 equ 13 ; shi receive interrupt enable (hrie1) m_hrie0 equ 12 ; shi receive interrupt enable (hrie0) m_htie equ 11 ; shi transmit interrupt enable (htie) m_hbie equ 10 ; shi bus-error interrupt enable (hbie) m_hidle equ 9 ; shi idle (hidle) m_hrqe1 equ 8 ; shi host request enable (hrqe1) m_hrqe0 equ 7 ; shi host request enable (hrqe0) m_hmst equ 6 ; shi master mode (hmst) m_hfifo equ 5 ; shi fifo enable control (hfifo) m_hckfr equ 4 ; shi clock freeze (hckfr) m_hm1 equ 3 ; shi serial host interface mode (hm1) m_hm0 equ 2 ; shi serial host interface mode (hm0) m_hi2c equ 1 ; shi i2c/spi selection (hi2c) m_hen equ 0 ; shi host enable (hen) ; control bits in hckr m_hfm1 equ 13 ; shi filter model (hfm1) m_hfm0 equ 12 ; shi filter model (hfm0) m_hdm7 equ 10 ; shi divider modulus select (hdm7) m_hdm6 equ 9 ; shi divider modulus select (hdm6) m_hdm5 equ 8 ; shi divider modulus select (hdm5) m_hdm4 equ 7 ; shi divider modulus select (hdm4) m_hdm3 equ 6 ; shi divider modulus select (hdm3) m_hdm2 equ 5 ; shi divider modulus select (hdm2) m_hdm1 equ 4 ; shi divider modulus select (hdm1) m_hdm0 equ 3 ; shi divider modulus select (hdm0)
equates b-22 dsp56367 24-bit digital signal processor users manual motorola m_hrs equ 2 ; shi prescalar rate select (hrs) m_cpol equ 1 ; shi clock polarity (cpol) m_cpha equ 0 ; shi clock phase (cpha) ;------------------------------------------------------------------------ ; ; equates for esai_1 registers ; register bit equates can be the same as for the esai register bit equates. ;------------------------------------------------------------------------ ; register addresses m_emuxr equ $ffffaf ; mux pin control register (emuxr) m_rsmb_1 equ $ffff9c ; esai_1 receive slot mask register b (rsmb_1) m_rsma_1 equ $ffff9b ; esai_1 receive slot mask register a (rsma_1) m_tsmb_1 equ $ffff9a ; esai_1 transmit slot mask register b (tsmb_1) m_tsma_1 equ $ffff99 ; esai_1 transmit slot mask register a (tsma_1) m_rccr_1 equ $ffff98 ; esai_1 receive clock control register (rccr_1) m_rcr_1 equ $ffff97 ; esai_1 receive control register (rcr_1) m_tccr_1 equ $ffff96 ; esai_1 transmit clock control register (tccr_1) m_tcr_1 equ $ffff95 ; esai_1 transmit control register (tcr_1) m_saicr_1 equ $ffff94 ; esai_1 control register (saicr_1) m_saisr_1 equ $ffff93 ; esai_1 status register (saisr_1) m_rx3_1 equ $ffff8b ; esai_1 receive data register 3 (rx3_1) m_rx2_1 equ $ffff8a ; esai_1 receive data register 2 (rx2_1) m_rx1_1 equ $ffff89 ; esai_1 receive data register 1 (rx1_1) m_rx0_1 equ $ffff88 ; esai_1 receive data register 0 (rx0_1) m_tsr_1 equ $ffff86 ; esai_1 time slot register (tsr_1)
equates motorola dsp56367 24-bit digital signal processor users manual b-23 m_tx5_1 equ $ffff85 ; esai_1 transmit data register 5 (tx5_1) m_tx4_1 equ $ffff84 ; esai_1 transmit data register 4 (tx4_1) m_tx3_1 equ $ffff83 ; esai_1 transmit data register 3 (tx3_1) m_tx2_1 equ $ffff82 ; esai_1 transmit data register 2 (tx2_1) m_tx1_1 equ $ffff81 ; esai_1 transmit data register 1 (tx1_1) m_tx0_1 equ $ffff80 ; esai_1 transmit data register 0 (tx0_1) ;------------------------------------------------------------------------ ; ; equates for esai ; ;------------------------------------------------------------------------ ; register addresses m_rsmb equ $ffffbc ; esai receive slot mask register b (rsmb) m_rsma equ $ffffbb ; esai receive slot mask register a (rsma) m_tsmb equ $ffffba ; esai transmit slot mask register b (tsmb) m_tsma equ $ffffb9 ; esai transmit slot mask register a (tsma) m_rccr equ $ffffb8 ; esai receive clock control register (rccr) m_rcr equ $ffffb7 ; esai receive control register (rcr) m_tccr equ $ffffb6 ; esai transmit clock control register (tccr) m_tcr equ $ffffb5 ; esai transmit control register (tcr) m_saicr equ $ffffb4 ; esai control register (saicr) m_saisr equ $ffffb3 ; esai status register (saisr) m_rx3 equ $ffffab ; esai receive data register 3 (rx3) m_rx2 equ $ffffaa ; esai receive data register 2 (rx2) m_rx1 equ $ffffa9 ; esai receive data register 1 (rx1) m_rx0 equ $ffffa8 ; esai receive data register 0 (rx0)
equates b-24 dsp56367 24-bit digital signal processor users manual motorola m_tsr equ $ffffa6 ; esai time slot register (tsr) m_tx5 equ $ffffa5 ; esai transmit data register 5 (tx5) m_tx4 equ $ffffa4 ; esai transmit data register 4 (tx4) m_tx3 equ $ffffa3 ; esai transmit data register 3 (tx3) m_tx2 equ $ffffa2 ; esai transmit data register 2 (tx2) m_tx1 equ $ffffa1 ; esai transmit data register 1 (tx1) m_tx0 equ $ffffa0 ; esai transmit data register 0 (tx0) ; rsmb register bits m_rs31 equ 15 ; esai m_rs30 equ 14 ; esai m_rs29 equ 13 ; esai m_rs28 equ 12 ; esai m_rs27 equ 11 ; esai m_rs26 equ 10 ; esai m_rs25 equ 9 ; esai m_rs24 equ 8 ; esai m_rs23 equ 7 ; esai m_rs22 equ 6 ; esai m_rs21 equ 5 ; esai m_rs20 equ 4 ; esai m_rs19 equ 3 ; esai m_rs18 equ 2 ; esai m_rs17 equ 1 ; esai m_rs16 equ 0 ; esai ; rsma register bits m_rs15 equ 15 ; esai
equates motorola dsp56367 24-bit digital signal processor users manual b-25 m_rs14 equ 14 ; esai m_rs13 equ 13 ; esai m_rs12 equ 12 ; esai m_rs11 equ 11 ; esai m_rs10 equ 10 ; esai m_rs9 equ 9 ; esai m_rs8 equ 8 ; esai m_rs7 equ 7 ; esai m_rs6 equ 6 ; esai m_rs5 equ 5 ; esai m_rs4 equ 4 ; esai m_rs3 equ 3 ; esai m_rs2 equ 2 ; esai m_rs1 equ 1 ; esai m_rs0 equ 0 ; esai ; tsmb register bits m_ts31 equ 15 ; esai m_ts30 equ 14 ; esai m_ts29 equ 13 ; esai m_ts28 equ 12 ; esai m_ts27 equ 11 ; esai m_ts26 equ 10 ; esai m_ts25 equ 9 ; esai m_ts24 equ 8 ; esai m_ts23 equ 7 ; esai m_ts22 equ 6 ; esai m_ts21 equ 5 ; esai
equates b-26 dsp56367 24-bit digital signal processor users manual motorola m_ts20 equ 4 ; esai m_ts19 equ 3 ; esai m_ts18 equ 2 ; esai m_ts17 equ 1 ; esai m_ts16 equ 0 ; esai ; tsma register bits m_ts15 equ 15 ; esai m_ts14 equ 14 ; esai m_ts13 equ 13 ; esai m_ts12 equ 12 ; esai m_ts11 equ 11 ; esai m_ts10 equ 10 ; esai m_ts9 equ 9 ; esai m_ts8 equ 8 ; esai m_ts7 equ 7 ; esai m_ts6 equ 6 ; esai m_ts5 equ 5 ; esai m_ts4 equ 4 ; esai m_ts3 equ 3 ; esai m_ts2 equ 2 ; esai m_ts1 equ 1 ; esai m_ts0 equ 0 ; esai ; rccr register bits m_rhckd equ 23 ; esai m_rfsd equ 22 ; esai m_rckd equ 21 ; esai
equates motorola dsp56367 24-bit digital signal processor users manual b-27 m_rhckp equ 20 ;esai m_rfsp equ 19 ; esai m_rckp equ 18 ;esai m_rfp equ $3c000 ;esai mask m_rfp3 equ 17 ; esai m_rfp2 equ 16 ; esai m_rfp1 equ 15 ; esai m_rfp0 equ 14 ; esai m_rdc equ $3e00 ;esai mask m_rdc4 equ 13 ; esai m_rdc3 equ 12 ; esai m_rdc2 equ 11 ; esai m_rdc1 equ 10 ; esai m_rdc0 equ 9 ; esai m_rpsr equ 8 ; esai m_rpm equ $ff m_rpm7 equ 7 ; esai m_rpm6 equ 6 ; esai m_rpm5 equ 5 ; esai m_rpm4 equ 4 ; esai m_rpm3 equ 3 ; esai m_rpm2 equ 2 ; esai m_rpm1 equ 1 ; esai m_rpm0 equ 0 ; esai ; rcr register bits m_rlie equ 23 ; esai m_rie equ 22 ; esai
equates b-28 dsp56367 24-bit digital signal processor users manual motorola m_redie equ 21 ; esai m_reie equ 20 ; esai m_rpr equ 19 ; esai m_rfsr equ 16 ; esai m_rfsl equ 15 ; esai m_rsws equ $7c00 ;esai mask m_rsws4 equ 14 ; esai m_rsws3 equ 13 ; esai m_rsws2 equ 12 ; esai m_rsws1 equ 11 ; esai m_rsws0 equ 10 ; esai m_rmod equ $300 m_rmod1 equ 9 ; esai m_rmod0 equ 8 ; esai m_rwa equ 7 ; esai m_rshfd equ 6 ; esai m_re equ $f m_re3 equ 3 ; esai m_re2 equ 2 ; esai m_re1 equ 1 ; esai m_re0 equ 0 ; esai ; tccr register bits m_thckd equ 23 ; esai m_tfsd equ 22 ; esai m_tckd equ 21 ; esai m_thckp equ 20 ;esai
equates motorola dsp56367 24-bit digital signal processor users manual b-29 m_tfsp equ 19 ; esai m_tckp equ 18 ; esai m_tfp equ $3c000 m_tfp3 equ 17 ; esai m_tfp2 equ 16 ; esai m_tfp1 equ 15 ; esai m_tfp0 equ 14 ; esai m_tdc equ $3e00 ; m_tdc4 equ 13 ; esai m_tdc3 equ 12 ; esai m_tdc2 equ 11 ; esai m_tdc1 equ 10 ; esai m_tdc0 equ 9 ; esai m_tpsr equ 8 ; esai m_tpm equ $ff ; m_tpm7 equ 7 ; esai m_tpm6 equ 6 ; esai m_tpm5 equ 5 ; esai m_tpm4 equ 4 ; esai m_tpm3 equ 3 ; esai m_tpm2 equ 2 ; esai m_tpm1 equ 1 ; esai m_tpm0 equ 0 ; esai ; tcr register bits m_tlie equ 23 ; esai m_tie equ 22 ; esai m_tedie equ 21 ; esai
equates b-30 dsp56367 24-bit digital signal processor users manual motorola m_teie equ 20 ; esai m_tpr equ 19 ; esai m_padc equ 17 ; esai m_tfsr equ 16 ; esai m_tfsl equ 15 ; esai m_tsws equ $7c00 m_tsws4 equ 14 ; esai m_tsws3 equ 13 ; esai m_tsws2 equ 12 ; esai m_tsws1 equ 11 ; esai m_tsws0 equ 10 ; esai m_tmod equ $300 m_tmod1 equ 9 ; esai m_tmod0 equ 8 ; esai m_twa equ 7 ; esai m_tshfd equ 6 ; esai m_tem equ $3f m_te5 equ 5 ; esai m_te4 equ 4 ; esai m_te3 equ 3 ; esai m_te2 equ 2 ; esai m_te1 equ 1 ; esai m_te0 equ 0 ; esai ; control bits of saicr m_alc equ 8 ;esai m_tebe equ 7 ; esai
equates motorola dsp56367 24-bit digital signal processor users manual b-31 m_syn equ 6 ; esai m_of2 equ 2 ; esai m_of1 equ 1 ; esai m_of0 equ 0 ; esai ; status bits of saisr m_tode equ 17 ; esai m_tede equ 16 ; esai m_tde equ 15 ; esai m_tue equ 14 ; esai m_tfs equ 13 ; esai m_rodf equ 10 ; esai m_redf equ 9 ; esai m_rdf equ 8 ; esai m_roe equ 7 ; esai m_rfs equ 6 ; esai m_if2 equ 2 ; esai m_if1 equ 1 ; esai m_if0 equ 0 ; esai ;------------------------------------------------------------------------ ; ; equates for hdi08 ; ;------------------------------------------------------------------------ ; register addresses m_hotx equ $ffffc7 ; host transmit register (hotx) m_horx equ $ffffc6 ; host receive register (horx)
equates b-32 dsp56367 24-bit digital signal processor users manual motorola m_hbar equ $ffffc5 ; host base address register (hbar) m_hpcr equ $ffffc4 ; host port control register (hpcr) m_hsr equ $ffffc3 ; host status register (hsr) m_hcr equ $ffffc2 ; host control register (hcr) ; hcr bits m_hrie equ $0 ; host receive interrupts enable m_hotie equ $1 ; host transmit interrupt enable m_hcie equ $2 ; host command interrupt enable m_hf2 equ $3 ; host flag 2 m_hf3 equ $4 ; host flag 3 m_hodm0 equ $5 ; host dma mode control bit 0 m_hodm1 equ $6 ; host dma mode control bit 1 m_hodm2 equ $7 ; host dma mode control bit 2 ; hsr bits m_hrdf equ $0 ; host receive data full m_hotde equ $1 ; host receive data emptiy m_hcp equ $2 ; host command pending m_hf0 equ $3 ; host flag 0 m_hf1 equ $4 ; host flag 1 m_dma equ $7 ; host dma status ; hpcr bits m_hgen equ $0 ; host port enable m_ha8en equ $1 ; host address 8 enable m_ha9en equ $2 ; host address 9 enable
equates motorola dsp56367 24-bit digital signal processor users manual b-33 m_hcsen equ $3 ; host chip select enable m_hren equ $4 ; host request enable m_haen equ $5 ; host acknowledge enable m_hoen equ $6 ; host enable m_hrod equ $8 ; host request open dranin mode m_hdsp equ $9 ; host data strobe polarity m_hasp equ $a ; host address strobe polarity m_hmux equ $b ; host multiplexed bus select m_hdds equ $c ; host double/single strobe select m_hcsp equ $d ; host chip select polarity m_hrp equ $e ; host request polarity m_hap equ $f ; host acknowledge polarity ; hbar bits m_ba equ $ff m_ba10 equ 7 m_ba9 equ 6 m_ba8 equ 5 m_ba7 equ 4 m_ba6 equ 3 m_ba5 equ 2 m_ba4 equ 1 m_ba3 equ 0 ;----------------------------------------------------------------------- ; ; equates for timer ; ;------------------------------------------------------------------------
equates b-34 dsp56367 24-bit digital signal processor users manual motorola ; register addresses of timer0 m_tcsr0 equ $ffff8f ; timer0 control/status register m_tlr0 equ $ffff8e ; timer0 load reg m_tcpr0 equ $ffff8d ; timer0 compare register m_tcr0 equ $ffff8c ; timer0 count register ; register addresses of timer1 m_tcsr1 equ $ffff8b ; timer1 control/status register m_tlr1 equ $ffff8a ; timer1 load reg m_tcpr1 equ $ffff89 ; timer1 compare register m_tcr1 equ $ffff88 ; timer1 count register ; register addresses of timer2 m_tcsr2 equ $ffff87 ; timer2 control/status register m_tlr2 equ $ffff86 ; timer2 load reg m_tcpr2 equ $ffff85 ; timer2 compare register m_tcr2 equ $ffff84 ; timer2 count register m_tplr equ $ffff83 ; timer prescaler load register m_tpcr equ $ffff82 ; timer prescalar count register ; timer control/status register bit flags m_te equ 0 ; timer enable m_toie equ 1 ; timer overflow interrupt enable m_tcie equ 2 ; timer compare interrupt enable m_tc equ $f0 ; timer control mask (tc0-tc3) m_inv equ 8 ; inverter bit m_trm equ 9 ; timer restart mode m_dir equ 11 ; direction bit m_di equ 12 ; data input
equates motorola dsp56367 24-bit digital signal processor users manual b-35 m_do equ 13 ; data output m_pce equ 15 ; prescaled clock enable m_tof equ 20 ; timer overflow flag m_tcf equ 21 ; timer compare flag ; timer prescaler register bit flags m_ps equ $600000 ; prescaler source mask m_ps0 equ 21 m_ps1 equ 22 ; timer control bits m_tc0 equ 4 ; timer control 0 m_tc1 equ 5 ; timer control 1 m_tc2 equ 6 ; timer control 2 m_tc3 equ 7 ; timer control 3 ;------------------ end of ioequ.asm ------------------------
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual c-1 appendix c jtag bsdl
jtag bsdl c-2 dsp56367 24-bit digital signal processor users manual motorola -- filename : 56367tqfp_reva.bsdl -- --m o t o r o l a s s d t j t a g s o f t w a r e -- bsdl file generated: mon jan 18 10:13:53 1999 -- -- revision history: -- updated february 20th 2003 -- boundary length to 154, also updated id code to 367 version. entity dsp56367 is generic (physical_pin_map : string := "tqfp144"); port ( tdo:out bit; tdi:in bit; tms:in bit; tck:in bit; sck:inout bit; sdo0:inout bit; sdo1:inout bit; sdoi23:inout bit; pinit:in bit; sdoi32:inout bit; svcc:linkage bit_vector(0 to 1); sgnd:linkage bit_vector(0 to 1); sdoi41:inout bit; sdoi50:inout bit; fst:inout bit; fsr:inout bit; sckt:inout bit; sckr:inout bit; hsckt:inout bit; hsckr:inout bit; qvcc:linkage bit_vector(0 to 3); qgnd:linkage bit_vector(0 to 3); qvcch:linkage bit_vector(0 to 2); hp:inout bit_vector(0 to 15); ado:inout bit; aci:inout bit; tio:inout bit; hvcc:linkage bit; hgnd:linkage bit; ss_1:in bit; hreq_1:inout bit; reset_1:in bit; pvcc:linkage bit; pcap:linkage bit; pgnd:linkage bit; aa:out bit_vector(0 to 3); cas_1:out bit; extal:in bit; cvcc:linkage bit_vector(0 to 1);
jtag bsdl motorola dsp56367 24-bit digital signal processor users manual c-3 cgnd:linkage bit_vector(0 to 1); ta_1:in bit; br_1:buffer bit; bb_1:inout bit; wr_1:out bit; rd_1:out bit; bg_1:in bit; a:out bit_vector(0 to 17); avcc:linkage bit_vector(0 to 2); agnd:linkage bit_vector(0 to 3); d:inout bit_vector(0 to 23); dvcc:linkage bit_vector(0 to 3); dgnd:linkage bit_vector(0 to 3); modd:in bit; modc:in bit; modb:in bit; moda:in bit; mosi:inout bit; sda:inout bit; sdo41_1:inout bit; sdo50_1:inout bit; fst_1:inout bit; fsr_1:inout bit; sckr_1:inout bit; sckt_1:inout bit); use std_1149_1_1994.all; attribute component_conformance of dsp56367 : entity is "std_1149_1_1993"; attribute pin_map of dsp56367 : entity is physical_pin_map; constant tqfp144 : pin_map_string := "sck: 1, " & "ss_1: 2, " & "hreq_1: 3, " & "sdo0: 4, " & "sdo1: 5, " & "sdoi23: 6, " & "sdoi32: 7, " & "svcc: (8, 25), " & "sgnd: (9, 26), " & "sdoi41: 10, " & "sdoi50: 11, " & "fst: 12, " & "fsr: 13, " & "sckt: 14, " & "sckr: 15, " & "hsckt: 16, " & "hsckr: 17, " &
jtag bsdl c-4 dsp56367 24-bit digital signal processor users manual motorola "qvcc: (18, 56, 91, 126), " & "qgnd: (19, 54, 90, 127), " & "qvcch: (20, 49, 95), " & "hp: (43, 42, 41, 40, 37, 36, 35, 34, 33, 32, 31, 22, 21, 30, 24, 23), " & "ado: 27, " & "aci: 28, " & "tio: 29, " & "hvcc: 38, " & "hgnd: 39, " & "reset_1: 44, " & "pvcc: 45, " & "pcap: 46, " & "pgnd: 47, " & "sdo50_1: 48, " & "fst_1: 50, " & "aa: (70, 69, 51, 145), " & "cas_1: 52, " & "sckt_1: 53, " & "extal: 55, " & "cvcc: (57, 65), " & "cgnd: (58, 66), " & "fsr_1: 59, " & "sckr_1: 60, " & "pinit: 61, " & "ta_1: 62, " & "br_1: 63, " & "bb_1: 64, " & "wr_1: 67, " & "rd_1: 68, " & "bg_1: 71, " & "a: (72, 73, 76, 77, 78, 79, 82, 83, 84, 85, 88, 89, 92, 93, 94, 97,98,99)," & "avcc: (74, 80, 86), " & "agnd: (75, 81, 87, 96), " & "d: (100, 101, 102, 105, 106, 107, 108, 109, 110, 113, 114, 115, 116, 117, 118, 121, " & "122,123,124,125,128,131,132,133),"& "dvcc: (103, 111, 119, 129), " & "dgnd: (104, 112, 120, 130), " & "modd: 134, " & "modc: 135, " & "modb: 136, " & "moda: 137, " & "sdo41_1: 138, " & "tdo: 139, " & "tdi: 140, " & "tck: 141, " & "tms: 142, " & "mosi: 143, " & "sda: 144 ";
jtag bsdl motorola dsp56367 24-bit digital signal processor users manual c-5 attribute tap_scan_in of tdi : signal is true; attribute tap_scan_out of tdo : signal is true; attribute tap_scan_mode of tms : signal is true; attribute tap_scan_clock of tck : signal is (20.0e6, both); attribute instruction_length of dsp56367 : entity is 4; attribute instruction_opcode of dsp56367 : entity is "extest (0000)," & "sample (0001)," & "idcode (0010)," & "clamp (0101)," & "highz (0100)," & "enable_once (0110)," & "debug_request(0111)," & "bypass (1111)"; attribute instruction_capture of dsp56367 : entity is "0001"; attribute idcode_register of dsp56367 : entity is "0000" & -- version "000111" & -- manufacturer's use "0001101111" & -- sequence number "00000001110" & -- manufacturer identity "1"; -- 1149.1 requirement attribute register_access of dsp56367 : entity is "once[8] (enable_once,debug_request)" ; attribute boundary_length of dsp56367 : entity is 154; attribute boundary_register of dsp56367 : entity is -- num cell,port, func, safe, [ccell dis rslt] "0 (bc_1,*, control, 1)," & "1 (bc_6, sdo41_1, bidir, x, 0, 1, z)," & "2 (bc_1, moda, input, x)," & "3 (bc_1, modb, input, x)," & "4 (bc_1, modc, input, x)," & "5 (bc_1, modd, input, x)," & "6 (bc_6, d(23), bidir, 1, 15, 1, z)," & "7 (bc_6, d(22), bidir, x, 15, 1, z)," & "8 (bc_6, d(21), bidir, x, 15, 1, z)," & "9 (bc_6, d(20), bidir, x, 15, 1, z)," & "10 (bc_6, d(19), bidir, x, 15, 1, z)," & "11 (bc_6, d(18), bidir, x, 15, 1, z)," & "12 (bc_6, d(17), bidir, x, 15, 1, z)," & "13 (bc_6, d(16), bidir, x, 15, 1, z)," & "14 (bc_6, d(15), bidir, x, 15, 1, z)," & "15 (bc_1, *, control, 1)," & "16 (bc_6, d(14), bidir, x, 15, 1, z)," & "17 (bc_6, d(13), bidir, x, 15, 1, z)," & "18 (bc_6, d(12), bidir, x, 15, 1, z)," & "19 (bc_6, d(11), bidir, x, 28, 1, z)," &
jtag bsdl c-6 dsp56367 24-bit digital signal processor users manual motorola "20 (bc_6, d(10), bidir, x, 28, 1, z)," & "21 (bc_6, d(9), bidir, x, 28, 1, z)," & "22 (bc_6, d(8), bidir, x, 28, 1, z)," & "23 (bc_6, d(7), bidir, x, 28, 1, z)," & "24 (bc_6, d(6), bidir, x, 28, 1, z)," & "25 (bc_6, d(5), bidir, x, 28, 1, z)," & "26 (bc_6, d(4), bidir, x, 28, 1, z)," & "27 (bc_6, d(3), bidir, x, 28, 1, z)," & "28 (bc_1, *, control, 1)," & "29 (bc_6, d(2), bidir, x, 28, 1, z)," & "30 (bc_6, d(1), bidir, x, 28, 1, z)," & "31 (bc_6, d(0), bidir, x, 28, 1, z)," & "32 (bc_1, a(17), output3, x, 35, 1, z)," & "33 (bc_1, a(16), output3, x, 35, 1, z)," & "34 (bc_1, a(15), output3, x, 35, 1, z)," & "35 (bc_1, *, control, 1)," & "36 (bc_1, a(14), output3, x, 35, 1, z)," & "37 (bc_1, a(13), output3, x, 35, 1, z)," & "38 (bc_1, a(12), output3, x, 35, 1, z)," & "39 (bc_1, a(11), output3, x, 35, 1, z)," & "40 (bc_1, a(10), output3, x, 35, 1, z)," & "41 (bc_1, a(9), output3, x, 35, 1, z)," & "42 (bc_1, a(8), output3, x, 45, 1, z)," & "43 (bc_1, a(7), output3, x, 45, 1, z)," & "44 (bc_1, a(6), output3, x, 45, 1, z)," & "45 (bc_1, *, control, 1)," & "46 (bc_1, a(5), output3, x, 45, 1, z)," & "47 (bc_1, a(4), output3, x, 45, 1, z)," & "48 (bc_1, a(3), output3, x, 45, 1, z)," & "49 (bc_1, a(2), output3, x, 45, 1, z)," & "50 (bc_1, a(1), output3, x, 45, 1, z)," & "51 (bc_1, a(0), output3, x, 45, 1, z)," & "52 (bc_1, bg_1, input, x)," & "53 (bc_1, *, control, 1)," & "54 (bc_1, aa(0), output3, x, 53, 1, z)," & "55 (bc_1, *, control, 1)," & "56 (bc_1, aa(1), output3, x, 55, 1, z)," & "57 (bc_1, rd_1, output3, x, 70, 1, z)," & "58 (bc_1, wr_1, output3, x, 70, 1, z)," & "59 (bc_1, *, control, 1)," & "60 (bc_6, bb_1, bidir, x, 59, 1, z)," & "61 (bc_1, br_1, output2, x)," & "62 (bc_1, ta_1, input, x)," & "63 (bc_1, pinit, input, x)," & "64 (bc_1, *, control, 1)," & "65 (bc_6, sckr_1, bidir, x, 64, 1, z)," & "66 (bc_1, *, control, 1)," & "67 (bc_1, aa(3), output3, x, 66, 1, z)," & "68 (bc_1, *, control, 1)," & "69 (bc_6, fsr_1, bidir, x, 68, 1, z)," & "70 (bc_1, *, control, 1)," & "71 (bc_1, extal, input, x)," & "72 (bc_1, *, control, 1)," &
jtag bsdl motorola dsp56367 24-bit digital signal processor users manual c-7 "73 (bc_6, sckt_1, bidir, x, 72, 1, z)," & "74 (bc_1, *, control, 1)," & "75 (bc_1, cas_1, output3, x, 74, 1, z)," & "76 (bc_1, *, control, 1)," & "77 (bc_1, aa(2), output3, x, 76, 1, z)," & "78 (bc_1, *, control, 1)," & "79 (bc_6, fst_1, bidir, x, 78, 1, z)," & "80 (bc_1, *, control, 1)," & "81 (bc_6, sdo50_1, bidir, x, 80, 1, z)," & "82 (bc_1, reset_1, input, x)," & "83 (bc_1, *, control, 1)," & "84 (bc_6, hp(0), bidir, x, 83, 1, z)," & "85 (bc_1, *, control, 1)," & "86 (bc_6, hp(1), bidir, x, 85, 1, z)," & "87 (bc_1, *, control, 1)," & "88 (bc_6, hp(2), bidir, x, 87, 1, z)," & "89 (bc_1, *, control, 1)," & "90 (bc_6, hp(3), bidir, x, 89, 1, z)," & "91 (bc_1, *, control, 1)," & "92 (bc_6, hp(4), bidir, x, 91, 1, z)," & "93 (bc_1, *, control, 1)," & "94 (bc_6, hp(5), bidir, x, 93, 1, z)," & "95 (bc_1, *, control, 1)," & "96 (bc_6, hp(6), bidir, x, 95, 1, z)," & "97 (bc_1, *, control, 1)," & "98 (bc_6, hp(7), bidir, x, 97, 1, z)," & "99 (bc_1, *, control, 1)," & "100 (bc_6, hp(8), bidir, x, 99, 1, z)," & "101 (bc_1, *, control, 1)," & "102 (bc_6, hp(9), bidir, x, 101, 1, z)," & "103 (bc_1, *, control, 1)," & "104 (bc_6, hp(10), bidir, x, 103, 1, z)," & "105 (bc_1, *, control, 1)," & "106 (bc_6, hp(13), bidir, x, 105, 1, z)," & "107 (bc_1, *, control, 1)," & "108 (bc_6, tio, bidir, x, 107, 1, z)," & "109 (bc_1, *, control, 1)," & "110 (bc_6, aci, bidir, x, 109, 1, z)," & "111 (bc_1, *, control, 1)," & "112 (bc_6, ado, bidir, x, 111, 1, z)," & "113 (bc_1, *, control, 1)," & "114 (bc_6, hp(14), bidir, x, 113, 1, z)," & "115 (bc_1, *, control, 1)," & "116 (bc_6, hp(15), bidir, x, 115, 1, z)," & "117 (bc_1, *, control, 1)," & "118 (bc_6, hp(11), bidir, x, 117, 1, z)," & "119 (bc_1, *, control, 1)," & "120 (bc_6, hp(12), bidir, x, 119, 1, z)," & "121 (bc_1, *, control, 1)," & "122 (bc_6, hsckr, bidir, x, 121, 1, z)," & "123 (bc_1, *, control, 1)," & "124 (bc_6, hsckt, bidir, x, 123, 1, z)," & "125 (bc_1, *, control, 1)," &
jtag bsdl c-8 dsp56367 24-bit digital signal processor users manual motorola "126 (bc_6, sckr, bidir, x, 125, 1, z)," & "127 (bc_1, *, control, 1)," & "128 (bc_6, sckt, bidir, x, 127, 1, z)," & "129 (bc_1, *, control, 1)," & "130 (bc_6, fsr, bidir, x, 129, 1, z)," & "131 (bc_1, *, control, 1)," & "132 (bc_6, fst, bidir, x, 131, 1, z)," & "133 (bc_1, *, control, 1)," & "134 (bc_6, sdoi50, bidir, x, 133, 1, z)," & "135 (bc_1, *, control, 1)," & "136 (bc_6, sdoi41, bidir, x, 135, 1, z)," & "137 (bc_1, *, control, 1)," & "138 (bc_6, sdoi32, bidir, x, 137, 1, z)," & "139 (bc_1, *, control, 1)," & "140 (bc_6, sdoi23, bidir, x, 139, 1, z)," & "141 (bc_1, *, control, 1)," & "142 (bc_6, sdo1, bidir, x, 141, 1, z)," & "143 (bc_1, *, control, 1)," & "144 (bc_6, sdo0, bidir, x, 143, 1, z)," & "145 (bc_1, *, control, 1)," & "146 (bc_6, hreq_1, bidir, x, 145, 1, z)," & "147 (bc_1, ss_1, input, x)," & "148 (bc_1, *, control, 1)," & "149 (bc_6, sck, bidir, x, 148, 1, z)," & "150 (bc_1, *, control, 1)," & "151 (bc_6, sda, bidir, x, 150, 1, z)," & "152 (bc_1, *, control, 1)," & "153 (bc_6, mosi, bidir, x, 152, 1, z)"; end dsp56367;
motorola dsp56367 24-bit digital signal processor users manual d-1 appendix d programmers reference
programmers reference d-2 dsp56367 24-bit digital signal processor users manual motorola d.1 introduction this section has been compiled as a reference for programmers. it contains a table showing the addresses of all the dsps memory-mapped peripherals, an interrupt address table, an interrupt exception priority table, a quick reference to the host interface, and programming sheets for the major programmable registers on the dsp. d.1.1 peripheral addresses table d-1 lists the memory addresses of all on-chip peripherals. d.1.2 interrupt addresses table d-2 lists the interrupt starting addresses and sources. d.1.3 interrupt priorities table d-3 lists the priorities of specific interrupts within interrupt priority levels. d.1.4 host interface quick reference table d-4 is a quick reference guide to the host interface (hdi08). d.1.5 programming sheets the remaining figures describe major programmable registers on the dsp56367.
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-3 d.2 internal i/o memory map table d-1 internal i/o memory map peripheral address register name ipr x:$ffffff interrupt priority register core (ipr-c) x:$fffffe interrupt priority register peripheral (ipr-p) pll x:$fffffd pll control register (pctl) once x:$fffffc once gdb register (ogdb) biu x:$fffffb bus control register (bcr) x:$fffffa dram control register (dcr) x:$fffff9 address attribute register 0 (aar0) x:$fffff8 address attribute register 1 (aar1) x:$fffff7 address attribute register 2 (aar2) x:$fffff6 address attribute register 3 (aar3) [pin not available] x:$fffff5 id register (idr) dma x:$fffff4 dma status register (dstr) x:$fffff3 dma offset register 0 (dor0) x:$fffff2 dma offset register 1 (dor1) x:$fffff1 dma offset register 2 (dor2) x:$fffff0 dma offset register 3 (dor3) dma0 x:$ffffef dma source address register (dsr0) x:$ffffee dma destination address register (ddr0) x:$ffffed dma counter (dco0) x:$ffffec dma control register (dcr0) dma1 x:$ffffeb dma source address register (dsr1) x:$ffffea dma destination address register (ddr1) x:$ffffe9 dma counter (dco1) x:$ffffe8 dma control register (dcr1) dma2 x:$ffffe7 dma source address register (dsr2) x:$ffffe6 dma destination address register (ddr2) x:$ffffe5 dma counter (dco2) x:$ffffe4 dma control register (dcr2) dma3 x:$ffffe3 dma source address register (dsr3) x:$ffffe2 dma destination address register (ddr3) x:$ffffe1 dma counter (dco3) x:$ffffe0 dma control register (dcr3)
programmers reference d-4 dsp56367 24-bit digital signal processor users manual motorola dma4 x:$ffffdf dma source address register (dsr4) x:$ffffde dma destination address register (ddr4) x:$ffffdd dma counter (dco4) x:$ffffdc dma control register (dcr4) dma5 x:$ffffdb dma source address register (dsr5) x:$ffffda dma destination address register (ddr5) x:$ffffd9 dma counter (dco5) x:$ffffd8 dma control register (dcr5) port d x:$ffffd7 port d control register (pcrd) x:$ffffd6 port d direction register (prrd) x:$ffffd5 port d data register (pdrd) dax x:$ffffd4 dax status register (xstr) x:$ffffd3 dax audio data register b (xadrb) x:$ffffd2 dax audio data register a (xadra) x:$ffffd1 dax non-audio data register (xnadr) x:$ffffd0 dax control register (xctr) x:$ffffcf reserved x:$ffffce reserved x:$ffffcd reserved x:$ffffcc reserved x:$ffffcb reserved x:$ffffca reserved port b x:$ffffc9 host port gpio data register (hdr) x:$ffffc8 host port gpio direction register (hddr) hdi08 x:$ffffc7 host transmit register (hotx) x:$ffffc6 host receive register (horx) x:$ffffc5 host base address register (hbar) x:$ffffc4 host port control register (hpcr) x:$ffffc3 host status register (hsr) x:$ffffc2 host control register (hcr) x:$ffffc1 reserved x:$ffffc0 reserved port c x:$ffffbf port c control register (pcrc) x:$ffffbe port c direction register (prrc) x:$ffffbd port c gpio data register (pdrc) table d-1 internal i/o memory map (continued) peripheral address register name
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-5 esai x:$ffffbc esai receive slot mask register b (rsmb) x:$ffffbb esai receive slot mask register a (rsma) x:$ffffba esai transmit slot mask register b (tsmb) x:$ffffb9 esai transmit slot mask register a (tsma) x:$ffffb8 esai receive clock control register (rccr) x:$ffffb7 esai receive control register (rcr) x:$ffffb6 esai transmit clock control register (tccr) x:$ffffb5 esai transmit control register (tcr) x:$ffffb4 esai common control register (saicr) x:$ffffb3 esai status register (saisr) x:$ffffb2 reserved x:$ffffb1 reserved x:$ffffb0 reserved x:$ffffaf reserved x:$ffffae reserved x:$ffffad reserved x:$ffffac reserved x:$ffffab esai receive data register 3 (rx3) x:$ffffaa esai receive data register 2 (rx2) x:$ffffa9 esai receive data register 1 (rx1) x:$ffffa8 esai receive data register 0 (rx0) x:$ffffa7 reserved x:$ffffa6 esai time slot register (tsr) x:$ffffa5 esai transmit data register 5 (tx5) x:$ffffa4 esai transmit data register 4 (tx4) x:$ffffa3 esai transmit data register 3 (tx3) x:$ffffa2 esai transmit data register 2 (tx2) x:$ffffa1 esai transmit data register 1 (tx1) x:$ffffa0 esai transmit data register 0 (tx0) x:$ffff9f reserved x:$ffff9e reserved x:$ffff9d reserved x:$ffff9c reserved x:$ffff9b reserved x:$ffff9a reserved x:$ffff99 reserved x:$ffff98 reserved x:$ffff97 reserved table d-1 internal i/o memory map (continued) peripheral address register name
programmers reference d-6 dsp56367 24-bit digital signal processor users manual motorola x:$ffff96 reserved x:$ffff95 reserved shi x:$ffff94 shi receive fifo (hrx) x:$ffff93 shi transmit register (htx) x:$ffff92 shi i 2 c slave address register (hsar) x:$ffff91 shi control/status register (hcsr) x:$ffff90 shi clock control register (hckr) triple timer x:$ffff8f timer 0 control/status register (tcsr0) x:$ffff8e timer 0 load register (tlr0) x:$ffff8d timer 0 compare register (tcpr0) x:$ffff8c timer 0 count register (tcr0) x:$ffff8b timer 1 control/status register (tcsr1) x:$ffff8a timer 1 load register (tlr1) x:$ffff89 timer 1 compare register (tcpr1) x:$ffff88 timer 1 count register (tcr1) x:$ffff87 timer 2 control/status register (tcsr2) x:$ffff86 timer 2 load register (tlr2) x:$ffff85 timer 2 compare register (tcpr2) x:$ffff84 timer 2 count register (tcr2) x:$ffff83 timer prescaler load register (tplr) x:$ffff82 timer prescaler count register (tpcr) x:$ffff81 reserved x:$ffff80 reserved esai mux pin control y:$ffffaf esai mux pin control register (emuxr) y:$ffffae reserved y:$ffffad reserved y:$ffffac reserved y:$ffffab reserved y:$ffffaa reserved y:$ffffa9 reserved y:$ffffa8 reserved y:$ffffa7 reserved y:$ffffa6 reserved y:$ffffa5 reserved y:$ffffa4 reserved y:$ffffa3 reserved y:$ffffa2 reserved y:$ffffa1 reserved table d-1 internal i/o memory map (continued) peripheral address register name
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-7 y:$ffffa0 reserved port e y:$ffff9f port e control register (pcre) y:$ffff9e port e direction register(prre) y:$ffff9d port e gpio data register(pdre) esai_1 y:$ffff9c esai_1 receive slot mask register b (rsmb_1) y:$ffff9b esai_1 receive slot mask register a (rsma_1) y:$ffff9a esai_1 transmit slot mask register b (tsmb_1) y:$ffff99 esai_1 transmit slot mask register a (tsma_1) y:$ffff98 esai_1 receive clock control register (rccr_1) y:$ffff97 esai_1 receive control register (rcr_1) y:$ffff96 esai_1 transmit clock control register (tccr_1) y:$ffff95 esai_1 transmit control register (tcr_1) y:$ffff94 esai_1 common control register (saicr_1) y:$ffff93 esai_1 status register (saisr_1) y:$ffff92 reserved y:$ffff91 reserved y:$ffff90 reserved y:$ffff8f reserved y:$ffff8e reserved y:$ffff8d reserved y:$ffff8c reserved y:$ffff8b esai_1 receive data register 3 (rx3_1) y:$ffff8a esai_1 receive data register 2 (rx2_1) y:$ffff89 esai_1 receive data register 1 (rx1_1) y:$ffff88 esai_1 receive data register 0 (rx0_1) y:$ffff87 reserved y:$ffff86 esai_1 time slot register (tsr_1) y:$ffff85 esai_1 transmit data register 5 (tx5_1) y:$ffff84 esai_1 transmit data register 4 (tx4_1) y:$ffff83 esai_1 transmit data register 3 (tx3_1) y:$ffff82 esai_1 transmit data register 2 (tx2_1) y:$ffff81 esai_1 transmit data register 1 (tx1_1) y:$ffff80 esai_1 transmit data register 0 (tx0_1) table d-1 internal i/o memory map (continued) peripheral address register name
programmers reference d-8 dsp56367 24-bit digital signal processor users manual motorola d.3 interrupt vector addresses table d-2 dsp56367 interrupt vectors interrupt starting address interruptpriority levelrange interrupt source vba:$00 3 hardware reset vba:$02 3 stack error vba:$04 3 illegal instruction vba:$06 3 debug request interrupt vba:$08 3 trap vba:$0a 3 non-maskable interrupt (nmi ) vba:$0c 3 reserved for future level-3 interrupt source vba:$0e 3 reserved for future level-3 interrupt source vba:$10 0 - 2 irqa vba:$12 0 - 2 irqb vba:$14 0 - 2 irqc vba:$16 0 - 2 irqd vba:$18 0 - 2 dma channel 0 vba:$1a 0 - 2 dma channel 1 vba:$1c 0 - 2 dma channel 2 vba:$1e 0 - 2 dma channel 3 vba:$20 0 - 2 dma channel 4 vba:$22 0 - 2 dma channel 5 vba:$24 0 - 2 reserved vba:$26 0 - 2 reserved vba:$28 0 - 2 dax underrun error vba:$2a 0 - 2 dax block transferred vba:$2c 0 - 2 reserved vba:$2e 0 - 2 dax audio data empty vba:$30 0 - 2 esai receive data vba:$32 0 - 2 esai receive even data vba:$34 0 - 2 esai receive data with exception status vba:$36 0 - 2 esai receive last slot vba:$38 0 - 2 esai transmit data
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-9 vba:$3a 0 - 2 esai transmit even data vba:$3c 0 - 2 esai transmit data with exception status vba:$3e 0 - 2 esai transmit last slot vba:$40 0 - 2 shi transmit data vba:$42 0 - 2 shi transmit underrun error vba:$44 0 - 2 shi receive fifo not empty vba:$46 0 - 2 reserved vba:$48 0 - 2 shi receive fifo full vba:$4a 0 - 2 shi receive overrun error vba:$4c 0 - 2 shi bus error vba:$4e 0 - 2 reserved vba:$50 0 - 2 reserved vba:$52 0 - 2 reserved vba:$54 0 - 2 timer0 compare vba:$56 0 - 2 timer0 overflow vba:$58 0 - 2 timer1 compare vba:$5a 0 - 2 timer1 overflow vba:$5c 0 - 2 timer2 compare vba:$5e 0 - 2 timer2 overflow vba:$60 0 - 2 host receive data full vba:$62 0 - 2 host transmit data empty vba:$64 0 - 2 host command (default) vba:$66 0 - 2 reserved vba:$68 0 - 2 reserved vba:$6a 0 - 2 reserved vba:$6c 0 - 2 reserved vba:$6e 0 - 2 reserved vba:$70 0 - 2 esai_1 receive data vba:$72 0 - 2 esai_1 receive even data vba:$74 0 - 2 esai_1 receive data with exception status vba:$76 0 - 2 esai_1 receive last slot vba:$78 0 - 2 esai_1 transmit data table d-2 dsp56367 interrupt vectors (continued) interrupt starting address interruptpriority levelrange interrupt source
programmers reference d-10 dsp56367 24-bit digital signal processor users manual motorola d.4 interrupt source priorities (within an ipl) vba:$7a 0 - 2 esai_1 transmit even data vba:$7c 0 - 2 esai_1 transmit data with exception status vba:$7e 0 - 2 esai_1 transmit last slot vba:$80 0 - 2 reserved ::: vba:$fe 0 - 2 reserved table d-3 interrupt sources priorities within an ipl priority interrupt source level 3 (nonmaskable) highesthardware reset stack error illegal instruction debug request interrupt trap lowestnon-maskable interrupt levels 0, 1, 2 (maskable) highestirqa (external interrupt) irqb (external interrupt) irqc (external interrupt) irqd (external interrupt) dma channel 0 interrupt dma channel 1 interrupt dma channel 2 interrupt dma channel 3 interrupt table d-2 dsp56367 interrupt vectors (continued) interrupt starting address interruptpriority levelrange interrupt source
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-11 dma channel 4 interrupt dma channel 5 interrupt esai receive data with exception status esai receive even data esai receive data esai receive last slot esai transmit data with exception status esai transmit last slot esai transmit even data esai transmit data shi bus error shi receive overrun error shi transmit underrun error shi receive fifo full shi transmit data shi receive fifo not empty host command interrupt host receive data interrupt host transmit data interrupt dax transmit underrun error dax block transferred dax transmit register empty timer0 overflow interrupt timer0 compare interrupt timer1 overflow interrupt timer1 compare interrupt timer2 overflow interrupt timer2 compare interrupt table d-3 interrupt sources priorities within an ipl (continued) priority interrupt source
programmers reference d-12 dsp56367 24-bit digital signal processor users manual motorola d.5 host interfacequick reference esai_1 receive data with exception status esai_1 receive even data esai_1 receive data esai_1 receive last slot esai_1 transmit data with exception status esai_1 transmit last slot esai_1 transmit even data lowest esai_1 transmit data table d-4 hdi08 programming model reg bit comments reset type num mnemonic name val function hw / sw ir st dsp side hcr 0 hrie receive interrupt enable 0 1 hrrq interrupt disabled hrrq interrupt enabled 0 - - 1 htie transmit interrupt enable 0 1 htrq interrupt disabled htrq interrupt enabled 0 - - 2 hcie host command interrupt enable 0 1 hcp interrupt disabled hcp interrupt enabled 0 - - 3 hf2 host flag 2 0 4 hf3 host flag 3 0 - - 7-5 hdm[2:0] host dma mode 000 100 001 010 011 101 110 111 dma operation disabled dma operation enabled 24-bit host-to-dsp dma enabled 16-bit host-to-dsp dma enabled 8-bit host-to-dsp dma enabled 24-bit dsp-to-host dma enabled 16-bit dsp-to-host dma enabled 8-bit dsp-to-host dma enabled 000 table d-3 interrupt sources priorities within an ipl (continued) priority interrupt source
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-13 hpcr 0 hgen host gpio enable 0 1 gpio pin disconnected gpio pins active 0 - - 1 ha8en host address line 8 enable 0 ha8/ha1 = gpio this bit is treated as 1 if hmux=0 this bit is treated as 0 if hen=0 0 - - 1 ha8/ha1 = ha8/ha1 2 ha9en host address line 9 enable 0 ha9/ha2 = gpio this bit is treated as 1 if hmux=0 this bit is treated as 0 if hen=0 0 - - 1 ha9/ha2 = ha9/ha2 3 hcsen host chip select enable 0 1 hcs/ha10 = gpio hcs/ha10 = hcs/ha10 this bit is treated as 0 if hen=0 0 - - 4 hren host request enable 0 horeq/htrq = gpio hack/hrrq=gpio this bit is treated as 0 if hen=0 0 - - 1 horeq/htrq=horeq/htrq hack/hrrq=hack/hrrq 5 haen host acknowledge enable 0 hack/hrrq = gpio this bit is ignored if hdrq=1 this bit is treated as 0 if hren=0 this bit is treated as 0 if hen=0 0 - - 1 hack/hrrq= hack 6 hen host enable 0 1 host port=gpio host port active 0 - - 8 hrod host request open drain 0 1 horeq/htrq/hrrq=driven horeq/htrq/hrrq=open drain this bit is ignored if hen=0 0 - - 9 hdsp host data strobe polarity 0 1 hds/hrd/hwr active low hds/hrd/hwr active high this bit is ignored if hen=0 0 - - 10 hasp host address strobe polarity 0 1 has active low has active high this bit is ignored if hen=0 0 - - 11 hmux host multiplxed bus 0 1 seprate address and data lines multiplexed address/data this bit is ignored if hen=0 0 - - 12 hdds host dual data strobe 0 1 single data strobe (hds) double data strobe (hwr, hrd) this bit is ignored if hen=0 0 - - 13 hcsp host chip select polarity 0 1 hcs active low hcsactive high this bit is ignored if hen=0 0 - - 14 hrp host request polarity 0 1 horeq/htrq/hrrq active low horeq/htrq/hrrq active high this bit is ignored if hen=0 0 - - 15 hap host acknowledge polarity 0 1 hack active low hack active high this bit is ignored if hen=0 0 - - table d-4 hdi08 programming model (continued) reg bit comments reset type num mnemonic name val function hw / sw ir st
programmers reference d-14 dsp56367 24-bit digital signal processor users manual motorola hsr 0 hrdf host receive data full 0 1 no receive data to be read receive data register is full 000 1 htde host transmit data empty 1 0 transmit data register empty transmit data reg. not empty 111 2 hcp host command pending 0 1 no host command pending host command pending 000 3 hf0 host flag0 0 - - 4 hf1 host flag1 0 - - 7 dma dma status 0 1 dma mode disabled dma mode enabled 0 - - hbar 7-0 ba10-ba3 host base address register $80 horx 23-0 dsp receive data register empty hotx 23-0 dsp transmit data register empty hdr 15-0 d15-d0 gpio pin data $0000 - - hddr 15-0 dr15-dr0 gpio pin direction 0 1 input output $0000 - - host side icr 0 rreq receive request enable 0 1 hrrq interrupt disabled hrrq interrupt enabled 0 - - 1 treq transmit request enable 0 1 htrq interrupt disabled htrq interrupt enabled 0 - - 2 hdrq double host request 0 1 horeq/htrq=horeq, hack/hrrq=hack horeq/htrq=htrq, hack/hrrq=hrrq available if hdm2-hdm0=000 0 - - 3 hf0 host flag 0 0 - - 4 hf1 host flag 1 0 - - 5 hlend host little endian 0 1 big endian order little endian order available if hdm2-hdm0=000 0 - - 6-5 hm1-hm0 host mode control 00 01 10 11 interrupt mode 24-bit dma enabled 16-bit dma enabled 8-bit dma enabled available if hdm2-hdm0=100 00 - - 7 init initialize 1 reset data paths according to treq and rreq cleared by hdi08 hardware 0 - - table d-4 hdi08 programming model (continued) reg bit comments reset type num mnemonic name val function hw / sw ir st
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-15 d.6 programming sheets the worksheets shown on the following pages contain listings of major programmable registers for the dsp56367. the programming sheets are grouped into the following order: ? central processor ? host interface (hdi08) ? serial host interface (shi) ? two enhanced serial audio interfaces (esai and esai_1) ? digital audio interface (dax) ? timer/event controller (tec) ?gpio (ports b-e) each sheet provides room to write in the value of each bit and the hexadecimal value for each register. programmers can photocopy these sheets and reuse them for each application development project. for details on the instruction set of the dsp56300 family chips, see the dsp56300 family manual . isr 0 rxdf receive data register full 0 1 host receive register is empty host receive register is full 000 1 txde transmit data register empty 1 0 host transmit register empty host transmit register full 111 2 trdy transmitter ready 1 0 transmit fif o (6 deep) is empty transmit fifo is not empty 111 3 hf2 host flag2 0 - - 4 hf3 host flag3 0 - - 7 hreq host request 0 1 horeq pin is deasserted horeq pin is asserted (if enabled) 000 cvr 6-0 hv6-hv0 host command vector default vector $2a - - 7 hc host command 0 1 no host command pending host command pending cleared by hdi08 hardware when the hc int. req. is serviced 000 rxh/ m/l 7-0 host receive data register empty txh/ m/l 7-0 host transmit data register empty ivr 7-0 iv7-iv0 interrupt register 68000 family vector register $0f - - table d-4 hdi08 programming model (continued) reg bit comments reset type num mnemonic name val function hw / sw ir st
programmers reference d-16 dsp56367 24-bit digital signal processor users manual motorola figure d-1 status register (sr) application: date: programmer: sheet 1 of 5 central processor 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 uzvc 19 18 17 16 23 22 21 20 l lf s1 sm i1 i0 ce sa fv s0 n scaling mode s(1:0) scaling mode 00 01 10 11 no scaling scale down scale up reserved * 0 * 0 interrupt mask i(1:0) exceptions masked 00 01 10 11 none ipl 0 ipl 0, 1 ipl 0, 1, 2 carry overfow zero negative unnormalized ( u = acc(47) xnor acc(46) ) extension limit fft scaling ( s = acc(46) xor acc(45) ) reserved sixteen-bit compatibilitity double precision multiply mode loop flag do-forever flag sixteenth-bit arithmetic reserved instruction cache enable arithmetic saturation rounding mode core priority cp(1:0) core priority 00 01 10 11 0 (lowest) 1 2 3 (highest) * = reserved, program as 0 mode register (mr) condition code register (ccr) extended mode register (mr) status register (sr) read/write reset = $c00300 cp1 cp0 rm dm sc s e
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-17 figure d-2 operating mode register (omr) chip operating modes mod(d:a) reset vector description see core configuration section. application: date: programmer: sheet 2 of 5 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ebd mc mb ma 19 18 17 16 23 22 21 20 sd brt tas sen cdp1cdp0 wrp eov eun xys be md core-dma priority cdp(1:0) core-dma priority 00 01 10 11 core vs dma priority dma accesses > core dma accesses = core dma accesses < core msw1 msw0 * 0 chip operating mode register (com) system stack control status register (scs) extended chip operating mode register (com) operating mode register (omr) read/write reset = $00030x central processor * = reserved, program as 0 burst mode enable ta synchronize select bus release timing stack extension space select extended stack underflow flag extended stack overflow flag extended stack wrap flag stack extension enable memory switch mode ms external bus disable stop delay memory switch mode pen ate apd address priority disable address tracing enable abe asynchronous bus arbitration enable patch enable
programmers reference d-18 dsp56367 24-bit digital signal processor users manual motorola figure d-3 interrupt priority registerCcore (iprCc) application: date: programmer: sheet 3 of 5 central processor 15 14 13 12 11 10 9 876543210 d1l0 idl2 idl1 ibl2 ibl1 ibl0 ial2 ial1 ial0 interrupt priority x:$ffffff r/w d0l1d0l0 reset = $000000 register (iprCc) 23 22 21 20 19 18 16 17 d1l1 ial2 trigger 0 level 1 neg. edge irqa mode ial1 ial0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 ibl2 trigger 0 level 1 neg. edge irqb mode ibl1 ibl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 icl0 icl1 icl2 idl0 d2l0 d2l1 d3l0 d3l1 d4l0 d4l1 d5l0 d5l1 icl2 trigger 0 level 1 neg. edge irqc mode icl1 icl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 idl2 trigger 0 level 1 neg. edge irqd mode idl1 idl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-19 figure d-4 interrupt priority register C peripherals (iprCp) application: date: programmer: sheet 4 of 5 central processor * = reserved, program as 0 interrupt priority x:$fffffe r/w reset = $000000 register (iprCp) esl1 esl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 esai ipl shl1 shl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 shi ipl 1514131211109876543210 hdl1 hdl0 shl1 shl0 esl1 esl0 23 22 21 20 19 18 16 17 dal0 dal1 tal0 tal1 * 0 * 0 * 0 * 0 $0 * 0 * 0 * 0 * 0 $0 * 0 * 0 * 0 * 0 $0 hdl1 hdl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 hdi08 ipl dal1 dal0 enabled ipl 00 no 01yes0 10yes1 11yes2 dax ipl tal1 tal0 enabled ipl 00 no 01yes0 10yes1 11yes2 tec ipl esl1 esl0 enabled ipl 00 no 01 yes 0 10 yes 1 11 yes 2 esai_1 ipl esl10 esl11
programmers reference d-20 dsp56367 24-bit digital signal processor users manual motorola figure d-5 phase lock loop control register (pctl) application: date: programmer: sheet 5 of 5 pll 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 mf7 mf5 mf4 mf3 mf2 mf1 mf0 19 18 17 16 23 22 21 20 pen cod pd1 pd3 mf6 pd2 xtld xtlr df2 df1 df0 mf11 pd0 pstp mf10 mf9 mf8 pll control register (pctl) x:$fffffd read/write reset = $010005 xtal disable bit (xtld) 0 = enable xtal oscillator 1 = extal driven from an external source clock output disable (cod) 0 = 50% duty cycle clock 1 = pin held in high state crystal range bit (xtlr) 0 = external xtal freq >200khz 1 = external xtal freq <200khz predivision factor bits (pd0 C pd3) pd3 C pd0 predivision factor pdf $0 $1 $2 ? ? ? $f 1 2 3 ? ? ? 16 multiplication factor bits mf0 C mf11 mf11 C mf0 multiplication factor mf $000 $001 $002 ? ? ? $ffe $fff 1 2 3 ? ? ? 4095 4096 division factor bits (df0 C df2) df2 C df0 division factor df $0 $1 $2 ? ? ? $7 2 0 2 1 2 2 ? ? ? 2 7 pstp and pen relationship pstp pen operation during stop recovery time for stop power consumption during stop pll oscillator 0 x disabled disabled long minimal 1 0 disabled enabled shortlower 1 1 enabled enabled shorthigher note that bits xtlr, cod and xtld have no effect on dsp56367 operation
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-21 figure d-6 host receive and host transmit data registers application: date: programmer: sheet 1 of 6 host (hdi08) 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 19 18 17 16 23 22 21 20 receive high byte receive middle byte receive low byte host receive register (horx) x:$fffec6 read only reset = empty host receive data (usually read by program) 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 19 18 17 16 23 22 21 20 transmit high byte transmit middle byte transmit low byte host transmit data (usually loaded by program) host transmit register (hotx) x:$fffec7 write only reset = empty dsp side
programmers reference d-22 dsp56367 24-bit digital signal processor users manual motorola figure d-7 host control and status registers application: date: programmer: sheet 2 of 6 host 76543210 15 * = reserved, program as 0 * 0 * 0 * 0 dsp side host receive data full 1 = read 0 = wait hcp hrdf hf1 htde hf0 host flags read only host command pending 1 = ready 0 = wait host transmit data empty 1 = write 0 = wait * 0 8 6543210 15 * 0 host receive interrupt enable 1 = enable 0 = disable hcie hrie hf3 htie hf2 host flag 2 host command interrupt enable host transmit interrupt enable 1 = enable 0 = disable * 0 host control register (hcr) x:$ffffc2 read /write reset = $0 if hrdf = 1 if htde = 1 1 = enable 0 = disable if hcp = 1 host flag 3 (hdi08) 7 hdm0 hdm1 hdm2 host dma control bits see table 6-5 in section 6 8 dma dma status 0 = dma mode disabled host status register (hsr) x:$ffffc3 reset = $2 1 = dma mode enabled * = reserved, program as 0
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-23 figure d-8 host base address and host port control application: date: programmer: sheet 3 of 6 host (hdi08) 76 5 4 3 21 0 15 ba5 ba3 ba7 ba4 ba6 * 0 host base address register (hbar) x:$ffffc5 reset = $80 8 ba8 ba9 ba10 * 0 1514131211109876543210 haen hren hcsen ha9en ha8en hgen * = reserved, program as 0 hen * 0 hap hrp hcsp hdds hrod hmux hdsp hasp host port control x:$ffffc4 reset = $0 host acknowledge enable 0 hack = gpio host request enable 0 horeq/hack = gpio, 1 horeq = horeq, host chip select enable 0 hcs/hai0 = gpio, 1 hcs/ha10 = hcs, if hmux = 0 1 hcs/ha10 = hc10, if hmux = 1 host address line 9 enable 0 ha9 = gpio, 1 ha9 = ha9 host address line 8 enable 0 ha8 = gpio, 1 ha8 = ha8 host gpio port enable 0 = gpio pins disconnected host acknowledge polarity 0 = hack active low, 1 = hack active high host chip select polarity 0 = hcs active low host dual data strobe 0 = single strobe, 1 = dual strobe host multiplexed bus 0 = nonmultiplexed, 1 = multiplexed host address strobe polarity 0 = strobe active low, 1 = strobe active high host data strobe polarity 0 = strobe active low, 1 = strobe active high host enable 0 hdi08 disable 1 hdi08 enable pins = gpio register (hpcr) read/write if hdrq & hren = 1, hack = hack host request open drain hdrq hrod hren/hew 0 0 1 1 0 1 0 1 1 1 1 1 htrq & hrrq enable 1 = hcs active high host request polarity hdrq hrp 0 0 1 1 0 1 0 1 horeq active low horeq active high htrq,hrrq active low htrq,hrrq active high dsp side 1 = gpio pin enable if hdrq = 0
programmers reference d-24 dsp56367 24-bit digital signal processor users manual motorola figure d-9 host interrupt control and interrupt status application: date: programmer: sheet 4 of 6 host (hdi08) 76543210 processor side rreq hf1 treq hf0 init hlend transmit request enable dma off 0 = interrupts disabled 1 = interrupts enabled dma on 0 = dsp -> host1 = host -> dsp host flags write only initialize (write only) host little endian receive request enable dma off 0 = interrupts disabled 1 = interrupts enabled dma on 0 = host -> dsp 1 = dsp -> host 0 = no action 1 = initialize dma hdrq * 0 hdrq horeq/htrq hack/hrrq 0 horeq hack 1 htrq hrrq 76543210 * = reserved, program as 0 * 0 rxdf hf3 txde hf2 hreq trdy interrupt status register (isr) $2 r/w reset = $0 transmit data register empty 0 = wait1 = write transmitter ready 0 = data in hi 1 = data not in hi host flags read only receive data register full 0 = wait1 = read host request 0 = horeq deasserted 1 = horeq asserted init init hm1 (hdm1) hm0 hf1 (hdm0) hf1 hf0 hf0 interrupt control register (icr) hdm[2:0] = 100 hdm1 and/or hdm0 = 1 treq treq rreq rreq for hm[1:0] bits, see table 6-12 in section 6 0 * $0 r/w reset = $0 * 0 * 0 hdm[2:0] = 000
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-25 figure d-10 host interrupt vector and command vector application: date: programmer: sheet 5 of 6 host (hdi08) 76543210 iv0 iv4 iv1 iv3 iv7 iv5 interrupt vector register (ivr) iv2 contains the interrupt vector or number iv6 76543210 hv0 hv4 hv1 hv3 hc hv5 command vector register (cvr) hv2 contains the host command interrupt address hv6 host vector contains host command interrupt address 2 host command handshakes executing host command interrupts processor side reset = $0f $3 r/w reset = $32 $1 r/w
programmers reference d-26 dsp56367 24-bit digital signal processor users manual motorola figure d-11 host receive and transmit byte registers application: date: programmer: sheet 6 of 6 host (hdi08) 7070 0 7 host receive data (hlend = 1) receive byte registers $7, $6, $5, $4 read only reset = empty transmit byte registers $7, $6, $5, $4 write only reset = empty receive byte registers $6 $7 $4 0 0 000000 0 7 $5 receive middle byte receive high byte not used receive low byte 7070 0 7 host transmit data (hlend = 0) $6 $5 $4 0 0 000000 0 7 $7 transmit middle byte transmit high byte not used transmit low byte processor side 7070 0 7 host receive data (hlend = 0) $6 $5 $4 0 0 000000 0 7 $7 receive middle byte receive high byte not used receive low byte transmit byte registers 7070 0 7 host transmit data (hlend = 1) $6 $7 $4 0 0 000000 0 7 $5 transmit middle byte transmit high byte not used transmit low byte
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-27 figure d-12 shi slave address and clock control registers 10 application: date: programmer: sheet 1 of 3 shi 15 14 13 12 11 9876543210 hdm4 hdm2hdm1hdm0 hrs cpolcpha shi clock control x:$ffff90 reset = $000001 register (hckr) 19 18 17 16 23 22 21 20 * 0 * 0 hdm3 * 0 hdm7 * 0 * 0 * 0 * 0 15 14 13 12 11109876543210 shi slave address x:$ffff92 reset = $bx0000 register (hsar) 19 18 17 16 23 22 21 20 ha1 ha3 ha5 * 0 * 0 ha6 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 ha4 0 0 0 0 * 0 * 0 * 0 * 0 00 hdm5 hckr divider modulus hsar i 2 c slave address slave address = bits ha6-ha3, ha1 and external pins ha2, ha0 slave address after reset = 1011[ha2]0[ha0] hfm1 hfm0 shi noise reduction filter mode 0 0 bypassed (filter disabled) 01reserved 1 0 narrow spike tolerance 1 1 wide spike tolerance hfm0 hfm1 shi clock control register (hckr) shi slave address register (hsar) cpol cpha result 0 0 sck active low, strobe on rising edge 0 1 sck active low, strobe on falling edge 1 0 sck active high, strobe on falling edge 1 1 sck active high, strobe on rising edge hrs result 0 prescaler operational 1 prescaler bypassed hdm6 *= reserved, write as 0
programmers reference d-28 dsp56367 24-bit digital signal processor users manual motorola figure d-13 shi transmit and receive data registers application: date: programmer: sheet 2 of 3 shi 1514131211109876543210 shi host transmit x:$ffff93 write only reset = $xxxxxx data register (htx) 19 18 17 16 23 22 21 20 host transmit data register 1514131211109876543210 shi host receive x:$ffff94 read only reset = $xxxxxx data register (hrx) 19 18 17 16 23 22 21 20 host receive data register shi host receive data register (hrx) (fifo) 10 words deep shi host transmit data register (htx)
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-29 figure d-14 shi host control/status register hbusy i 2 c spi mode 0 stop event not busy 1 shi detects start ss detected (slave) -or- htx/iosr not empty (master) shi * * = reserved, write as 0 15 14 13 12 11109876 54 3210 hrqe0 hfif0 hm1 hm0 hi 2 chen shi control/status x:$ffff91 reset = $008200 register (hcsr) 19 18 17 16 23 22 21 20 hrff hroe hbusy * 0 hmst htie hbie hidle hrqe1 htde htuehrie1hrie0 hrne hber hen description 0 shi disabled 1 shi enabled hi 2 c result 0 spi mode 1i 2 c mode hm1 hm0 description 0 0 8 bit data 0 1 16 bit data 1 0 24 bit data 11reserved hfifo description 0 1 level fifo 1 10 level hmst result 0 slave mode 1master mode hrqe1 hrqe0 hreq pin operation 0 0 high impedance 0 1 asserted if iosr ready to receive new word 1 0 asserted if iosr ready to transmit new word 11i 2 c: asserted if iosr ready to transmit or receive spi: asserted if oisr ready to transmit and receive hidle description 0 bus busy 1 stop event hbie description 0 bus error interrupt disabled 1 bus error interrupt enabled htie description 0 transmit interrupt disabled 1 transmit interrupt activated host transmit underrun error read only status bit host transfer data empty read only status bit host receive fifo not empty read only status bit host receive fifo full read only status bit host receive overrun error read only status bit * 0 hber i 2 c spi mode 0 no error no error 1 no acknowledge ss asserted hrie1 hrie0 interrupt condition 00 1 0 1 disabled receive fifo not empty receive overrun error reserved receive fifo full receive overrun error n.a. hrne=1 & hroe=0 hroe=1 n.a. hrff=1 & hroe=0 hroe=1 0 1 1 * 0 hckfr application: date: programmer: hckfr description 0 i2c slave clock freeze disabled 1 i2c slave clock freeze enabled sheet 3 of 3
programmers reference d-30 dsp56367 24-bit digital signal processor users manual motorola figure d-15 esai transmit clock control register application: date: programmer: 15 6 5 4 19 18 17 16 10 9 8 7 14 13 12 11 tpm0 3210 tpm2 23 22 21 20 tpm1 tpm3 tpm4 tpm5 tpm6 tpm7 tpsr tdc0 tdc1 tdc2 tdc3 tdc4 tfp0 tfp1 tfp2 tfp3 tckp tfsp thckp tckd tfsd thckd tckp description 0 1 transmitter clock polarity set to clockout on rising edge of transmit clock, latch in on falling edge of transmit clock. transmitter clock polarity set to clockout on falling edge of tfsp description 0 1 frame sync polarity positive frame sync polarity negative tfp [3:0] description sets divide rate for transmission tckd description 0 1 external clock source used internal clock source tfsd description 0 1 fst is input fst is output thckd description 0 1 hckt is input hckt is output thckp description 0 1 transmitter high frequency clock polarity set to clockout transmitter high frequency clock polarity set to clockout range $0 - $f (1 -16). see 8.3.1.4 tdc [4:0] description divider control. range $00 - $ff (1 - 32) see 8.3.1.3 tpm [7:0] description specifies the prescaler divide rate is transmitter clock generator tpsr description 0 1 divide by 8 prescaler operational divide by 8 prescaler bypassed range from $00 - $ff (1 - 256). aa1777 for the see 8.3.1.1 esai tccr - esai transmit clock control register x: $ffffb6 reset: $000000 transmit clock, latch in on rising edge of transmit clock on rising edge of transmit clock, latch in on falling edge on falling edge of transmit clock, latch in on rising edge high frequency clock
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-31 figure d-16 esai transmit control register 15 654 19 18 17 16 10 9 8 7 14 13 12 11 te0 3210 te2 23 22 21 20 te1 te3 te4 te5 tshfd tmod0 tfsl tfsr teie tedie tie tlie tfsr description 0 1 word-length frame sync synchronous to beginning of data word first slot word-length frame sync 1 clock before beginning of data word first slot description tmod1 network mode normal mode tedie description 0 1 transmit even slot data interrupt enabled tie description 0 1 transmit interrupt disabled transmit interrupt enabled tlie description 0 1 transmit last slot interrupt disabled transmit last slot interrupt enabled teie description 0 1 transmit exception interrupt disabled 0 tsws [0:4] description defines slot and data word length tfsl description 0 1 esai tcr - esai transmit control register x: $ffffb5 reset: $000000 see 8.3.2.10 and table 8-5 twa description 0 1 data left aligned data right aligned tshfd description 0 1 data shifted out msb first data shifted out lsb first te [0:5] transmitter disabled transmitter enabled description 0 1 word length frame sync 1-bit clock period frame sync transmitter normal operation transmit exception interrupt enabled transmit even slot data interrupt disabled twa tmod1 tsws4 tsws3 tsws2 tsws1 tsws0 tmod0 0 0 0 1 network mode reserved ac97 1 1 1 padc tpr transmitter personal reset 0 1 description zero padding disabled padc zero padding enabled 0 1 tpr application: date: programmer: * 0
programmers reference d-32 dsp56367 24-bit digital signal processor users manual motorola figure d-17 esai receive clock control register 15 654 19 18 17 16 10 9 8 7 14 13 12 11 rpm0 3210 rpm2 23 22 21 20 rpm1 rpm3 rpm4 rpm5 rpm6 rpm7 rpsr rdc0 rdc1 rdc2 rdc3 rdc4 rfp0 rfp1 rfp2 rfp3 rckp rfsp rhckp rckd rfsd rhckd rckp description 0 1 clockout on rising edge of receive clock, latch in on falling edge of receive clock clockout on falling edge of receive clock, latch in on rising edge of receive clock rfsp description 0 1 frame sync polarity positive frame sync polarity negative rfp [3:0] description sets divide rate for receiver high frequency clock rckd description 0 1 external clock source used internal clock source rfsd description 0 1 fsr is input fsr is output rhckd description 0 1 hckr is input hckr is output rhckp description 0 1 clockout on rising edge of receive clock, latch in on falling edge of receive clock clockout on falling edge of receive clock, latch in on rising edge of receive clock range $0 - $f (1 -16). see 8.3.3.4 rdc [4:0] description controls frame rate dividers rpm [7:0] description specifies prescaler ratio for the rpsr description 0 1 divide by 8 prescaler operational divide by 8 prescaler bypassed range from $00 - $ff (1 - 256). receive clock generator see 8.3.3.1 esai rccr - esai receive clock control register x: $ffffb8 reset: $000000 range 00000 - 11111 (1-32) see 8.3.3.2 application: date: programmer:
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-33 figure d-18 esai receive control register 15 6 5 4 19 18 17 16 10 9 8 7 14 12 13 11 re0 3210 re2 23 22 21 20 re1 re3 rsvd rsvd rshfd rwa rfsl rfsr reie redie rie rlie rsws [0:4] description defines slot and data word length esai rcr - esai receive control register x: $ffffb7 reset: $000000 see 8.3.4.9 and table 8-8 rsws4 rsws3 rsws2 rsws1 rsws0 rmod0 rmod1 rsvd rsvd rpr application: d a t e: programmer: rlie description 0 receive last slot interrupt disabled 1 receive last slot interrupt enabled rie description 0 receive interrupt disabled 1 receive interrupt enabled redie description 0 receive even slot data interrupt disabled 1 receive even slot data interrupt enabled reie description 0 receive exception interrupt disabled 1 receive exception interrupt enabled rpr description 0 receiver normal operation 1 receiver personal reset rfsl description 0 word length frame sync 1 1-bit clock period frame sync rwa description 0 data left aligned 1 data right aligned re [0:3] description 0 receiver disabled 1 receiver enabled rshfd description 0 data shifted in msb first 1 data shifted in lsb first rmod1 rmod0 network mode 00normal mode 0 1 network mode 10reserved 11ac97 rfsr description 0 word-length frame sync synchronous to beginning of data word first slot 1 word-length frame sync 1 clock before beginning of data word first slot
programmers reference d-34 dsp56367 24-bit digital signal processor users manual motorola figure d-19 esai common control register 15 654 19 18 17 16 10 9 8 7 14 12 13 11 of0 3210 of2 23 22 21 20 of1 syn tebe description syn esai saicr - esai common control register x: $ffffb4 reset: $000000 alc description 0 1 data left aligned to bit 23 data left aligned to bit 15 description 0 1 asynchronous mode synchronous mode reserved alc description holds data to send to ofn pin. description reserved see 8.3.5.1 to .3 of(2:0) description controls fsr pin. see 8.3.5.6 and table 8-9 tebe application: date: programmer:
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-35 figure d-20 esai status register 15 6 5 4 19 18 17 16 10 9 8 7 14 13 12 11 if0 3210 if2 23 22 21 20 if1 rfs rdf description description 0 1 holds data sent from sckr pin. esai saisr - esai status register x: $ffffb3 reset $000000 rfs description 0 1 receive frame sync did not occur description reserved if [0:2] see 8.3.6.1 reserved roe holds data sent from hckr pin. see 8.3.6.3 holds data sent from fsr pin. see 8.3.6.2 2 during word reception receive frame sync did occur during word reception roe description 0 1 no receiver overrun error receiver overrun error rdf description 0 1 receive data register empty receive data register full redf rodf tfs tue tde tede tode redf description 0 1 receive even-data register empty receive even-data register full tode description 0 1 transmit odd-data register not empty transmit odd-data register empty tfs description 0 1 transmit frame sync did not occur during word transmission transmit frame sync occurred during word transmission tue description 0 1 no transmit underrun error transmit underrun error tde description 0 1 transmit data registers not empty transmit data registers empty tede description 0 1 transmit even-data registers not empty transmit even-data registers empty description reserved rodf description 0 1 receive odd-data register empty receive odd-data register full application: d a t e: programmer: transmit odd-data register not empty
intentionally left blank figure d-21 esai_1 multiplex control register 15 654 19 18 17 16 10 9 8 7 14 12 13 11 emux0 3210 emux2 23 22 21 20 emux1 description emuxr - esai_1 multiplex control register y: $ffffaf reset: $000000 reserved application: date: programmer: esai_1 emux3 emuxr esai/esai_1 pin selection emuxr bit esai pin esai_1 pin emux0 0 sdo0 [pc11] disconnected emux0 1 disconnected sdo0_1 [pe11] emux1 0 sdo1[pc10] disconnected emux1 1 disconnected sdo1_1 [pe10] emux2 0 sdo2/sdi3 [pc9] disconnected emux2 1 disconnected sdo2_1/sdi3_1 [pe9] emux3 0 sdo3/sdi2 [pc8] disconnected emux3 1 disconnected sdo3_1/sdi2_1 [pe8]
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-37 figure d-22 esai_1 transmit clock control register application: date: programmer: 15 6 5 4 19 18 17 16 10 9 8 7 14 13 12 11 tpm0 3210 tpm2 23 22 21 20 tpm1 tpm3 tpm4 tpm5 tpm6 tpm7 tpsr tdc0 tdc1 tdc2 tdc3 tdc4 tfp0 tfp1 tfp2 tfp3 tckp tfsp thckp tckd tfsd thckd tckp description 0 1 transmitter clock polarity set to clockout on rising edge of transmit clock, latch in on falling edge of transmit clock. transmitter clock polarity set to clockout on falling edge of tfsp description 0 1 frame sync polarity positive frame sync polarity negative tfp [3:0] description divider control. tckd description 0 1 external clock source used internal clock source tfsd description 0 1 fst_1 is input fst_1 is output thckd description 0 1 reserved must be set for proper operation thckp description 0 1 keep cleared for proper operation reserved range $0 - $f (1 -16). tdc [4:0] description divider control. range $00 - $ff (1 - 32) tpm [7:0] description specifies the prescaler divide rate is transmitter clock generator tpsr description 0 1 divide by 8 prescaler operational divide by 8 prescaler bypassed range from $00 - $ff (1 - 256). aa1777 for the esai_1 tccr_1 - esai_1 transmit clock control register y: $ffff96 reset: $000000 transmit clock, latch in on rising edge of transmit clock
programmers reference d-38 dsp56367 24-bit digital signal processor users manual motorola figure d-23 esai_1 transmit control register 15 654 19 18 17 16 10 9 8 7 14 13 12 11 te0 3210 te2 23 22 21 20 te1 te3 te4 te5 tshfd tmod0 tfsl tfsr teie tedie tie tlie tfsr description 0 1 word-length frame sync synchronous to beginning of data word first slot word-length frame sync 1 clock before beginning of data word first slot description tmod1 network mode normal mode tedie description 0 1 transmit even slot data interrupt enabled tie description 0 1 transmit interrupt disabled transmit interrupt enabled tlie description 0 1 transmit last slot interrupt disabled transmit last slot interrupt enabled teie description 0 1 transmit exception interrupt disabled 0 tsws [0:4] description defines slot and data word length tfsl description 0 1 tcr_1 - esai_1 transmit control register y: $ffff95 reset: $000000 twa description 0 1 data left aligned data right aligned tshfd description 0 1 data shifted out msb first data shifted out lsb first te [0:5] transmitter disabled transmitter enabled description 0 1 word length frame sync 1-bit clock period frame sync transmitter normal operation transmit exception interrupt enabled transmit even slot data interrupt disabled twa tmod1 tsws4 tsws3 tsws2 tsws1 tsws0 tmod0 0 0 0 1 network mode reserved ac97 1 1 1 padc tpr transmitter personal reset 0 1 description zero padding disabled padc zero padding enabled 0 1 tpr application: date: programmer: * 0 esai_1
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-39 figure d-24 esai_1 receive clock control register 15 6 5 4 19 18 17 16 10 9 8 7 14 13 12 11 rpm0 3210 rpm2 23 22 21 20 rpm1 rpm3 rpm4 rpm5 rpm6 rpm7 rpsr rdc0 rdc1 rdc2 rdc3 rdc4 rfp0 rfp1 rfp2 rfp3 rckp rfsp rhckp rckd rfsd rhckd rckp description 0 1 clockout on rising edge of receive clock, latch in on falling edge of receive clock clockout on falling edge of receive clock, latch in on rising edge of receive clock rfsp description 0 1 frame sync polarity positive frame sync polarity negative rfp [3:0] description sets divide rate rckd description 0 1 external clock source used internal clock source rfsd description 0 1 fsr_1 is input fsr_1 is output rhckd description 0 1 reserved must be set for proper operation rhckp description 0 1 keep cleared for proper operation reserved range $0 - $f (1 -16). rdc [4:0] description controls frame rate dividers rpm [7:0] description specifies prescaler ratio for the rpsr description 0 1 divide by 8 prescaler operational divide by 8 prescaler bypassed range from $00 - $ff (1 - 256). receive clock generator rccr_1 - esai_1 receive clock control register y: $ffff98 reset: $000000 range 00000 - 11111 (1-32) application: d a t e: programmer: esai_1
programmers reference d-40 dsp56367 24-bit digital signal processor users manual motorola figure d-25 esai_1 receive control register 15 6 5 4 19 18 17 16 10 9 8 7 14 12 13 11 re0 3210 re2 23 22 21 20 re1 re3 rsvd rsvd rshfd rwa rfsl rfsr reie redie rie rlie rsws [0:4] description defines slot and data word length rcr_1 - esai_1 receive control register y: $ffff97 reset: $000000 rsws4 rsws3 rsws2 rsws1 rsws0 rmod0 rmod1 rsvd rsvd rpr application: d a t e: programmer: rie description 0 receive interrupt disabled 1 receive interrupt enabled redie description 0 receive even slot data interrupt disabled 1 receive even slot data interrupt enabled reie description 0 receive exception interrupt disabled 1 receive exception interrupt enabled rpr description 0 receiver normal operation 1 receiver personal reset rfsl description 0 word length frame sync 1 1-bit clock period frame sync rwa description 0 data left aligned 1 data right aligned re [0:3] description 0 receiver disabled 1 receiver enabled rshfd description 0 data shifted in msb first 1 data shifted in lsb first rmod1 rmod0 network mode 00normal mode 0 1 network mode 10reserved 11ac97 rfsr description 0 word-length frame sync synchronous to beginning of data word first slot 1 word-length frame sync 1 clock before beginning of data word first slot esai_1 rlie description 0 receive last slot interrupt disabled 1 receive last slot interrupt enabled
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-41 figure d-26 esai_1 common control register 15 654 19 18 17 16 10 9 8 7 14 12 13 11 of0 3210 of2 23 22 21 20 of1 syn tebe description syn saicr_1 - esai_1 common control register y: $ffff94 reset: $000000 alc description 0 1 data left aligned to bit 23 data left aligned to bit 15 description 0 1 asynchronous mode synchronous mode reserved alc description holds data to send to ofn pin. description reserved of(2:0) description controls fsr_1 pin. tebe application: date: programmer: esai_1
programmers reference d-42 dsp56367 24-bit digital signal processor users manual motorola figure d-27 esai_1 status register 15 6 5 4 19 18 17 16 10 9 8 7 14 13 12 11 if0 3210 if2 23 22 21 20 if1 rfs rdf description description 0 1 holds data sent from sckr_1 pin. saisr_1 - esai_1 status register y: $ffff93 reset $000000 rfs description 0 1 receive frame sync did not occur description reserved if [0:2] reserved roe holds data sent from hckr_1 pin. holds data sent from fsr_1 pin. 2 during word reception receive frame sync did occur during word reception roe description 0 1 no receiver overrun error receiver overrun error rdf description 0 1 receive data register empty receive data register full redf rodf tfs tue tde tede tode redf description 0 1 receive even-data register empty receive even-data register full tode description 0 1 transmit odd-data register not empty transmit odd-data register empty tfs description 0 1 transmit frame sync did not occur during word transmission transmit frame sync occurred during word transmission tue description 0 1 no transmit underrun error transmit underrun error tde description 0 1 transmit data registers not empty transmit data registers empty tede description 0 1 transmit even-data registers not empty transmit even-data registers empty description reserved rodf description 0 1 receive odd-data register empty receive odd-data register full application: d a t e: programmer: transmit odd-data register not empty esai_1
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-43 figure d-28 dax non-audio data register dax 15 14 13 12 11109876543210 dax non-audio data x:$ffffd1 reset = $00xx00 register (xnadr) * 0 * 0 * 0 * 0 * 0 * 0 16 17 18 19 20 21 22 23 * 0 * 0 * 0 * 0 * 0 * 0 * 0 xcb xub xvb xca xua xva * 0 * 0 * 0 * 0 * 0 channel a validity (xva) channel a user data (xua) channel b validity (xvb) channel b user data (xub) application: date: programmer: sheet 1 of 2
programmers reference d-44 dsp56367 24-bit digital signal processor users manual motorola figure d-29 dax control and status registers xblk dax block transfer 0 not last frame 1 191st frame transmission dax 15 14 13 12 11109876543210 dax control x:$ffffd0 reset = $000000 register (xctr) * 0 * 0 * 0 * 0 * 0 * = reserved; write as 0 16 17 18 19 20 21 22 23 * 0 * 0 * 0 * 0 * 0 * 0 * 0 xcs1 xcs0 xbie xuie xdie 15 14 13 12 1110987654 3210 * 0 * 0 * 0 * 0 * 0 * 0 16 17 18 19 20 21 22 23 * 0 * 0 * 0 * 0 * 0 * 0 * 0 xblk xade * 0 * 0 * 0 * 0 * 0 * 0 xcs1 xcs0 dax clock source 0 0 dsp core clock (f = 1024 x fs) 0 1 aci pin, f = 256 x fs 1 0 aci pin, f = 384 x fs 1 1 aci pin, f = 512 x fs dax status x:$ffffd4 reset = $000000 register (xstr) xade dax audio data empty 0 register(s) full 1 register(s) empty xaur dax underrun error 0 no error 1 underrun error * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 xaur xbie dax block trans. int. enable 0 disabled 1 enabled xuie dax underrun int. enable 0 disabled 1 enabled xdie aud. dat. reg. emp. int. en. 0 disabled 1 enabled xsb dax start block 0 disabled 1 force block start xsb application: d a t e: programmer:
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-45 figure d-30 timer prescaler load and prescaler count registers (tplr, tpcr) application: d a t e: programmer: sheet 1 of 3 tec 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 19 18 17 16 23 22 21 20 ps0 ps1 * 0 prescaler preload value (pl [0:20]) * = reserved, program as 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 19 18 17 16 23 22 21 20 * 0 current value of prescaler counter (pc [0:20]) timer prescaler load register tplr:$ffff83 read/write reset = $000000 timer prescaler count register tpcr:$ffff82 read only reset = $000000 *= reserved, program as 0 ps (1:0) prescaler clock source 00 internal clk/2 01 tio0 10 reserved 11 reserved * 0 * 0
programmers reference d-46 dsp56367 24-bit digital signal processor users manual motorola figure d-31 timer control/status register note that for timers 1 and 2, tc (3:0) = 0000 is the only valid combination. application: date: programmer: sheet 2 of 3 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 tc3 tc1 tc0 tcie toie te 19 18 17 16 23 22 21 20 tcf tc2 pce do di dir tof trm inv tec * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 timer enable bit 0 0 = timer disabled 1 = timer enabled timer overflow interrupt enable bit 1 0 = overflow interrupts disabled 1 = overflow interrupts enabled inverter bit 8 0 = 0- to-1 transitions on tio input increment the counter, or high pulse width measured, or high pulse output on tio 1 = 1-to-0 transitions on tio input increment the counter, or low pulse width measured, or low pulse output on tio timer compare interrupt enable bit 2 0 = compare interrupts disabled 1 = compare interrupts enabled timer control/status register tcsr0:$ffff8f read/write tcsr1:$ffff8b read/write tcsr2:$ffff87 read/write reset = $000000 * = reserved, program as 0 timer control bits 4 C 7 (tc0 C tc3) tc (3:0) tio clock mode 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 gpio output output input input input input output C output output C C C C C internal internal internal external internal internal internal internal C internal internal C C C C C timer timer pulse timer toggle event counter input width input period capture pulse width modulation reserved watchdog pulse watchdog toggle reserved reserved reserved reserved reserved timer reload mode bit 9 1 = timer is reloaded when selected condition occurs 0 = timer operates as a free running counter timer overflow flag bit 20 0 = 1 has been written to tcsr(tof), or timer overflow interrupt serviced 1 = counter wraparound has occurred direction bit 11 0 = tio pin is input 1 = tio pin is output data output bit 13 0 = zero written to tio pin 1 = one written to tio pin data input bit 12 0 = zero read on tio pin 1 = one read on tio pin timer compare flag bit 21 0 = 1 has been written to tcsr(tcf), or timer compare interrupt serviced 1 = timer compare has occurred prescaled clock enable bit 15 0 = clock source is clk/2 or tio 1 = clock source is prescaler output all other combinations are reserved.
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-47 figure d-32 timer load, compare and count registers application: d a t e: programmer: sheet 3 of 3 tec 1514131211109876543210 19 18 17 16 23 22 21 20 timer reload value timer load register tlr0:$ffff8e write only reset = $xxxxxx tlr1:$ffff8a write only tlr2:$ffff86 write only timer compare register tcpr0:$ffff8d read/write reset = $xxxxxx tcpr1:$ffff89 read/write tcpr2:$ffff85 read/write timer count register tcr0:$ffff8c read only tcr1:$ffff88 read only tcr2:$ffff84 read only reset = $000000 1514131211109876543210 19 18 17 16 23 22 21 20 value compared to counter value 1514131211109876543210 19 18 17 16 23 22 21 20 timer count value
programmers reference d-48 dsp56367 24-bit digital signal processor users manual motorola figure d-33 gpio port b application: date: programmer: sheet 1 of 4 gpio 1514131211109876543210 dr5 dr4 dr3 dr2 dr1 dr0 dr6 dr15 dr14 dr13 dr12 dr8 dr11 dr9 dr10 direction register x:$ffffc8 reset = $0 (hddr) read/write host data drx = 0 pbx is input drx = 1 pbx is output 1514131211109876543210 d5 d4 d3 d2 d1 d0 d6 d15 d14 d13 d12 d8 d11 d9 d10 register x:$ffffc9 reset = undefined (hdr) read/write host data dx holds value of corresponding hdi08 gpio pin. dr7 d7 function depends on hddr. port b (hdi08) see the hdi08 hpcr register (figure d-8) for additional port b gpio control bits.
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-49 figure d-34 gpio port c application: date: programmer: sheet 2 of 4 gpio 2311 987654 pc9 pc8 pc7 pc6 pc5 pc4 port c control register x:$ffffbf reset = $0 (pcrc) read/write * = reserved, program as 0 * 0 port c (esai) 23 10987654 pdc9 pdc8 pdc7 pdc6 pdc5 pdc4 port c direction register x:$ffffbe reset = $0 (prrc) read/write * 0 23 11 9 8 7 6 4 3 pd9 pd8 pd7 pd6 pd4 pd3 port c gpio data register x:$ffffbd reset = undefined (pdrc) read/write * 0 if port pin n is gpio input, then pdn reflects the value on port pin n if port pin n is gpio output, then value written to pdn is reflected on port pin n 3210 10 pc3 pc2 pc1 pc0 11 0 1 2 3 pdc10 pdc3 pdc2 pdc1 pdc0 pd10 10 pd5 5 pd2 pd1 pd0 2 10 pc10 pcn = 0 & pdcn = 0 -> port pin pcn disconnected pcn = 1 & pdcn = 0 -> port pin pcn configured as input pcn = 0 & pdcn = 1 -> port pin pcn configured as output pcn = 1 & pdcn = 1 -> port pin configured as esai pc11 pdc11 pd11 * = reserved, program as 0 * = reserved, program as 0
programmers reference d-50 dsp56367 24-bit digital signal processor users manual motorola figure d-35 gpio port d application: date: programmer: sheet 3 of 4 gpio 236543210 pc1 pc0 port d control register x:$ffffd7 reset = $0 (pcrd) read/write * 0 * = reserved, program as 0 * 0 port d (dax) port d direction register x:$ffffd6 reset = $0 (prrd) read/write 236543210 pd1 pd0 port d gpio data register x:$ffffd5 reset = $0 (pdrd) read/write * 0 * 0 if port pin n is gpio input, then pdn reflects the value on port pin n if port pin n is gpio output, then value written to pdn is reflected on port pin n 236543210 pdc1 pdc0 pcn = 0 & pdcn = 0 -> port pin pdn disconnected pcn = 1 & pdcn = 0 -> port pin pdn configured as input pcn = 0 & pdcn = 1 -> port pin pdn configured as output pcn = 1 & pdcn = 1 -> port pin configured as dax * = reserved, program as 0 * = reserved, program as 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0 * 0
programmers reference motorola dsp56367 24-bit digital signal processor users manual d-51 figure d-36 gpio port e application: date: programmer: sheet 4 of 4 gpio 2311 987654 pc4 port e control register y:$ffff9f reset = $0 (pcre) read/write * = reserved, program as 0 * 0 port e (esai_1) 23 10987654 pdc4 port e direction register y:$ffff9e reset = $0 (prre) read/write * 0 23 11 9 8 7 6 4 3 pd4 pd3 port e gpio data register y:$ffff9d reset = undefined (pdre) read/write * 0 if port pin n is gpio input, then pdn reflects the value on port pin n if port pin n is gpio output, then value written to pdn is reflected on port pin n 3210 10 pc3 pc1 pc0 11 0 1 2 3 pdc3 pdc1 pdc0 10 5 pd1 pd0 2 10 pcn = 0 & pdcn = 0 -> port pin pen disconnected pcn = 1 & pdcn = 0 -> port pin pen configured as input pcn = 0 & pdcn = 1 -> port pin pen configured as output pcn = 1 & pdcn = 1 -> port pin configured as esai_1 * = reserved, program as 0 * = reserved, program as 0 * 0 * 0 * 0 * 0 * 0 * 0 pc6 pc7 pc8 pc9 pc10 pc11 pdc6 pdc7 pdc8 pdc9 pdc10 pdc11 pd6 pd7 pd8 pd9 pd10 pd11
intentionally left blank
motorola dsp56367 24-bit digital signal processor users manual e-1 appendix e power consumption benchmark
power consumption benchmark e-2 dsp56367 24-bit digital signal processor users manual motorola the following benchmark program permits evaluation of dsp power usage in a test situation. it enables the pll, disables the external clock, and uses repeated multiply-accumulate instructions with a set of synthetic dsp application data to emulate intensive sustained dsp operation. ;********************************************************************;******************* ************************************************* ;* ;* checks typical power consumption ;******************************************************************** page 200,55,0,0,0 nolist i_vec equ $000000 ; interrupt vectors for program debug only start equ $8000 ; main (external) program starting address int_prog equ $100 ; internal program memory starting address int_xdat equ $0 ; internal x-data memory starting address int_ydat equ $0 ; internal y-data memory starting address include "ioequ.asm" include "intequ.asm" list org p:start ; movep #$0123ff,x:m_bcr; bcr: area 3 : 1 w.s (sram) ; default: 1 w.s (sram) ; movep #$0d0000,x:m_pctl ; xtal disable ; pll enable ; clkout disable ; ; load the program ; move #int_prog,r0 move #prog_start,r1 do #(prog_end-prog_start),pload_loop move p:(r1)+,x0 move x0,p:(r0)+ nop pload_loop ; ; load the x-data ; move #int_xdat,r0 move #xdat_start,r1 do #(xdat_end-xdat_start),xload_loop move p:(r1)+,x0 move x0,x:(r0)+ xload_loop ;
power consumption benchmark motorola dsp56367 24-bit digital signal processor users manual e-3 ; load the y-data ; move #int_ydat,r0 move #ydat_start,r1 do #(ydat_end-ydat_start),yload_loop move p:(r1)+,x0 move x0,y:(r0)+ yload_loop ; jmp int_prog prog_start move #$0,r0 move #$0,r4 move #$3f,m0 move #$3f,m4 ; clr a clr b move #$0,x0 move #$0,x1 move #$0,y0 move #$0,y1 bset #4,omr ; ebd ; sbr dor #60,_end mac x0,y0,a x:(r0)+,x1 y:(r4)+,y1 mac x1,y1,a x:(r0)+,x0 y:(r4)+,y0 add a,b mac x0,y0,a x:(r0)+,x1 mac x1,y1,a y:(r4)+,y0 move b1,x:$ff _end bra sbr nop nop nop nop prog_end nop nop xdat_start ;orgx:0 dc $262eb9 dc $86f2fe dc $e56a5f dc $616cac dc $8ffd75 dc $9210a dc $a06d7b
power consumption benchmark e-4 dsp56367 24-bit digital signal processor users manual motorola dc $cea798 dc $8dfbf1 dc $a063d6 dc $6c6657 dc $c2a544 dc $a3662d dc $a4e762 dc $84f0f3 dc $e6f1b0 dc $b3829 dc $8bf7ae dc $63a94f dc $ef78dc dc $242de5 dc $a3e0ba dc $ebab6b dc $8726c8 dc $ca361 dc $2f6e86 dc $a57347 dc $4be774 dc $8f349d dc $a1ed12 dc $4bfce3 dc $ea26e0 dc $cd7d99 dc $4ba85e dc $27a43f dc $a8b10c dc $d3a55 dc $25ec6a dc $2a255b dc $a5f1f8 dc $2426d1 dc $ae6536 dc $cbbc37 dc $6235a4 dc $37f0d dc $63bec2 dc $a5e4d3 dc $8ce810 dc $3ff09 dc $60e50e dc $cffb2f dc $40753c dc $8262c5 dc $ca641a dc $eb3b4b dc $2da928 dc $ab6641 dc $28a7e6 dc $4e2127 dc $482fd4
power consumption benchmark motorola dsp56367 24-bit digital signal processor users manual e-5 dc $7257d dc $e53c72 dc $1a8c3 dc $e27540 xdat_end ydat_start ;orgy:0 dc $5b6da dc $c3f70b dc $6a39e8 dc $81e801 dc $c666a6 dc $46f8e7 dc $aaec94 dc $24233d dc $802732 dc $2e3c83 dc $a43e00 dc $c2b639 dc $85a47e dc $abfddf dc $f3a2c dc $2d7cf5 dc $e16a8a dc $ecb8fb dc $4bed18 dc $43f371 dc $83a556 dc $e1e9d7 dc $aca2c4 dc $8135ad dc $2ce0e2 dc $8f2c73 dc $432730 dc $a87fa9 dc $4a292e dc $a63ccf dc $6ba65c dc $e06d65 dc $1aa3a dc $a1b6eb dc $48ac48 dc $ef7ae1 dc $6e3006 dc $62f6c7 dc $6064f4 dc $87e41d dc $cb2692 dc $2c3863 dc $c6bc60 dc $43a519 dc $6139de
power consumption benchmark e-6 dsp56367 24-bit digital signal processor users manual motorola dc $adf7bf dc $4b3e8c dc $6079d5 dc $e0f5ea dc $8230db dc $a3b778 dc $2bfe51 dc $e0a6b6 dc $68ffb7 dc $28f324 dc $8f2e8d dc $667842 dc $83e053 dc $a1fd90 dc $6b2689 dc $85b68e dc $622eaf dc $6162bc dc $e4a245 ydat_end
motorola dsp56367 24-bit digital signal processor users manual f-1 appendix f ibis model
ibis model f-2 dsp56367 24-bit digital signal processor users manual motorola [ibis ver] 2.1 [file name] 56367.ibs [file rev] 0.0 [date] 29/6/2000 [component] 56367 [manufacturer] motorola [package] |variable typ min max r_pkg 45m 22m 75m l_pkg 2.5nh 1.1nh 4.3nh c_pkg 1.3pf 1.2pf 1.4pf [pin]signal_name model_name 1 sck ip5b_io 2 ss_ ip5b_io 3 hreq_ ip5b_io 4 sdo0 ip5b_io 5 sdo1 ip5b_io 6 sdoi23 ip5b_io 7 sdoi32 ip5b_io 8 svcc power 9 sgnd gnd 10 sdoi41 ip5b_io 11 sdoi50 ip5b_io 12 fst ip5b_io 13 fsr ip5b_io 14 sckt ip5b_io 15 sckr ip5b_io 16 hsckt ip5b_io 17 hsckr ip5b_io 18 qvccl power 19 gnd gnd 20 qvcch power 21 hp12 ip5b_io 22 hp11 ip5b_io 23 hp15 ip5b_io 24 hp14 ip5b_io 25 svcc power 26 sgnd gnd 27 ado ip5b_io 28 aci ip5b_io 29 tio ip5b_io 30 hp13 ip5b_io 31 hp10 ip5b_io 32 hp9 ip5b_io 33 hp8 ip5b_io 34 hp7 ip5b_io 35 hp6 ip5b_io 36 hp5 ip5b_io 37 hp4 ip5b_io 38 svcc power 39 sgnd gnd
ibis model motorola dsp56367 24-bit digital signal processor users manual f-3 40 hp3 ip5b_io 41 hp2 ip5b_io 42 hp1 ip5b_io 43 hp0 ip5b_io 44 ires_ ip5b_i 45 pvcc power 46 pcap power 47 pgnd gnd 48 sdo5 ipbw_io 49 qvcch power 50 fst_1 ipbw_io 51 aa2 icbc_o 52 cas_ icbc_o 53 sck_1 ipbw_io 54 qgnd gnd 55 cxtldis_ iexlh_i 56 qvccl power 57 cvcc power 58 cgnd gnd 59 fsr_1 ipbw_io 60 sckr1 ipbw_io 61 nmi_ ipbw_i 62 ta_ icbc_o 63 br_ icbc_o 64 bb_ icbc_o 65 cvcc power 66 cgnd gnd 67 wr_ icbc_o 68 rd_ icbc_o 69 aa1 icbc_o 70 aa0 icbc_o 71 bg_ icbc_o 72 eab0 icba_o 73 eab1 icba_o 74 avcc power 75 agnd gnd 76 eab2 icba_o 77 eab3 icba_o 78 eab4 icba_o 79 eab5 icba_o 80 avcc power 81 agnd gnd 82 eab6 icba_o 83 eab7 icba_o 84 eab8 icba_o 85 eab9 icba_o 86 avcc power 87 agnd gnd 88 eab10 icba_o 89 eab11 icba_o 90 qgnd gnd 91 qvcc power 92 eab12 icba_o
ibis model f-4 dsp56367 24-bit digital signal processor users manual motorola 93 eab13 icba_o 94 eab14 icba_o 95 qvcch power 96 agnd gnd 97 eab15 icba_o 98 eab16 icba_o 99 eab17 icba_o 100 edb0 icba_io 101 edb1 icba_io 102 edb2 icba_io 103 dvcc power 104 dgnd gnd 105 edb3 icba_io 106 edb4 icba_io 107 edb5 icba_io 108 edb6 icba_io 109 edb7 icba_io 110 edb8 icba_io 111 dvcc power 112 dgnd gnd 113 edb9 icba_io 114 edb10 icba_io 115 edb11 icba_io 116 edb12 icba_io 117 edb13 icba_io 118 edb14 icba_io 119 dvcc power 120 dgnd gnd 121 edb15 icba_io 122 edb16 icba_io 123 edb17 icba_io 124 edb18 icba_io 125 edb19 icba_io 126 qvccl power 127 qgnd gnd 128 edb20 icba_io 129 dvcc power 130 dgnd gnd 131 edb21 icba_io 132 edb22 icba_io 133 edb23 icba_io 134 irqd_ ip5b_i 135 irqc_ ip5b_i 136 irqb_ ip5b_i 137 irqa_ ip5b_i 138 sdo4_1 ip5b_io 139 tdo ip5b_o 140 tdi ip5b_i 141 tck ip5b_i 142 tms ip5b_i 143 mosi ip5b_io 144 sda ip5b_io |
ibis model motorola dsp56367 24-bit digital signal processor users manual f-5 [model] ip5b_i model_type input polarity non-inverting vinl= 0.8000v vinh= 2.000v c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.21e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.61e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.67e+00 -9.00e-01 -9.69e-03 -1.18e+00 -7.81e-03 -7.00e-01 -2.83e-04 -5.70e-03 -8.42e-04 -5.00e-01 -1.35e-06 -4.53e-05 -1.00e-05 -3.00e-01 -1.31e-09 -3.74e-07 -8.58e-09 -1.00e-01 -2.92e-11 -3.00e-09 -3.64e-11 0.000e+00 -2.44e-11 -5.14e-10 -2.79e-11 | | [model] ip5b_io model_type i/o polarity non-inverting vinl= 0.8000v vinh= 2.000v c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [pulldown] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.21e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.61e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02
ibis model f-6 dsp56367 24-bit digital signal processor users manual motorola -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.69e+00 -9.00e-01 -5.10e-02 -1.18e+00 -5.63e-02 -7.00e-01 -3.65e-02 -2.25e-02 -4.28e-02 -5.00e-01 -2.65e-02 -1.38e-02 -3.12e-02 -3.00e-01 -1.62e-02 -8.35e-03 -1.91e-02 -1.00e-01 -5.49e-03 -2.80e-03 -6.52e-03 1.000e-01 5.377e-03 2.744e-03 6.427e-03 3.000e-01 1.516e-02 7.871e-03 1.823e-02 5.000e-01 2.370e-02 1.252e-02 2.869e-02 7.000e-01 3.098e-02 1.667e-02 3.776e-02 9.000e-01 3.700e-02 2.026e-02 4.544e-02 1.100e+00 4.175e-02 2.324e-02 5.171e-02 1.300e+00 4.531e-02 2.553e-02 5.660e-02 1.500e+00 4.779e-02 2.709e-02 6.023e-02 1.700e+00 4.935e-02 2.803e-02 6.271e-02 1.900e+00 5.013e-02 2.851e-02 6.419e-02 2.100e+00 5.046e-02 2.876e-02 6.494e-02 2.300e+00 5.063e-02 2.892e-02 6.525e-02 2.500e+00 5.075e-02 2.904e-02 6.540e-02 2.700e+00 5.085e-02 2.912e-02 6.549e-02 2.900e+00 5.090e-02 2.876e-02 6.555e-02 3.100e+00 4.771e-02 2.994e-02 6.561e-02 3.300e+00 4.525e-02 3.321e-02 6.182e-02 3.500e+00 4.657e-02 3.570e-02 6.049e-02 3.700e+00 4.904e-02 3.801e-02 6.178e-02 3.900e+00 5.221e-02 4.029e-02 6.450e-02 4.100e+00 5.524e-02 4.253e-02 6.659e-02 4.300e+00 5.634e-02 4.463e-02 6.867e-02 4.500e+00 5.751e-02 4.645e-02 6.970e-02 4.700e+00 5.634e-02 4.786e-02 6.938e-02 4.900e+00 5.648e-02 4.881e-02 6.960e-02 5.100e+00 5.664e-02 4.912e-02 6.983e-02 5.300e+00 5.679e-02 4.795e-02 7.005e-02 5.500e+00 5.693e-02 4.679e-02 7.026e-02 5.700e+00 5.707e-02 4.688e-02 7.049e-02 5.900e+00 5.722e-02 4.700e-02 7.074e-02 6.100e+00 5.741e-02 4.712e-02 7.105e-02 6.300e+00 5.766e-02 4.723e-02 7.147e-02 6.500e+00 5.801e-02 4.733e-02 7.205e-02 6.600e+00 5.824e-02 4.737e-02 7.242e-02 | [pullup] |voltage i(typ) i(min) i(max) | -3.30e+00 2.922e-04 2.177e-04 4.123e-04 -3.10e+00 2.881e-04 2.175e-04 4.021e-04 -2.90e+00 2.853e-04 2.173e-04 3.946e-04 -2.70e+00 2.836e-04 2.172e-04 3.893e-04 -2.50e+00 2.825e-04 2.171e-04 3.857e-04 -2.30e+00 2.819e-04 2.170e-04 3.834e-04 -2.10e+00 2.815e-04 2.169e-04 3.820e-04
ibis model motorola dsp56367 24-bit digital signal processor users manual f-7 -1.90e+00 2.813e-04 2.167e-04 3.812e-04 -1.70e+00 2.812e-04 2.520e-04 3.808e-04 -1.50e+00 2.811e-04 3.078e-02 3.806e-04 -1.30e+00 2.810e-04 2.684e-02 3.804e-04 -1.10e+00 2.809e-04 2.277e-02 3.802e-04 -9.00e-01 2.808e-04 1.864e-02 3.801e-04 -7.00e-01 2.997e-04 1.447e-02 3.799e-04 -5.00e-01 1.750e-02 1.031e-02 3.797e-04 -3.00e-01 1.048e-02 6.181e-03 3.776e-04 -1.00e-01 3.487e-03 2.084e-03 4.568e-03 1.000e-01 -3.40e-03 -2.03e-03 -4.22e-03 3.000e-01 -9.69e-03 -5.71e-03 -1.24e-02 5.000e-01 -1.52e-02 -8.99e-03 -1.95e-02 7.000e-01 -2.02e-02 -1.19e-02 -2.61e-02 9.000e-01 -2.46e-02 -1.43e-02 -3.21e-02 1.100e+00 -2.84e-02 -1.62e-02 -3.73e-02 1.300e+00 -3.14e-02 -1.77e-02 -4.18e-02 1.500e+00 -3.37e-02 -1.88e-02 -4.55e-02 1.700e+00 -3.55e-02 -1.95e-02 -4.85e-02 1.900e+00 -3.68e-02 -2.00e-02 -5.09e-02 2.100e+00 -3.78e-02 -2.04e-02 -5.27e-02 2.300e+00 -3.85e-02 -2.07e-02 -5.41e-02 2.500e+00 -3.91e-02 -2.10e-02 -5.51e-02 2.700e+00 -3.96e-02 -2.12e-02 -5.60e-02 2.900e+00 -4.01e-02 -2.15e-02 -5.67e-02 3.100e+00 -4.04e-02 -2.17e-02 -5.74e-02 3.300e+00 -4.08e-02 -2.18e-02 -5.79e-02 3.500e+00 -4.11e-02 -2.20e-02 -5.84e-02 3.700e+00 -4.14e-02 -2.78e-02 -5.89e-02 3.900e+00 -4.17e-02 -1.20e+00 -5.94e-02 4.100e+00 -4.32e-02 -2.15e+01 -5.98e-02 4.300e+00 -4.08e-01 -4.52e+01 -6.10e-02 4.500e+00 -2.73e+01 -6.89e+01 -6.84e-02 4.700e+00 -6.13e+01 -9.25e+01 -7.73e+00 4.900e+00 -9.54e+01 -1.17e+02 -4.18e+01 5.100e+00 -1.38e+02 -1.52e+02 -7.59e+01 5.300e+00 -1.89e+02 -1.88e+02 -1.11e+02 5.500e+00 -2.40e+02 -2.23e+02 -1.61e+02 5.700e+00 -2.91e+02 -2.59e+02 -2.12e+02 5.900e+00 -3.42e+02 -2.94e+02 -2.63e+02 6.100e+00 -3.93e+02 -3.30e+02 -3.14e+02 6.300e+00 -4.44e+02 -3.65e+02 -3.65e+02 6.500e+00 -4.95e+02 -4.01e+02 -4.16e+02 6.600e+00 -5.21e+02 -4.18e+02 -4.41e+02 | [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.21e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02
ibis model f-8 dsp56367 24-bit digital signal processor users manual motorola -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.61e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.67e+00 -9.00e-01 -9.69e-03 -1.18e+00 -7.81e-03 -7.00e-01 -2.83e-04 -5.70e-03 -8.42e-04 -5.00e-01 -1.35e-06 -4.53e-05 -1.00e-05 -3.00e-01 -1.31e-09 -3.74e-07 -8.58e-09 -1.00e-01 -2.92e-11 -3.00e-09 -3.64e-11 0.000e+00 -2.44e-11 -5.14e-10 -2.79e-11 | [ramp] r_load = 50.00 |voltage i(typ) i(min) i(max) | | dv/dt_r 1.030/0.465 0.605/0.676 1.320/0.366 | | dv/dt_f 1.290/0.671 0.829/0.122 1.520/0.431 | | [model] ip5b_o model_type 3-state polarity non-inverting c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [pulldown] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.21e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.61e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.69e+00 -9.00e-01 -5.10e-02 -1.18e+00 -5.63e-02 -7.00e-01 -3.65e-02 -2.25e-02 -4.28e-02 -5.00e-01 -2.65e-02 -1.38e-02 -3.12e-02 -3.00e-01 -1.62e-02 -8.35e-03 -1.91e-02 -1.00e-01 -5.49e-03 -2.80e-03 -6.52e-03 1.000e-01 5.377e-03 2.744e-03 6.427e-03
ibis model motorola dsp56367 24-bit digital signal processor users manual f-9 3.000e-01 1.516e-02 7.871e-03 1.823e-02 5.000e-01 2.370e-02 1.252e-02 2.869e-02 7.000e-01 3.098e-02 1.667e-02 3.776e-02 9.000e-01 3.700e-02 2.026e-02 4.544e-02 1.100e+00 4.175e-02 2.324e-02 5.171e-02 1.300e+00 4.531e-02 2.553e-02 5.660e-02 1.500e+00 4.779e-02 2.709e-02 6.023e-02 1.700e+00 4.935e-02 2.803e-02 6.271e-02 1.900e+00 5.013e-02 2.851e-02 6.419e-02 2.100e+00 5.046e-02 2.876e-02 6.494e-02 2.300e+00 5.063e-02 2.892e-02 6.525e-02 2.500e+00 5.075e-02 2.904e-02 6.540e-02 2.700e+00 5.085e-02 2.912e-02 6.549e-02 2.900e+00 5.090e-02 2.876e-02 6.555e-02 3.100e+00 4.771e-02 2.994e-02 6.561e-02 3.300e+00 4.525e-02 3.321e-02 6.182e-02 3.500e+00 4.657e-02 3.570e-02 6.049e-02 3.700e+00 4.904e-02 3.801e-02 6.178e-02 3.900e+00 5.221e-02 4.029e-02 6.450e-02 4.100e+00 5.524e-02 4.253e-02 6.659e-02 4.300e+00 5.634e-02 4.463e-02 6.867e-02 4.500e+00 5.751e-02 4.645e-02 6.970e-02 4.700e+00 5.634e-02 4.786e-02 6.938e-02 4.900e+00 5.648e-02 4.881e-02 6.960e-02 5.100e+00 5.664e-02 4.912e-02 6.983e-02 5.300e+00 5.679e-02 4.795e-02 7.005e-02 5.500e+00 5.693e-02 4.679e-02 7.026e-02 5.700e+00 5.707e-02 4.688e-02 7.049e-02 5.900e+00 5.722e-02 4.700e-02 7.074e-02 6.100e+00 5.741e-02 4.712e-02 7.105e-02 6.300e+00 5.766e-02 4.723e-02 7.147e-02 6.500e+00 5.801e-02 4.733e-02 7.205e-02 6.600e+00 5.824e-02 4.737e-02 7.242e-02 | [pullup] |voltage i(typ) i(min) i(max) | -3.30e+00 2.922e-04 2.177e-04 4.123e-04 -3.10e+00 2.881e-04 2.175e-04 4.021e-04 -2.90e+00 2.853e-04 2.173e-04 3.946e-04 -2.70e+00 2.836e-04 2.172e-04 3.893e-04 -2.50e+00 2.825e-04 2.171e-04 3.857e-04 -2.30e+00 2.819e-04 2.170e-04 3.834e-04 -2.10e+00 2.815e-04 2.169e-04 3.820e-04 -1.90e+00 2.813e-04 2.167e-04 3.812e-04 -1.70e+00 2.812e-04 2.520e-04 3.808e-04 -1.50e+00 2.811e-04 3.078e-02 3.806e-04 -1.30e+00 2.810e-04 2.684e-02 3.804e-04 -1.10e+00 2.809e-04 2.277e-02 3.802e-04 -9.00e-01 2.808e-04 1.864e-02 3.801e-04 -7.00e-01 2.997e-04 1.447e-02 3.799e-04 -5.00e-01 1.750e-02 1.031e-02 3.797e-04 -3.00e-01 1.048e-02 6.181e-03 3.776e-04
ibis model f-10 dsp56367 24-bit digital signal processor users manual motorola -1.00e-01 3.487e-03 2.084e-03 4.568e-03 1.000e-01 -3.40e-03 -2.03e-03 -4.22e-03 3.000e-01 -9.69e-03 -5.71e-03 -1.24e-02 5.000e-01 -1.52e-02 -8.99e-03 -1.95e-02 7.000e-01 -2.02e-02 -1.19e-02 -2.61e-02 9.000e-01 -2.46e-02 -1.43e-02 -3.21e-02 1.100e+00 -2.84e-02 -1.62e-02 -3.73e-02 1.300e+00 -3.14e-02 -1.77e-02 -4.18e-02 1.500e+00 -3.37e-02 -1.88e-02 -4.55e-02 1.700e+00 -3.55e-02 -1.95e-02 -4.85e-02 1.900e+00 -3.68e-02 -2.00e-02 -5.09e-02 2.100e+00 -3.78e-02 -2.04e-02 -5.27e-02 2.300e+00 -3.85e-02 -2.07e-02 -5.41e-02 2.500e+00 -3.91e-02 -2.10e-02 -5.51e-02 2.700e+00 -3.96e-02 -2.12e-02 -5.60e-02 2.900e+00 -4.01e-02 -2.15e-02 -5.67e-02 3.100e+00 -4.04e-02 -2.17e-02 -5.74e-02 3.300e+00 -4.08e-02 -2.18e-02 -5.79e-02 3.500e+00 -4.11e-02 -2.20e-02 -5.84e-02 3.700e+00 -4.14e-02 -2.78e-02 -5.89e-02 3.900e+00 -4.17e-02 -1.20e+00 -5.94e-02 4.100e+00 -4.32e-02 -2.15e+01 -5.98e-02 4.300e+00 -4.08e-01 -4.52e+01 -6.10e-02 4.500e+00 -2.73e+01 -6.89e+01 -6.84e-02 4.700e+00 -6.13e+01 -9.25e+01 -7.73e+00 4.900e+00 -9.54e+01 -1.17e+02 -4.18e+01 5.100e+00 -1.38e+02 -1.52e+02 -7.59e+01 5.300e+00 -1.89e+02 -1.88e+02 -1.11e+02 5.500e+00 -2.40e+02 -2.23e+02 -1.61e+02 5.700e+00 -2.91e+02 -2.59e+02 -2.12e+02 5.900e+00 -3.42e+02 -2.94e+02 -2.63e+02 6.100e+00 -3.93e+02 -3.30e+02 -3.14e+02 6.300e+00 -4.44e+02 -3.65e+02 -3.65e+02 6.500e+00 -4.95e+02 -4.01e+02 -4.16e+02 6.600e+00 -5.21e+02 -4.18e+02 -4.41e+02 | [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.21e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.61e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.67e+00 -9.00e-01 -9.69e-03 -1.18e+00 -7.81e-03 -7.00e-01 -2.83e-04 -5.70e-03 -8.42e-04
ibis model motorola dsp56367 24-bit digital signal processor users manual f-11 -5.00e-01 -1.35e-06 -4.53e-05 -1.00e-05 -3.00e-01 -1.31e-09 -3.74e-07 -8.58e-09 -1.00e-01 -2.92e-11 -3.00e-09 -3.64e-11 0.000e+00 -2.44e-11 -5.14e-10 -2.79e-11 | [ramp] r_load = 50.00 |voltage i(typ) i(min) i(max) | | dv/dt_r 1.030/0.465 0.605/0.676 1.320/0.366 | | dv/dt_f 1.290/0.671 0.829/0.122 1.520/0.431 | | [model] icba_io model_type i/o polarity non-inverting vinl= 0.8000v vinh= 2.000v c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [pulldown] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.68e+00 -9.00e-01 -2.70e-02 -1.19e+00 -2.90e-02 -7.00e-01 -1.32e-02 -1.25e-02 -1.63e-02 -5.00e-01 -9.33e-03 -4.69e-03 -1.10e-02 -3.00e-01 -5.75e-03 -2.81e-03 -6.76e-03 -1.00e-01 -1.97e-03 -9.48e-04 -2.32e-03 1.000e-01 1.945e-03 9.285e-04 2.307e-03 3.000e-01 5.507e-03 2.640e-03 6.599e-03 5.000e-01 8.649e-03 4.168e-03 1.048e-02 7.000e-01 1.136e-02 5.504e-03 1.393e-02 9.000e-01 1.364e-02 6.636e-03 1.693e-02 1.100e+00 1.547e-02 7.551e-03 1.950e-02 1.300e+00 1.688e-02 8.240e-03 2.162e-02 1.500e+00 1.299e-01 6.458e-02 2.331e-02
ibis model f-12 dsp56367 24-bit digital signal processor users manual motorola 1.700e+00 1.366e-01 6.746e-02 1.755e-01 1.900e+00 1.404e-01 6.916e-02 1.847e-01 2.100e+00 1.423e-01 7.006e-02 1.907e-01 2.300e+00 1.433e-01 7.059e-02 1.940e-01 2.500e+00 1.440e-01 7.098e-02 1.958e-01 2.700e+00 1.445e-01 7.128e-02 1.970e-01 2.900e+00 1.450e-01 7.154e-02 1.979e-01 3.100e+00 1.454e-01 7.176e-02 1.986e-01 3.300e+00 1.458e-01 7.196e-02 1.993e-01 3.500e+00 1.461e-01 7.223e-02 1.999e-01 3.700e+00 1.464e-01 8.810e-02 2.004e-01 3.900e+00 1.469e-01 2.589e+00 2.009e-01 4.100e+00 1.490e-01 1.451e+01 2.015e-01 4.300e+00 1.501e+00 2.658e+01 2.030e-01 4.500e+00 1.813e+01 3.866e+01 2.385e-01 4.700e+00 3.540e+01 5.076e+01 9.563e+00 4.900e+00 5.269e+01 6.461e+01 2.682e+01 5.100e+00 7.541e+01 8.261e+01 4.409e+01 5.300e+00 1.012e+02 1.006e+02 6.258e+01 5.500e+00 1.270e+02 1.186e+02 8.836e+01 5.700e+00 1.527e+02 1.366e+02 1.141e+02 5.900e+00 1.785e+02 1.546e+02 1.399e+02 6.100e+00 2.043e+02 1.726e+02 1.657e+02 6.300e+00 2.301e+02 1.906e+02 1.915e+02 6.500e+00 2.559e+02 2.086e+02 2.173e+02 6.600e+00 2.688e+02 2.176e+02 2.302e+02 | [pullup] |voltage i(typ) i(min) i(max) | -3.30e+00 2.686e+02 1.905e+02 2.686e+02 -3.10e+00 2.428e+02 1.725e+02 2.428e+02 -2.90e+00 2.170e+02 1.545e+02 2.170e+02 -2.70e+00 1.912e+02 1.365e+02 1.912e+02 -2.50e+00 1.655e+02 1.185e+02 1.655e+02 -2.30e+00 1.397e+02 1.005e+02 1.397e+02 -2.10e+00 1.139e+02 8.253e+01 1.139e+02 -1.90e+00 8.814e+01 6.454e+01 8.814e+01 -1.70e+00 6.237e+01 5.068e+01 6.237e+01 -1.50e+00 4.389e+01 3.859e+01 4.389e+01 -1.30e+00 2.662e+01 2.651e+01 2.662e+01 -1.10e+00 9.360e+00 1.444e+01 9.362e+00 -9.00e-01 4.275e-02 2.518e+00 4.663e-02 -7.00e-01 8.208e-03 2.012e-02 1.070e-02 -5.00e-01 5.635e-03 3.518e-03 7.068e-03 -3.00e-01 3.370e-03 2.053e-03 4.233e-03 -1.00e-01 1.118e-03 6.789e-04 1.410e-03 1.000e-01 -1.09e-03 -6.56e-04 -1.38e-03 3.000e-01 -3.12e-03 -1.86e-03 -3.99e-03 5.000e-01 -4.96e-03 -2.93e-03 -6.39e-03 7.000e-01 -6.60e-03 -3.87e-03 -8.59e-03 9.000e-01 -8.04e-03 -4.66e-03 -1.06e-02 1.100e+00 -9.26e-03 -5.30e-03 -1.23e-02
ibis model motorola dsp56367 24-bit digital signal processor users manual f-13 1.300e+00 -1.03e-02 -6.55e-02 -1.38e-02 1.500e+00 -1.25e-01 -6.93e-02 -1.70e-01 1.700e+00 -1.31e-01 -7.19e-02 -1.82e-01 1.900e+00 -1.36e-01 -7.38e-02 -1.91e-01 2.100e+00 -1.40e-01 -7.53e-02 -1.97e-01 2.300e+00 -1.42e-01 -7.65e-02 -2.03e-01 2.500e+00 -1.44e-01 -7.76e-02 -2.07e-01 2.700e+00 -1.46e-01 -7.85e-02 -2.10e-01 2.900e+00 -1.48e-01 -7.93e-02 -2.13e-01 3.100e+00 -1.49e-01 -8.00e-02 -2.15e-01 3.300e+00 -1.50e-01 -8.06e-02 -2.17e-01 3.500e+00 -1.52e-01 -8.13e-02 -2.19e-01 3.700e+00 -1.53e-01 -8.84e-02 -2.21e-01 3.900e+00 -1.54e-01 -1.26e+00 -2.22e-01 4.100e+00 -1.57e-01 -2.16e+01 -2.24e-01 4.300e+00 -5.25e-01 -4.53e+01 -2.27e-01 4.500e+00 -2.74e+01 -6.89e+01 -2.38e-01 4.700e+00 -6.14e+01 -9.26e+01 -7.90e+00 4.900e+00 -9.55e+01 -1.17e+02 -4.20e+01 5.100e+00 -1.38e+02 -1.52e+02 -7.60e+01 5.300e+00 -1.89e+02 -1.88e+02 -1.11e+02 5.500e+00 -2.40e+02 -2.23e+02 -1.61e+02 5.700e+00 -2.91e+02 -2.59e+02 -2.12e+02 5.900e+00 -3.42e+02 -2.94e+02 -2.63e+02 6.100e+00 -3.93e+02 -3.30e+02 -3.14e+02 6.300e+00 -4.44e+02 -3.65e+02 -3.65e+02 6.500e+00 -4.95e+02 -4.01e+02 -4.16e+02 6.600e+00 -5.21e+02 -4.19e+02 -4.42e+02 | [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.67e+00 -9.00e-01 -1.22e-02 -1.18e+00 -1.17e-02 -7.00e-01 -5.18e-04 -6.62e-03 -1.56e-03 -5.00e-01 -2.43e-06 -6.64e-05 -1.80e-05 -3.00e-01 -2.33e-09 -6.35e-07 -1.54e-08 -1.00e-01 -2.10e-11 -6.31e-09 -2.99e-11 0.000e+00 -1.70e-11 -1.95e-09 -1.91e-11 | [power_clamp] |voltage i(typ) i(min) i(max)
ibis model f-14 dsp56367 24-bit digital signal processor users manual motorola | -3.30e+00 2.686e+02 1.905e+02 2.686e+02 -3.10e+00 2.428e+02 1.725e+02 2.428e+02 -2.90e+00 2.170e+02 1.545e+02 2.170e+02 -2.70e+00 1.912e+02 1.365e+02 1.912e+02 -2.50e+00 1.655e+02 1.185e+02 1.655e+02 -2.30e+00 1.397e+02 1.005e+02 1.397e+02 -2.10e+00 1.139e+02 8.253e+01 1.139e+02 -1.90e+00 8.814e+01 6.454e+01 8.814e+01 -1.70e+00 6.236e+01 5.068e+01 6.237e+01 -1.50e+00 4.389e+01 3.859e+01 4.389e+01 -1.30e+00 2.662e+01 2.651e+01 2.662e+01 -1.10e+00 9.358e+00 1.444e+01 9.359e+00 -9.00e-01 3.399e-02 2.517e+00 3.554e-02 -7.00e-01 3.426e-04 1.577e-02 9.211e-04 -5.00e-01 2.840e-06 7.857e-05 1.655e-05 -3.00e-01 3.401e-09 6.836e-07 1.946e-08 -1.00e-01 6.162e-11 7.379e-09 7.622e-11 0.000e+00 5.758e-11 2.438e-09 6.240e-11 | [ramp] r_load = 50.00 |voltage i(typ) i(min) i(max) | | dv/dt_r 1.680/0.164 1.360/0.329 1.900/0.124 | | dv/dt_f 1.690/0.219 1.310/0.442 1.880/0.155 | | [model] icba_o model_type 3-state polarity non-inverting c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [pulldown] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.68e+00
ibis model motorola dsp56367 24-bit digital signal processor users manual f-15 -9.00e-01 -2.70e-02 -1.19e+00 -2.90e-02 -7.00e-01 -1.32e-02 -1.25e-02 -1.63e-02 -5.00e-01 -9.33e-03 -4.69e-03 -1.10e-02 -3.00e-01 -5.75e-03 -2.81e-03 -6.76e-03 -1.00e-01 -1.97e-03 -9.48e-04 -2.32e-03 1.000e-01 1.945e-03 9.285e-04 2.307e-03 3.000e-01 5.507e-03 2.640e-03 6.599e-03 5.000e-01 8.649e-03 4.168e-03 1.048e-02 7.000e-01 1.136e-02 5.504e-03 1.393e-02 9.000e-01 1.364e-02 6.636e-03 1.693e-02 1.100e+00 1.547e-02 7.551e-03 1.950e-02 1.300e+00 1.688e-02 8.240e-03 2.162e-02 1.500e+00 1.299e-01 6.458e-02 2.331e-02 1.700e+00 1.366e-01 6.746e-02 1.755e-01 1.900e+00 1.404e-01 6.916e-02 1.847e-01 2.100e+00 1.423e-01 7.006e-02 1.907e-01 2.300e+00 1.433e-01 7.059e-02 1.940e-01 2.500e+00 1.440e-01 7.098e-02 1.958e-01 2.700e+00 1.445e-01 7.128e-02 1.970e-01 2.900e+00 1.450e-01 7.154e-02 1.979e-01 3.100e+00 1.454e-01 7.176e-02 1.986e-01 3.300e+00 1.458e-01 7.196e-02 1.993e-01 3.500e+00 1.461e-01 7.223e-02 1.999e-01 3.700e+00 1.464e-01 8.810e-02 2.004e-01 3.900e+00 1.469e-01 2.589e+00 2.009e-01 4.100e+00 1.490e-01 1.451e+01 2.015e-01 4.300e+00 1.501e+00 2.658e+01 2.030e-01 4.500e+00 1.813e+01 3.866e+01 2.385e-01 4.700e+00 3.540e+01 5.076e+01 9.563e+00 4.900e+00 5.269e+01 6.461e+01 2.682e+01 5.100e+00 7.541e+01 8.261e+01 4.409e+01 5.300e+00 1.012e+02 1.006e+02 6.258e+01 5.500e+00 1.270e+02 1.186e+02 8.836e+01 5.700e+00 1.527e+02 1.366e+02 1.141e+02 5.900e+00 1.785e+02 1.546e+02 1.399e+02 6.100e+00 2.043e+02 1.726e+02 1.657e+02 6.300e+00 2.301e+02 1.906e+02 1.915e+02 6.500e+00 2.559e+02 2.086e+02 2.173e+02 6.600e+00 2.688e+02 2.176e+02 2.302e+02 | [pullup] |voltage i(typ) i(min) i(max) | -3.30e+00 2.686e+02 1.905e+02 2.686e+02 -3.10e+00 2.428e+02 1.725e+02 2.428e+02 -2.90e+00 2.170e+02 1.545e+02 2.170e+02 -2.70e+00 1.912e+02 1.365e+02 1.912e+02 -2.50e+00 1.655e+02 1.185e+02 1.655e+02 -2.30e+00 1.397e+02 1.005e+02 1.397e+02 -2.10e+00 1.139e+02 8.253e+01 1.139e+02 -1.90e+00 8.814e+01 6.454e+01 8.814e+01 -1.70e+00 6.237e+01 5.068e+01 6.237e+01 -1.50e+00 4.389e+01 3.859e+01 4.389e+01
ibis model f-16 dsp56367 24-bit digital signal processor users manual motorola -1.30e+00 2.662e+01 2.651e+01 2.662e+01 -1.10e+00 9.360e+00 1.444e+01 9.362e+00 -9.00e-01 4.275e-02 2.518e+00 4.663e-02 -7.00e-01 8.208e-03 2.012e-02 1.070e-02 -5.00e-01 5.635e-03 3.518e-03 7.068e-03 -3.00e-01 3.370e-03 2.053e-03 4.233e-03 -1.00e-01 1.118e-03 6.789e-04 1.410e-03 1.000e-01 -1.09e-03 -6.56e-04 -1.38e-03 3.000e-01 -3.12e-03 -1.86e-03 -3.99e-03 5.000e-01 -4.96e-03 -2.93e-03 -6.39e-03 7.000e-01 -6.60e-03 -3.87e-03 -8.59e-03 9.000e-01 -8.04e-03 -4.66e-03 -1.06e-02 1.100e+00 -9.26e-03 -5.30e-03 -1.23e-02 1.300e+00 -1.03e-02 -6.55e-02 -1.38e-02 1.500e+00 -1.25e-01 -6.93e-02 -1.70e-01 1.700e+00 -1.31e-01 -7.19e-02 -1.82e-01 1.900e+00 -1.36e-01 -7.38e-02 -1.91e-01 2.100e+00 -1.40e-01 -7.53e-02 -1.97e-01 2.300e+00 -1.42e-01 -7.65e-02 -2.03e-01 2.500e+00 -1.44e-01 -7.76e-02 -2.07e-01 2.700e+00 -1.46e-01 -7.85e-02 -2.10e-01 2.900e+00 -1.48e-01 -7.93e-02 -2.13e-01 3.100e+00 -1.49e-01 -8.00e-02 -2.15e-01 3.300e+00 -1.50e-01 -8.06e-02 -2.17e-01 3.500e+00 -1.52e-01 -8.13e-02 -2.19e-01 3.700e+00 -1.53e-01 -8.84e-02 -2.21e-01 3.900e+00 -1.54e-01 -1.26e+00 -2.22e-01 4.100e+00 -1.57e-01 -2.16e+01 -2.24e-01 4.300e+00 -5.25e-01 -4.53e+01 -2.27e-01 4.500e+00 -2.74e+01 -6.89e+01 -2.38e-01 4.700e+00 -6.14e+01 -9.26e+01 -7.90e+00 4.900e+00 -9.55e+01 -1.17e+02 -4.20e+01 5.100e+00 -1.38e+02 -1.52e+02 -7.60e+01 5.300e+00 -1.89e+02 -1.88e+02 -1.11e+02 5.500e+00 -2.40e+02 -2.23e+02 -1.61e+02 5.700e+00 -2.91e+02 -2.59e+02 -2.12e+02 5.900e+00 -3.42e+02 -2.94e+02 -2.63e+02 6.100e+00 -3.93e+02 -3.30e+02 -3.14e+02 6.300e+00 -4.44e+02 -3.65e+02 -3.65e+02 6.500e+00 -4.95e+02 -4.01e+02 -4.16e+02 6.600e+00 -5.21e+02 -4.19e+02 -4.42e+02 | [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.12e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02
ibis model motorola dsp56367 24-bit digital signal processor users manual f-17 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.43e+01 -4.52e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.67e+00 -9.00e-01 -1.22e-02 -1.18e+00 -1.17e-02 -7.00e-01 -5.18e-04 -6.62e-03 -1.56e-03 -5.00e-01 -2.43e-06 -6.64e-05 -1.80e-05 -3.00e-01 -2.33e-09 -6.35e-07 -1.54e-08 -1.00e-01 -2.10e-11 -6.31e-09 -2.99e-11 0.000e+00 -1.70e-11 -1.95e-09 -1.91e-11 | [power_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 2.686e+02 1.905e+02 2.686e+02 -3.10e+00 2.428e+02 1.725e+02 2.428e+02 -2.90e+00 2.170e+02 1.545e+02 2.170e+02 -2.70e+00 1.912e+02 1.365e+02 1.912e+02 -2.50e+00 1.655e+02 1.185e+02 1.655e+02 -2.30e+00 1.397e+02 1.005e+02 1.397e+02 -2.10e+00 1.139e+02 8.253e+01 1.139e+02 -1.90e+00 8.814e+01 6.454e+01 8.814e+01 -1.70e+00 6.236e+01 5.068e+01 6.237e+01 -1.50e+00 4.389e+01 3.859e+01 4.389e+01 -1.30e+00 2.662e+01 2.651e+01 2.662e+01 -1.10e+00 9.358e+00 1.444e+01 9.359e+00 -9.00e-01 3.399e-02 2.517e+00 3.554e-02 -7.00e-01 3.426e-04 1.577e-02 9.211e-04 -5.00e-01 2.840e-06 7.857e-05 1.655e-05 -3.00e-01 3.401e-09 6.836e-07 1.946e-08 -1.00e-01 6.162e-11 7.379e-09 7.622e-11 0.000e+00 5.758e-11 2.438e-09 6.240e-11 | [ramp] r_load = 50.00 |voltage i(typ) i(min) i(max) | | dv/dt_r 1.680/0.164 1.360/0.329 1.900/0.124 | | dv/dt_f 1.690/0.219 1.310/0.442 1.880/0.155 | | [model] icbc_o model_type 3-state polarity non-inverting c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [pulldown] |voltage i(typ) i(min) i(max)
ibis model f-18 dsp56367 24-bit digital signal processor users manual motorola | -3.30e+00 -5.20e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.11e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.42e+01 -4.51e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.67e+00 -9.00e-01 -2.51e-02 -1.18e+00 -2.65e-02 -7.00e-01 -1.30e-02 -1.16e-02 -1.58e-02 -5.00e-01 -9.33e-03 -4.67e-03 -1.10e-02 -3.00e-01 -5.75e-03 -2.81e-03 -6.76e-03 -1.00e-01 -1.97e-03 -9.48e-04 -2.32e-03 1.000e-01 1.945e-03 9.285e-04 2.307e-03 3.000e-01 5.507e-03 2.640e-03 6.599e-03 5.000e-01 8.649e-03 4.168e-03 1.048e-02 7.000e-01 1.136e-02 5.504e-03 1.393e-02 9.000e-01 1.364e-02 6.636e-03 1.693e-02 1.100e+00 1.547e-02 7.551e-03 1.950e-02 1.300e+00 1.688e-02 8.240e-03 2.162e-02 1.500e+00 9.632e-02 4.783e-02 2.331e-02 1.700e+00 1.012e-01 4.994e-02 1.302e-01 1.900e+00 1.039e-01 5.118e-02 1.369e-01 2.100e+00 1.053e-01 5.184e-02 1.412e-01 2.300e+00 1.060e-01 5.223e-02 1.436e-01 2.500e+00 1.065e-01 5.251e-02 1.449e-01 2.700e+00 1.069e-01 5.274e-02 1.458e-01 2.900e+00 1.073e-01 5.293e-02 1.464e-01 3.100e+00 1.076e-01 5.309e-02 1.470e-01 3.300e+00 1.078e-01 5.324e-02 1.475e-01 3.500e+00 1.081e-01 5.344e-02 1.479e-01 3.700e+00 1.083e-01 6.705e-02 1.483e-01 3.900e+00 1.086e-01 2.529e+00 1.487e-01 4.100e+00 1.103e-01 1.438e+01 1.491e-01 4.300e+00 1.437e+00 2.638e+01 1.503e-01 4.500e+00 1.800e+01 3.839e+01 1.810e-01 4.700e+00 3.519e+01 5.041e+01 9.452e+00 4.900e+00 5.241e+01 6.419e+01 2.664e+01 5.100e+00 7.505e+01 8.210e+01 4.384e+01 5.300e+00 1.007e+02 1.000e+02 6.224e+01 5.500e+00 1.264e+02 1.179e+02 8.794e+01 5.700e+00 1.522e+02 1.359e+02 1.136e+02 5.900e+00 1.779e+02 1.538e+02 1.394e+02 6.100e+00 2.036e+02 1.717e+02 1.651e+02 6.300e+00 2.293e+02 1.896e+02 1.908e+02 6.500e+00 2.550e+02 2.075e+02 2.165e+02 6.600e+00 2.678e+02 2.165e+02 2.293e+02 |
ibis model motorola dsp56367 24-bit digital signal processor users manual f-19 [pullup] |voltage i(typ) i(min) i(max) | -3.30e+00 2.677e+02 1.896e+02 2.677e+02 -3.10e+00 2.420e+02 1.716e+02 2.420e+02 -2.90e+00 2.163e+02 1.537e+02 2.163e+02 -2.70e+00 1.906e+02 1.358e+02 1.906e+02 -2.50e+00 1.649e+02 1.179e+02 1.649e+02 -2.30e+00 1.392e+02 9.996e+01 1.392e+02 -2.10e+00 1.135e+02 8.205e+01 1.135e+02 -1.90e+00 8.778e+01 6.413e+01 8.778e+01 -1.70e+00 6.208e+01 5.035e+01 6.208e+01 -1.50e+00 4.368e+01 3.834e+01 4.368e+01 -1.30e+00 2.649e+01 2.633e+01 2.649e+01 -1.10e+00 9.302e+00 1.433e+01 9.303e+00 -9.00e-01 3.838e-02 2.477e+00 4.183e-02 -7.00e-01 8.115e-03 1.789e-02 1.045e-02 -5.00e-01 5.634e-03 3.503e-03 7.064e-03 -3.00e-01 3.370e-03 2.053e-03 4.233e-03 -1.00e-01 1.118e-03 6.789e-04 1.410e-03 1.000e-01 -1.09e-03 -6.56e-04 -1.38e-03 3.000e-01 -3.12e-03 -1.86e-03 -3.99e-03 5.000e-01 -4.96e-03 -2.93e-03 -6.39e-03 7.000e-01 -6.60e-03 -3.87e-03 -8.59e-03 9.000e-01 -8.04e-03 -4.66e-03 -1.06e-02 1.100e+00 -9.26e-03 -5.30e-03 -1.23e-02 1.300e+00 -1.03e-02 -4.75e-02 -1.41e-02 1.500e+00 -9.03e-02 -5.02e-02 -1.23e-01 1.700e+00 -9.49e-02 -5.21e-02 -1.31e-01 1.900e+00 -9.84e-02 -5.34e-02 -1.38e-01 2.100e+00 -1.01e-01 -5.45e-02 -1.43e-01 2.300e+00 -1.03e-01 -5.54e-02 -1.47e-01 2.500e+00 -1.05e-01 -5.62e-02 -1.50e-01 2.700e+00 -1.06e-01 -5.68e-02 -1.52e-01 2.900e+00 -1.07e-01 -5.74e-02 -1.54e-01 3.100e+00 -1.08e-01 -5.79e-02 -1.56e-01 3.300e+00 -1.09e-01 -5.84e-02 -1.57e-01 3.500e+00 -1.10e-01 -5.89e-02 -1.59e-01 3.700e+00 -1.11e-01 -6.49e-02 -1.60e-01 3.900e+00 -1.11e-01 -1.23e+00 -1.61e-01 4.100e+00 -1.14e-01 -2.16e+01 -1.62e-01 4.300e+00 -4.76e-01 -4.52e+01 -1.64e-01 4.500e+00 -2.73e+01 -6.89e+01 -1.73e-01 4.700e+00 -6.14e+01 -9.25e+01 -7.82e+00 4.900e+00 -9.54e+01 -1.17e+02 -4.19e+01 5.100e+00 -1.38e+02 -1.52e+02 -7.59e+01 5.300e+00 -1.89e+02 -1.88e+02 -1.11e+02 5.500e+00 -2.40e+02 -2.23e+02 -1.61e+02 5.700e+00 -2.91e+02 -2.59e+02 -2.12e+02 5.900e+00 -3.42e+02 -2.94e+02 -2.63e+02 6.100e+00 -3.93e+02 -3.30e+02 -3.14e+02 6.300e+00 -4.44e+02 -3.65e+02 -3.65e+02 6.500e+00 -4.95e+02 -4.01e+02 -4.16e+02
ibis model f-20 dsp56367 24-bit digital signal processor users manual motorola 6.600e+00 -5.20e+02 -4.18e+02 -4.41e+02 | [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.18e+02 -3.10e+00 -4.69e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.16e+02 -2.70e+00 -3.67e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.14e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.63e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.11e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.25e+01 -1.10e+02 -1.50e+00 -7.83e+01 -6.88e+01 -7.58e+01 -1.30e+00 -4.42e+01 -4.51e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.66e+00 -9.00e-01 -1.03e-02 -1.17e+00 -9.27e-03 -7.00e-01 -3.74e-04 -5.73e-03 -1.14e-03 -5.00e-01 -1.72e-06 -5.06e-05 -1.28e-05 -3.00e-01 -1.67e-09 -4.65e-07 -1.10e-08 -1.00e-01 -2.03e-11 -4.80e-09 -2.71e-11 0.000e+00 -1.69e-11 -1.61e-09 -1.89e-11 | [power_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 2.677e+02 1.896e+02 2.677e+02 -3.10e+00 2.420e+02 1.716e+02 2.420e+02 -2.90e+00 2.163e+02 1.537e+02 2.163e+02 -2.70e+00 1.906e+02 1.358e+02 1.906e+02 -2.50e+00 1.649e+02 1.179e+02 1.649e+02 -2.30e+00 1.392e+02 9.996e+01 1.392e+02 -2.10e+00 1.135e+02 8.205e+01 1.135e+02 -1.90e+00 8.778e+01 6.413e+01 8.778e+01 -1.70e+00 6.208e+01 5.035e+01 6.208e+01 -1.50e+00 4.368e+01 3.834e+01 4.368e+01 -1.30e+00 2.649e+01 2.633e+01 2.649e+01 -1.10e+00 9.300e+00 1.433e+01 9.301e+00 -9.00e-01 2.962e-02 2.475e+00 3.075e-02 -7.00e-01 2.501e-04 1.354e-02 6.708e-04 -5.00e-01 2.066e-06 6.280e-05 1.204e-05 -3.00e-01 2.487e-09 5.128e-07 1.417e-08 -1.00e-01 5.672e-11 5.639e-09 6.832e-11 0.000e+00 5.334e-11 1.992e-09 5.783e-11 | [ramp] r_load = 50.00 |voltage i(typ) i(min) i(max) | | dv/dt_r 1.570/0.200 1.210/0.411 1.810/0.149 |
ibis model motorola dsp56367 24-bit digital signal processor users manual f-21 | dv/dt_f 1.590/0.304 1.170/0.673 1.800/0.205 | | [model] ipbw_i model_type input polarity non-inverting vinl= 0.8000v vinh= 2.000v c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.17e+02 -3.10e+00 -4.69e+02 -3.29e+02 -4.66e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.15e+02 -2.70e+00 -3.67e+02 -2.58e+02 -3.64e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.13e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.62e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.11e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.24e+01 -1.10e+02 -1.50e+00 -7.82e+01 -6.87e+01 -7.57e+01 -1.30e+00 -4.42e+01 -4.51e+01 -4.16e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.64e+00 -9.00e-01 -7.17e-03 -1.16e+00 -4.87e-03 -7.00e-01 -1.14e-04 -4.39e-03 -3.03e-04 -5.00e-01 -4.86e-07 -2.55e-05 -2.73e-06 -3.00e-01 -5.19e-10 -1.91e-07 -2.57e-09 -1.00e-01 -1.91e-11 -2.47e-09 -2.19e-11 0.000e+00 -1.68e-11 -1.17e-09 -1.84e-11 | [power_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 2.667e+02 1.885e+02 2.667e+02 -3.10e+00 2.411e+02 1.707e+02 2.411e+02 -2.90e+00 2.155e+02 1.528e+02 2.155e+02 -2.70e+00 1.898e+02 1.350e+02 1.898e+02 -2.50e+00 1.642e+02 1.172e+02 1.642e+02 -2.30e+00 1.386e+02 9.935e+01 1.386e+02 -2.10e+00 1.130e+02 8.152e+01 1.130e+02 -1.90e+00 8.739e+01 6.369e+01 8.739e+01 -1.70e+00 6.178e+01 4.999e+01 6.178e+01 -1.50e+00 4.346e+01 3.806e+01 4.346e+01 -1.30e+00 2.634e+01 2.613e+01 2.634e+01 -1.10e+00 9.237e+00 1.421e+01 9.237e+00 -9.00e-01 2.454e-02 2.430e+00 2.488e-02 -7.00e-01 8.741e-05 1.104e-02 2.050e-04 -5.00e-01 6.316e-07 4.079e-05 2.961e-06
ibis model f-22 dsp56367 24-bit digital signal processor users manual motorola -3.00e-01 8.479e-10 2.484e-07 3.721e-09 -1.00e-01 4.420e-11 3.001e-09 4.943e-11 0.000e+00 4.215e-11 1.346e-09 4.543e-11 | | [model] ipbw_io model_type i/o polarity non-inverting vinl= 0.8000v vinh= 2.000v c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [pulldown] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.17e+02 -3.10e+00 -4.69e+02 -3.29e+02 -4.66e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.15e+02 -2.70e+00 -3.67e+02 -2.58e+02 -3.64e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.13e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.62e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.11e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.24e+01 -1.10e+02 -1.50e+00 -7.82e+01 -6.87e+01 -7.57e+01 -1.30e+00 -4.42e+01 -4.51e+01 -4.17e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.66e+00 -9.00e-01 -3.69e-02 -1.17e+00 -3.79e-02 -7.00e-01 -2.52e-02 -1.67e-02 -2.81e-02 -5.00e-01 -1.83e-02 -9.77e-03 -2.04e-02 -3.00e-01 -1.11e-02 -5.89e-03 -1.24e-02 -1.00e-01 -3.77e-03 -1.98e-03 -4.20e-03 1.000e-01 3.729e-03 1.940e-03 4.177e-03 3.000e-01 1.076e-02 5.578e-03 1.216e-02 5.000e-01 1.723e-02 8.907e-03 1.965e-02 7.000e-01 2.311e-02 1.191e-02 2.663e-02 9.000e-01 2.836e-02 1.455e-02 3.305e-02 1.100e+00 3.292e-02 1.680e-02 3.887e-02 1.300e+00 3.675e-02 1.862e-02 4.404e-02 1.500e+00 3.979e-02 1.997e-02 4.850e-02 1.700e+00 4.205e-02 2.085e-02 5.223e-02 1.900e+00 4.347e-02 2.136e-02 5.518e-02 2.100e+00 4.413e-02 2.162e-02 5.728e-02 2.300e+00 4.445e-02 2.176e-02 5.843e-02 2.500e+00 4.465e-02 2.186e-02 5.899e-02 2.700e+00 4.479e-02 2.194e-02 5.931e-02 2.900e+00 4.492e-02 2.200e-02 5.953e-02 3.100e+00 4.502e-02 2.206e-02 5.971e-02 3.300e+00 4.511e-02 2.211e-02 5.986e-02 3.500e+00 4.519e-02 2.219e-02 5.999e-02 3.700e+00 4.526e-02 3.324e-02 6.010e-02
ibis model motorola dsp56367 24-bit digital signal processor users manual f-23 3.900e+00 4.536e-02 2.452e+00 6.021e-02 4.100e+00 4.614e-02 1.423e+01 6.032e-02 4.300e+00 1.344e+00 2.615e+01 6.065e-02 4.500e+00 1.783e+01 3.808e+01 8.548e-02 4.700e+00 3.495e+01 5.001e+01 9.298e+00 4.900e+00 5.208e+01 6.371e+01 2.640e+01 5.100e+00 7.463e+01 8.154e+01 4.352e+01 5.300e+00 1.002e+02 9.937e+01 6.184e+01 5.500e+00 1.259e+02 1.172e+02 8.745e+01 5.700e+00 1.515e+02 1.350e+02 1.131e+02 5.900e+00 1.771e+02 1.529e+02 1.387e+02 6.100e+00 2.027e+02 1.707e+02 1.643e+02 6.300e+00 2.283e+02 1.885e+02 1.899e+02 6.500e+00 2.539e+02 2.064e+02 2.155e+02 6.600e+00 2.667e+02 2.153e+02 2.283e+02 | [pullup] |voltage i(typ) i(min) i(max) | -3.30e+00 2.667e+02 1.885e+02 2.667e+02 -3.10e+00 2.411e+02 1.707e+02 2.411e+02 -2.90e+00 2.155e+02 1.528e+02 2.155e+02 -2.70e+00 1.898e+02 1.350e+02 1.898e+02 -2.50e+00 1.642e+02 1.172e+02 1.642e+02 -2.30e+00 1.386e+02 9.935e+01 1.386e+02 -2.10e+00 1.130e+02 8.152e+01 1.130e+02 -1.90e+00 8.739e+01 6.369e+01 8.739e+01 -1.70e+00 6.178e+01 4.999e+01 6.178e+01 -1.50e+00 4.346e+01 3.806e+01 4.346e+01 -1.30e+00 2.635e+01 2.613e+01 2.635e+01 -1.10e+00 9.243e+00 1.421e+01 9.245e+00 -9.00e-01 5.536e-02 2.435e+00 6.260e-02 -7.00e-01 2.847e-02 2.689e-02 3.437e-02 -5.00e-01 2.025e-02 1.265e-02 2.451e-02 -3.00e-01 1.208e-02 7.503e-03 1.467e-02 -1.00e-01 3.994e-03 2.474e-03 4.868e-03 1.000e-01 -3.88e-03 -2.38e-03 -4.76e-03 3.000e-01 -1.11e-02 -6.76e-03 -1.37e-02 5.000e-01 -1.76e-02 -1.06e-02 -2.20e-02 7.000e-01 -2.35e-02 -1.40e-02 -2.95e-02 9.000e-01 -2.86e-02 -1.69e-02 -3.63e-02 1.100e+00 -3.30e-02 -1.93e-02 -4.23e-02 1.300e+00 -3.65e-02 -2.10e-02 -4.75e-02 1.500e+00 -3.92e-02 -2.22e-02 -5.17e-02 1.700e+00 -4.12e-02 -2.29e-02 -5.51e-02 1.900e+00 -4.26e-02 -2.35e-02 -5.77e-02 2.100e+00 -4.36e-02 -2.38e-02 -5.97e-02 2.300e+00 -4.43e-02 -2.42e-02 -6.11e-02 2.500e+00 -4.49e-02 -2.44e-02 -6.22e-02 2.700e+00 -4.54e-02 -2.47e-02 -6.31e-02 2.900e+00 -4.58e-02 -2.49e-02 -6.38e-02 3.100e+00 -4.61e-02 -2.50e-02 -6.44e-02 3.300e+00 -4.65e-02 -2.52e-02 -6.49e-02
ibis model f-24 dsp56367 24-bit digital signal processor users manual motorola 3.500e+00 -4.68e-02 -2.54e-02 -6.54e-02 3.700e+00 -4.70e-02 -2.99e-02 -6.58e-02 3.900e+00 -4.73e-02 -1.19e+00 -6.62e-02 4.100e+00 -4.81e-02 -2.15e+01 -6.66e-02 4.300e+00 -4.00e-01 -4.51e+01 -6.72e-02 4.500e+00 -2.72e+01 -6.87e+01 -7.21e-02 4.700e+00 -6.12e+01 -9.24e+01 -7.70e+00 4.900e+00 -9.52e+01 -1.17e+02 -4.17e+01 5.100e+00 -1.37e+02 -1.52e+02 -7.57e+01 5.300e+00 -1.88e+02 -1.88e+02 -1.10e+02 5.500e+00 -2.39e+02 -2.23e+02 -1.60e+02 5.700e+00 -2.90e+02 -2.58e+02 -2.11e+02 5.900e+00 -3.41e+02 -2.94e+02 -2.62e+02 6.100e+00 -3.92e+02 -3.29e+02 -3.13e+02 6.300e+00 -4.43e+02 -3.65e+02 -3.64e+02 6.500e+00 -4.94e+02 -4.00e+02 -4.15e+02 6.600e+00 -5.20e+02 -4.18e+02 -4.41e+02 | [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.20e+02 -3.65e+02 -5.17e+02 -3.10e+00 -4.69e+02 -3.29e+02 -4.66e+02 -2.90e+00 -4.18e+02 -2.94e+02 -4.15e+02 -2.70e+00 -3.67e+02 -2.58e+02 -3.64e+02 -2.50e+00 -3.16e+02 -2.23e+02 -3.13e+02 -2.30e+00 -2.65e+02 -1.88e+02 -2.62e+02 -2.10e+00 -2.14e+02 -1.52e+02 -2.11e+02 -1.90e+00 -1.63e+02 -1.17e+02 -1.60e+02 -1.70e+00 -1.13e+02 -9.24e+01 -1.10e+02 -1.50e+00 -7.82e+01 -6.87e+01 -7.57e+01 -1.30e+00 -4.42e+01 -4.51e+01 -4.16e+01 -1.10e+00 -1.02e+01 -2.15e+01 -7.64e+00 -9.00e-01 -7.17e-03 -1.16e+00 -4.87e-03 -7.00e-01 -1.14e-04 -4.39e-03 -3.03e-04 -5.00e-01 -4.86e-07 -2.55e-05 -2.73e-06 -3.00e-01 -5.19e-10 -1.91e-07 -2.57e-09 -1.00e-01 -1.91e-11 -2.47e-09 -2.19e-11 0.000e+00 -1.68e-11 -1.17e-09 -1.84e-11 | [power_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 2.667e+02 1.885e+02 2.667e+02 -3.10e+00 2.411e+02 1.707e+02 2.411e+02 -2.90e+00 2.155e+02 1.528e+02 2.155e+02 -2.70e+00 1.898e+02 1.350e+02 1.898e+02 -2.50e+00 1.642e+02 1.172e+02 1.642e+02 -2.30e+00 1.386e+02 9.935e+01 1.386e+02 -2.10e+00 1.130e+02 8.152e+01 1.130e+02 -1.90e+00 8.739e+01 6.369e+01 8.739e+01 -1.70e+00 6.178e+01 4.999e+01 6.178e+01 -1.50e+00 4.346e+01 3.806e+01 4.346e+01
ibis model motorola dsp56367 24-bit digital signal processor users manual f-25 -1.30e+00 2.634e+01 2.613e+01 2.634e+01 -1.10e+00 9.237e+00 1.421e+01 9.237e+00 -9.00e-01 2.454e-02 2.430e+00 2.488e-02 -7.00e-01 8.741e-05 1.104e-02 2.050e-04 -5.00e-01 6.316e-07 4.079e-05 2.961e-06 -3.00e-01 8.479e-10 2.484e-07 3.721e-09 -1.00e-01 4.420e-11 3.001e-09 4.943e-11 0.000e+00 4.215e-11 1.346e-09 4.543e-11 | [ramp] r_load = 50.00 |voltage i(typ) i(min) i(max) | | dv/dt_r 1.140/0.494 0.699/0.978 1.400/0.354 | | dv/dt_f 1.150/0.505 0.642/0.956 1.350/0.350 | | [model] iexlh_i model_type input polarity non-inverting vinl= 0.8000v vinh= 2.000v c_comp 5.00pf 5.00pf 5.00pf | | [voltage range] 3.3v 3v 3.6v [gnd_clamp] |voltage i(typ) i(min) i(max) | -3.30e+00 -5.21e+02 -3.66e+02 -5.18e+02 -3.10e+00 -4.70e+02 -3.30e+02 -4.67e+02 -2.90e+00 -4.19e+02 -2.95e+02 -4.16e+02 -2.70e+00 -3.68e+02 -2.59e+02 -3.65e+02 -2.50e+00 -3.17e+02 -2.24e+02 -3.14e+02 -2.30e+00 -2.66e+02 -1.89e+02 -2.63e+02 -2.10e+00 -2.15e+02 -1.53e+02 -2.12e+02 -1.90e+00 -1.64e+02 -1.18e+02 -1.61e+02 -1.70e+00 -1.14e+02 -9.34e+01 -1.11e+02 -1.50e+00 -7.93e+01 -6.98e+01 -7.68e+01 -1.30e+00 -4.53e+01 -4.62e+01 -4.28e+01 -1.10e+00 -1.13e+01 -2.26e+01 -8.78e+00 -9.00e-01 -7.94e-03 -1.87e+00 -3.77e-03 -7.00e-01 -1.62e-06 -5.11e-03 -7.69e-07 -5.00e-01 -3.45e-10 -1.40e-05 -1.72e-10 -3.00e-01 -1.29e-11 -3.90e-08 -1.38e-11 -1.00e-01 -1.10e-11 -8.67e-10 -1.19e-11 0.000e+00 -1.01e-11 -7.13e-10 -1.10e-11 | [power_clamp] |voltage i(typ) i(min) i(max)
ibis model f-26 dsp56367 24-bit digital signal processor users manual motorola | -3.30e+00 2.653e+02 1.870e+02 2.653e+02 -3.10e+00 2.398e+02 1.693e+02 2.398e+02 -2.90e+00 2.143e+02 1.516e+02 2.143e+02 -2.70e+00 1.888e+02 1.339e+02 1.888e+02 -2.50e+00 1.633e+02 1.162e+02 1.633e+02 -2.30e+00 1.378e+02 9.847e+01 1.378e+02 -2.10e+00 1.123e+02 8.076e+01 1.123e+02 -1.90e+00 8.682e+01 6.305e+01 8.682e+01 -1.70e+00 6.133e+01 4.947e+01 6.133e+01 -1.50e+00 4.313e+01 3.766e+01 4.313e+01 -1.30e+00 2.614e+01 2.585e+01 2.614e+01 -1.10e+00 9.145e+00 1.404e+01 9.145e+00 -9.00e-01 1.797e-02 2.364e+00 1.797e-02 -7.00e-01 3.667e-06 7.589e-03 3.667e-06 -5.00e-01 7.730e-10 2.072e-05 7.748e-10 -3.00e-01 2.293e-11 5.767e-08 2.476e-11 -1.00e-01 2.096e-11 1.163e-09 2.278e-11 0.000e+00 2.004e-11 9.618e-10 2.186e-11 | [end]
motorola index-1 numerics 5 v tolerance, 2-1 , 2-1 a ac electrical characteristics, 3-4 adder modulo, 1-7 offset, 1-7 reverse-carry, 1-7 address bus, 2-1 , 2-1 address generation unit, 1-6 addressing modes, 1-7 aes/ebu, 1-14 , 12-1 agu, 1-6 b barrel shifter, 1-5 benchmark test algorithm, e-1 , f-1 boundary scan (jtag port) timing diagram, 3-65 bus external address, 2-6 external data, 2-6 bus control, 2-1 , 2-1 buses internal, 1-8 c case outline drawing, 14-10 central processing unit (cpu), 1-i clkgen, 1-9 clock, 2-5 clock, 2-1 , 2-1 external, 3-6 operation, 3-7 clock divider, 10-14 clock generator (clkgen), 1-9 clocks internal, 3-6 cp-340, 1-14 , 12-1 cpha and cpol (hckr clock phase and polarity controls), 9-10 d data alu, 1-5 registers, 1-6 data bus, 2-1 , 2-1 data output bit (do), 13-11 dax, 2-1 , 2-1 , 2-20 block transferred interrupt handling, 12-13 initiating a transmit session, 12-12 transmit register empty interrupt handling, 12-13 dax audio data register empty (xade) status flag, 12-9 dax audio data registers (xadra/xadrb), 12- 5 dax audio data shift register (xadsr), 12- 6 , 12-6 dax biphase encoder, 12-10 dax block transfer (xblk) flag, 12-9 dax channel a channel status (xca) bit, 12-7 dax channel a user data (xua) bit, 12-6 dax channel a validity (xva) bit, 12-6 dax channel b channel status (xcb) bit, 12-7 dax channel b user data (xub) bit, 12-7 dax channel b validity (xvb) bit, 12-7 dax clock input select bits, 12-8 dax clock multiplexer, 12-11 dax clock selection, 12-8 dax control register (xctr), 12-7 dax internal architecture, 12-5 dax interrupt enable (xien) bit, 12-8 , 12-8 , 12-8 dax non-audio data buffer (xnadbuf), 12-7 dax operation during stop, 12-15 dax parity generator (prtyg), 12-10 dax preamble generator, 12-10 dax preamble sequence, 12-11 , 12-15 dax programming considerations, 12-12 dax programming model, 12-4 dax status register (xstr), 12-9 dax transmit underrun error (xaur) status flag, 12-9 dc electrical characteristics, 3-3 design considerations electrical, 4-3 , 4-3 pll, 4-5 , 4-5 power consumption, 4-4 thermal, 4-1 , 4-1 di, 13-11 digital audio transmitter, 2-1 , 2-1 , 2-20 digital audio transmitter (dax), 1-14 , 12-1 dir, 13-10 index
index-2 motorola index divide factor (df), 1-9 dma, 1-9 triggered by timer, 13-24 do bit, 13-11 do loop, 1-8 dram, 1-11 out of page wait states selection guide, 3-25 write access, 3-33 out of page and refresh timings 11 wait states, 3-28 15 wait states, 3-29 4 wait states, 3-25 page mode read accesses, 3-24 wait states selection guide, 3-19 write accesses, 3-23 page mode timings 3 wait states, 3-20 4 wait states, 3-21 refresh access, 3-34 dsp56300 core, 1-2 dsp56300 family manual, 1-i , 1-3 dsp56362 specifications, 3-1 e electrical design considerations, 4-3 , 4-3 enhanced serial audio interface, 2-15 , 2-15 , 2- 19 , 2-19 enhanced synchronous audio interface, 2-1 , 2-1 esai, 2-1 , 2-1 , 2-15 , 2-15 , 2-19 , 2-19 receiver timing, 3-59 , 3-59 , 3-60 , 3-60 timings, 3-55 transmitter timing, 3-58 esai block diagram, 10-1 essi0 (gpio), 7-2 , 7-2 essi1 (gpio), 7-2 extal jitter, 4-5 external address bus, 2-6 external bus control, 2-6 , 2-7 , 2-7 external clock operation, 3-6 external data bus, 2-6 external interrupt timing (negative edge- triggered), 3-13 external level-sensitive fast interrupt timing, 3-12 external memory access (dma source) timing, 3- 14 external memory expansion port, 2-6 , 3-15 f functional signal groups, 2-1 g global data bus, 1-8 gpio, 1-12 , 2-21 gpio (essi0, port c), 7-2 , 7-2 gpio (essi1, port d), 7-2 gpio (hi08, port b), 7-1 gpio (timer), 7-2 gpio timing, 3-63 ground, 2-4 ground, 2-1 , 2-1 h ha1, ha3-ha6 (hsar i 2 c slave address), 9-9 hardware stack, 1-8 hber (hcsr bus error), 9-18 hbie (hcsr bus error interrupt enable), 9-16 hbusy (hcsr host busy), 9-18 hckr (shi clock control register), 9-9 hcsr receive interrupt enable bits, 9-16 shi control/status register, 9-13 hdi08, 2-1 , 2-1 , 2-10 , 2-12 , 2-12 , 2-12 hdi08 timing, 3-36 hdm0-hdm5 (hckr divider modulus select), 9- 11 hen (hcsr shi enable), 9-13 hfifo (hcsr fifo enable control), 9-14 hfm0-hfm1 (hckr filter mode), 9-12 hi08, 1-12 (gpio), 7-1 hi 2 c (hcsr serial host interface i 2 c/spi selection), 9-13 hidle (hcsr idle), 9-15 hm0-hm1 (hcsr serial host interface mode), 9- 13 hmst (hcsr master mode), 9-14 host receive data fifo (hrx), 9-8 receive data fifodsp side, 9-8 transmit data register (htx), 9-8 transmit data registerdsp side, 9-8 host interface, 1-12 , 2-1 , 2-1 , 2-10 , 2-12 , 2-12 , 2- 12 host interface timing, 3-36 hreq function in shi slave modes, 9-15 hrff (hcsr host receive fifo full), 9-18 hrie0-hrie1 (hcsr receive interrupt enable), 9-16 hrne (hcsr host receive fifo not empty), 9- 18 hroe (hcsr host receive overrun error), 9-18 hrqe0-hrqe1 (hcsr host request enable), 9-15
motorola index-3 index htde (hcsr host transmit data empty), 9-17 htie (hcsr transmit interrupt enable), 9-16 htue (hcsr host transmit underrun error), 9- 17 i i 2 c, 1-14 , 9-1 , 9-19 bit transfer, 9-19 bus protocol for host read cycle, 9-22 bus protocol for host write cycle, 9-21 data transfer formats, 9-21 master mode, 9-27 protocol for host write cycle, 9-21 receive data in master mode, 9-28 receive data in slave mode, 9-25 slave mode, 9-24 start and stop events, 9-20 transmit data in master mode, 9-28 , 9-28 transmit data in slave mode, 9-26 , 9-26 i 2 c bus acknowledgment, 9-20 i 2 c mode, 9-1 iec958, 1-14 , 12-1 inter integrated circuit bus, 1-14 , 9-1 internal buses, 1-8 internal clocks, 3-6 internal exception priorities shi, 9-7 interrupt, 1-8 interrupt and mode control, 2-1 , 2-1 , 2-8 , 2-8 , 2-9 interrupt control, 2-8 , 2-8 , 2-9 interrupt timing, 3-8 external level-sensitive fast, 3-12 external negative edge-triggered, 3-13 interrupt vectors shi, 9-7 inv, 13-9 j jitter, 4-5 jtag, 1-10 , 1-10 , 2-21 jtag port timing, 3-64 , 3-65 jtag/once port, 2-1 , 2-1 l la register, 1-8 lc register, 1-8 loop address register (la), 1-8 loop counter register (lc), 1-8 m mac, 1-6 manual conventions, 1-iii , 1-iii maximum ratings, 3-1 , 3-2 mechanical drawings, 14-10 memory expansion, 1-11 external expansion port, 1-11 off-chip, 1-11 on-chip, 1-10 , 1-10 mfax system, 14-10 mode control, 2-8 , 2-8 , 2-9 mode select timing, 3-8 modulo adder, 1-7 multiplexed bus timings read, 3-42 write, 3-43 multiplier-accumulator (mac), 1-5 , 1-6 n non-multiplexed bus timings read, 3-40 write, 3-41 o offset adder, 1-7 omr register, 1-8 once module, 1-10 , 2-21 on-chip emulation (once) module, 1-10 on-chip memory, 1-10 operating mode register (omr), 1-8 operating mode select timing, 3-13 ordering drawings, 14-10 p pab, 1-9 package tqfp description, 14-1 , 14-5 pag, 1-7 pc register, 1-8 pc0-pc20 bits, 13-6 pce, 13-11 pcu, 1-7 pdb, 1-8 pdc, 1-7 peripheral i/o expansion bus, 1-8 phase lock loop, 3-8 pic, 1-7 pl0-pl20 bits, 13-5 pl21-pl22 bits, 13-5 pll, 1-9 , 2-1 , 2-1 , 2-5 , 3-8
index-4 motorola index characteristics, 3-8 performance issues, 4-5 pll design considerations, 4-5 , 4-5 pll performance issues, 4-5 port a, 2-1 , 2-1 , 2-6 port b, 2-1 , 2-1 , 2-11 , 2-11 , 2-12 , 2-12 , 7-1 port c, 2-1 , 2-1 , 2-15 , 2-15 , 2-19 , 7-2 , 7-2 port d, 2-20 , 7-2 power, 2-3 power, 2-1 , 2-1 power consumption benchmark test, e-1 , f-1 power consumption design considerations, 4-4 prescaler counter, 13-5 prescaler counter value bits (pc0-pc20), 13-6 prescaler load value bits (pl0-pl20), 13-5 prescaler source bits (pl21-pl22), 13-5 program address bus (pab), 1-9 program address generator (pag), 1-7 program control unit (pcu), 1-7 program counter register (pc), 1-8 program data bus (pdb), 1-8 program decode controller (pdc), 1-7 program interrupt controller (pic), 1-7 program memory expansion bus, 1-8 programming model shidsp side, 9-6 shihost side, 9-5 r recovery from stop state using irqa , 3-13 , 3-14 reserved bits in tcsr register bits 3, 10, 14, 16C19, 22, 23, 13-12 in tpcr, 13-6 in tplr, 13-6 reset , 2-9 reset timing, 3-8 , 3-11 reverse-carry adder, 1-7 s sc register, 1-8 serial host interface, 2-1 , 2-1 , 2-13 serial host interface (shi), 1-14 , 9-1 serial host interfacesee section 5 serial peripheral interface bus, 1-14 , 9-1 shi, 1-14 , 2-1 , 2-1 , 2-13 , 9-1 block diagram, 9-3 clock control registerdsp side, 9-9 clock generator, 9-4 , 9-4 , 9-4 control/status registerdsp side, 9-13 data size, 9-13 exception priorities, 9-7 hckr clock phase and polarity controls, 9-10 divider modulus select, 9-11 prescaler rate select, 9-11 hckr filter mode, 9-12 hcsr bus error interrupt enable, 9-16 fifo enable control, 9-14 host request enable, 9-15 idle, 9-15 master mode, 9-14 serial host interface i 2 c/spi selection, 9-13 serial host interface mode, 9-13 shi enable, 9-13 host receive data fifodsp side, 9-8 host transmit data registerdsp side, 9-8 hreq function in shi slave modes, 9-15 hsar i 2 c slave address, 9-9 slave address register, 9-9 i/o shift register, 9-8 input/output shift registerhost side, 9-7 internal architecture, 9-2 , 9-2 internal interrupt priorities, 9-7 interrupt vectors, 9-7 introduction, 9-1 operation during stop, 9-29 programming considerations, 9-22 programming model, 9-4 programming modeldsp side, 9-6 programming modelhost side, 9-5 slave address registerdsp side, 9-9 shi noise reduction filter mode, 9-12 signal groupings, 2-1 signals, 2-1 size register (sz), 1-8 sp, 1-8 spi, 1-14 , 9-1 hcsr bus error, 9-18 host busy, 9-18 host receive fifo full, 9-18 host receive fifo not empty, 9-18 host receive overrun error, 9-18 host transmit data empty, 9-17 host transmit underrun error, 9-17 receive interrupt enable, 9-16 , 9-16 master mode, 9-23 slave mode, 9-22 spi data-to-clock timing, 9-10 spi data-to-clock timing diagram, 9-10 spi mode, 9-1 sr register, 1-8 sram
motorola index-5 index interfacing, 1-11 read access, 3-17 read and write accesses, 3-15 write access, 3-18 ss, 1-8 stack counter register (sc), 1-8 stack pointer (sp), 1-8 status register (sr), 1-8 stop state recovery from, 3-13 , 3-14 stop timing, 3-8 supply voltage, 3-2 system stack (ss), 1-8 sz register, 1-8 t tap, 1-10 tc0Ctc3 bits, 13-7 tcf, 13-12 tcie bit, 13-7 tcpr, 13-13 tcr, 13-13 tcsr register, 13-7 bit 0timer enable bit (te), 13-7 bit 2timer compare interrupt enable bit (tcie), 13-7 bits 4C7timer control bits (tc0Ctc3), 13-7 bit 13data output bit (do), 13-11 reserved bitsbits 3, 10, 14, 16C19, 22, 23, 13- 12 te bit, 13-7 test access port (tap), 1-10 test access port timing diagram, 3-65 test clock (tclk) input timing diagram, 3-64 thermal characteristics, 3-3 thermal design considerations, 4-1 , 4-1 timer, 2-1 , 2-1 , 2-21 event input restrictions, 3-62 timing, 3-62 timer special cases, 13-24 timer (gpio), 7-2 timer compare interrupt enable bit (tcie), 13-7 timer control bits (tc0Ctc3), 13-7 timer control/status register (tcsr), 13-7 timer enable bit (te), 13-7 timer mode mode 0gpio, 13-14 mode 1timer pulse, 13-15 mode 2timer toggle, 13-16 mode 3timer event counter, 13-17 mode 4measurement input width, 13-18 mode 5measurement input period, 13-19 mode 6measurement capture, 13-20 mode 7pulse width modulation, 13-21 mode 8reserved, 13-22 mode 9watchdog pulse, 13-22 , 13-23 modes 11C15reserved, 13-24 timer module architecture, 13-1 timer prescaler count register (tpcr), 13-6 timer prescaler load register (tplr), 13-5 timing digital audio transmitter (dax), 3-61 enhanced serial audio interface (esai), 3-57 general purpose i/o (gpio) timing, 3-55 once? (on chip emulator) timing, 3-55 serial host interface (shi) spi protocol timing, 3-45 serial host interface (shi) timing, 3-45 timing interrupt, 3-8 mode select, 3-8 reset, 3-8 stop, 3-8 tlr, 13-12 tof, 13-11 toie, 13-7 tpcr register, 13-6 bits 0-20prescaler counter value bits (pc0- pc20), 13-6 bit 21-23reserved bits, 13-6 reserved bitsbits 21-23, 13-6 tplr register, 13-5 bits 0-20prescaler load value bits (pl0- pl20), 13-5 bits 21-22prescaler source bits (pl0- pl20), 13-5 bit 23reserved bit, 13-6 reserved bitbit 23, 13-6 tqfp pin list by number, 14-5 pin-out drawing (top), 14-1 tqfp package drawing, 14-10 transmitter high frequency clock divider, 10-14 trm, 13-10 v vba register, 1-8 vector base address register (vba), 1-8 x x memory address bus (xab), 1-9 x memory data bus (xdb), 1-8 x memory expansion bus, 1-8 xab, 1-9 xdb, 1-8
index-6 motorola index y y memory address bus (yab), 1-9 y memory data bus (ydb), 1-8 y memory expansion bus, 1-8 yab, 1-9 ydb, 1-8

how to reach us: usa/europe/locations not listed: motorola literature distribution p.o. box 5405 denver, colorado 80217 1-800-521-6274 or 480-768-2130 japan: motorola japan ltd. sps, technical information center 3-20-1, minami-azabu, minato-ku tokyo 106-8573, japan 81-3-3440-3569 asia/pacific: motorola semiconductors h.k. ltd. silicon harbour centre 2 dai king street tai po industrial estate tai po, n.t., hong kong 852-26668334 home page: http://motorola.com/semiconductors dsp56367um / d re v . 1.5 08 / 2003 information in this document is provided solely to enable system and software implementers to use motorola products. there are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability , including without limitation consequential or incidental damages. typical parameters that may be provided in motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. all operating parameters, including typicals, must be validated for each customer application by customers technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the motorola product cou ld create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and the stylized m logo are registered in the us patent and trademark office. all other product or service names are the property of their respective owners. motorola, inc. is an equal opportunity/affirmative action employer. ? motorola inc. 2003
dsp56367 product summary page search advanced | parametric | part number | faq select country motorola home | semiconductors home | contact us semiconductors products | design support | register | login motorola > semiconductors > products > digital signal processors > dsp56300 > dsp56367 dsp56367 : 24-bit audio digital signal processor a new level of affordable audio performance will be within the reach of consumer companies in the audio marketplace thanks to the new symphony tm audio digital signal processor (dsp) chip from motorola. with performance of 150 mips the dsp56367 provides the capability to process all the major multi- channel audio decoding standards (dolby digital, dts, mpeg2 multichannel and aac, and dvd-audio) along with dolby headphone in a single device. it also allows up to 100 mips to handle other audio processing requirements such as subwoofer management, soundfield effects, 3d virtual surrounds, equalization, thx+surround ex, dts-es, and prologic ii. the dsp56367 is an enhanced version of motorola's popular dsp56362/6 products. it offers increased performance in a pin-for-pin compatible device with a core that operates at both 1.8v and 1.5v for reduced power consumption. with the same memory map and peripherals as the dsp56366 that is currently in production, it allows customers an easy migration path to higher performance at lower power.er performance at lower power. block diagram dsp56367 features dsp56300 modular chassis l 150 mips with a 150 mhz clock at 1.8 v core with a 3.3 v peripheral i/o or 100 mips with a 100 mhz clock at 1.5 v core with a 3.3 v peripheral i/o l object code compatible with the 56 k core l data alu with a 24 x 24 bit multiplier-accumulator and a 56-bit barrel shifter. 16-bit arithmetic support l program control with position independent code support and instruction cache support l six-channel dma controller l pll based clocking with a wide range of frequency multiplications (1 to 4096), predicider factors (1 to 16) and power saving clock divider (2 i : i=0 to 7). reduces clock noise l internal address tracing support and once tm for hardware/software debugging l jtag port l very low-power cmos design, fully static design with operating frequencies down to dc l stop and wait low-power standby modes on-chip memory configuration l 7 k x 24 bit y-data ram and 8 k x 24 bit y-data rom l 13 k x 24 bit x-data ram and 32 k x 24 bit x-data rom l 40 k x 24 bit program rom l 3 k x 24 bit program ram and 192 x 24 bit bootstrap rom. 1 k of program ram may be used as instruction cache or for program rom patching l 2 k x 24 bit from y data ram and 5 k x 24 bit from x data ram can be switched to program ram resulting in up to 10 k x 24 bit of program ram off-chip memory expansion l external memory expansion port l off-chip expansion up to two 16 m x 24-bit word of data memory page contents: features parametrics documentation tools applications orderable parts related links other info: faqs literature services 3rd party design help training 3rd party tool vendors 3rd party trainers rate this page -- - 0 + ++ care to comment? http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (1 of 6) [12/19/2003 10:49:46 am]
dsp56367 product summary page l off-chip expansion up to 16 m x 24-bit word of program memory l simultaneous glueless interface to sram and dram peripheral modules l enhanced serial audio interface (esai_0): up to 4 receivers and up to 6 transmitters, master or slave. i 2 s, sony, ac97, network and other programmable protocols. l enhanced serial audio interface i (esai_1): up to 4 receivers and up to 6 transmitters, master or slave. i 2 s, sony ac97, network and other programmable protocols. the esai_1 shares four of the data pins with esai_0, and esai_1 does not support hckr and hckt (high speed clocks) l serial host interface (shi): spi and i 2 c protocols, 10-word receive fifo, support for 8, 16 and 24- bit words. l byte-wide parallel host interface (hdi08) with dma support l triple timer module l digital audio transmitter (dax): 1 serial transmitter capable of supporting the spdif, iec958, cp- 340 and aes/ebu digital audio formats l pins of unused peripherals (except shi) may be programmed as gpio lines return to top dsp56367 parametrics internal data ram internal program ram (kbyte) external memory interfaces total dma channels serial interface number of timers x data (kbyte) y data (kbyte) type number of 7, 39 13, 21 0.009, 3 dram, sram 6 esai, shi 1 3 timers core performance dsp (mmacs) core performance risc (mips) device speed (max) (mhz) bus frequency (max) (mhz) timer size (bit) timer channels timer input captures timer output compares 24 1 1 1 150 150 150 150 bus width core voltage (spec) (v) i/o voltage (typ) (v) i/o ports host port interfaces width (bit) dsp cores other peripherals internal data bus width (bit) external data bus width (bit) 24 24 1.8 3.3 5 8 1 nested interrupt, on-chip emulation, on-chip pll, peripheral interrupt, real-time interrupt, spdif transmitter, watchdog timer standby functions stop, wait view expanded set of parameters return to top http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (2 of 6) [12/19/2003 10:49:46 am]
dsp56367 product summary page dsp56367 documentation documentation application note id name vendor id format size k rev # date last modified order availability an1751 dsp563xx port a programming motorola pdf 280 1 5/01/1998 an1764 dsp56300 enhanced synchronous serial interface (essi) programming motorola pdf 252 2 7/24/2000 an1772 efficient compilation of bit-exact applications for dsp563xx motorola pdf 155 0 11/13/1998 an1781 booting dsp563xx devices through the serial communication interface (sci) motorola pdf 92 0 11/13/1998 an1790sw programming the cs4218 codec for use with dsp56300 devices supporting software motorola zip 170 0 10/12/2001 an1808 dsp56300 hi08 host port programming motorola pdf 94 0 10/03/2001 an1834 dsp56300 using dsp56300 interactive timing diagrams motorola pdf 383 0 10/03/2001 an1839 dsp56300 programming the dsp56300 once and jtag ports motorola pdf 197 0 10/03/2001 an1848 an1848 motorola pdf 425 1.0 5/01/2000 an1855/d an1855 download and checksum programs for use with the dsp5636x family motorola pdf 40 0 5/17/2000 an2013 dsp56300 family: characterizing cmos dsp core current for low-power applications motorola pdf 170 0 10/25/2000 an2074 dsp56300 jtag examples motorola pdf 423 0 10/04/2001 an2085 dsp56300 family: ecp standard parallel interface for dsp56300 devices motorola pdf 198 0 11/09/2000 an2113 an2113 multichannel voice coding system on the rtxc operating system motorola pdf 282 0 4/21/2001 apr20 application optimization for the dsp56300/dsp56600 digital signal processors motorola pdf 314 0 10/05/2001 apr22 application conversion from the dsp56100 family to the dsp56300/600 families motorola pdf 313 0 10/05/2001 apr23 using the dsp56300 direct memory access controller motorola pdf 179 0 10/05/2001 apr25 dsp56300 interfacing fast sram to motorola's dsp56300 family of digital signal processors motorola pdf 0 0 10/05/2001 apr26 dsp56300 interfacing flash memory with the motorola dsp56300 family of digital signal processors motorola pdf 853 0 10/05/2001 apr27 dsp56300 interfacing eprom and eeprom memory with motorola's dsp56300 family of digital signal processors motorola pdf 533 0 10/05/2001 apr30 dsp56300 assembly code development using the motorola toolsets motorola pdf 142 0 10/05/2001 apr35 dsp56300 designing motorola dsp56xxx software for nonrealtime tests file i/o uisng sim56xxx and ads56xxx motorola pdf 138 1 9/28/2001 apr36 dsp56300 interfacing the dsp560xx/dsp563xx families to the crystal cs4226 multichannel codec motorola pdf 242 0 10/05/2001 apr37 dsp56300 implementing ac-link with esai motorola pdf 577 0 10/05/2001 apr40 dsp56300 implementing viterbi decoders using the vsl instruction on dsp families dsp56300 and dsp56600 motorola pdf 661 0 10/05/2001 http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (3 of 6) [12/19/2003 10:49:46 am]
dsp56367 product summary page brochure id name vendor id format size k rev # date last modified order availability brdsp56300 dsp56300 family brochure motorola pdf 104 - - brpacktelearch motorola packet telephony architecture motorola pdf 861 0 8/21/2002 engineering bulletin id name vendor id format size k rev # date last modified order availability eb336/d technical bulletin: changes in process technologies: hardware and software design implications for dsp56300 family derivatives motorola pdf 49 1 4/20/2001 errata - click here for important errata information id name vendor id format size k rev # date last modified order availability dsp56367ce0k41r dsp56367 chip errata mask 0k41r motorola pdf 145 0.5 5/30/2002 - fact sheets id name vendor id format size k rev # date last modified order availability suite56fact suite56 dsp software development tools motorola pdf 443 0 - product brief id name vendor id format size k rev # date last modified order availability dsp56367pb/d dsp56367pb 24-bit audio digital signal processor motorola pdf 52 0 8/07/2001 reference manual id name vendor id format size k rev # date last modified order availability dsp56300fm/ad dsp56300 24-bit digital signal processor family manual motorola pdf 7378 3 10/05/2001 dsp56300fmad/d dsp56300 family manual addendum motorola pdf 83 2 1/22/2003 selector guide id name vendor id format size k rev # date last modified order availability sg2000cr application selector guide index and cross-reference. motorola pdf 95 3 11/11/2003 sg2047 application selector guide - entertainment digital audio motorola pdf 61 1 6/17/2003 users guide id name vendor id format size k rev # date last modified order availability dsp56367um dsp56367 24-bit digital signal processor users manual motorola pdf 5981 1.5 9/30/2003 dsp5636xevmum/d dsp5636xevmum user manual motorola pdf 4825 1.3 10/01/2001 - return to top http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (4 of 6) [12/19/2003 10:49:46 am]
dsp56367 product summary page dsp56367 tools hardware tools evaluation/development boards and systems id name vendor id format size k rev # order availability dspaudioevm dspaudioevm motorola - - - - software operating systems id name vendor id format size k rev # order availability cmx-rtx cmx-rtx cmx - - - - return to top applications automotive driver information systems/entertainment digital audio symphony? digital radio consumer electronics entertainment digital audio return to top orderable parts information part number package description tape and reel pb-free terminations application/ qualification tier status budgetary price qty 1000+ ($us) info order dspa367db1 no no available $250.00 more dspa56367ag150 lqfp 144 20*20*1.4p0.5 no yes available - more - dspa56367pv150 lqfp 144 20*20*1.4p0.5 no no available $15.85 more - dspb367db1 no no available $250.00 more dspb56367ag150 lqfp 144 20*20*1.4p0.5 no yes available $10.58 more dspb56367pv150 lqfp 144 20*20*1.4p0.5 no no available $10.58 more dspc367db1 no no available $250.00 more dspc56367pv150 lqfp 144 20*20*1.4p0.5 no no available $15.85 more - DSPD367DB1 no no available $250.00 more dspd56367ag150 lqfp 144 20*20*1.4p0.5 no yes available - more - dspd56367pv150 lqfp 144 20*20*1.4p0.5 no no available $15.85 more note: are you looking for an obsolete orderable part? click here to check our distributors' inventory. return to top http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (5 of 6) [12/19/2003 10:49:46 am]
dsp56367 product summary page related links 68k/coldfire? automotive digital signal processors suite56 for the dsp56300 family suite56 documentation for dsp563xx return to top www.motorola.com | site map | contact motorola | terms of use | privacy practices ? copyright 1994-2003 motorola, inc. all rights reserved. http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (6 of 6) [12/19/2003 10:49:46 am]
dsp56367 product summary page search advanced | parametric | part number | faq select country motorola home | semiconductors home | contact us semiconductors products | design support | register | login motorola > semiconductors > products > digital signal processors > dsp56300 > dsp56367 dsp56367 : 24-bit audio digital signal processor a new level of affordable audio performance will be within the reach of consumer companies in the audio marketplace thanks to the new symphony tm audio digital signal processor (dsp) chip from motorola. with performance of 150 mips the dsp56367 provides the capability to process all the major multi- channel audio decoding standards (dolby digital, dts, mpeg2 multichannel and aac, and dvd-audio) along with dolby headphone in a single device. it also allows up to 100 mips to handle other audio processing requirements such as subwoofer management, soundfield effects, 3d virtual surrounds, equalization, thx+surround ex, dts-es, and prologic ii. the dsp56367 is an enhanced version of motorola's popular dsp56362/6 products. it offers increased performance in a pin-for-pin compatible device with a core that operates at both 1.8v and 1.5v for reduced power consumption. with the same memory map and peripherals as the dsp56366 that is currently in production, it allows customers an easy migration path to higher performance at lower power.er performance at lower power. block diagram dsp56367 features dsp56300 modular chassis l 150 mips with a 150 mhz clock at 1.8 v core with a 3.3 v peripheral i/o or 100 mips with a 100 mhz clock at 1.5 v core with a 3.3 v peripheral i/o l object code compatible with the 56 k core l data alu with a 24 x 24 bit multiplier-accumulator and a 56-bit barrel shifter. 16-bit arithmetic support l program control with position independent code support and instruction cache support l six-channel dma controller l pll based clocking with a wide range of frequency multiplications (1 to 4096), predicider factors (1 to 16) and power saving clock divider (2 i : i=0 to 7). reduces clock noise l internal address tracing support and once tm for hardware/software debugging l jtag port l very low-power cmos design, fully static design with operating frequencies down to dc l stop and wait low-power standby modes on-chip memory configuration l 7 k x 24 bit y-data ram and 8 k x 24 bit y-data rom l 13 k x 24 bit x-data ram and 32 k x 24 bit x-data rom l 40 k x 24 bit program rom l 3 k x 24 bit program ram and 192 x 24 bit bootstrap rom. 1 k of program ram may be used as instruction cache or for program rom patching l 2 k x 24 bit from y data ram and 5 k x 24 bit from x data ram can be switched to program ram resulting in up to 10 k x 24 bit of program ram off-chip memory expansion l external memory expansion port l off-chip expansion up to two 16 m x 24-bit word of data memory page contents: features parametrics documentation tools applications orderable parts related links other info: faqs literature services 3rd party design help training 3rd party tool vendors 3rd party trainers rate this page -- - 0 + ++ care to comment? http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (1 of 6) [1/2/2004 3:58:27 pm]
dsp56367 product summary page l off-chip expansion up to 16 m x 24-bit word of program memory l simultaneous glueless interface to sram and dram peripheral modules l enhanced serial audio interface (esai_0): up to 4 receivers and up to 6 transmitters, master or slave. i 2 s, sony, ac97, network and other programmable protocols. l enhanced serial audio interface i (esai_1): up to 4 receivers and up to 6 transmitters, master or slave. i 2 s, sony ac97, network and other programmable protocols. the esai_1 shares four of the data pins with esai_0, and esai_1 does not support hckr and hckt (high speed clocks) l serial host interface (shi): spi and i 2 c protocols, 10-word receive fifo, support for 8, 16 and 24- bit words. l byte-wide parallel host interface (hdi08) with dma support l triple timer module l digital audio transmitter (dax): 1 serial transmitter capable of supporting the spdif, iec958, cp- 340 and aes/ebu digital audio formats l pins of unused peripherals (except shi) may be programmed as gpio lines return to top dsp56367 parametrics internal data ram internal program ram (kbyte) external memory interfaces total dma channels serial interface number of timers x data (kbyte) y data (kbyte) type number of 7, 39 13, 21 0.009, 3 dram, sram 6 esai, shi 1 3 timers core performance dsp (mmacs) core performance risc (mips) device speed (max) (mhz) bus frequency (max) (mhz) timer size (bit) timer channels timer input captures timer output compares 24 1 1 1 150 150 150 150 bus width core voltage (spec) (v) i/o voltage (typ) (v) i/o ports host port interfaces width (bit) dsp cores other peripherals internal data bus width (bit) external data bus width (bit) 24 24 1.8 3.3 5 8 1 nested interrupt, on-chip emulation, on-chip pll, peripheral interrupt, real-time interrupt, spdif transmitter, watchdog timer standby functions stop, wait view expanded set of parameters return to top http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (2 of 6) [1/2/2004 3:58:27 pm]
dsp56367 product summary page dsp56367 documentation documentation application note id name vendor id format size k rev # date last modified order availability an1751 dsp563xx port a programming motorola pdf 280 1 5/01/1998 an1764 dsp56300 enhanced synchronous serial interface (essi) programming motorola pdf 252 2 7/24/2000 an1772 efficient compilation of bit-exact applications for dsp563xx motorola pdf 155 0 11/13/1998 an1781 booting dsp563xx devices through the serial communication interface (sci) motorola pdf 92 0 11/13/1998 an1790sw programming the cs4218 codec for use with dsp56300 devices supporting software motorola zip 170 0 10/12/2001 an1808 dsp56300 hi08 host port programming motorola pdf 94 0 10/03/2001 an1834 dsp56300 using dsp56300 interactive timing diagrams motorola pdf 383 0 10/03/2001 an1839 dsp56300 programming the dsp56300 once and jtag ports motorola pdf 197 0 10/03/2001 an1848 an1848 motorola pdf 425 1.0 5/01/2000 an1855/d an1855 download and checksum programs for use with the dsp5636x family motorola pdf 40 0 5/17/2000 an2013 dsp56300 family: characterizing cmos dsp core current for low-power applications motorola pdf 170 0 10/25/2000 an2074 dsp56300 jtag examples motorola pdf 423 0 10/04/2001 an2085 dsp56300 family: ecp standard parallel interface for dsp56300 devices motorola pdf 198 0 11/09/2000 an2113 an2113 multichannel voice coding system on the rtxc operating system motorola pdf 282 0 4/21/2001 apr20 application optimization for the dsp56300/dsp56600 digital signal processors motorola pdf 314 0 10/05/2001 apr22 application conversion from the dsp56100 family to the dsp56300/600 families motorola pdf 313 0 10/05/2001 apr23 using the dsp56300 direct memory access controller motorola pdf 179 0 10/05/2001 apr25 dsp56300 interfacing fast sram to motorola's dsp56300 family of digital signal processors motorola pdf 0 0 10/05/2001 apr26 dsp56300 interfacing flash memory with the motorola dsp56300 family of digital signal processors motorola pdf 853 0 10/05/2001 apr27 dsp56300 interfacing eprom and eeprom memory with motorola's dsp56300 family of digital signal processors motorola pdf 533 0 10/05/2001 apr30 dsp56300 assembly code development using the motorola toolsets motorola pdf 142 0 10/05/2001 apr35 dsp56300 designing motorola dsp56xxx software for nonrealtime tests file i/o uisng sim56xxx and ads56xxx motorola pdf 138 1 9/28/2001 apr36 dsp56300 interfacing the dsp560xx/dsp563xx families to the crystal cs4226 multichannel codec motorola pdf 242 0 10/05/2001 apr37 dsp56300 implementing ac-link with esai motorola pdf 577 0 10/05/2001 apr40 dsp56300 implementing viterbi decoders using the vsl instruction on dsp families dsp56300 and dsp56600 motorola pdf 661 0 10/05/2001 http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (3 of 6) [1/2/2004 3:58:27 pm]
dsp56367 product summary page brochure id name vendor id format size k rev # date last modified order availability brdsp56300 dsp56300 family brochure motorola pdf 104 - - brpacktelearch motorola packet telephony architecture motorola pdf 861 0 8/21/2002 engineering bulletin id name vendor id format size k rev # date last modified order availability eb336/d technical bulletin: changes in process technologies: hardware and software design implications for dsp56300 family derivatives motorola pdf 49 1 4/20/2001 errata - click here for important errata information id name vendor id format size k rev # date last modified order availability dsp56367ce0k41r dsp56367 chip errata mask 0k41r motorola pdf 145 0.5 5/30/2002 - fact sheets id name vendor id format size k rev # date last modified order availability suite56fact suite56 dsp software development tools motorola pdf 443 0 - product brief id name vendor id format size k rev # date last modified order availability dsp56367pb/d dsp56367pb 24-bit audio digital signal processor motorola pdf 52 0 8/07/2001 reference manual id name vendor id format size k rev # date last modified order availability dsp56300fm/ad dsp56300 24-bit digital signal processor family manual motorola pdf 7378 3 10/05/2001 dsp56300fmad/d dsp56300 family manual addendum motorola pdf 83 2 1/22/2003 selector guide id name vendor id format size k rev # date last modified order availability sg2000cr application selector guide index and cross-reference. motorola pdf 95 3 11/11/2003 sg2047 application selector guide - entertainment digital audio motorola pdf 61 1 6/17/2003 users guide id name vendor id format size k rev # date last modified order availability dsp56367um dsp56367 24-bit digital signal processor users manual motorola pdf 5981 1.5 9/30/2003 dsp5636xevmum/d dsp5636xevmum user manual motorola pdf 4825 1.3 10/01/2001 - return to top http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (4 of 6) [1/2/2004 3:58:27 pm]
dsp56367 product summary page dsp56367 tools hardware tools evaluation/development boards and systems id name vendor id format size k rev # order availability dspaudioevm dspaudioevm motorola - - - - software operating systems id name vendor id format size k rev # order availability cmx-rtx cmx-rtx cmx - - - - return to top applications automotive driver information systems/entertainment digital audio symphony? digital radio consumer electronics entertainment digital audio return to top orderable parts information part number package description tape and reel pb-free terminations application/ qualification tier status budgetary price qty 1000+ ($us) info order dspa367db1 no no available $250.00 more dspa56367ag150 lqfp 144 20*20*1.4p0.5 no yes available - more - dspa56367pv150 lqfp 144 20*20*1.4p0.5 no no available $15.85 more - dspb367db1 no no available $250.00 more dspb56367ag150 lqfp 144 20*20*1.4p0.5 no yes available $10.58 more dspb56367pv150 lqfp 144 20*20*1.4p0.5 no no available $10.58 more dspc367db1 no no available $250.00 more dspc56367pv150 lqfp 144 20*20*1.4p0.5 no no available $15.85 more - DSPD367DB1 no no available $250.00 more dspd56367ag150 lqfp 144 20*20*1.4p0.5 no yes available - more - dspd56367pv150 lqfp 144 20*20*1.4p0.5 no no available $15.85 more note: are you looking for an obsolete orderable part? click here to check our distributors' inventory. return to top http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (5 of 6) [1/2/2004 3:58:27 pm]
dsp56367 product summary page related links 68k/coldfire? automotive digital signal processors suite56 for the dsp56300 family suite56 documentation for dsp563xx return to top www.motorola.com | site map | contact motorola | terms of use | privacy practices ? copyright 1994-2003 motorola, inc. all rights reserved. http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=dsp56367&nodeid=01m98596 (6 of 6) [1/2/2004 3:58:27 pm]


▲Up To Search▲   

 
Price & Availability of DSPD367DB1

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]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X