Part Number Hot Search : 
FRF1250 3225X 2SB904 PF3503 ACT88 IC16F6 ST16N10 46VLA
Product Description
Full Text Search
 

To Download Q67101-H6864 Datasheet File

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


  Datasheet File OCR Text:
  ics for communications joint audio decoder-encoder for analog videophone jade an psb 7230 version 2.1 data sheet 1998-07-01 ds 1
for ques t ions o n techn o logy, delivery an d prices please co n tact the semico n ductor group o f fices in germany or the siemens comp a nies and repres e ntatives worldwide : see o u r web p age at http://www.sieme n s.de/semiconductor/communication ps b 7230 revision history : current version: 1998-07-01 previous version: prelimiinary da t a sheet 02.97 (v 1.2) p a ge (in p revio u s v e rsion) page (in current version) subjects (maj o r chang e s since last revision) ed i tion 1998-07-01 pu b lished by siem e ns a g , hl sp, b a l a n s tra?e 73, 8 15 4 1 mn c h e n ? s ieme n s a g 19 9 8. a ll r i ghts r e s e rved. attenti o n p l ease! as far as patents or other rights o f third parties are concerned , l i abil i ty i s onl y assumed for components , no t for a ppl i c a ti o ns, p rocesses a nd circuits i m p lem e nted wit h in comp o ne n ts or assembl i es. t h e information d escrib e s the ty p e of c o mpo n ent and sh a ll not be consi d ered a s assur e d char a ct e ristics. t e rms of del i v e ry a nd ri g hts to c h an g e desi g n reserve d . d u e to tech n ical req u irem e nts comp o ne n ts may c o ntain d a ng e ro u s su b sta n c e s. for inform a ti o n on the types in q uestion p lease co n t a ct y o ur n e arest siem e ns o ffice, semic o nd u ctor g rou p . s ieme n s a g is a n ap p roved cecc man u f a ct u rer. p ac k ing p le a se u se the r ecycli n g op e rators known to you. we c a n also h e lp y o u C get in touch with y o ur n e arest s a les office. b y agreement we will take packing material back, if it is sorted . you must bea r the cost s of transport. f o r p acking mate r ial that is r eturn e d to us unsorted or which we a r e not ob l iged to a cce p t, we shall h ave to invoice you for a ny c o sts i n curr e d. components used i n life-support devices or systems must be expressly authorized for such purpose! critical comp o ne n ts 1 o f th e s e m i c o nd u ctor g ro u p of s ieme n s a g , may o n ly be u se d i n life-su p po r t d e v i c e s or sys t ems 2 with the exp r ess written a p proval o f the s e mic o nd u ct o r g ro u p of s ieme n s a g . 1 a cr i tical component is a component used i n a life - support device or system whose failur e ca n reasonably be expected to ca u se the f a ilure o f th a t life-s u pp o rt d e vice or system, or to aff e ct its safety or effect i v e ness of th a t device or system. 2 life s upport device s or s ystem s are intended (a) to be i m plan t ed in t he human bod y , or (b) to support and/or maintain a nd sustain h u man life. if t h ey fail, it is re a s o na b le to ass u me t h at the h ealth of t h e user may be e n - da n ger e d. iom ? , i om ? -1, i o m ? -2, s i cofi ? , s i co f i ? -2, sicofi ? -4, s i co f i ? -4 m c, slicofi ? , arcofi ? , a r cofi ? -b a , arcofi ? -s p , e pic ? - 1, epic ? -s, e l ic ? , i pat ? -2, it a c ? , isac ? - s , is a c ? -s te, i sac ? -p, isac ? -p t e , i d ec ? , sicat ? , o c tat ? - p , q u at ? - s are r e gistered tr a dema r ks of s iem e n s a g. musac ? -a, f a lc ? 54, iwe ? , sa r e ? , utpt ? , a s m ? , asp ? , digit a pe ? are tra d ema r ks of s ieme n s a g.
psb 7230 table of contents page semiconductor group 3 data sheet 1998-07-01 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 1.1 feature list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 1.2 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 1.3 logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 1.4 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 1.5 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 1.6 system integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 1.6.1 h.324 desktop videoconferencing solution for pots . . . . . . . . . . . . . .17 1.6.2 low cost h.324 desktop videoconferencing with software video . . . . .19 1.6.3 lan videoconferencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 1.6.4 standalone h.324/h.323 videophone . . . . . . . . . . . . . . . . . . . . . . . . . . .21 1.6.5 internet telephone access in line card . . . . . . . . . . . . . . . . . . . . . . . . .22 2 general architecture and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 2.1 architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 2.2 functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 2.3 summary of the functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 2.3.1 audio functions and supplementary features . . . . . . . . . . . . . . . . . . . .26 3 interfaces and memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 3.1 interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 3.1.1 iom-2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 3.1.2 serial audio interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 3.1.3 parallel host interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 3.1.4 external memory interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 3.1.5 clock interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 3.2 shared memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 3.3 directly accessible register bank . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 3.3.1 input/output registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 3.3.2 dsp/host com area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 3.3.2.1 access to dsp/host com area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 3.4 mailbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 3.4.1 dsp/host com area with a demultiplexed host interface . . . . . . . . . . .46 4 functional blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 4.1 oscillator and baud rate generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 4.2 audio and data reception/transmission . . . . . . . . . . . . . . . . . . . . . . . . . .52 4.3 serial data controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 4.4 iom-2 functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 4.4.1 monitor channel protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 4.4.2 c/i channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74 4.5 programming indirectly accessible registers . . . . . . . . . . . . . . . . . . . . . . .77 4.5.1 programming via parallel host interface . . . . . . . . . . . . . . . . . . . . . . . . .77
psb 7230 table of contents page semiconductor group 4 data sheet 1998-07-01 5 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78 5.1 interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78 5.2 interrupt status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 5.3 indirectly accessible configuration and control registers . . . . . . . . . . . . .82 5.4 serial data controller registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 6 firmware features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 6.1 basic functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 6.1.1 firmware version number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 6.1.2 software reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 6.1.3 power down command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116 6.2 audio interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117 6.2.1 compressed audio protocols and control of jade an . . . . . . . . . . . .119 6.2.1.1 outband control of jade an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 6.2.1.2 compressed audio protocol with outband control . . . . . . . . . . . . . .130 6.2.1.3 compressed audio protocol with inband control . . . . . . . . . . . . . . .132 6.2.1.4 control pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138 6.2.2 uncompressed data protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144 6.2.3 audio interface timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145 6.2.3.1 uncompressed data: host if, compressed data: host if . . . . . . . .145 6.2.3.2 uncompressed data: iom if, compressed data: host if . . . . . . . .153 6.2.3.3 uncompressed data: iom if, compressed data: serial audio interface (sai) 162 7 electrical specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165 7.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165 7.2 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165 7.3 dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165 7.4 capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167 7.5 oscillator circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167 7.6 xtal 1,2 recommended typical crystal parameters . . . . . . . . . . . . . . .167 7.7 ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168 7.7.1 testing waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168 7.7.2 parallel host interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168 7.7.3 iom-2 interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .172 7.7.4 serial audio interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .176 7.7.5 external memory interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178 8 package outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
p-tqfp-100 semiconductor group 5 data sheet 1998-07-01 joint audio decoder-encoder for analog videophone jade an psb 7230 version 2.1 type ordering code package psb 7230 Q67101-H6864 p-tqfp-100 1 introduction 1.1 feature list functions C g.723 v5.1 compression/decompression (6.3, 5.3 kbit/s) C accepts/outputs uncompressed audio in 8-bit pcm a/ m law or 16-bit linear format C g.711 compression/decompression (64 kbit/s) C uncompressed/compressed audio switchable between different interface combinations (iom ? /serial audio interface, iom/host, host/host) C inband controlled h.221/h.223 oriented audio protocol, e.g. for direct serial connection to videocodec (vcp of 8 8 inc., formerly iit inc.) as well as host based solutions C outband controlled audio protocol with optimized data rate C stable reaction on interrupt handshake timing violations of e.g. a slow host (windows ? pc) system on-chip functions C one universal serial transparent data controller C iom-2 monitor and c/i channels C generation of programmable system clock output interfaces C 4-line iom-2/pcm interface (programmable master or slave) C 5-line serial audio interface, e.g. for connection to videocodec/h.221/223 processor C parallel 8-bit host interface C 4-line general purpose interface
psb 7230 introduction semiconductor group 6 data sheet 1998-07-01 control C programmable via parallel host interface C operating parameters and mode settings via a register bank C access to audio channels and serial transparent data controller from dsp or an external host C interface to external software via a full-duplex 256-byte on-chip mailbox C h.221/h.223 oriented inband configuration/mode switching general C supply voltage: 3.0 - 3.6 v C additional 4.5 to 5.5 v supply for connection to 5 v systems without external components C ambient temperature range 0 c to + 70 c C p-tqfp-100 package 1.2 overview the psb 7230 joint audio decoder encoder for analog videophones (jade an) is a device which implements voice compression algorithms using the algebraic code excited linear prediction (acelp) and the multi-pulse maximum likelihood quantization (mp-mlq) standard as defined in the itu-t g.723 recommendation. in addition g.711 pcm audio coding is also supported. thus, in g.723 mode it compresses the pcm (8 bit a-/ m -law ) or 16 bit linear voice signal into 5.3 kbit/s (acelp) or 6.3 kbit/s (mp-mlq) bit stream, and vice versa. the implementation complies with the newest itu-t c-code v5.1 and includes the g.723 annex a (voice activity detection and comfort noise generation). the jade an finds applications in C analog videophones (h.324) C networks (e.g. lans) for packetized voice (h.323) C video conference systems C corporate network voice concentrators, multiplexers and gateways C data-over-voice and voice-over-data terminals. other potential application areas are: C networks (e.g. lans) for packetized voice C digital added main-line (daml) & digital circuit multiplication equipment (dcme) C voice storage e.g. in pc based applications C message recording and distribution. the interfaces of the jade allow a seamless integration into iom-2 based systems. after the circuit is set up in the proper mode of operation and parameter settings are programmed by a controlling software, the circuit runs independently of the rest of the
psb 7230 introduction semiconductor group 7 data sheet 1998-07-01 system. status and control information to/from the jade can be transferred either inband the compressed audio data via the corresponding selected interface or outband using an 8-bit parallel host interface. the audio frontend data can be exchanged either through the host interface or the iom-2 interface. in the latter case the siemens arcofi sp can be connected providing half-duplex handsfree or a siemens ace (acoustic echo canceller circuit) together with an arcofi ba providing full duplex handsfree. the default configuration of the jade is such, that in a videoconferencing system using the 8x8 (formerly iit) vcp (video codec and multimedia communications processor) the siemens psb 7230 can work standalone without the need of external initialization. i.e., no host is needed in this case and the full communication is automatically started between the vcp and the siemens psb 7230. the voice compression algorithms are implemented by an embedded 16-bit fixed point digital signal processor with all memories internal and no external memory needed. integration of these and other features, as well as perfectly matched interfaces with other ics allows for the implementation of highly optimized, low cost system solutions e.g. for videophones, data-over-voice and channel multiplexing equipment. for system integration, a serial data channel is implemented which can be serviced by an attached host (or the on-chip dsp). system functions and communication between the chip and an external controller is supported by a full-duplex 256-byte on-chip mailbox communication memory. the circuit is offered in a quad flat pack package with 100 pins (p-tqfp-100: size 14 14 mm, pitch 0.5 mm, height 1.4 mm). note: this data sheet gives a thorough description of the functions and hardware that forms the base of psb 7230. it includes information that is not needed for the psb 7230 as a ready to use plug and play' g.723/g.711 audio compression device.
psb 7230 introduction semiconductor group 8 data sheet 1998-07-01 1.3 logic symbol figure 1 sclk sr st rfs tfs dd du dc l fsc reset ca (0: 15) cd( 0: 15) cwr# cr d# serial audio interface iom-2 int erf ace external memory interface cd s# xtal 1 psb 7230 xta l2 cps# cs# parallel host interface int# ad(0: 7) rd# (ds#) wr# (r /w#) al e gp io interfac e vdd vs s vdda p, vddp power supply cl ko system cloc k int erface ea # int r# sio cm1 v ssa, v ssap vdda gpio(0:3) a (0: 3)
psb 7230 introduction semiconductor group 9 data sheet 1998-07-01 1.4 pin configuration figure 2 psb 7230 p-tqfp-100 1 26 51 76 scl k ale cs# rd # wr # ad7 ad6 ad5 ad4 vddp vss vdd ad3 ad2 ad1 ad0 intr# int# a2 fsc dc l du dd ca1 5 cd 15 ca14 cd14 vddp vss ca13 cd13 ca12 cd12 vdd vss vdd ca11 cd11 ca10 cd10 vdd vss ea# cds# cps# cwr# crd# ca9 cd9 ca8 ca 0 cd 1 ca 1 vss vddp cd 2 ca 2 cd 3 ca 3 vss vdd cd 4 ca 4 cd 5 ca 5 vdd vss vdd cd 6 ca 6 cd 7 ca 7 vss vdd cd 8 sr st rfs tfs a3 cm 1 vss vdd vssa xtal2 xtal1 vdda vssap vddap clko sio res et a1 a0 gp3 gp2 gp1 gp0 vss cd 0
psb 7230 introduction semiconductor group 10 data sheet 1998-07-01 1.5 pin description table 1 parallel host interface pin no. symbol function descriptions 16 ad0 i/o multiplexed bus mode: address/data bus. transfers addresses from the host to jade and data between the host and the jade demultiplexed bus mode: data bus. transfers data between the host and the jade 15 ad1 i/o 14 ad2 i/o 13 ad3 i/o 9 ad4 i/o 8 ad5 i/o 7 ad6 i/o 6 ad7 i/o 4 ds i data strobe. the rising edge marks the end of a valid read or write operation (motorola bus mode). rd i read. this signal indicates a read operation (siemens/intel bus mode). 5 r/w i read/write. a 1 (high) identifies a valid host access as a read operation. a 0 identifies a valid host access as a write operation (motorola bus mode) wr i write. this signal indicates a write operation (siemens/intel bus mode). 3cs i chip select. 2 ale i address latch enable. a high on this line indicates an address on ad(0:7) (multipexed bus mode only). ale also selects the interface mode 82 a0 i address bits a(0:3) (demultiplexed bus type) 83 a1 i 19 a2 i 96 a3 i
psb 7230 introduction semiconductor group 11 data sheet 1998-07-01 17 intr o (od) interrupt real-time. interrupt output line for high priority interrupt status (serial audio receive/transmit, serial hdlc data receive/transmit data) to host. 18 int o (od) interrupt request. interrupt output line for all other interrupt states. table 2 iom-2 interface pin no. symbol function descriptions 23 dd i/o(od) data downstream on iom-2/pcm interface. 22 du i/o(od) data upstream on iom-2/pcm interface. 21 dcl i/o(od) data clock. clock frequency is twice the data rate, or equal to the data rate. 20 fsc i/o(od) frame sync. marks the beginning of a physical iom-2 or pcm frame. table 3 serial audio interface pin no. symbol function descriptions 1 sclk i/o serial clock. serial clock for sr and st. 100 sr i/o(od) serial data receive. should be connected to v ss via a pulldown resistor if not used. 99 st i/o(od) serial data transmit. 98 rfs i/o audio receive frame sync. 97 tfs i/o audio transmit frame sync. table 1 parallel host interface (contd) pin no. symbol function descriptions
psb 7230 introduction semiconductor group 12 data sheet 1998-07-01 table 4 system clocks pin no. symbol function descriptions 90 xtal1 i crystal in or clock in. if a crystal is used, it is connected between xtal1 and xtal2. if a clock signal is provided (via an external oscillator), this signal is input via xtal1. in this case the xtal2 output is to be left non-connected. the xtal1 input has to be 50% duty cycle and must not exceed the voltage range between v ssa and v dda . 91 xtal2 o crystal out. left unconnected if a crystal is not used. 86 clko o clock out. output clock of frequency equal to the internal frequency divided by a programmable factor. table 5 external memory interface (for development purposes only) pin no. symbol function descriptions 75 ca0 o c-bus address. 73 ca1 o used for addressing rom or ram external to the chip. 69 ca2 o is to be left nc if not used. 67 ca3 o 63 ca4 o 61 ca5 o 56 ca6 o 54 ca7 o 50 ca8 o 48 ca9 o 39 ca10 o 37 ca11 o 32 ca12 o 30 ca13 o 26 ca14 o 24 ca15 o
psb 7230 introduction semiconductor group 13 data sheet 1998-07-01 76 cd0 i/o c-bus data. 74 cd1 i/o data bus for external rom or ram. is to be left nc if not used. 70 cd2 i/o 68 cd3 i/o 64 cd4 i/o 62 cd5 i/o 57 cd6 i/o 55 cd7 i/o 51 cd8 i/o 49 cd9 i/o 40 cd10 i/o 38 cd11 i/o 33 cd12 i/o 31 cd13 i/o 27 cd14 i/o 25 cd15 i/o 43 ea i external program access enable when high, an access to program address range (0000 h - 7fff h ) fetches an instruction from on-chip rom. access to 8000 h - ffff h addresses external memory via the external memory interface. when low, an access to 0000 h - ffff h (including 0000 h - 7fff h , normally reserved for on-chip software) accesses external program memory via the external memory interface. 47 crd o c-bus read to external memories. left nc if not used. 46 cwr o c-bus write to external memories. left nc if not used. 45 cps o c-bus select line for external program memory. left nc if not used. 44 cds o c-bus select line for external data memory. left nc if not used. table 5 external memory interface (for development purposes only) (contd) pin no. symbol function descriptions
psb 7230 introduction semiconductor group 14 data sheet 1998-07-01 table 6 general control pin no. symbol function descriptions 95 cm1 i clock mode selects the option for the generation of the dsp internal working clock. 85 sio i/o serial i/o line. when programmed as input, a rising or falling (selectable) edge on this line may generate a maskable interrupt int (host) or int1 (dsp). when programmed as output, its state is directly controlled by the dsp or the host. 84 reset i reset input. reset time: > 1 ms. table 7 general purpose i/o interface pin no. symbol function descriptions 81 gp0 i/o (od) general purpose i/o pins 80 gp1 i/o(od) 79 gp2 i/o(od) 78 gp3 i/o(od) table 8 power supply pin no. symbol function descriptions 11 v ss i ground (common to v dd and v ddp ) . 29 v ss i 35 v ss i 42 v ss i 53 v ss i 59 v ss i 66 v ss i 72 v ss i 77 v ss i 94 v ss i
psb 7230 introduction semiconductor group 15 data sheet 1998-07-01 12 v dd i positive power supply voltage (3.0 - 3.6 v). 36 v dd i 60 v dd i 93 v dd i 34 v dd i 41 v dd i 52 v dd i 58 v dd i 65 v dd i 10 v ddp i positive power supply voltage (4.5 - 5.5 v) for external interfaces. 28 v ddp i 71 v ddp i 89 v dda i separate positive power supply voltage (3.0 - 3.6 v) for clock generation unit (oscillator). 92 v ssa i separate ground (0 v) for clock generation unit (oscillator). 87 v ddap i separate positive power supply voltage (3.0 - 3.6 v) for clock generation unit (pll). the power supply for the pll requires pin 87 connected to v ddap . in former versions of the jade family pin 87 was connected to v ddp 88 v ssap i separate ground (0 v) for clock generation unit (pll) table 8 power supply (contd) pin no. symbol function descriptions
psb 7230 introduction semiconductor group 16 data sheet 1998-07-01 1.6 system integration example of integration in videophones for analog telephone line: the first example represents a low-cost solution for a desktop stand-alone videophone that connects to an analog telephone line. the analog telephone line can carry up to 28.8 kbit/s using a v.34 modem or 33.6 kbit/s using a v.34bis modem. the general aspects of videotelephony over analog telephone lines are covered by itu-t h.324 recommendations. the video is compressed according to the h.263 recommendation. the compressed video and audio signals are multiplexed together with additional control information into a single communication link. the multiplexing is specified by the h.223 recommendation (see figure 3 ). figure 3 in order to make the best possible use of the total bandwidth and obtain the best possible video quality, the audio should require only a small fraction of the total data rate. this is made possible by using parametric compression techniques such as acelp (5.3 kbit/s) or mp-mlq (6.3 kbit/s). above all, the corresponding norm (g.723) is an internationally adopted standard, so that compatibility between equipment from different manufacturers is ensured.
psb 7230 introduction semiconductor group 17 data sheet 1998-07-01 1.6.1 h.324 desktop videoconferencing solution for pots an h.324 desktop videoconferencing solution for pots (plain old telephone system) line as a pci card for commercial pcs is shown in figure 4 . figure 4 the connection to the pots line can be done either by an on-board modem or an external v.34+ modem that is capable of synchronous data transfer. in the case of the modem on board, the videophone can be regarded as an add-on modem feature. the jade an and the video codec chip (e.g. the video communication processor vcp from 8 8 inc.) constitute the heart of the videophone. both (together with the modem) are connected to the pc via a pci bus interface (e.g. the vpic of 8 8 inc.). the jade an compresses/decompresses audio according to the itu-t standards g.723 (5.3 and 6.3 kbit/s) and g.711 (used in e.g. lan applications) and runs a fully inband controlled protocol on the interface to the video codec. it receives/transmits uncompressed audio via the iom-2 interface from/to the arcofi-sp. the jade an is setup for this application automatically after a hardware reset, so no additional initialization by a host is required. since the jade an has all its memories on chip, no external sram needs to be connected. iom-2 host pci bus video in sram video capture sram/dram video out pal/ntsc camera jade an siemens psb 7230 arcofi-sp siemens psb 2163 mpeg 1 pci bus interface video codec v.34+ modem *) (synchronous access) ........ tip/ring tip/ring *) either an on-board modem or an external modem may be used stereo dac optional alis siemens psb 4595/ psb 4596 isar 34 siemens psb 7115
psb 7230 introduction semiconductor group 18 data sheet 1998-07-01 the arcofi-sp (audio ringing codec filter) is a hands-free codec for 3.1 khz voice which performs detection and elaborate balancing of the received and transmitted audio to suppress undesirable effects due to acoustical feedback of the signal from the remote subscriber. the quality obtained is very close to that of echo-free full duplex conferencing. the video is captured by a pal/ntsc camera and digitized and demodulated e.g. by a standard saa7110 which is directly connected to the video processor. alternatively, a digital camera may be used, which can be connected directly to the video processor. the video processor compresses and decompresses video according to the itu-t standards h.263 and multiplexes/demultiplexes video, audio and data according to h.223. the video processor uses drams and srams to store data and program code. the h.223 multiplexed data stream is either sent via the pci interface to an external v.34+ modem or via host or iom-interface to an on-board modem (e.g. siemens isar-34 (psb7115) and alis (psb 4595/4596)). the modem must be able to work in synchronous mode, i.e. the h.223 multiplexed data shall be applied directly to the v.34+ synchronous data pump. when an external, non-integrated v.34+ modem is utilized, control between the modem and the terminal shall be via itu-t v.80. for the on-board modem the isar 34 constitutes the data pump transferring the data with 33.6 kbit/s in both directions. the alis chipset substitutes the conventional codec and daa circuit. since the alis it is a programmable solution, it can be configured by software to fit the approval requirements of all different countries, thus one hardware solution can be produced for all markets over the world. the decoupling between line and modem is done by capacitors instead of transmformers, thus offering very small size and low cost implementations. to achieve lip synchronization, the audio may be delayed with respect to the video. this is necessary because of the higher transmission delay caused by the video signal, due to the elaborate h.263 video compression. a delay of approximately 0.5 seconds is enough in most practical cases. to make maximum use of the existing memory in the system, the delay is performed by the video processor with its external rams. when decoding mpeg bitstreams, the audio d/a conversion is provided by a stereo audio dac.
psb 7230 introduction semiconductor group 19 data sheet 1998-07-01 1.6.2 low cost h.324 desktop videoconferencing with software video a low-cost solution of the previous board does the video encoding/decoding in software on the host. see figure 5 for low-cost h.324 desktop videoconferencing. figure 5 the v.34+ modem can be either on board, thus building a modem with additional videophone functionality, or an existing external modem can be used. for a description of the isar-34 data pump and the alis programmable codec and daa worldwide solution see chapter 1.6.1 . the audio compression is done by the jade an, thus providing high quality audio without noise or gaps when the operating system of the host processor is busy. for example when opening a dos-shell in a microsoft windows ? operating system, the jade an enables the system to have continous audio without gaps or clicks. iom-2 host pci bus video in video capture pal/ntsc camera jade an siemens psb 7230 arcofi-sp siemens psb 2163 pci bus if siemens szb 6120 v.34+ modem *) (synchronous access) ........ tip/ring *) either an on-board modem or an external modem may be used video compression by software on host tip/ring alis siemens psb 4595/ psb 4596 isar 34 siemens psb 7115
psb 7230 introduction semiconductor group 20 data sheet 1998-07-01 1.6.3 lan videoconferencing for videoconferencing over lan, usually high bandwidth is available, thus resulting in an advantage of hardware videocoding versus software video coding. in addition, high audio quality with acoustic echo cancellation is requested. see figure 6 for a lan videoconferencing board. figure 6 since the line connection is off-board, all kinds of connections (isdn h.320, pots h.324 or lan h.323) can be used with a single board. the lan standard h.323 implements a correction mechanism for non-guaranteed quality of service, thus enabling also videoconferencing via internet. the audio input/output in this example is done via the siemens arcofi ba (psb 2161) and the siemens ace (psb 2170), an acoustic echo canceller which implements two different algorithms (switchable) for minimum delay and maximum performance. an mpeg playback possibility is optional in this example and can be skipped to reduce costs. host pci bus video in sram video capture sram/dram video out pal/ntsc camera jade an siemens psb 7230 arcofi ba siemens psb 2161 stereo dac optional mpeg 1 pci bus interface video codec lan subscriber iom-2 ace - acoustic echo canceller siemens psb 2170
psb 7230 introduction semiconductor group 21 data sheet 1998-07-01 1.6.4 standalone h.324/h.323 videophone the following example shows an h.324 (or h.323) standalone videophone solution for analog telephone line: figure 7 compared to a pci plug-in card a microcontroller, keypad and screen need to be added for a standalone videophone. the initialization and keyboard control is done by the microcontroller. it substitutes the tasks of the host processor in the previous examples. the screen (e.g. standard ccd device) is connected directly to the video codec via a 3 dac. the multiplexing of the video and audio bitstreams (h.223 or h.225) can be either done by the video codec or the microcontroller. arcofi ba siemens psb 2161 ace - acoustic echo canceller siemens psb 2170 iom-2 host video in video capture sram/dram video out pal/ntsc camera jade an siemens psb 7230 micro- controller video codec 3 dac sram eeprom keyboard 123 456 7 8 9 * 0# f3 f2 f1 f4 tip/ring alis siemens psb 4595/ psb 4596 isar 34 siemens psb 7115
psb 7230 introduction semiconductor group 22 data sheet 1998-07-01 the other components are already known from the previous examples, so please refer to the above descriptions for details. 1.6.5 internet telephone access in line card figure 8 shows an internet telephone access implemented in an analog line card of a common tip/ring line. there is no need for the user to buy a special internet telephone. with his old equipment he can use the internet for rate-reduced calls to overseas or to connect to a true internet telephone. at the beginning or even before a new call the user may select between the standard tarif via the switching network and a reduced rate tarif transferring speech via a packetized network such as internet. since the jade an does the voice compression/decompression complying to itu-t g.723 standard, it can connect to any other telephone using the same standard (e.g. microsoft netmeeting). the example below shows a line card with 8 subscribers. the number of jade an to connect to the internet may be selected between 1 and 8 - depending on the statistical usage of this kind of connection. alternatively, an internet access with voice compression can also be implemented in the switching network. this may offer an even better statistical distribution, thus optimizing the number of gateways needed. figure 8 . . . 1 4 8 5 . . . sicofi-4 siemens peb 2465 sicofi-4 siemens peb 2465 du dd switching network ... internet gateway jade an siemens psb 7230 g.723 a-/u-law or 16-bit linear a-/u-law or 16-bit linear a-/u-law or 16-bit linear g.723 g.723 jade an siemens psb 7230 jade an siemens psb 7230 internet line card
psb 7230 introduction semiconductor group 23 data sheet 1998-07-01 the same principle may also be used for isdn lines, thus connecting common isdn telephones to internet phones like microsoft netmeeting or using the internet for rate-reduced overseas connections. demonstration board designs for demonstration board designs containing the mentioned components please contact siemens.
psb 7230 general architecture and functions semiconductor group 24 data sheet 1998-07-01 2 general architecture and functions 2.1 architecture figure 9 shows a sketch of the psb 7230 architecture with its most important functional modules. figure 9 the audio processing of the psb 7230 is based on a 16-bit fixed point dsp core, spcf (signal processor core fast) . the clock generator is responsible for generating the internal clocks for the spc. a baud rate generator provides an output clock of programmable rate. the parallel host interface is used to control the circuit through an associated host via interrupt handshake procedures. alternatively, the circuit can be controlled via the serial audio interface, thus enabling stand-alone applications to be implemented. communication between the host, if used, and the dsp is interrupt supported, via a full- duplex 64-byte on-chip communication memory mailbox . brg clock gen iom/ pcm serial audio i/f mon, c/i control dsp core sclk sr st rfs tfs dd du dc l gp(0:3) reset xtal1 cl ko cs# ad(0:7) wr# rd# al e parallel host interface 8 k w data x-rom intr# xtal2 int# sio 2 k w d ata x-ram 32 k w p r o g r a m rom audio serial data channels rec 1 trm 1 1 kw data y-ram mail bo x 256-bytes 1 kw data x-ra m co nfig/control registers gpio i/f ca (0: 1 5) cd (0:1 5) c wr # crd # cd s# cp s# ex ternal memory interface
psb 7230 general architecture and functions semiconductor group 25 data sheet 1998-07-01 one receive and one transmit audio channel are provided. they are input/output on the isdn oriented modular (iom-2) or the serial audio interface (sai) interfaces in individually programmable time-slots. these channels are accessed from the dsp and/ or the parallel host interface. the serial data controller channels can be serviced by the dsp or the parallel host interface. the serial data for the serial data controller is located in programmable time- slots on iom-2 and/or sai.
psb 7230 general architecture and functions semiconductor group 26 data sheet 1998-07-01 2.2 functions 2.3 summary of the functions the main functions implemented by the psb 7230 are: C g.723 v5.1 compression/decompression (6.3, 5.3 kbit/s) C g.711 compression/decompression (64 kbit/s) C accepts/outputs uncompressed audio 8-bit pcm a/ m law or 16-bit linear format C uncompressed/compressed audio switchable between different interface combinations (iom/serial audio interface, iom/host, host/host) C inband controlled h.221/h.223 oriented audio protocol, e.g. for direct serial connection to videocodec (vcp of 8 8 inc., formerly iit inc.) C outband controlled audio protocol with optimized data rate C stable reaction on interrupt handshake timing violations of e.g. a slow host (windows ? pc) details about these functions are given in chapter 2.3.1 . for more details on the hardware (necessary for a better understanding of some of the topics described in the present chapter), please refer to the other chapters of this data sheet. 2.3.1 audio functions and supplementary features general the uncompressed/compressed audio is applied to the interfaces as follows: transparent means that data is received/transmitted in a time-slot without protocol. table 9 uncompressed audio compressed audio iom-2 (transparent) sai (h.221/223 oriented audio protocol or transparent) iom-2 (transparent) host if (interrupt handshake protocol with minimized interrupt load for the host) host if (interrupt handshake protocol) host if (interrupt handshake protocol)
psb 7230 general architecture and functions semiconductor group 27 data sheet 1998-07-01 full duplex g.711 encoding/decoding of one audio channel audio coding according to itu-t g.711 recommendation using pulse code modulation (pcm, 64 kbit/s). a logarithmic function is used for coding of 8 khz audio samples, thus offering a nearly constant s/n over the whole amplitude range. two different laws are defined known as a- and m -law. full duplex g.723 encoding/decoding of one audio channel audio coding according to itu-t g.723 recommendation using multipulse maximum likelihood quantization (mp-mlq, 6.3 kbit/s) or algebraic code excited linear prediction (acelp, 5.3 kbit/s). the high pass filter and the postfilter of the g.723 may be independently switched on or off. the implementation complies with the newest itu-t c-code v5.1 and contains voice activity detection (vad), comfort noise generation (cng) and discontinous transmission (dtx). serial h.221/223 oriented audio protocol. the psb 7230 supports a serial h.221/223 oriented inband controlled audio protocol for direct connection to a videocodec (e.g. vcp of 8 8 inc.), which means the control data for compression mode, volume etc. is sent in a header preceeding the compressed data. this protocol provides an outband synchronization of the audio bit streams by using block structures for the compressed audio data.
psb 7230 interfaces and memory organization semiconductor group 28 data sheet 1998-07-01 3 interfaces and memory organization 3.1 interfaces 3.1.1 iom-2 interface electrical interface the iom-2 interface is a 4-wire interface with two data lines (dd and du, programmable open drain or push-pull), a data clock line (dcl input/output) and a frame sync signal (fsc input/output). the data clock is by default equal to twice the data rate ( double rate). however, dcl may be set equal to the data rate (single rate) by programming. in terminal applications, the bit rate on the interface is normally 768 kbit/s, in line card applications it is 2048 kbit/s (for details, see iom-2 interface reference guide). however, the data rate may be different (between 16 kbit/s and 4.096 mbit/s and the dcl rate correspondingly between 16 khz and 4.096 mhz), since the interface can be considered as a general purpose tdm (time-division multiplex) highway. the total number of time slots on the interface is not explicitly programmed: instead, the fsc signal (at repetition rate 8 khz) always marks the tdm physical frame beginning. see figure 10 for both iom clock rates (crs = 0/1). figure 10
psb 7230 interfaces and memory organization semiconductor group 29 data sheet 1998-07-01 channels the following channels may be programmed on the iom-2 interface: one receive audio channel, one transmit audio channel, one monitor channel, two c/i channels, one receive and one transmit data channel: the transfer of voice samples is performed with the help of an interrupt with repetition rate 8 khz derived from the fsc signal. a double-buffered register is provided for each channel, accessible from the dsp and from the parallel host interface. the double buffered register ensures that enough time is always provided for reading and writing data before an overflow/underflow occurs, independent of the location of the time-slots. alternatively, the audio samples can be transferred between the dsp or host and iom-2 by using an interrupt generated when a programmable number (1 32) of bits are shifted out (number independent of the time-slot length on the line). outside the time slots where transmission takes place the du and dd lines are in high impedance. dcl bits on du/dd are clocked out with the rising edge of dcl and latched in with the falling edge of dcl. frequency 16 khz to 4.096 mhz. fsc (8 khz) marks the beginning of the physical frame on du and dd. the first bit in the frame is output after the rising edge of fsc. the first bit in the frame is latched in with the first falling edge after fsc has gone high if crs = 1, or after the second edge (at 3/4) if crs = 0. audio receive channel audio transmit channel independently programmable on dd or du, with programmable locations (start at bit 1 512) and lengths (1 32 bits) w.r.t. fsc monitor channel programmable on dd(in)/du(out) or dd(out)/du(in), with programmable time-slot (3rd byte in multiplex 0 15) after fsc two c/i channels programmable on dd(in)/du(out) or dd(out)/du(in), with programmable length (4 or 6 bits) and position (4th byte in multiplex 0 15) after fsc data receive and transmit channels independently programmable on dd or du, with programmable locations (start at bit 1 512) and lengths (1 256 bits) w.r.t. fsc
psb 7230 interfaces and memory organization semiconductor group 30 data sheet 1998-07-01 3.1.2 serial audio interface the serial audio interface is a generic 5-line serial interface with the following lines: figure 11 shows an example where rfs is input and tfs is output. figure 11 sclk serial bit clock input or output sr serial receive input/output st serial transmit input/output rfs receive frame sync input or output tfs transmit frame sync input or output.
psb 7230 interfaces and memory organization semiconductor group 31 data sheet 1998-07-01 sclk is derived from the chip-internal dsp clock via a programmable baud rate generator (division factor 1, 2, 3 1024). the receive frame sync (rfs), when programmed as output, has two selectable modes of operation: Cin the continuous mode (cont = 1), pulses are continuously generated, separated by a distance 16 (prd + 1) bits from each other, where prd = 0 255. Cin the burst mode (cont = 0), pulses are generated upon command a programmable number of times (rep + 1 : 1 1024), spaced 16 bits apart from each other. the same applies to tfs when it is an output. sclk input or output bits on sr/st are clocked out with the rising edge of sclk and latched in with the falling edge of sclk. when sclk is programmed as output, it is derived from a programmable baud rate generator. rfs input or output marks the beginning of the physical frame on sr. when input: sampled with a falling edge of sclk when output: clocked out with the rising or falling edge of sclk (duration = 1 sclk period). repetition rate (continuous mode) or number of pulses (burst mode) is programmable tfs input or output marks the beginning of the physical frame on st. when input: sampled with a falling edge of sclk when output: clocked out with the rising or falling edge of sclk (duration = 1 sclk period). repetition rate (continuous mode) or number of pulses (burst mode) is programmable
psb 7230 interfaces and memory organization semiconductor group 32 data sheet 1998-07-01 channels 3.1.3 parallel host interface the parallel host interface can be selected to be either of the 1. motorola type with control signals cs , r/w , ds 2. siemens/intel demultiplexed bus type with control signals cs , wr , rd 3. or of the siemens/intel multiplexed address/data bus type with control signals cs , wr , rd , ale the selection is performed via pin ale as follows: ale tied to v dd ? (1) ale tied to v ss ? (2) edge on ale ? (3) the occurence of an edge on ale, either positive or negative, at any time during the operation immediately selects the multiplexed bus type. a return to one of the other is possible only if a hardware reset is issued. 3.1.4 external memory interface the external memory interface allows the connection of both program and data memories to the psb 7230. the access to either type of memory is determined by the signals cps and cds , respectively. in standard applications, the external memory interface used as a program memory interface is normally not needed, but is reserved for development purposes. the upper 32k half (8000 h - ffff h ) of the address space is reserved for execution of software from external memory. for executing software in the lower address range 0000 h - 7fff h , a control line ea (external access) determines whether program is fetched from internal or external memory. thus, in standard applications, the ea line should always be high. the dsp program execution can be controlled from the outside by loading the pc-counter of the dsp via the parallel host interface. audio receive and transmit channels independently programmable on sr, st, du or dd with programmable locations (start at bit 1 512) and lengths (1 32 bits) with respect to rfs/tfs data receive and transmit channels independently programmable on sr, st, du or dd with programmable locations (start at bit 1 512) and lengths (1 256 bits) with respect to rfs/tfs
psb 7230 interfaces and memory organization semiconductor group 33 data sheet 1998-07-01 the external memory interface implements: C protection against reading the internal rom. 3.1.5 clock interface the chip internal clock is derived from a crystal connected across xtal1,2 or from an external clock input via pin xtal1. two different clock options are provided, controlled by the clock mode pin cm1. these clock modes are: after reset the pin clko outputs a frequency of 7.68 mhz, independent of the selection of cm1 bit. alternatively, clko can be programmed to output the frequency of a programmable divider (ckos bit in register 2002 h ). thus, a clock of frequency equal to the internal clock divided by a programmable baud rate factor (1, 2, 3 2 19 ) can be generated. when using the pll (cm1 = 0), it is made sure that during reset phase clko delivers a continuous 7.68 mhz clock. when using the non-pll mode (cm1 = 1) clko goes low while reset phase. cm1 = 0 the internal clock circuitry generates a frequency 4.5 times the input on xtal1(,2). the internal frequency required is 34.56 mhz and is obtained by providing a frequency of 7.68 mhz on xtal1 input. cm1 = 1 the internal frequency is directly input via xtal1(,2). when using a crystal, a 34.56 mhz crystal swinging at its basic harmonic has to be connected to xtal1,2.
psb 7230 interfaces and memory organization semiconductor group 34 data sheet 1998-07-01 3.2 shared memories note: the absolute addresses for the different internal register banks and memories are given here and in the rest of this data sheet both as seen from the host and from the embedded dsp, the latter information being included for the sake of completeness only. directly accessible register bank (darb) the host accesses directly via its 8-bit address bus the so-called directly accessible register bank (darb) located between dsp addresses 3000 h and 30ff h . figure 12 this area is in turn divided into four blocks of 64 bytes each according to their functions. an overview of the functions of these 64-byte areas is given in figure 13, please refer also to the appropriate chapters for a detailed description. 1. locations for reading and writing samples in real time from/to the serial interfaces (iom-2 and serial audio interface) - input/output area 2. area for communication between the host and the embedded dsp, for programming parameters and reporting status conditions - dsp/host com area 3. register bank for serial data controller - accessed by host if hha1 (configuration bit) is 1 - sdata 4. reserved for future expansion.
psb 7230 interfaces and memory organization semiconductor group 35 data sheet 1998-07-01 figure 13 not all the addresses in each of these 64-byte areas are used. the functions of the register bank are detailed in the following paragraphs.
psb 7230 interfaces and memory organization semiconductor group 36 data sheet 1998-07-01 3.3 directly accessible register bank 3.3.1 input/output registers this area contains the locations for receiving/transmitting real-time audio and data between the serial interfaces (iom-2 and serial audio interface) and the host (or embedded dsp). the psb 7230 implements one receive and one transmit audio channel, denoted rc1 and xc1, respectively. further, one receive and one transmit channel is provided to access the serial data receiver input data and the serial data transmitter output, respectively, called hr1 and hx1. transfer of audio samples is interrupt supported, whereby two possibilities are provided: C interrupt status generated after a programmable number of bits (1 32) have been shifted in/out; C interrupt indicating the start of a physical frame (normally at 8 khz, either from fsc, rfs or tfs frame sync pulses): in this case the number of significant bits depends on the time-slot length programmed for that channel on the line (du/dd/sr/st). the interrupt statuses may generate a maskable interrupt on the high priority interrupt lines intr (host) and/or int0 (embedded dsp), respectively. rc1, xc1, hr1, hx1 channel registers are located in the address range 00 h - 3f h for the host, and in the memory mapped area 3000 h - 303f h for the dsp. the register banks for the host and the dsp are physically separate from each other. the read registers and write registers are physically separate. the addresses for these registers are such that a 32-bit sample can be accessed from the dsp via only two 16-bit read/write operations (16-bit data bus). from the host, the access is byte by byte (8-bit data bus). list of registers rc1: 32-bit register for audio receive channel 1 (read) xc1: 32-bit register for audio transmit channel 1 (write) hrr1: 32-bit register for reading data from data receiver input shift register hrw1: 32-bit register for writing data to be loaded into data receiver input hxr1: 32-bit register for reading data from data transmitter output hxw1: 32-bit register for writing data to data transmitter output shift register
psb 7230 interfaces and memory organization semiconductor group 37 data sheet 1998-07-01 memory map figure 14
psb 7230 interfaces and memory organization semiconductor group 38 data sheet 1998-07-01 alignment of data for audio channel the most significant bit is always the first bit received/transmitted. therefore, if audio is processed in units of n bits (n programmable between 1 and 32), the alignment of the data for receive and transmit audio channels in the registers is as shown in figure 15 . figure 15 alignment of data for serial data channel in the serial data controller the reception/transmission of most significant or least significant bit can be selected by control switches (rmsb, xmsb). nevertheless, for serial data communication, the convention is that the least significant bit of user data is received/transmitted first. in order to have an identical format for the data in the serial controller input/output registers as in the fifos, the data is aligned in the registers as shown below (the available options for data unit sizes when pre/postprocessing data are: 1, 2 or 4 bytes). figure 16
psb 7230 interfaces and memory organization semiconductor group 39 data sheet 1998-07-01 3.3.2 dsp/host com area the dsp/host communication area contains the registers to support hardware and software interrupts and special purpose registers that support communication between the embedded dsp and the host, in particular for indirect programming of the configuration and control registers from the host (see figure 16 ). 3.3.2.1 access to dsp/host com area the address mapping in multiplexed mode is given in table 10 . table 10 address mapping of dsp/host com area (multiplexed mode) dsp address dsp write (always 16bit wide) dsp read (always 16 bit wide) host address ad0-7 host write (always 8bit wide host read (always 8bit wide) ff h - fe h reserved reserved fd h - fc h reserved reserved 77 h acknowledge int msb 3076 h acknowledge int 76 h acknowledge int lsb 75 h interrupt int mask msb interrupt int status msb 3074 h interrupt int mask interrupt int status 74 h interrupt int mask lsb interrupt int status lsb 73 h acknowledge intr 3072 h acknowledge intr 71 h interrupt intr mask msb interrupt intr status msb 3070 h interrupt intr mask interrupt intr status 70 h interrupt intr mask lsb interrupt intr status lsb 6c h reserved reserved 6a h reserved reserved
psb 7230 interfaces and memory organization semiconductor group 40 data sheet 1998-07-01 the functions of these registers are described below. 3061 h cntrl dsp ? host msb cntrl host ? dsp msb 61 h cntrl host ? dsp msb cntrl dsp ? host msb 3060 h cntrl dsp ? host lsb cntrl host ? dsp lsb 60 h cntrl host ? dsp lsb cntrl dsp ? host lsb note: read and write accesses to 3060 h and 3061 h from the dsp are 8bit wide only. 3058 h ind interrupt status indb (lsbit) 58 h indb (lsbit) ind interrupt status 3050 h inhb (lsbit) inh interrupt status 50 h inh interrupt status inhb(lsbit) 4c h mailbox io write mailbox io read 4a h mailbox write address 48 h mailbix read address 47 h ext. memory data high 46 h ext. memory data low 45 h ext. memory addr high 44 h ext. memory addr low 3041 h reg data dsp ? host reg data host ? dsp 41 h reg data host ? dsp reg data dsp ? host 3040 h rdy(lsbit) conf/cont reg address 40 h conf/cont reg address rdy(lsbit) table 10 address mapping of dsp/host com area (multiplexed mode) (contd) dsp address dsp write (always 16bit wide) dsp read (always 16 bit wide) host address ad0-7 host write (always 8bit wide host read (always 8bit wide)
psb 7230 interfaces and memory organization semiconductor group 41 data sheet 1998-07-01 indirect access to configuration and control registers writing of hardwired registers (configuration and control registers) in the dsp memory (from 2000 h to 203f h ) can be effected through the parallel host interface. for the last case two directly accessible locations are provided in the dsp/host com area (host addresses 40 h and 41 h ). a write operation in the first of these registers with a command (read/write) and a 6-bit address offset will cause the dsp to read or write a configuration/control register in address space 2000 h - 203f h . the second location (host address 41 h ) contains the data read/written from/to the requested location. the procedure is described in table 11 . dsp address dsp write (always 16 bit wide) dsp read (always 16 bit wide) host address ad0-7 host write (always 8 bit wide) host read (always 8 bit wide) 3041 h reg data dsp ? host reg data host ? dsp 41 h reg data host ? dsp reg data dsp ? host 3040 h rdy(lsbit) conf/cont reg address 40 h conf/cont reg address rdy(lsbit) table 11 for reading a register from address (2000 h + a5:0) host writes byte: 1 0 a5 a4 a3 a2 a1 a0 to address 40 h . this causes rdy bit to be set to 0. internally, an racc interrupt status (int1 line) is generated to the dsp. firmware: dsp reads address 3040 h , recognizes a read access (most significant bit = 1), fetches data from (2000 h +a5:0), writes into 3041 h and sets rdy bit (address 3040 h /40 h ) to 1. after polling rdy bit to be 1, the host can read the data from 41 h , and access 40 h for another operation. for writing a register at address (2000 h + a5:0) host writes data into address 41 h . host writes byte: 0 0 a5 a4 a3 a2 a1 a0 to address 40 h . this causes rdy bit to be set to 0. internally, an racc interrupt status (int1 line) is generated to the dsp. firmware: dsp reads address 3040 h , recognizes a write access (most significant bit = 0), fetches data from 3041 h , writes it into (2000 h + a5:0), and sets rdy bit (address 3040 h /40 h ) to 1. after polling rdy bit to be 1, the host can access 40 h for another operation.
psb 7230 interfaces and memory organization semiconductor group 42 data sheet 1998-07-01 software interrupts for communication between the host software and the dsp software, the soft interrupt registers ind (from dsp to host) and inh (from host to dsp) can be used. interrupt from host to dsp a write operation by the host to address 50 h (inh) causes a maskable inh interrupt status to be generated on int1 to the dsp, and the interrupt host busy bit inhb (address 50 h , readable by host) to be set to 1. having recognized an inh interrupt status, the dsp (firmware) reads address 3050 h (inh). this read operation automatically resets the hint interrupt status bit in the dsp interrupt status register for int1 (address 3074 h ). the inhb bit can be written by the dsp again to 0 to indicate that it is ready to accept a new interrupt from the host, which it would usually (but not necessarily) do after it has read the inh register. the 16-bit control register located at 60/61 h (3060/3061 h ) may contain additional information for the dsp to read after an inh interrupt. please refer to the specific interface procedures for details. interrupt from dsp to host for a soft interrupt from the dsp to the host, the procedure is identical. in this case, the soft interrupt is a maskable interrupt on line int . the interrupt vector is written by the dsp in address 3058 h (ind). simultaneously, the interrupt dsp busy bit indb (address 58 h , writable by host) is set to 1. having recognized an ind interrupt status, the host reads address 58 h (ind), which automatically resets the dint interrupt status bit in the host interrupt status register for int (address 75 h ). the indb bit can be written by the host again to 0 to indicate that it is ready to accept a new interrupt from the dsp. the 16-bit control register located at 60/61 h (3060/3061 h ) may contain additional information for the host to read after an ind interrupt. please refer to the specific interface procedures for details. registers for accessing the external memory in normal operation, the program bus of the dsp is connected via the external memory interface to the external memory bus so that instructions are fetched from an external memory when an address between 8000 h and ffff h is hit, if ea = high. if ea = low, the whole address range is for off-chip programs. if the bit ldmem (see description of configuration and control registers, chapter 5.3 ) is set to 1 and bit dacc is 0 (see description of configuration and control registers, chapter 5.3 ), the external memory interface address and data buses are connected to the outputs of registers address low/high (at host address 44/45 h ) and data low/high (at host address 46/47 h ), respectively. this feature can be used to down-load programs into a memory connected to the psb 7230. when a write access to the data high register (address 47 h ) is detected, this activates the external memory interface write signal cwr for the duration of the host wr signal (independent of any possible wait states in nrw(3:0)).
psb 7230 interfaces and memory organization semiconductor group 43 data sheet 1998-07-01 registers pertaining to the mailbox the function of these host registers is described in detail in the next section. hardware interrupt registers in the following the interrupts for the host are listed, as well as, for completeness, those for the embedded dsp. the interrupts are grouped so that the high priority interrupt statuses may cause a maskable interrupt on intr ( interrupts real-time for host) and/or int0 (dsp), and the lower priority interrupt statuses on int (host) and/or int1 (dsp). high priority interrupts (intr /int0): fsc, rfs, tfs bful1, bemp1, bfhr1, bfhx1 lower priority interrupts (int /int1): sain sdata hint (to dsp) or dint (to host) racc (to dsp only) mdr, mer, mda, mab, cic1, cic2 the active level of intr and int lines is low, of int0 and int1 high. the interrupt line will remain active as long as an interrupt status (if unmasked) is not explicitly acknowledged, or the cause of the interrupt status has not been removed. the registers for the interrupt status as well as the configuration and control registers (from address 2000 h upwards) are described in detail in section 5 .
psb 7230 interfaces and memory organization semiconductor group 44 data sheet 1998-07-01 3.4 mailbox the mailbox is implemented as physically two separate 256-byte memory blocks. only least significant bytes are used. one is read-only by the dsp and write-only by the host, the other is write-only by the dsp and read-only by the host. figure 17 since the two memories are totally independent, data transfer from host to dsp can take place simultaneously with data transfer from dsp to host (full duplex operation). the mailbox is seen from the host as an i/o device. thus, to read or write a byte in the mailbox, the host accesses a single location (separate for read and for write mailbox). the address is given by an address register directly programmable by the host. this address is autoincremented every time an access by the host to the mailbox i/o address is performed. thus, for sequential, fast access, the mailbox is seen as a 256-byte, full duplex fifo. for random accesses to the mailbox the host has to reprogram the address register(s). this is summarized in figure 18 .
psb 7230 interfaces and memory organization semiconductor group 45 data sheet 1998-07-01 figure 18 i/o access from the host to the mailbox (summary) read host programs the desired start address (00 h to ff h ) into address register 48 h . loop: a read access from host to 4c h gives the data from the current location in the read mailbox pointed to by the address register in 48 h . the address register is autoincremented. go to loop. write host programs the desired start address (00 h to ff h ) into address register 4a h . loop: a write access from host to 4c h writes the data into the current location in the write mailbox pointed to by the address register in 4a h . the address register is autoincremented. go to loop. (in the case of overflow, the address register 48 h or 4a h wraps around to 00 h .) software handling of communication via mailbox to indicate that data is ready to be read by the host/dsp, the dsp/host may use a general purpose 8-bit interrupt register located in the host/dsp comm section of the directly accessible register bank (darb), associated with a 16-bit soft command and status word in the same area. this protocol is implemented in software. the same applies for indicating to the host/dsp that data has been read, in other words, the memory in one direction is free. see example below for using the mailbox involving a handshake protocol between the dsp and the host.
psb 7230 interfaces and memory organization semiconductor group 46 data sheet 1998-07-01 simultaneous read/write is not prohibited by hardware, but a handshake mechanism (via ind/inh software interrupt registers with optional control data) is implemented in software. procedure from host to dsp (example): a) host write mailbox (1 to 256 bytes) if free (released by dsp) write word in control register (60 - 61 h ) (e.g. number of bytes in mailbox) write 8-bit vector in inh internally, this causes an int1 interrupt to dsp, which recognizes a soft interrupt (firmware) dsp: services int1 and acknowledges by writing an 8-bit vector in ind host read ind jump into routine pointed to by ind: mailbox release write further data, etc. 3.4.1 dsp/host com area with a demultiplexed host interface the dsp/host communication area contains the registers to support hardware and software interrupts and special purpose registers that support communication between the embedded dsp and the host. in demultiplexed mode, data are available on pins on pins ad(0-7), whereas the address is supplied on pins a(0-3). this mode gives an additional and more microprocessor-like way of accessing the dsp/host com area. the most important registers are accessible via 3 address pins only and by the use of an additional pin (a3) it is possible to access the complete range of the dsp/host com area. the address mapping versus the multiplexed host interface is given in table 12 .
psb 7230 interfaces and memory organization semiconductor group 47 data sheet 1998-07-01 table 12 address mapping of multiplexed/demultiplexed host interface address a0-3 demultiplexed mode data d0-7 address ad0-7 multiplexed mode data ad0-7 host write host read host write host read ff h - fe h reserved reserved fd h - fc h reserved reserved 77 h acknowledge int msb 76 h acknowledge int lsb 75 h interrupt int mask msb interrupt int status msb 74 h interrupt int mask lsb interrupt int status lsb 73 h acknowledge intr 71 h interrupt intr mask msb interrupt intr status msb 70 h interrupt intr mask lsb interrupt intr status lsb 6c h reserved reserved 6a h reserved reserved 61 h cntrl host ? dsp msb cntrl dsp ? host msb 60 h cntrl host ? dsp lsb cntrl dsp ? host lsb 0f h - 0e h reseved
psb 7230 interfaces and memory organization semiconductor group 48 data sheet 1998-07-01 the shaded registers are mapped to the demultiplexed mode and can be accessed in demultiplexed mode by using address pins a(0-2), i.e. addressing 00 h to 07 h . using a3 gives an additional way of accessing the dsp/host communication area by 2 registers only. the address register 08 h is written with the target address (from the multiplexed mode) and the data register 09 h contains the corresponding value or can be written with a new value for the target address. the function of the registers 00h to 07 h is the same as described in chapter 3.3.2.1 . 0d h - 0c h reserved 58 h indb (lsbit) ind interrupt status 50 h inh interrupt status inhb (lsbit) 4c h mailbox io write mailbox io read 09 h data register data register 4a h mailbox write address 08 h address register address register 48 h mailbox read address 07 h interrupt int mask msb interrupt int status msb 06 h cntrl host ? dsp msb cntrl dsp ? host msb 47 h ext. memory data high 05 h cntrl host ? dsp lsb cntrl dsp ? host lsb 46 h ext. memory data low 04 h indb (lsbit) ind interrupt status 45 h ext. memory addr high 03 h inh interrupt status inhb (lsbit) 44 h ext. memory addr low 02 h mailbox io write mailbox io read 01 h mailbox write address 41 h reg data host ? dsp reg data dsp ? host 00 h mailbox read address 40 h conf/cont reg address rdy(lsbit) table 12 address mapping of multiplexed/demultiplexed host interface (contd) address a0-3 demultiplexed mode data d0-7 address ad0-7 multiplexed mode data ad0-7
psb 7230 functional blocks semiconductor group 49 data sheet 1998-07-01 4 functional blocks 4.1 oscillator and baud rate generator clocking modes the clock generator including pll generates the internal master clock derived from an input clock (or crystal) on pins xtal(1:2). because of integrated decoupling capacitors, dc components of the input frequency on xtal(1:2) are filtered out. consequently, for a crystal input (nearly a sinusoid), an internal clock of nearly 50% duty cycle results. the different clock modes available in the psb 7230 are as follows: for the clock generation unit a separate supply voltage pin ( v dda and v ddap ) and a separate ground pin ( v ssa and v ssap ) are provided. the block diagram of the clock circuitry is shown in figure 19 . cm1 = 0 pll is activated by firmware after reset. the internal clock circuitry generates a frequency 4.5 times the input on xtal(1,2). the internal frequency required is 34.56 mhz and is obtained by providing a frequency of 7.68 mhz on xtal1 input. cm1 = 1 pll inactive. the internal frequency is directly input via xtal(1,2). when using a crystal, a 34.56 mhz crystal swinging at its basic harmonic has to be connected to xtal(1,2).
psb 7230 functional blocks semiconductor group 50 data sheet 1998-07-01 figure 19 for a proper initialization the required total length of the reset is 1 ms. note: after a hardware reset, the jade firmware needs to initialize its internal memories and interfaces. the time to do this is less than 10 ms. the user must take care to access the jade only after this initialization phase is completed, i.e. 10 ms after the hardware reset. power-down the actual chip internal clock (dsp clock) is gated with the pu bit in the general configuration/control register. thus, when pu is set to 0 (either via the host or the dsp), clock distribution is stopped and the dsp is disabled. in this mode the power consumption is minimum (software power-down). only an interrupt to the dsp (on int0 or int1) can restart the dsp clock. the initial state of the pu bit is 1. the pu bit is used by the on-chip firmware for the firmware-controlled power-down (see chapter 6.1.3 for details). iom-2 clocks the iom-2 clocking is either provided by separate timing inputs dcl and fsc, independent of the other clocks, or maybe generated by the jade itself (cgen bit in register 202b h ). when generated by the jade, only double rate clocking in te mode (dcl = 1.536 mhz, fsc = 8 khz) is supported. xtal1 xtal2 os cilla to r (se parate power supply) vd da, vs s a /2 for cm1=0 (input 7,68 mhz) x 1 8 /2 34.56 mhz cm1 0 m u x pll/clock generator circuit div ckobr clko 19 1 in t 0 in t 1 or pu 1 => se t p u dsp and dsp clock /256 / t3 t3 14 t3 inte rrupt s ta tus ckoen cm1 ckoen t3 en div cm1 7,68 mhz ckos
psb 7230 functional blocks semiconductor group 51 data sheet 1998-07-01 when input, the dcl clock frequency is either equal to the data rate on dd/du (if clock rate select bit crs = 1) or twice the bit rate (if crs = 0, default value after reset). in the last case it is ensured that the internal iom-2 bit clock has a phase such that output bits on dd/du are correctly clocked out (see figure 20 ). figure 20 clko after reset the auxiliary clock output clko outputs a frequency of 7.68 mhz, independent of the selection of cm1 bit. alternatively, clko can be programmed (via ckos bit in register 2002 h ) to output a frequency obtained from the dsp clock via a programmable baud rate generator (baud rate factor 1, 2, 3 2 19 ). the wide range for the division factor for the clko output allows also for the possibility to use it as a time marker (period on the order of 10 ms to synchronize another device to the psb 7230 time base). when using the pll (cm1 = 0), it is made sure that during reset phase clko delivers a continuous 7.68 mhz clock. when using the non-pll mode (cm1 = 1) clko goes low while reset phase.
psb 7230 functional blocks semiconductor group 52 data sheet 1998-07-01 4.2 audio and data reception/transmission the psb 7230 supports a total of four independent serial i/o-channels: C one receive and one transmit audio channel, and C one receive and one transmit data channel (pertaining to the serial data controller). the four channels are transferred between the dsp and/or the parallel host interface and one of the serial interface lines: dd or du (iom-2), or sr or st (serial audio interface sai). the capacity of each channel is individually determined by programming the time-slot length on the selected serial interface line. timing generation the selection of the line for each of the channels is performed via slin1,0 (00: du; 01: dd; 10: sr; 11: st). the timing logic is driven by the bit clock and frame synchronization signals corresponding to the selected line. these are: the iom-2 timing signals can be input or output of the psb 7230, i.e. the circuit is a slave or master with respect to the iom-2 interface. the selection is done by the cgen bit in register 202bh. the timing on the sai lines sr and st is either input or output. in the case where the timing is internally generated (i.e. the psb 7230 functions as sai master for sr and/or st), a schematic diagram of the generation logic is shown in figure 21 . dcl(/2) and fsc for dd and du sclk and rfs for sr sclk and tfs for st.
psb 7230 functional blocks semiconductor group 53 data sheet 1998-07-01 figure 21 timing generation on sai lines - framesync for the frame sync signal rfs and/or tfs, two basic modes of operation are provided: case 1: if control bit rcont = 1, pulses on rfs are continuously and periodically generated if erfs (enable rfs generation control bit in data controller register bank) is set to 1, of one bit period length and spaced (prd + 1) 16 bits apart, where prd = 0, 1, , 31. note: it suffices that the erfs bits in the serial data controller register bank is set to 1 in order for pulses to be generated. case 2: if rcont = 0, a burst of rep + 1 pulses on rfs is generated, of one bit period duration and spaced 16 bit periods apart when a start command is issued by setting the str bit to 1. rep takes the a value in the range 0 to 1,023. note: (it suffices that the str command in the serial data controller register bank is issued in order for the generation of pulses start.) the same applies for tfs (control bits are etfs and stx). sclk (in) dsp clock div prsc 10 m u x sckin 0 1 baud-rate generator str/erfs 1 rcont rprd/rrep 1 10 rfs(in) 0 1 m u x rfin rfs (out) 0 baud-rate generator stx/etfs 1 tcont tprd/trep 1 10 tfs(in) 1 m u x tfin tfs (out) sclk (out)
psb 7230 functional blocks semiconductor group 54 data sheet 1998-07-01 figure 22 timing generation on sai lines - continuous and burst mode the uses of these modes are as follows: case 1: when the timing is input, or when it is internally generated with tcont = 1, the interface can be used as a general time-division multiplex highway with time-slots of programmable lengths and locations for audio and data. case 2: when the timing is output with tcont = 0, the interface is typically used to transfer messages or blocks of compressed or uncompressed audio or data, preceded by a header of control information pertaining to the transferred data block and synchronous to it. the blocks can be received and transmitted using the serial data controller. an application of this mode of operation is the synchronous transfer of h.221/223 oriented data between the psb 7230 and an attached vcp videocodec. audio channel transfer as mentioned in section 3 , all the serial channels (1 receive audio, 1 transmit audio, and one full-duplex transparent data channel) can be transferred between one of the serial interfaces and the dsp or the host in a flexible manner.
psb 7230 functional blocks semiconductor group 55 data sheet 1998-07-01 the interface to each of the audio channels is a 32-bit wide shift register. in receive direction, when the shift register is filled to a programmable level (up to 32 bits), the whole 32-bit shift register is loaded into the receive channel read register set accessible from the dsp and from the host. simultaneously, a maskable interrupt status is set. similarly, in the transmit direction, transmit channel data is loaded from the write register pertaining to that channel (either from dsp or host register, as selected via a control bit) into the transmit shift register when a selectable number of bits have been shifted out. the buffering of up to 32 bits reduces the reaction time of the dsp software. as an alternative to this, the audio channel data can also be loaded from the shift register to the dsp/host registers (receive direction) and from the dsp/host registers into the shift register (transmit direction) at the occurrence of the frame sync pulse. in this case the number of significant bits in the registers is determined by the time-slot length programmed on the receive/transmit line. the dsp/host has 125 m s to read/write the register while new data is assembled or the contents of the shift register are transmitted, during the following frame (this option could be used for dsp software synchronized on the 8 khz time base). the audio channel registers, each of length 2 words/4 bytes, are (see section 3 ): the relevant parameters for controlling the transfer of the audio channels are (independent for each channel): the maskable interrupt status bits for controlling the transfer are: or optionally: rc1 receive channel 1 xc1 transmit channel 1 en enable channel lmod load mode (either once per frame, or after lbit bits have been received/ transmitted) lbit load bits. gives the number of bits (1 to 32) to be loaded, in multiples of the physical time-slot length. bful buffer full (rc1) bemp buffer empty (xc1) fsc frame sync interrupt (fsc) rfs frame sync interrupt (rfs) tfs frame sync interrupt (tfs)
psb 7230 functional blocks semiconductor group 56 data sheet 1998-07-01 in addition, the control bit hxa1 controls whether the audio transmit channel is loaded into the shift register from the xc1 register accessible from the dsp (hxa = 0) or from the host (hxa = 1). the block diagrams for the receive and transmit audio channels are shown in figure 23 and figure 24 . figure 23 figure 24 *caption to the figures: in receive direction, the input data is loaded from the shift register into dsp accessible read registers and simultaneously into (physically separate) host accessible read registers. in the transmit direction, data is loaded into the shift register from the transmit channel register accessible from the dsp (if hxa = 0) or the register accessible from the host (if hxa = 1). the control bit hxa1 is provided for this purpose.
psb 7230 functional blocks semiconductor group 57 data sheet 1998-07-01 serial data channel transfer the interface between the input of the serial data receiver and the dsp or host, and between the output of the transmitter and dsp or host is in each case a 32-bit long shift register. receiver in lmod(1:0) = 01, 10, 11 in receive direction, when the shift register from the serial line is filled to a programmable level (1, 2 or 4), the whole 32-bit shift register is loaded into the hrr1/2 read registers, physically separate for dsp and host. in the same cycle the contents of the hrw1/2 write register accessible from the dsp (if hhr1/2 = 0) or host (hhr1/2 = 1) are loaded to the hdlc receiver input. in the next cycle the data from hrr1/2 is as a default loaded into hrw1/2 and a maskable interrupt status bfhr1/2 is generated to the dsp and host. the interrupt status is generated to both dsp and host, independent of the setting of hah1/2. if the data in hrr1/2 is to be pre-processed, the hrw1/2 register can be overwritten by the dsp or host before the next 1, 2 or 4 bytes (programmable) have been shifted into the shift register. after reset (rres) when starting the receiver (rac = 1), the reset status data of hrw and hrr is ignored by the receiver, i.e. the contents of hrw1/2 and hrr1/2 are not forwarded to the hdlc receiver, but only the data received from the line. the same applies to the interrupts: a bfhr1/2 interrupt is only generated after the first 1, 2 or 4 bytes of line data are available in the hrr1/2 register. due to this pipeline, a latency occurs in the hdlc/transparent serial data reception, see section below. the start of the reception can be in the same frame (w.r.t. the frame sync signal on the chosen line) as the setting of rac = 1 since the time-slot count logic works independently of rac. in transparent mode (tmo = 1) the reception is only started at the beginning of the time- slot (time-slot aligned). if rac is set to 1 during the selected time-slot, the receiver waits for the beginning of the time-slot in the next frame. receiver in lmod(1:0) = 00 the same applies for lmod = 00, except the pre-processing is not available. the data from the bit-reversal unit is bypassed to the hdlc receiver. in addition, the loading of hrr1/2, hrw1/2 and the generation of the interrupt bfhr1/2 is done like in the other lmods for observation of the data stream by the dsp or host only. thus, the lmod = 00 is identical with lmod = 01, except pre-processing is not available and the receiver latency after reset is shortened, see section below.
psb 7230 functional blocks semiconductor group 58 data sheet 1998-07-01 transmitter in lmod(1:0) = 01, 10, 11 similarly, in the transmit direction, after 1, 2 or 4 bytes (programmable) are shifted out of the shift register, the contents of the hxw1/2 write register accessible from dsp (if hhx1/2 = 0) or host (if hhx1/2 = 1) are loaded into the transmitter shift register. in the same cycle 1, 2 or 4 bytes are loaded from the hdlc transmitter output into the hxr1/ 2 read register, physically separate for dsp and host. in the next cycle the data from hxr1/2 is as a default loaded into hxw1/2 and a maskable interrupt status is generated to the dsp and host. the interrupt status is generated to both dsp and host, independent of the setting of hah1/2. if the data in hxr1/2 is to be post-processed, the hxw1/2 register can be overwritten by the dsp or host before the next 1, 2 or 4 bytes (programmable) have been shifted out of the shift register. after reset (xres), the reset status data of hxr1/2 and hxw1/2 is ignored by the transmitter, i.e. the contents of hxr1/2 and hxw1/2 are not transmitted to the line, but only the data from the hdlc transmitter. in the first cycle after the transmitter has been activated (xac = 1), the data from the hdlc transmitter is immediately passed to the hxr1/2 register for post-processing. the line-transmission is not yet started! in the first cycle after the dsp or host (programmable via hhx1/2) has written the hxw1/2 register with the post-processed value, this value is passed through the bit-reversal unit into the shift register and the transmission is started as soon as the next beginning of the selected time-slot is detected. the start of the transmission can be in the same frame (w.r.t. the frame sync signal on the chosen line) as the setting of xac = 1 and/or the writing to the hxw1/2 register since the time-slot logic works independently of xac. in transparent mode (tmo = 1) the transmission is only started at the beginning of the time-slot (time-slot aligned). if the first write to hxw1/2 happens during the selected time-slot, the transmitter waits for the beginning of the time-slot in the next frame. transmitter in lmod(1:0) = 00 the same applies for lmod = 00, except the post-processing is not available. the data from the hdlc transmitter is after xac = 1 directly passed through the bit-reversal unit into the shift register. in addition, the loading of hxr1/2, hxw1/2 and the generation of the interrupt is done like in the other lmods for observation of the data stream by the dsp or host only. thus, the lmod = 00 is identical with lmod = 01, except post-processing is not available and the transmitter latency after reset is shortened, see section below. the transmission is in this case started by the setting of xac = 1. no write to hxw1/2 is necessary. the start of the transmission can be in the same frame (w.r.t. the frame sync signal on the chosen line) as the setting of xac = 1 since the time-slot logic works independently of xac.
psb 7230 functional blocks semiconductor group 59 data sheet 1998-07-01 in transparent mode (tmo = 1) the transmission is only started at the beginning of the time-slot (time-slot aligned). if xac is set to 1 during the selected time-slot, the transmitter waits for the beginning of the time-slot in the next frame. the serial data channel registers, each of length 2 words/4bytes, are ( section 3 ): the relevant parameters for controlling the transfer of the serial data channels are: the access right to the receiver and transmitter input/output from the dsp or the host (determined bits hhr1 and hhx1) is independent of who is allowed to service the data controller (determined by bits hah1). the maskable interrupt status bits for controlling the transfer are: the block diagrams for the receive and transmit data controller channel are shown in figure 25 and figure 26 . hrr1 data receive read 1 hrw1 data receive write 1 hxr1 data transmit read 1 hxw1 data transmit write 1 lmod(1:0) load mode (access byte by byte without delay, or access in 1, 2 or 4 byte units with a corresponding serial data delay) hhr access to serial data receiver input from dsp (hhr = 0) or from host (hhr = 1) hhx access to serial data output shift register from dsp (hhx = 0) or from host (hhx = 1). bfhr buffer full for data receiver (new data can be read from hrr and written into hrw) bfhx buffer full for data transmitter (new data can be read from hxr and written into hxw)
psb 7230 functional blocks semiconductor group 60 data sheet 1998-07-01 figure 25 caption to the figure the data from the shift register is loaded into dsp accessible read registers and simultaneously into (physically separate) host accessible read registers. data to the receiver is loaded from the transmit channel register accessible from the dsp (if hhr = 0) or the register accessible from the host (if hhr = 1). the control bit hhr1 is provided for this purpose.
psb 7230 functional blocks semiconductor group 61 data sheet 1998-07-01 figure 26 caption to the figure the data from the data transmitter is loaded into dsp accessible read registers and simultaneously into (physically separate) host accessible read registers. data is loaded into the shift register from the transmit channel register accessible from the dsp (if hhx = 0) or the register accessible from the host (if hhx = 1). the control bit hhx1 is provided for this purpose. the access right to the receiver and transmitter input/output from the dsp or the host (determined bit hhr1 and hhx1) is independent of who is allowed to service the data controller (determined by bits hah1). note on time-slots of data communication controller if a time-slot is still active (either in receive or transmit direction) when a new frame sync pulse is detected, the programmed length of the time-slot is not reduced but the time-slot remains active until its end. however, the time-slot count logic for the new frame starts immediately at the detection of the new frame sync pulse. a new time-slot can start immediately after the currently active time-slot has been closed, thus permitting a permanent reception or transmission ( time-slot length = distance between two consecutive frame sync's). the case where time-slot length > distance between two consecutive frame sync's should not occur.
psb 7230 functional blocks semiconductor group 62 data sheet 1998-07-01 note on latency of serial data when the data receiver is enabled (via bit rac), the data receiver is clocked with the serial interface clock even outside the selected time-slot. however, the logic at the input of the data receiver is only clocked with the serial clock during the selected time-slot. consequently, n bits are loaded into hrr register from the serial line after n clock edges inside the selected time-slot (n is equal to 8, 16 or 32 depending on lmod). similarly, data from hrw register is loaded into data receiver only after a certain number of clock edges inside the selected time-slot have occurred. the latency (delay) of received data from the input pin to the data fifo is given in the following as a function of lmod (c ts means the number of clock edges inside the active time-slot, c means the number of clock edges independent of the active time-slot): similarly, latencies apply in the case of the data from the output of the data transmitter fifos to the serial output pin. those are different for the first 1, 2 or 4 bytes (start) and the following bytes (stationary): d t : delay between bfhx1 interrupt status and write to hxw1 register by dsp or host (programmable via hhx1). table 13 receiver delays start & stationary lmod = 00 8 c ts + 9 c lmod = 01 16 c ts + 9 c lmod = 10 32 c ts + 17 c lmod = 11 64 c ts + 33 c table 14 transmitter delays start stationary lmod = 00 10 c 10 c + 8 c ts lmod = 01 11 c + d t 10 c + 16 c ts lmod = 10 19 c + d t 18 c + 32 c ts lmod = 11 35 c + d t 34 c + 64 c ts
psb 7230 functional blocks semiconductor group 63 data sheet 1998-07-01 during reception/transmission the delay is dynamically increased by the number of zero insertions in the path between the line and the data receiver/transmitter. thus, the numbers in the table refer to the beginning and the end of the frame and any state inside a frame when no zero insertions are in the pipeline. the receiver latencies have to be taken into account in systems where the serial clock is not continuous but is immediately disabled after the last serial data bit has been received. the transmitter latencies have to be taken into account in systems where the transmitter shall start transmitting accurately in one special frame (w.r.t. the line frame sync signal), e.g. when the transmission has to be started in the first time-slot of a frame-sync burst.
psb 7230 functional blocks semiconductor group 64 data sheet 1998-07-01 4.3 serial data controller the internal serial data controller of the psb 7230 can be independently serviced C either via the parallel host interface C or by the dsp (spcf). important notes: 1. from the point of view of the end user/system manufacturer, only the servicing of the data controller via the host is of relevance, since the servicing via the dsp is done by on-chip firmware invisible to the end user. 2. if the packet oriented protocol on the serial audio interface used in videophone applications with the vcp (from 8x8, inc.) videocodec is needed, the data controller is serviced by the on-chip firmware, in other words, it cannot be accessed by the host. only in protocols (see section 6.2 ) with the compressed data stream via host interface the serial data controller is available for host usage. the servicing of the data controller via the host and via the embedded dsp are exclusive of each other. the access to the register banks of the data controller is determined by the data controller access from host bit hah1: C when hah1 is 0, the spcf is allowed to access the data register bank, and the host interface bus is disconnected from the data controller; C when hah1 is 1, the host is allowed to access the data register bank, and the spc data bus is disconnected from the data controller. the address space of the data controllers for the host interface bus and for the spc data bus is shown in figure 27 (see also section 5 ): data controller register description): figure 27
psb 7230 functional blocks semiconductor group 65 data sheet 1998-07-01 the received data is stored in the receive fifo so that byte alignment in the fifo corresponds to byte alignment in the serial time-slot (if the length of the time-slot is a multiple of 8 bits). similarly, in transmit direction the byte alignment in the fifo corresponds to the time slot boundaries in the transmit time-slot, if its length is a multiple of 8 bits. when the transmit fifo is empty, idle ( 1) is transmitted during the active time- slot. outside the selected time-slot, the output line is in high impedance state. details on the operation of the serial data receiver the data receive fifo size is 2 32 bytes. one half of the fifo is connected to the receiver shift register while the second half is accessible from the controlling software. the status bits pertaining to the data receiver are: the data receiver is controlled by the following bits: details on the operation of the serial data transmitter the transmit fifo size is 2 32-bytes. one half is connected with the transmit shift register while the other half is accessible via the controlling software. the interrupt status bits pertaining to the data transmitter are: rpf receive pool full 32 bytes of a frame have arrived in the receive fifo. the frame has not yet been completely received. rfo signifies that data has been lost because no room was available in rfifo. rac receiver active when rac is set to 1, storage of bytes in the receive fifo starts time-slot aligned (if the receive time-slot length is a multiple of 8 bits). rmc receive message complete acknowledges a previous rpf status. frees the fifo pool for the next received frame or part of a frame. rres receiver reset resets the data receiver, which goes into an idle state (rac cleared), clears the receive fifo. xpr transmit pool ready one data block may be entered into the transmit fifo. alls all sent. when 1, indicates that the last bit has been transmitted and that the xfifo is empty.
psb 7230 functional blocks semiconductor group 66 data sheet 1998-07-01 the following status bits are provided: the data transmitter is controlled by the following bits: after up to 32 bytes have been written to the fifo, transmission is started by issuing the xf command. the data controller requests another data block by an xpr interrupt status if there are no more than 32 bytes in the fifo. to this the software responds by writing another pool of data and issuing a transmit command xf for that data. if transmission of earlier data (or of a previous frame) is still underway when a new transmission command xf is issued, software access to the fifo is blocked until the first transmission is completed. if the transmit fifo runs out of data, the host will be advised by a transmit data unterrun (xdu) interrupt status. xdov transmit data overflow indicates that more than 32 bytes have been written into the transmit fifo xac transmitter active in transparent mode, when xac is set to 1, transmission of bytes from the transmit fifo starts time-slot aligned (if the transmit time-slot length is a multiple of 8 bits). xf transmit frame initiates transmission of an entire frame, or part of one (up to 32 bytes). xres transmitter reset. resets the data transmitter, clears the transmit fifo and generates an xpr status after the command has been completed. xnew transmitter restart resets the transmitter state machine without any loss of data (i.e. fifo data). the transmission of the current frame can be restarted with the first bit of the start flag.
psb 7230 functional blocks semiconductor group 67 data sheet 1998-07-01 4.4 iom-2 functions the iom-2 functions supported by the psb 7230 are: C layer 1 functions in terms of the frame structure supporting any number n of 4-byte multiplexes (n = 1, , 16), the number is implicitly determined by the dcl clock (see section 2 ) C one monitor channel of programmable location C two c/i channels. see figure 28 . monitor channel figure 28 parameters: c/i channels (2 independent channels) figure 29 slin = 0: monitor transmit data on du, receive data on dd slin = 1: monitor transmit data on dd, receive data on du ch(0:3): monitor channel in 3rd byte of multiplex 0, , 15 (common to receive and transmit channel) (ch(0:3) = 0001 in the example)
psb 7230 functional blocks semiconductor group 68 data sheet 1998-07-01 parameters: 4.4.1 monitor channel protocol use of monitor channel in the case where a local host is present, the monitor channel may be used e.g. for data exchange between the local host and another controller attached to the iom-2 bus. for this purpose the basic monitor channel protocol as explained in this section is sufficient. note: the monitor channel protocol is not implemented on-chip on the psb 7230. the monitor channel protocol has to be implemented via the host: this allows the implementation of data exchange with a remotely located controller. general description of monitor channel protocol the monitor channel consists of 8 bits for the monitor data channel (mon) and 2 bits for the flow control (mx and mr). the transmitter controls the monitor data channel and the mx bit on one line while evaluating the condition of the mr bit on the other line. the receiver evaluates the mx bit of one line and latches its monitor data value. it controls the mr bit of the other line. the monitor channel protocol is shown in the figure below. the hardware performs reception and transmission of monitor channel messages (packets) byte by byte under software control. the received and transmitted monitor channel bytes are stored in the monitor data transmit (monx) register and monitor data receive (monr) register, respectively. the software controls the monitor channel via two control bits in the monitor channel control register: slin = 0: c/i channel transmit data on du, receive data on dd slin = 1: c/i channel transmit data on dd, receive data on du ch(0:3) c/i channel in 4th byte of multiplex 0, , 15, common for receive and transmit channel (ch(0:3) = 0001 in the example) cil: c/i channel length is 4 bits (0) or 6 bits (1) dll: double last look yes (1) or no (0) mre monitor channel receiver enable mrc mr bit control mxc monitor channel transmitter control.
psb 7230 functional blocks semiconductor group 69 data sheet 1998-07-01 the monitor channel status is reported to the software via four bits in the monitor channel status register: inactivity the transmitter indicates its inactivity with the idle state of the mx bit (1) and by transmitting the value ff h (or high impedance) in the monitor data channel. the receiver responds to this inactivity via the idle (1) condition of the mr output bit. monitor packet transfer the message transfer starts when the transmitter transmits the value of the first byte of the monitor data channel and sets the mx bit to its active state (0). the mx bit remains active until the receiver acknowledges the data or the transmitter software aborts the transmission. the receiver recognizes the change of the mx bit to the active state and latches the contents of the monitor data channel. since the monitor channel address is always transmitted as the first byte of a message, all receiving devices compare (per hardware or software) the first value with their own address. if a device recognizes its address it acknowledges the data by changing its mr bit to the active state (0). the transmitter recognizes this change and can now transmit the next byte of the message. this is done by transmitting the value in the monitor data channel and setting the mx bit to the inactive, idle (1) state for one frame and then changing it back to the active (0) state. the receiver recognizes the transition of mx from the inactive to the active state and latches the contents of the monitor data channel. the receiver acknowledges the data transfer by setting the mr bit to the inactive (1) state for one frame and then back to the active (0) state. this procedure is repeated until all the data is transferred. once the receiver has acknowledged the last value the transmitter switches its mx bit and the monitor channel into the idle (1) state. the receiver recognizes this idle state after it has received two consecutive frames with an idle mx bit and will then set its own mr bit in the idle (1) state. the transmitter recognizes the change of the mr bit and indicates the idle condition after the second frame. if the receiver wants to abort a transmission, then it will set its mr bit into an idle (1) condition. the transmitter recognizes the abort condition after the second frame with an idle mr bit and switches its mx bit and the monitor data channel to idle. mdr monitor channel data received mer monitor channel end of reception mda monitor channel data acknowledged mea monitor end of acknowledgement mab monitor channel abort.
psb 7230 functional blocks semiconductor group 70 data sheet 1998-07-01 figure 30 note: for simplification of the diagram the states of mx and mr are shown as 0 or 1 during the entire 125 m s frame without regard to the bit positions they actually occupy. software handling of monitor channel transmission the idle state of the transmitter is maintained when the mxc (monitor channel transmit control) bit is 0. in order to transmit the first byte, its value is written into the monx (monitor channel transmit) register. after the mxc bit is set to 1, the monitor channel hardware sends the byte from monx and controls the mx bit accordingly (mx:1 ? 0). when the hardware detects the acknowledgment from the other end (received mr bit = 0), it will set the mda (monitor data acknowledged) bit. when this is detected by the software, it writes the next byte in monx register. this byte is sent and the mx bit controlled accordingly. the acknowledgment by the other end is again indicated by the mda status bit. this procedure is repeated until all the data is transmitted. after the last mda status the software sets the mxc bit back to 0 and the transmit channel including the mx bit returns to the idle state. if an abort request from the receiving end is detected by the hardware, the mab (monitor channel abort) status bit is set. in the psb 7230 the monitor channel transmitter implements the so-called maximum speed option of this protocol, whereby the acknowledgment of every byte (except the first) by the receiving end is anticipated. this means that an mda interrupt status is generated as soon as the received mr bit is detected to go from 0 to 1. transmission of the next byte is started as soon as the software has reacted to this interrupt. thus a maximum transfer speed of 32 kbit/s can be obtained.
psb 7230 functional blocks semiconductor group 71 data sheet 1998-07-01 each data byte is transmitted at least twice (only twice if the receiver is fast enough so that the transmitter works at maximum speed), namely once when mx is 1, and once when mx is 0 in the next frame. the only exception is the first byte, which is transmitted in three consecutive frames (where mx = 1, 0, 0, respectively). in order for the transmitter to recognize that the receiver has correctly acknowledged the last byte, the interrupt status mea is set after the received mr bit is received at 1 in two consecutive frames (interrupt status different from mab). the condition for generating an mea interrupt status is the recognition of a mr = 0, 1, 1 sequence when mxc = 0 . figure 31 figure 31 shows the general case, figure 32 the maximum speed case. software handling of monitor channel reception the receiver of the monitor channel is controlled via the mre bit. as long as the mre bit is zero, no evaluation of the received mx bit is done. if the mre bit is set to 1, then the monitor channel hardware waits for a start of a monitor packet. when the start of a packet is recognized with a monitor byte matching monitor receive address, acknowledgement can be enabled by the software by setting the mr control bit mrc
psb 7230 functional blocks semiconductor group 72 data sheet 1998-07-01 to 1. the hardware performs acknowledgement by setting the transmitted mr bit to 0. upon the reception of the next byte the hardware sets the mdr status bit. when the monitor byte is read from the monr register, this byte is acknowledged via transmit mr = 0. every new byte is similarly indicated by the mdr status, and acknowledged after a read of the monr register. if the hardware recognizes the end of a packet, it indicates this via the mer status (mre = 1). the receiver of the psb 7230 does not perform a double-last-look check on the received data (i.e. compare the data received while mx = 0 with the data in the previous frame with mx = 1). when mrc = 0, it is made sure that the receiver only receives the first byte of a packet and does not latch any further bytes in monr until the beginning of the next packet. thus the conditions for latching the first byte of a packet is: (mre = 1) & (mx = 0 after having been 1 in at least two consecutive frames). any further bytes are latched into monr only if: (mre mrc = 1) & (previously received byte has been read from monr register) & (mx = 0). figure 32
psb 7230 functional blocks semiconductor group 73 data sheet 1998-07-01 figure 33 monitor channel data transfer a hardware model of the monitor channel is shown below. figure 34 *) mrc has to be 1 and monr has to be read before any new value from the same packet is loaded into monr. thus, while mrc = 0, only the first byte of a packet is loaded into monr.
psb 7230 functional blocks semiconductor group 74 data sheet 1998-07-01 4.4.2 c/i channel the two c/i channels are controlled via the c/i transmit (cix) and c/i receive (cir) registers, the c/i channel enable (cien) and the c/i change (cic) interrupt status bit. in addition, an awake (awk) control bit is provided. when this bit is set to 1, the output line is unconditionally low until awk is set to 0 again. this bit is used in isdn terminal applications to wake up the iom-2 interface, i.e. to require clocking to be generated on dcl and fsc by an upstream circuit - typically an isdn s-bus access controller isac-s. when the awk bit is set to 0, the output line is released only after the next fsc pulse has been detected, to avoid sending an invalid code in the outgoing c/i channel. c/i data reception and processing begins after setting cien to 1. it is made sure that no invalid code is sent or receiced. awk overrides any data normally transmitted during the c/i time-slot even if cien = 1. when cien (synchronized with fsc) is 0 and awk (synchronized with fsc) is 0, the outgoing c/i channel is permanently in high-impedance state. the block diagram of the c/i channel handler is shown below. in the receive direction, a change is recognized either using double last look (dll = 1) or not (dll = 0). without double last look a change in received c/i channel is recognized after a new value is recognized once. the new value is loaded into cir for the dsp to read, and a cic interrupt status is generated. if further changes in receive c/i code take place before a previous changed value in cir has been read, the changed values are not loaded in cir. when the first changed value is read by the dsp, the latest changed value is loaded in cir and a cic interrupt status is generated anew. any possible changes that occurred between the first and the latest are thus lost.
psb 7230 functional blocks semiconductor group 75 data sheet 1998-07-01 with double last look a change in received c/i is recognized after a new value is detected in two consecutive frames. this is shown in figure 35 . figure 35 algorithm: current is compared to previous: C if they are not equal, current is loaded into previous, and a new comparison is performed in the next frame. no further actions are taken. C if they are equal, the new value takes the place of confirmed. confirmed is compared to old confirmed: if they are equal, no actions are taken. if they are not equal, confirmed is copied to old confirmed. if cir register has been read, old confirmed is compared to cir: C if they are equal, no actions are taken. C if they are not equal, old confirmed is copied to cir and a cic interrupt status is generated.
psb 7230 functional blocks semiconductor group 76 data sheet 1998-07-01 c/i channel data transfer the block diagram of the c/i channel handler is shown below. figure 36 *) read of the old changed value is the condition of loading of a new changed value. thus, when several changes occur before the first changed value has been read, only the first and the last change are available. fsc dd dcl(/2) time-slot count logic cil cich 1 4 shift register clock 6 bits slin 1 m u x 1 0 du dsp or host c / i c h a n n e l s 1 , 2 : du slin 1 m u x 1 0 dd cien*strobe+awk shift register 6 bits cix 6 6 compare logic load cir read *) dll previous current load cic int status m u x 0 1 0 awk strobe cien 1 dsp or host
psb 7230 functional blocks semiconductor group 77 data sheet 1998-07-01 4.5 programming indirectly accessible registers registers in the memory mapped (dsp x-data ram) area from 2000 h upwards are read and written: C via the parallel host interface by using two registers (conf/cont reg address register at address 40 h /3040 h and conf/control reg data register at address 41 h /3041 h ) 4.5.1 programming via parallel host interface (see also section 3.3.2 ) for writing a configuration/control register (addresses 2000 h - 203f h ), the host writes in the data register the data byte to be written and in the address register the write command: where a(5:0) gives the offset of the register to be written. this causes an racc (register access) interrupt status to the dsp. the dsp software transfers the data byte to the requested address 2000 h + a(5:0) and writes the rdy bit (least significant bit of address 40 h /3040 h ) to 1 again (which was set to 0 by hardware at the time of writing of the address register). by sensing the state of bit rdy the host is able to start a new access to address and data registers when the dsp is ready. for reading a configuration/control register (addresses 2000 h - 203f h ), the host writes in the address register the read command: where a(5:0) gives the offset of the register to be read. this causes a racc (register access) interrupt status to the dsp. the dsp software transfers the contents of the requested address 2000 h + a(5:0) into the data register and writes the rdy bit to 1. bit 7 bit 0 0 0 a5 a4 a3 a2 a1 a0 bit 7 bit 0 1 0 a5 a4 a3 a2 a1 a0
psb 7230 register description semiconductor group 78 data sheet 1998-07-01 5 register description 5.1 interrupt structure as explained in section 3 , the interrupt statuses are grouped on two interrupt lines, high priority and low priority interrupts, respectively. they are: high priority interrupts (intr ) fsc, rfs, tfs bful1, bemp1, bfhr1, bfhx1 lower priority interrupts (int ): sain sdata dint gpi mdr, mer, mda, mea, mab, cic1, cic2 corresponding interrupt status register exist for the internal dsp. the interrupt status registers are physically separate for the host and for the dsp. thus, when an interrupt status is generated, the interrupt status bit is set in both registers. the interrupt status disappears from the interrupt status register when the cause of the interrupt status is removed by the software, or the interrupt is explicitly acknowledged. whenever possible, an interrupt status is made to disappear when the cause of that interrupt status is removed (example: in/out audio data channel interrupts), in order to spare the explicit writing of an acknowledge register address. in other cases the interrupt statuses are explicitely acknowledged by writing a 1 in a virtual acknowledge register. the interrupt status bits have individual mask bits which have no influence on the setting of the interrupt status bits, but only on the generation of the interrupt on the interrupt line. when the mask bit is 0, the generation of the interrupt for the corresponding interrupt status on line intr or int is prevented.
psb 7230 register description semiconductor group 79 data sheet 1998-07-01 5.2 interrupt status registers register map for host interrupts host interrupt status for intr : interrupt mask registers: a 0 in a bit position masks the corresponding interrupt (default value, i.e. after reset). the mask bit affects only the generation of the interrupt, but not the interrupt status bit from being set. bit 7 bit 0 71 h fsc rfs tfs bit 7 bit 0 70 h bful1 0 bemp1 0 bfhr1 bfhx1 0 0 fsc fsc detected rfs rfs detected tfs tfs detected bful1 receive channel sample of programmable length (1 32 bits) available in rc1 bemp1 transmit channel sample of programmable length (1 32 bits) can be written in xc1 bfhr1 data receiver shift register can be read and/or written (1, 2 or 4 bytes) in hr1 bfhx1 data transmitter shift register can be read and/or written (1, 2 or 4 bytes) in hx1 bit 7 bit 0 71 h fsc rfs tfs bit 7 bit 0 70 h bful1 bemp1 bfhr1 bfhx1
psb 7230 register description semiconductor group 80 data sheet 1998-07-01 acknowledge register: the interrupt status bit is reset when the host writes a 1 in the corresponding bit position. the other interrupt status bits are reset when the input/output registers are read or written: host interrupt for int : bit 7 bit 0 73 h fsc rfs tfs bful1 reset when rc1 (address 00 h ) is read bemp1 reset when xc1 (any of 00-03 h ) is written bfhr1 reset when hrr1 (any of 10-13 h ) is read bfhx1 reset when hxr1 (any of 14-17 h ) is read bit 7 bit 0 75 h 0 0 0 sain dint sdata 0 bit 7 bit 0 74 h mdr mer mda mea mab gpi cic1 cic2 sain serial audio input interrupt (from sio line) dint software interrupt from dsp sdata interrupt from serial data controller mdr monitor channel data received mer monitor channel end of reception mda monitor channel data acknowledged mea monitor end of acknowledgment mab monitor channel abort request gpi general purpose interrupt occured cic1 c/i channel 1 change cic2 c/i channel 2 change.
psb 7230 register description semiconductor group 81 data sheet 1998-07-01 interrupt status mask register: a 0 in a bit position masks the corresponding interrupt (default value, i.e. after reset). the mask bit affects only the generation of the interrupt, but not the interrupt status bit from being set. undocumented mask bits must be always set to 0. acknowledge register: the interrupt status bit is reset when the host writes a 1 in the corresponding bit position. the other interrupts are acknowledged as follows: note: since no direct access to the monr, cir1, cir2 and gp int status registers for the host is allowed (these registers are in the configuration and control register area 2000 h upwards), they are read using the procedure via address and data registers as decribed in section 2 C in principle giving the host the possibility to handle the monitor and c/i channels via the dsp. bit 7 bit 0 75 h sain dint sdata bit 7 bit 0 74 h mdr mer mda mea mab gpi cic1 cic2 bit 7 bit 0 77 h sain bit 7 bit 0 76 h mer mda mea mab dint reset when ind int. status register is read sdata reset when serial data controller interrupt register is read mdr reset when monr register is read gpi reset when gp int status register is read cic1 reset when cir1 register is read cic2 reset when cir2 register is read.
psb 7230 register description semiconductor group 82 data sheet 1998-07-01 5.3 indirectly accessible configuration and control registers table 15 summary addr register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 2000 h chip version nr C C vn5 vn4 vn3 vn2 vn1 vn0 2001 h external memory ldmem caen C dacc nrw3 nrw2 nrw1 nrw0 2002 h general config pu crs ckoen ckos ods ckobr18 ckobr17 ckobr16 2003 h clko baud rate2 ckobr15 ckobr14 ckobr13 ckobr12 ckobr11 ckobr10 ckobr9 ckobr8 2004 h clko baud rate1 ckobr7 ckobr6 ckobr5 ckobr4 ckobr3 ckobr2 ckobr1 ckobr0 2005 h sai mode sods sps dse C C sckin prsc9 prsc8 2006 h sclk baud rate prsc7 prsc6 prsc5 prsc4 prsc3 prsc2 prsc1 prsc0 2007 h rfs mode rfin rcont rfe rfsel rfps C rrep9 rrep8 2008 h rfs per/ rep rate rrep7 rrep6 rrep5 rprd4/ rrep4 rprd3/ rrep3 rprd2/ rrep2 rprd1/ rrep1 rprd0/ rrep0 2009 h tfs mode tfin tcont tfe tfsel tfps C trep9 trep8 200a h tfs per/ rep rate trep7 trep6 trep5 tprd4/ trep4 tprd3/ trep3 tprd2/ trep2 tprd1/ trep1 tprd0/ trep0 200b h sio configCCCCCsaiosoutsintc 200c h C 0C000000 200d h C 00000000 200e h C 0 000000 200f h C 00000000 2010 h data cntr access CCCCCChah10 2011 h rec audio ch1 cfg en slin1 slin0 len4 len3 len2 len1 len0 2012 h rec audio ch1 ts ts8ts7ts6ts5ts4ts3ts2ts1 2013 h rec audio ch1 mode ts0 lmod lbit4 lbit3 lbit2 lbit1 lbit0 C 2014 h C 00000000 2015 h C 00000000 2016 h C 0000000C 2017 h tx audio ch1 cfg en slin1 slin0 len4 len3 len2 len1 len0 2018 h tx audio ch1 ts ts8ts7ts6ts5ts4ts3ts2ts1
psb 7230 register description semiconductor group 83 data sheet 1998-07-01 2019 h tx audio ch1 mode ts0 lmod lbit4 lbit3 lbit2 lbit1 lbit0 hxa 201a h C 00000000 201b h C 00000000 201c h C 00000000 201d h sdata ser rec path C C C slin1 slin0 lmod1 lmod0 hhr 201e h sdata ser tx path C C C slin1 slin0 lmod1 lmod0 hhx 201f h C CCC00000 2020 h C CCC00000 2021 h mon ch config C C C slin monch3 monch2 monch1 monch0 2022 h mon ch cntr CCCCCmremrcmxc 2023 h ic mon channel id mad7 mad6 mad5 mad4 mad3 mad2 mad1 mad0 2024 h monitor tx/rec monr7/ monx7 monr6/ monx6 monr5/ monx5 monr4/ monx4 monr3/ monx3 monr2/ monx2 monr1/ monx1 monr0/ monx0 2025 h c/i ch mode CCCCcien1awk1cien2awk2 2026 h c/i ch 1 config C slin cich3 cich2 cich1 cich0 cil dll 2027 h c/i ch 2 config C slin cich3 cich2 cich1 cich0 cil dll 2028 h C CCCCCCCC 2029 h c/i channel 1 CCcir5/ cix5 cir4/ cix4 cir3/ cix3 cir2/ cix2 cir1/ cix1 cir0/ cix0 202a h c/i channel 2 CCcir5/ cix5 cir4/ cix4 cir3/ cix3 cir2/ cix2 cir1/ cix1 cir0/ cix0 202b h iom configCCCCCCfodscgen 202c h pll config 1 m0 cm1 max bypa lock swck pu 202d h pll config 1n4n3n2n1n0m3m2m1 2030 h gp output config C C C C ioc3 ioc2 ioc1 ioc0 2031 h gp direction C C C C iod3 iod2 iod1 iod0 2032 h gp data C C C C ior3 ior2 ior1 ior0 2033 h gp strobe C C C C ios3 ios2 ios1 ios0 2034 h gp int status C C C C ioint3 ioint2 ioint1 ioint0 2035 h gp int mask C C C C ioim3 ioim2 ioim1 ioim0 table 15 summary (contd) addr register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
psb 7230 register description semiconductor group 84 data sheet 1998-07-01 note: vn(5:0) read only (hardwired). mad(7:0) loaded from ad(7:0) at reset, may be written thereafter. monr a read of monr acknowledges mdr interrupt status (for host and for dsp). cir a read of cir acknowledges the c/i change cic int status (for host and for dsp). gp int status a read of gp int status acknowledges the gp io interrupt status (for host and dsp).
psb 7230 register description semiconductor group 85 data sheet 1998-07-01 description of configuration and control registers unless otherwise indicated, all register bits are initialized to 0 after a hardware reset. when read, register bits that are not in use (or reserved for future use) are not defined, i.e. their value may be either 0 or 1. during the initialization phase the firmware does a re-programming on the following registers of the configuration/control block to setup the default configuration for the communication with a video-processor (see chapter 6.2.3.3 ), i.e. the hardware reset values given in the register description below are overwritten by the following values: moreover, the firmware uses registers 2007 h and 2009 h for setting up the appropriate number of frame syncs. the firmware also initialises the pll config registers 202c h and 202d h to its appropriate values in case the pll mode is selected via the cm1 pin. in case the non-pll mode is chosen, the firmware does not use these registers. chip version number register read address 2000 h value after reset: 10 h address data description 2005 h 04 h sclk is an output 2006 h 1b h sclk baud rate = 34.56 mhz/28 = 1.23 mhz 2011 h 8f h receive uncompressed audio: du line, 16 bit linear 2012 h 10 h position of first bit in time-slot: 32 2013 h 42 h interrupt generated after 2 samples of 16 bits stored 2017 h af h transmit uncompressed audio: dd line, 16 bit linear 2018 h 10 h position of first bit in time-slot: 32 2019 h 42 h interrupt generated after 2 samples of 16 bits stored 201d h 10 h data receiver connected to sr line 201e h 18 h data transmitter connected to st line vn(5-0) version number of chip
psb 7230 register description semiconductor group 86 data sheet 1998-07-01 external memory interface register read/write address 2001h value after reset: 00 h ldmem load memory. if ldmem = 0, the external memory interface is connected with the program bus. it is used for connecting an external software ram or eprom. if ldmem = 1, the external memory interface address and data buses are connected to the outputs of registers address low/high (at host address 44/45 h ) and data low/high (at host address 46/47 h ), respectively. this mode is used to download a program into an external ram. caen if ea = 1 and ldmem = 0: enable address lines (ca bus) to external sram for program/data fetch; no meaning in other cases. 0: ca bus switched off, no program/data fetch possible (reset value). 1: ca bus active, external program/data fetch possible. dacc data access, selects program or data memory connected to sram-interface. 0: program memory connected (reset value). 1: data memory connected, can be written by using mov instruction, must be read by using movp. nrw(3-0) number of wait states for external interface. the number of wait states is nrw (1111 b = 0 wait states, 0000 b = 15 wait states), takes the value 0000 b after reset. sram connected for development purpose should be capable of zero wait states.
psb 7230 register description semiconductor group 87 data sheet 1998-07-01 general configuration register read/write address 2002 h value after reset: b0 h clko baud rate registers read/write address 2003 h /2004 h value after reset: 00 h pu power up 0 the dsp clock is turned off. it can be started again with a dsp interrupt 1 normal operation this is the value of pu after a hardware reset. crs clock rate select 0 input dcl is twice the bit rate on iom-2 1 input dcl is equal to the bit rate on iom-2 ckoen clko enable 0 clko disabled (output high-impedance), clko generator initialized and idle. 1 enables generation of clko (value during and after reset) note: when pu is 0 and ckoen is 0, all outputs and input/outputs of the psb7238 are in the high-impedance state. ckos source clock for clko output pin 0 internal dsp system clock is input for divider connected to clko 1 clko outputs the buffered xtal1 clock, may be used to clock e.g. additional jades (value during and after reset) ods open drain select for iom du and dd lines: 0 dd and du are open drain (reset value) 1 dd and du are push-pull ckobr (18-16) most significant bits of baud rate division factor for clko output from dsp clock ckobr(15-0) less significant bits of baud rate division factor for clko output from dsp clock
psb 7230 register description semiconductor group 88 data sheet 1998-07-01 serial audio interface signal register read/write address 2005 h - 200a h value after reset: 00 h sods serial audio interface open drain select for sr and st line 0 sr and st are push-pull (reset value) 1 sr and st are open drain sps sclk polarity select 0 data/frame sync out on rising edge, data/frame sync in on falling edge (if dse = 1, idle position outside strobe = 0) 1 data/frame sync out on falling edge, data/frame sync in on rising edge (if dse = 1, idle position outside strobe = 1) dse data strobe enable (only valid if sclk is output) 0 sclk is permanently active 1 sclk is active only during the programmed timeslots for sr and st. outside the active timeslots, sr and st remain as high-z. the strobe signals of all audio receivers and transmitters to either sr or st line are combined by logical or and anded with internal sclk. sckin serial clock in 0 sclk is an input 1 sclk is an output prsc(9-0) prescaler sclk is derived from the dsp clock by division through prsc + 1 (1 to 1024) rfin rfs in 0 rfs is an input 1 rfs is an output rcont continuous generation of rfs pulses 0 a number of pulses (spaced 16-bit periods from each other) equal to rrep + 1 (1, , 1024) is generated upon an str command (see serial data controller register description) 1 when erfs bit is 1 (see serial data controller register description), continuous pulses on rfs are generated, spaced rprd + 1 (1, , 32) 16-bit words from each other.
psb 7230 register description semiconductor group 89 data sheet 1998-07-01 rfe rfs clock edge 0 when rfs is generated by the psb 7238 (= output), it changes its state at the rising edge of the sclk clock 1 when rfs is generated by the psb 7238 (= output), it changes its state at the falling edge of the sclk clock. rfsel receive frame sync select (only valid if rfs is output) (in both cases the polarity is selected by rfps) 0 single cycle rfs is generated 1 the data strobe is output on rfs pin. this only affects the rfs pin, the internal frame sync is generated and is input to the timeslot count logic of the audio receivers and transmitters connected to sr and st line as in case rfsel = 0. the strobe signals of all audio receivers and transmitters connected tp sr and st line will be combined by logical or. rfps rfs polarity select 0 rising edge marks the beginning of a new frame on the rfs line. 1 falling edge marks the beginning of a new frame on the rfs line. if rfs is an output it is inverted vs. rfps = 0 rprd(4-0)/ period of rfs pulse generation rrep(9-0) number of repetition of pulses when rcont = 0, rrep(9-0) gives the number of pulses (rrep + 1) to be generated, spaced 16 bits apart (up to 1024 pulses). when rcont = 1, rprd(4-0) gives the spacing of continuously generated pulses in 16-bit word increments (up to 32). tfin tfs in 0 tfs is an input 1 tfs is output tcont continuous generation of tfs pulses 0 a number of pulses (spaced 16-bit periods from each other) equal to trep + 1 (1, , 1024) is generated upon an stx command (see serial data controller register description) 1 when etfs bit is 1 (see serial data controller register description), continuous pulses on tfs are generated, spaced tprd + 1 (1, , 32) 16-bit words from each other.
psb 7230 register description semiconductor group 90 data sheet 1998-07-01 tfe tfs clock edge 0 when tfs is generated by the psb 7238 (= output), it changes its state at the rising edge of the sclk clock 1 when tfs is generated by the psb 7238 (= output), it changes its state at the falling edge of the sclk clock. tfsel transmit frame sync select (only valid if tfs is output) (in both cases the polarity is selected by tfps) 0 single cycle tfs is generated 1 the data strobe is output on tfs pin. this only affects the tfs pin, the internal frame sync is generated and is input to the timeslot count logic of the audio receivers and transmitters connected to sr and st line as in case tfsel = 0. the strobe signals of all audio receivers and transmitters connected tp sr and st line will be combined by logical or. tfps tfs polarity select 0 rising edge marks the beginning of a new frame on the tfs line. 1 falling edge marks the beginning of a new frame on the tfs line. if tfs is an output it is inverted vs. tfps = 0 tprd(4-0)/ period of tfs pulse generation trep(9-0) number of repetition of pulses when tcont = 0, trep(9-0) gives the number of pulses (trep + 1) to be generated, spaced 16 bits apart (up to 1024 pulses). when tcont = 1, tprd(4-0) gives the spacing of continuously generated pulses in 16-bit word increments (up to 32).
psb 7230 register description semiconductor group 91 data sheet 1998-07-01 sio configuration register read/write address 200b h value after reset: 00 h data controller access register read/write address 2010 h value after reset: 00 h saio serial audio interrupt line in/out 0 sio line is an input 1 sio line is an output sout serial audio out value. if saio = 1 (sio is output), value of sio line (clocked out with the rising edge of sclk) sintc serial audio interrupt configuration 0 if sio is programmed as input (sio = 0), a falling edge on sio causes an interrupt, if unmasked 1 if sio is programmed as input (sio = 0), a rising edge on sio causes an interrupt, if unmasked. hah1 host access to serial data controller 0 the dsp services the data controller (register set including fifos is inaccessible from host) 1 the host services the data controller (register set including fifos is inaccessible from dsp). this bit determines the access to the register area of the data controller; it is independent of the hhr and hhx bits which determine the access from dsp or host to the serial data input and output, respectively.
psb 7230 register description semiconductor group 92 data sheet 1998-07-01 receive audio channel 1 read/write address 2011 h - 2013 h value after reset: 00 h en enable if inactive (0), no clock is generated for this channel, must be set to 0 during configuration of receive audio channel 1 slin(1-0) select line 00 channel time-slot on du (frame sync fsc, clock dcl or dcl/2) 01 channel time-slot on dd (frame sync fsc, clock dcl or dcl/2) 10 channel time-slot on sr (frame sync rfs, clock sclk) 11 channel time-slot on st (frame sync tfs, clock sclk) len(4-0) length of channel time-slot channel time-slot length in bits = len + 1 (1, , 32 bits) ts(8-0) time slot position position of first bit of time-slot from frame sync (0, , 511) lmod load mode 0 sample of length len + 1 loaded into read register ( from frame-1 ) at the occurrence of frame sync 1(lbit+1) (len + 1) bits are loaded into read register when ready (for software to be accessed via a buffer full interrupt status) lbit(4-0) load bits number of bits in aggregates of (len + 1) loaded into read register when ready, if lmod = 1. the number of bits loaded is equal to (lbit + 1) (len + 1), the corresponding interrupt status is bful1. since the number of bits is 32 maximum, the value of the product (lbit + 1) (len + 1) shall not exceed 32.
psb 7230 register description semiconductor group 93 data sheet 1998-07-01 transmit audio channel 1 read/write address 2017 h - 2019 h value after reset: 00 h en enable if inactive (0), no clock is generated for this channel, and the channel is in high impedance, must be set to 0 during configuration of transmit audio channel 1 slin(1-0) select line 00 channel time-slot on du (frame sync fsc, clock dcl or dcl/2) 01 channel time-slot on dd (frame sync fsc, clock dcl or dcl/2) 10 channel time-slot on sr (frame sync rfs, clock sclk) 11 channel time-slot on st (frame sync tfs, clock sclk) len(4-0) length of channel time-slot channel time-slot length in bits = len+1 (1, , 32 bits) ts(8-0) time slot position position of first bit of time-slot from frame sync (0, , 511) lmod load mode 0 sample of length len + 1 loaded from write register into shift register ( for frame + 1 ) at the occurrence of frame sync 1 when shift register is about to become empty ((lbit + 1) (len + 1) bits shifted out), it is loaded from write register (for software to be accessed via a buffer empty interrupt status) lbit(4-0) load bits number of bits in aggregates of (len + 1) loaded into output shift register when ready, if lmod = 1. the number of bits loaded is equal to (lbit + 1) (len + 1), the corresponding interrupt status is bemp1. note: since the number of bits is 32 maximum, the value of the product (lbit + 1) (len + 1) shall not exceed 32. hxa host transmit access 0 channel originates from dsp 1 channel originates from host
psb 7230 register description semiconductor group 94 data sheet 1998-07-01 serial data channel receive path register read/write address 201d h value after reset: 00 h slin(1-0) select line 00 channel on du (frame sync fsc, clock dcl or dcl/2) 01 channel on dd (frame sync fsc, clock dcl or dcl/2) 10 channel on sr (frame sync rfs, clock sclk) 11 channel on st (frame sync tfs, clock sclk) lmod(1-0) load mode 00 when shift register contains one byte, it is loaded into data receiver as soon as possible (and, in addition, to dsp/host read register for monitoring) xx when shift register contains n bytes (xx = 01: n = 1; xx = 10: n = 2; xx = 11: n = 4), the contents is loaded into dsp and host read register, dsp or host (cf. hhr1 bit) write register is loaded into data receive buffer, and read dsp or host read register is loaded into dsp or host write register (for software to be accessed via a buffer full interrupt status) hhr host data receiver access 0 dsp has access to modify data receiver input (monitoring from host still possible) 1 host has access to modify data receiver input (monitoring from dsp still possible)
psb 7230 register description semiconductor group 95 data sheet 1998-07-01 serial data channel transmit path register read/write address 201e h value after reset: 00 h monitor channel configuration register read/write address 2021 h value after reset: 00 h slin(1-0) select line 00 channel on du (frame sync fsc, clock dcl or dcl/2) 01 channel on dd (frame sync fsc, clock dcl or dcl/2) 10 channel on sr (frame sync rfs, clock sclk) 11 channel on st (frame sync tfs, clock sclk) lmod(1-0) load mode 00 when shift register is about to become empty, it (as well as dsp and host read registers) is loaded from data transmitter xx when shift register contains n bytes (xx = 01: n = 1; xx = 10: n = 2; xx = 11: n = 4), the contents is loaded into dsp and host read register, dsp or host (cf. hhr bit) write register is loaded into data receive buffer, and read dsp or host read register is loaded into dsp or host write register (for software to be accessed via a buffer empty interrupt status) hhx host data transmitter access 0 dsp has access to modify data transmitter output (monitoring of data output from host still possible) 1 host has access to modify data receiver input (monitoring of data output from dsp still possible) slin select line 0 receive channel on dd, transmit channel on du 1 receive channel on du, transmit channel on dd monch(3-0) monitor channel position monitor channel (same time-slot for receive and transmit direction) located in the 3rd byte of multiplex monch (0 to 15)
psb 7230 register description semiconductor group 96 data sheet 1998-07-01 monitor channel control register read/write address 2022 h value after reset: 00 h monitor channel address (ic identification) read/write address 2023 h value after reset: 00 h monitor channel transmit/receive register read/write address 2024 h value after reset: 00 h mre monitor channel receive enable 0: receive monitor channnel inactive 1: receive monitor channel active mrc mr bit control 0: no acknowledgement is sent in response to a received byte. when mre = 1 and mrc = 0, only the first byte of a packet can received, further bytes (in the case that the first byte is acknowledged by another ic) are not loaded into monr 1: acknowledgement via mr bit is enabled, acknowledgement takes place after monr is read mxc monitor transmit control 0: transmit monitor channel inactive (high impedance) 1: monitor channel transmission enabled mad monitor address latched at reset from lines ad(7-0) and programmable from host (if present) thereafter. monx monitor transmit register (write) value of monitor byte to be transmitted monr monitor receive register (read) value of received monitor channel byte. a read of this register enables the automatic acknowledgement of the received byte.
psb 7230 register description semiconductor group 97 data sheet 1998-07-01 c/i channel mode register read/write address 2025 h value after reset: 00 h c/i channel 1, 2 configuration registers read/write address 2026 h /2027 h value after reset: 00 h cien1,2 c/i channel 1, 2 enable 0: transmission of c/i channel disabled (channel in high impedance) 1: transmission of c/i channel enabled. when cien is changed, the change takes effect only after the next rising edge of fsc is detected, in order to prevent sending an illegal code in the c/i channel. one should avoid changing the state of cien just when a rising edge on fsc is expected. awk1,2 awake for c/i channel 1,2 0: c/i channel normal operation 1: a low is unconditionally sent on the line programmed for c/i transmit channel. when awk is set to 1, the line (dd or du) is immediately pulled low (non-synchronously with clock). when awk is set to 0, the line is set free only after the next rising edge of fsc is detected. one should avoid setting awk to 0 just when a rising edge on fsc is expected. slin select line 0 receive channel on dd, transmit channel on du 1 receive channel on du, transmit channel on dd cich(3-0) c/i channel position c/i channel (same time-slot for receive and transmit direction) located in the 4th byte of multiplex cich (0 to 15) cil c/i channel length 0: 4 bits 1: 6 bits dll double last look 0: no double last look 1: c/i channel change confirmed only after two consecutive identical values are received
psb 7230 register description semiconductor group 98 data sheet 1998-07-01 c/i channel 1 transmit/receive register read/write address 2029 h value after reset: 00 h c/i channel 2 transmit/receive register read/write address 202a h value after reset: 00 h iom configuration register read/write address 202b h value after reset: 00 h pll configuration register read/write address 202c h - 202d h cix c/i channel transmit value of transmitted c/i channel cir c/i channel receive (read) value of received c/i channel cix c/i channel transmit value of transmitted c/i channel cir c/i channel receive (read) value of received c/i channel cgen clock generation for iom-2 interface (te mode) 0 fsc and dcl are inputs (reset value) 1 fsc and dcl are outputs (dcl = 1.536 mhz, fsc = 8 khz) fods fsc/dcl open drain select 0 fsc and dcl are push/pull (reset value) 1 fsc and dcl are open drain pu power up for pll 0 pll is in power-down mode 1 pll is in power-up mode
psb 7230 register description semiconductor group 99 data sheet 1998-07-01 general purpose i/o configuration register read/write address 2030 h value after reset: 00 h general purpose i/o data direction register read/write address 2031 h value after reset: 00 h general purpose i/o data register read/write address 2032 h value after reset: 00 h general purpose i/o strobe register read/write address 2033 h value after reset: 00 h iioc(3-0) i/o line configuration 0 pin gpx is open drain (with internal pull up registers) 1 pin gpx is push/pull iiod(3-0) i/o line direction 0 pin gpx is input 1 pin gpx is output iior(3-0) i/o line data in a write access to gpr the value will stored in the gpr. for those ports which are configured as output the value is driven on the corresponding pin gpx. as a consequence, gpr can be initialized even before the coressponding pin is configured as output. a read access to gpr will return the current status on the pin gpx, independent of whether the pin gpx is configured as input or output. iios(3-1) i/o strobe select 0 input pin gpx is not strobed 1 input pin gpx performes strobed operation iios0 i/o strobe mode 0 strobe mode is disabled. gp0 is used as general i/o pin 1 strobe mode is selected (only valid if gp0 is configured as input). if strobed operation is disabled, the input pins are sampled continuously. if strobed is selected, input pins are latched during gp0 = 0. the latch is closed when gp0 = 1
psb 7230 register description semiconductor group 100 data sheet 1998-07-01 general purpose interrupt status register read address 2034 h value after reset: 00 h general purpose interrupt mask register read/write address 2035 h value after reset: 00 h ioints(3-0) input interrupt status register 0 no state change is detected on pin gpx 1 a state change (0-1 or 1-0) is detected on pin gpx. a maskable interrupt from any of the gpx pins is generated to the host if the gpi-mask bit in register 74 h is enabled. iointm(3-0) input interrupt mask register 0a 1 in iointsx does not generate an int1 to the dsp 1 a 1 in iointsx generates an int1 to the dsp
psb 7230 register description semiconductor group 101 data sheet 1998-07-01 5.4 serial data controller registers as mentioned previously, the addresses for the data controller registers are given here for the dsp for completeness only, since they are only relevant for the on-chip firmware. the access to the register banks of the data controller is determined by the data controller access from host bit hah1: C when hah1 is 0, the dsp is allowed to access the data controller register bank, and thus to service the data controller. C when hah1 is 1, the host is allowed to service the data controller. figure 37 in the following tables the addresses are relative to the base address 80 h . in each row, the upper line lists the read values, the lower the write values of the corresponding register.
psb 7230 register description semiconductor group 102 data sheet 1998-07-01 table 16 byte address offset read write bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00 h 1f h rfifo xfifo C C C C C C C C C C C C C C C C 20 h star xcmd xdov xf C C xcec xres rcec xnew C C C C str C stx stx 21 h C CCC C CC CC 22 h mode mode 1 C rac rac xac xac tlp tlp C C C C erfs erfs etfs etfs 23 h C CCC C CC CC 24 h C CCC C CC CC 25 h C rcmd C rmc C rres C C C C C C C C C str C C 26 h ccr0 ccr0 pu pu C C C C C C C C C C rmsb rmsb xmsb xmsb 27 h ccr1 ccr1 rcs0 rcs0 rsco rsco rfdis rfdis xcs0 xcs0 tsco tsco xfdis xfdis C C C C 28 h tsar tsar tsr5 tsr5 tsr4 tsr4 tsr3 tsr3 tsr2 tsr2 tsr1 tsr1 tsr0 tsr0 rcs2 rcs2 rcs1 rcs1 29 h tsax tsax tsx5 tsx5 tsx4 tsx4 tsx3 tsx3 tsx2 tsx2 tsx1 tsx1 tsx0 tsx0 xcs2 xcs2 xcs1 xcs1 2a h rccr rccr rcc7 rcc7 rcc6 rcc6 rcc5 rcc5 rcc4 rcc4 rcc3 rcc3 rcc2 rcc2 rcc1 rcc1 rcc0 rcc0 2b h xccr xccr xcc7 xcc7 xcc6 xcc6 xcc5 xcc5 xcc4 xcc4 xcc3 xcc3 xcc2 xcc2 xcc1 xcc1 xcc0 xcc0 2c h isr imr C C rpf rpf rfo rfo xpr xpr C C alls alls C C C C
psb 7230 register description semiconductor group 103 data sheet 1998-07-01 unless otherwise indicated, all register bits are initialized to 0 after a hardware reset. during the initialization phase the firmware does a re-programming on the following registers of the serial data controller to setup the default configuration for the communication with a video-processor (see chapter 6.2.3.3 ): when read, register bits that are not in use (or reserved for future use) are not defined, i.e. their value may be either 0 or 1. the serial data receive fifo size is 2 32 bytes. one half of the fifo is connected to the receiver shift register while the second half is accessible to the controlling processor. the transmit fifo size is 2 32 bytes. one half is connected with the transmit shift register while the other half is accessible to the controllig processor. table 17 address data description 30a2 h 80 h transparent mode 30a5 h 40 h receiver reset 30a6 h 83 h power up, msb first for receiver and transmitter 30aa h 0f h receiver: 16 bit time-slot 30ab h 0f h transmitter: 16 bit time-slot 30ac h 50 h interrupt enable for rpf and xpr receive fifo rfifo read address 00-1f h transmit fifo xfifo write address 00-1f h
psb 7230 register description semiconductor group 104 data sheet 1998-07-01 status register star read address 20 h bit 7 bit 0 star xdov C xcec rcec C C str stx xdov transmit data overflow indicates that more than 32 bytes have been written into the transmit fifo. xcec transmitter command executing if 1, a command is currently executed by the transmitter and no further command may be written into the xcmd register. when 0, a new command may be entered into xcmd. rcec reveiver command executing if 1, a command is currently executed by the receiver and no further command may be written into the rcmd register. when 0, a new command may be entered into rcmd. str status of generation of rfs pulses only valid when rfin = 0 (rfs pulses internally generated) and used if rcont bit in rfs mode register is = 0. a 1 indicates that generation of pulses as a result of a previous str command is still on-going; str is reset to 0 16 bit periods after the last rfs pulse has been generated. this function may be used in connection with the data controller when a predefined number of data units (e.g. words) are received, clocked by rfs pulses. stx status of generation of tfs pulses only valid when tfin = 0 (tfs pulses internally generated) and used if tcont bit in tfs mode register is = 0. a 1 indicates that generation of pulses as a result of a previous stx command is still on-going; stx is reset to 0 16 bit periods after the last tfs pulse has been generated. this function may be used in connection with the data controller when a predefined number of data units (e.g. words) are to be transmitted, clocked by tfs pulses.
psb 7230 register description semiconductor group 105 data sheet 1998-07-01 transmit command register xcmd (write) address 20 h bit 7 bit 0 xcmd xf xres xnew stx xf transmit frame initiates transmission of a pool of data (up to 32 bytes). xres transmitter reset. when xac = 1, this command resets the data transmitter, clears the transmit fifo and generates an xpr status after the command has been completed. when xres is issued while xac = 0, this command initializes in addition the time-slot count logic for this channel. xnew transmitter restart when set to 1 during the transmission of the first fifo (including the start flag) the transmitter state machine is reset to the starting state without any loss of data (i.e. fifo data). xac is reset to 0 automatically. when xac is reprogrammed to 1, the transmission of the current frame is restarted with the first bit of the start flag. stx start command for tfs generation only valid when tfin = 0 (tfs pulses internally generated) and used if tcont bit in tfs mode register is = 0. when tcont = 0 , when stx is set, exactly trep(9-0) pulses of one bit duration and spaced 16 bit periods from each other are generated. when stx command is given, generation of pulses starts at the next possible 16-bit boundary. this function may be used in connection with the data controller when a predefined number of data units (e.g. words) are transmitted, clocked by tfs pulses.
psb 7230 register description semiconductor group 106 data sheet 1998-07-01 mode register mode read/write address 22 h bit 7 bit 0 mode 1/- rac xac tlp erfs etfs rac receiver active sets the receiver in an active state. note: when rac is set to 1, storage of bytes in the receive fifo starts time-slot aligned (if the receive time-slot length is a multiple of 8 bits). xac transmitter active when xac is set to 1, transmission of bytes from the transmit fifo starts time-slot aligned (if the transmit time-slot length is a multiple of 8 bits). when xac = 0, the time-slot assigned to the transmitter is in high impedance. tlp test loop when 1, output of the data controller is connected to input (i.e. what is transmitted is simultaneously received). the loop is transparent. erfs enable rfs generation only valid when rfin = 0 (rfs pulses internally generated) and used if rcont bit in rfs mode register is = 1. when rcont = 1 , an erfs value of 1 enables the generation of rfs pulses of one bit duration and spaced rprd + 1 (1, , 32) 16-bit words from each other. pulses are generated indefinitely until erfs is set to 0 again. etfs enable tfs generation only valid when tfin = 0 (tfs pulses internally generated) and used if tcont bit in tfs mode register is = 1. when tcont = 1 , an etfs value of 1 enables the generation of tfs pulses of one bit duration and spaced tprd + 1 (1, , 32) 16-bit words from each other. pulses are generated indefinitely until etfs is set to 0 again.
psb 7230 register description semiconductor group 107 data sheet 1998-07-01 receive command register rcmd write address 25 h bit 7 bit 0 rcmd rmc rres str rmc receive message complete acknowledges a previous rpf status. frees the fifo pool for the next received frame or part of a frame. rres receiver reset when rac = 1, this command resets the data receiver and clears the receive fifo. when rres is issued while rac = 0, this command initializes in addition the time-slot count logic for this channel. str start command for rfs generation only valid when rfin = 0 (rfs pulses internally generated) and used if rcont bit in rfs mode register is = 0. when rcont = 0 , when str is set, exactly rrep(9-0) pulses of one bit duration and spaced 16 bit periods from each other are generated. when str command is given, generation of pulses starts at the next possible 16-bit boundary. this function may be used in connection with the data controller when a predefined number of data units (e.g. words) are received, clocked by rfs pulses.
psb 7230 register description semiconductor group 108 data sheet 1998-07-01 channel configuration register 0 ccr0 read/write address 26 h bit 7 bit 0 ccr0 pu rmsb xmsb pu power up power down (0) or power up (1). rmsb receive msb first when rmsb = 0, the least significant bit of a byte in the receive fifo is the bit first received (normal mode in serial data communication protocols). when rmsb = 1, the most significant bit of a byte in the receive fifo is the first bit received. xmsb transmit msb first when xmsb = 0, the least significant bit of a byte in the transmit fifo is the bit first transmitted (normal mode in serial data communication protocols). when xmsb = 1, the most significant bit of a byte in the transmit fifo is the first bit transmitted. channel configuration register 1 ccr1 read/write address 27 h bit 7 bit 0 ccr1 rcs0 rsco rfdis xcs0 tsco xfdis rcs0 receive clock shift 0 together with rcs2 and rcs1 in tsar, determines the clock shift relative to the frame synchronization signal. a clock shift of 0 7 is programmable. xcs0 transmit clock shift 0 together with xcs2 and xcs1 in tsax, determines the clock shift relative to the frame synchronization signal. a clock shift of 0 7 is programmable.
psb 7230 register description semiconductor group 109 data sheet 1998-07-01 rsco receive time-slot continuous when rsco is equal to one, the time-slot capacity (normally given by register rccr, between 1 and 256 bits) is infinity. this means that the time-slot will be always active so that data can be permanently received if rac = 1. if rfdis = 0, and if the time-slot count logic has been reset (by issuing rres while rac = 0), time-slot logic can start operation and thus activate a time-slot only after the first frame sync pulse is detected (i.e. on fsc, rfs, or tfs, whichever has been selected). the time-slot offset register tsar + bit rcs0 mark the instant when the infinite time-slot will be activated after the first frame sync pulse has occurred. if rfdis = 1, reception can start immediately, without the necessity to wait for the first frame sync pulse. rfdis receive frame sync disregard when rfdis is 1, the time-slot generation logic disregards frame syncs. in particular, if rsco = 1 and rfdis = 1, receive time-slot is immediately considered as permanently active, and remains activated as long as this condition prevails. tsco transmit time-slot continuous when tsco is equal to one, the time-slot capacity (normally given by register xccr, between 1 and 256 bits) is infinity. this means that the time-slot will be always active so that data can be permanently transmitted if xac = 1. if tfdis = 0, and if the time-slot count logic has been reset (by issuing xres while xac = 0), time-slot logic can start operation and thus activate a time-slot only after the first frame sync pulse is detected (i.e. on fsc, rfs, or tfs, whichever has been selected). the time-slot offset register tsax + bit xcs0 mark the instant when the infinite time-slot will be activated after the first frame sync pulse has occurred. if tfdis = 1, transmission can start immediately, without the necessity to wait for the first frame sync pulse. tfdis transmit frame sync disregard when tfdis is 1, the time-slot generation logic disregards frame syncs. in particular, if tsco = 1 and tfdis = 1, transmit time-slot is immediately considered as permanently active, and remains activated as long as this condition prevails.
psb 7230 register description semiconductor group 110 data sheet 1998-07-01 time-slot assignment receive tsar read/write address 28 h bit 7 bit 0 tsar tsr5 tsr4 tsr3 tsr2 tsr1 tsr0 rcs2 rcs1 tsr time-slot receive selects one of up to 64 possible time-slots (00h-3f h ) in which data is received. tsr gives the location of the time-slot in octets (granularity = octet). the bits rcs(2-0) give the exact starting point of the time-slot with one-bit precision. in other words, the time-slot position with respect to the frame sync is given by (tsr 8 + rcs). the length of the time-slot is given by rcc(7-0). rcs receive clock shift together with rcs0, rcs1 and rcs2 mark the start of the time-slot with one-bit granularity. time-slot assignment transmit tsax read/write address 29 h bit 7 bit 0 tsax tsx5 tsx4 tsx3 tsx2 tsx1 tsx0 xcs2 xcs1 tsx time-slot transmit selects one of up to 64 possible time-slots (00h-3f h ) in which data is transmitted. tsx gives the location of the time-slot in octets (granularity = octet). the bits xcs(2-0) give the exact starting point of the time-slot with one-bit precision. in other words, the time-slot position with respect to the frame sync is given by (tsx 8 + xcs). the length of the time-slot is given by xcc(7-0). xcs transmit clock shift together with xcs0, xcs1 and xcs2 mark the start of the time-slot with one-bit granularity.
psb 7230 register description semiconductor group 111 data sheet 1998-07-01 receive channel capacity register rccr read/write address 2a h bit 7 bit 0 rccr rcc7 rcc6 rcc5 rcc4 rcc3 rcc2 rcc1 rcc0 rcc receive channel capacity defines the number of bits in the receive time-slot. number of bits = rcc + 1 (1 256 bits/time-slot). transmit channel capacity register xccr read/write address 2b h bit 7 bit 0 xccr xcc7 xcc6 xcc5 xcc4 xcc3 xcc2 xcc1 xcc0 xcc transmit channel capacity defines the number of bits in the transmit time-slot. number of bits = xcc + 1 (1 256 bits/time-slot).
psb 7230 register description semiconductor group 112 data sheet 1998-07-01 a 0 in a bit position (status after reset) masks the correponding bit in isr. interrupt status register isr read address 2c h bit 7 bit 0 isr rpf rfo xpr alls rpf receive pool full 32 bytes have been received and can be read from the fifo. rfo receive frame overflow signifies that data has been lost because no room was available in rfifo. xpr transmit pool ready one data block may be entered into the transmit fifo. alls all sent. when 1, indicates that the last bit has been transmitted and that the xfifo is empty. interrupt mask register imr write address 2c h bit 7 bit 0 imr rpf rfo xpr alls
psb 7230 firmware features semiconductor group 113 data sheet 1998-07-01 6 firmware features the jade internal firmware starts automatically after a hardware reset. note: after a hardware reset, the jade firmware needs to initialize its internal memories and interfaces. the time to do this is less than 10 ms. the user must take care to access the jade only after this initialization phase is completed, i.e. 10 ms after the hardware reset. in the initialization phase, the jade will re-program some of the internal registers (see section 5.3 and section 5.4 ). the default interface configuration is described in chapter 6.2.3.3 . after the initialization phase is completed, the jade can be started in the default mode or be reprogrammed and then started. note: the firmware features are using interrupt handshakes via the registers inh (host write to 50 h ) and ind (host read from 58 h ). a polling host should not directly poll the ind interrupt status register 58 h , but the dint bit in int# interrupt status register 75 h . this bit always shows whether an interrupt from the dsp has been generated or not, independently of the corresponding mask register. the mask register only decides whether an interrupt at int# line is generated. after having recognized an ind interrupt status, the polling host may read out the register 58 h to get the interrupt number.
psb 7230 firmware features semiconductor group 114 data sheet 1998-07-01 6.1 basic functions 6.1.1 firmware version number to obtain the version number of the on-chip firmware, the following interrupt handshake procedure has to be implemented by a host: figure 38 the following steps are executed: 1) the inhb = 0 polling is not supported in some previous jade versions (older than jade 2.2 and jade mm 1.2). thus, if also these versions need to be identified by reading the version number, this can be obtained by waiting for 1 ms instead of polling the inhb = 0 condition. for the jade versions supporting the inhb = 0 it is ensured that the inhb = 0 condition becomes true in less than 1 ms. the version number of jade an 2.1 is: xyh = a3h thus the xyh in the picture above has to be substituted by this number. 1. the host generates an interrupt to the jade by writing value 19 h into inh interrupt status register at address 50 h . 2. the jade writes the firmware version number into communication register accessible from the host at address 60 h and resets the inhb bit to 0. 3. the host checks the inhb bit and as soon as it reads a 0 it may get the version number from register 60 h . 1)
psb 7230 firmware features semiconductor group 115 data sheet 1998-07-01 6.1.2 software reset a software reset is used to re-initialize the jade an without resetting the hardware. this means that e.g. not the whole configuration/control register area is reset, but only the firmware initialization (see section 5.3 and section 5.4 ) is executed. see figure 39 : figure 39
psb 7230 firmware features semiconductor group 116 data sheet 1998-07-01 the following steps are executed: for the restart of the internal firmware the jade an needs the same initialization time like after a hardware reset. so, the user should wait for 10 ms before it accesses the jade an again. 6.1.3 power down command in case the jade is not currently needed in the system, the device can be powered down. two options exists, one power-down including the pll and one excluding it. these options are selected via the contents of the control register 60 h . a non-zero value leaves the pll powered-up while the rest of the jade goes power-down and a zero value in register 60 h includes the pll in the power-down sequence and therefore is a complete power-down of the chip. the power-up is triggered by one of the following interrupts: gpio, host interrupt and c/i channel interrupt. the sequence to power-down the device is as follows: 1. the host initializes the control registers 60 h by writing a 0 or a non-zero value into it (pll included or excluded, see above). 2. the host generates an interrupt to the jade by writing value 37 h into inh interrupt status register at address 50 h . 3. the jade resets the inhb bit. there is no further acknowledge to this interrupt since the jade will go to power-down almost immediately. 4. the host may reset the indb as a reaction to the jade interrupt. this step is not mandatory and may be skipped. 5. the jade firmware disables the clko pin, the pll as selected and the dsp and can be woken up by any of the above mentioned interrupts. if the pll was powered down, it takes longer to resume normal operation. if the pll remained powered up, the firmware is immediately ready for resuming operation. 1. the host initializes the control registers 60 h and 61 h by writing a 0 into it. 2. the host generates an interrupt to the jade by writing value 12 h into inh interrupt status register at address 50 h 3. the jade resets the inhb bit and acknowledges the reception by generating an interrupt at int# line to the host by writing a value 13 h into ind interrupt status register at address 58 h . 4. the host may reset the indb as a reaction to the jade interrupt. this step is not mandatory and may be skipped. 5. the jade restarts its internal firmware beginning with the initialization phase.
psb 7230 firmware features semiconductor group 117 data sheet 1998-07-01 6.2 audio interfaces in order to cover a wide range of applications, the jade an offers a variety of different interface combinations and protocols for the uncompressed/compressed data exchange. the basic interfacing is like in the figure below: figure 40 two interfaces are necessary, one for compressed audio connected to a user and one for uncompressed audio connected to a codec. by switching the compressed/uncompressed data stream to different hardware interfaces (host, iom, serial audio interface), the jade an is able to support standalone solutions using a video processor (compressed data provided on serial audio interface) as well as host systems (e.g. software video coders using the host interface for the compressed data) or offline audio compression (compressed and uncompressed audio exchanged through host interface). see figure 41 for the firmware layer structure and the corresponding structure of the description:
psb 7230 firmware features semiconductor group 118 data sheet 1998-07-01 figure 41 the audio interface description is split up into two basic parts: in the first part the firmware protocol (data format, data packet size) and mode control (inband or outband) are described ( chapter 6.2.1 and chapter 6.2.2 ) which are independent of the selected hardware-interface combination. in the second part the firmware interface combinations for uncompressed and compressed audio, i.e. the individual timings and handshake procedures for the selected hardware-interface combination are described ( chapter 6.2.3 ).
psb 7230 firmware features semiconductor group 119 data sheet 1998-07-01 6.2.1 compressed audio protocols and control of jade an in the following sections the protocols for the exchange of compressed audio data between the jade an and a user are described. 6.2.1.1 outband control of jade an all times that are given in this chapter refer to realtime processing of a 10 ms frame length of the audio data, which is the default setting of the jade an. when doing offline processing (compressed and uncompressed data exchanged through the host), the delay times in this chapter have to be substituted by the corresponding number of frames. for example, a delay time of 30 ms corresponds to three frames of audio data exchange when doing offline processing. the host may change the jade an operating mode by sending a command block, and the jade an will send back a status block, if requested by the host. command and status blocks consist of 8-bit words. to exchange command and status blocks, the host initiates an interrupt handshake procedure. see figure 42 for the host writing a new control block to the jade an:
psb 7230 firmware features semiconductor group 120 data sheet 1998-07-01 figure 42 the following steps are executed: 1. the host writes new control block into jade mailbox using the procedure described in chapter 3.4 . 2. the host generates an interrupt to the jade by writing value 31 h into inh interrupt status register at address 50 h . 3. the jade reads the new control block from the mailbox, resets the inhb bit and acknowledges the reception by generating an interrupt at int# line to the host by writing a value 32 h into ind interrupt status register at address 58 h . 4. the host may reset the indb as a reaction to the jade interrupt. this step is not mandatory and may be skipped.
psb 7230 firmware features semiconductor group 121 data sheet 1998-07-01 any changes to the current operating mode of the jade an take effect on the next input data packets, i.e. when a 10 ms frame length is selected, the next 10 ms packet of uncompressed data will be compressed using the new settings and the next 10 ms packet of compressed data will be decompressed using the new settings, too. due to internal buffering, a three stages pipeline appears in the jade an (input, compression/decompression, output). each stage takes as long as determined by the frame length (default: 10 ms). for that reason, a mode switch affecting the input data of the jade an has to go through the whole pipeline before the output data reports the new settings. this results in a delay of three times the frame length (default: 30 ms) between the host requesting a new mode setting and the jade an delivering the first packet of data compressed/decompressed with these new settings and reporting the new settings in the status data block. to change the control block data, the host must first set the mode to neutral (see mode register description below) for at least four frames (default: 40 ms). although the mode word is part of the control block, it can be changed to neutral at any time. the switch to neutral mode before doing other changes to the control block is required to clear up the jades pipeline and make sure it does not have to process two different modes at once in the same pipeline. following the neutral mode command, the host may transfer the control block with the new settings. some bits in the control block dont require this procedure (volume change, ). these are especially indicated in the description of the control block (see below). see figure 43 for the host reading the current status data block from the jade an:
psb 7230 firmware features semiconductor group 122 data sheet 1998-07-01 figure 43 the following steps are executed: 1. the host generates an interrupt to the jade by writing value 33 h into inh interrupt status register at address 50 h . 2. jade writes the current status data into the mailbox, resets the inhb bit and generates an interrupt at int# line to the host by writing a value 34 h into ind interrupt status register at address 58 h . 3. the host reads the status data from the mailbox using the procedure described in chapter 3.4 and may reset the indb bit. the reset of the indb bit is not mandatory and may be skipped. the host acknowledges the transfer by writing a value 35 h into inh interrupt status register at address 50 h and by that generating an interrupt to the jade. 4. the jade resets the inhb bit.
psb 7230 firmware features semiconductor group 123 data sheet 1998-07-01 the structure of the control and status data blocks is identical. the host writes the control block to change the settings of the jade an and reads the status block to evaluate the current settings of the jade an. the control/status block is organized in 8-bit words and has the following structure: note: unless otherwise indicated, the host has to switch the mode to neutral for at least 3 frames (default: 30 ms) before it can change the control block. only the underlined bits may also be changed on the fly disregarding that rule. after reset, the jade an is automatically in the neutral mode, so changes to the control block can be done immediately after the jade has finished its initialization phase (see section 6.2.3 ). (msb) (lsb) ctrl psel isel1 isel0 flen 0 0 0 1 udf 0 0 0 udf1 udf0 0 1 0 g723c hp723 pf723 000000 00000000 mode em3 em2 em1 em0 dm3 dm2 dm1 dm0 opt1 i 00p1 p0 l2 l1 l0 opt2 0 0 re1 re0 rd1 rd0 e d evol ev7 ev6 ev5 ev4 ev3 ev2 ev1 ev0 dvol dv7 dv6 dv5 dv4 dv3 dv2 dv1 dv0
psb 7230 firmware features semiconductor group 124 data sheet 1998-07-01 mailbox address 00 h value after reset: c1 h mailbox address 01 h value after reset: 1a h (msb) (lsb) ctrl pselisel1isel0flen0001 psel protocol select 0 outband controlled protocol selected, see current section . 1 inband controlled protocol selected, see section 6.2.1.3 . isel(1-0) interface select 00 uncompressed audio: compressed data: host if host if 01 uncompressed audio: compressed data: iom if host if 10 uncompressed audio: compressed data: iom if serial audio if 11 reserved flen frame length 0 10 ms frame length selected. the data packet size of compressed and uncompressed audio is determined by the frame length. 1 reserved (msb) (lsb) udf 0 0 0 udf1 udf0 0 1 0 udf(1-0) uncompressed data format (independent of the selected audio compression). 00 reserved 01 g.711 a-law 10 g.711 m -law 11 16 bit uncompressed audio
psb 7230 firmware features semiconductor group 125 data sheet 1998-07-01 mailbox address 02 h value after reset: c0 h mailbox address 03 h value after reset: 00 h (msb) (lsb) g723c hp723 pf723 000000 hp723 g.723 high pass filter on/off. 0 high pass filter off 1 high pass filter on pf723 g.723 postfilter on/off. 0 postfilter off 1 postfilter on (msb) (lsb) 00000000
psb 7230 firmware features semiconductor group 126 data sheet 1998-07-01 mailbox address 04 h value after reset: 00 h mailbox address 05 h value after reset: 00 h (msb) (lsb) mode em3 em2 em1 em0 dm3 dm2 dm1 dm0 em(3-0), dm(3-0) audio modes for encoder (em(3-0)) and decoder (dm(3-0)). 0 h neutral mode, no compressed audio data is exchanged 1 h pass-through 8 khz sampled data, not available when host/host is selected as interface combination for compressed/ uncompressed data. 2 h g.711 8 khz sample rate a-law encoding/decoding 3 h g.711 8 khz sample rate m -law encoding/decoding 4 h reserved. 5 h reserved. 6 h g.723 8 khz sample rate mp-mlq (6.3 kbit/s) or acelp (5.3 kbit/s) coding (msb) (lsb) opt1 i 00p1 p0 l2 l1 l0 data is invalid. if i is set then the compressed data in this packet was missing or had errors. the data words in this packet are still sent to avoid buffer problems. 0data is valid 1 data is invalid
psb 7230 firmware features semiconductor group 127 data sheet 1998-07-01 p(1-0) part number of the data in this packet. allows the natural period of the data to be 10 to 40 ms. for g.723 takes on the values 0, 1 or 2 corresponding to the first, second or third part of a 30 ms data packet. is always 0 for the other modes. note: to avoid the updating of these bits by the user in each frame when operating in g.723 mode, the jade an auto-increments the p-bits. nevertheless, the user has to take care that g.723 encoder and decoder are running synchronously, i.e. the part number of the received and transmitted packet in one 10 ms frame must be identical for control and status. for that, after switching to g.723 mode the user has first to wait for valid packets (i.e. wait for i = 0) and second to read the p(1-0) status bits to synchronize the data stream transmitted to the jade an correspondingly, i.e. if the user receives a status value of 2 from the jade an, it also has to transmit a part 2 packet in the current 10 ms frame. the p(1-0) control block bits sent by a user are ignored by the jade an when operating in g.723 mode. this is to avoid collisions between the host and the auto-increment mechanism in the jade an. 00 first part of compressed audio packet (g.723: part 1/3) 01 second part of compressed audio packet (g.723: part 2/3) 10 third part of compressed audio packet (g.723: part 3/3) 11 fourth part of compressed audio packet (g.723: reserved) l(2-0) loopback modes (see figure 44 ), used for testing the audio subsystem. 000 no loopback (default) 001 send received compressed data back to the user as encode data 010 encode the decoded user data 011 reserved 100 reserved 101 decode the encoded audio input data 110 send the digital adc output to the dac input 111 reserved
psb 7230 firmware features semiconductor group 128 data sheet 1998-07-01 figure 44 mailbox address 06 h value after reset: 00 h (msb) (lsb) opt2 0 0 re1 re0 rd1 rd0 e d re(1-0), rd(1-0) when the encode mode is g.723 the re bits give the desired encoding method: 00 high rate, dont use silence suppression 01 high rate, use silence suppression 10 low rate, dont use silence suppresion 11 low rate, use silence suppression rd is the same as the above, but indicates the mode of the data in this packet. it is the same as the corresponding bits of the g.723 packet data. e encoding mute enable. after switching, a ramping function is implemented to avoid audible clicks. 0 encoding mute disabled 1 encoding mute enabled d decoding mute enable. after switching, a ramping function is implemented to avoid audible clicks. 0 decoding mute disabled 1 decoding mute enabled
psb 7230 firmware features semiconductor group 129 data sheet 1998-07-01 mailbox address 07 h value after reset: 00 h mailbox address 08 h value after reset: 00 h (msb) (lsb) evol ev7 ev6 ev5 ev4 ev3 ev2 ev1 ev0 ev(7-0) encoder volume. 00 h - ff h adjusts the gain on the analog input. realized by multiplying the encoder input samples with (ev(7-0) + 1)/256, i.e. 00 h is the minimum and ff h the maximum volume. (msb) (lsb) dvol dv7 dv6 dv5 dv4 dv3 dv2 dv1 dv0 dv(7-0) decoder volume. 00 h - ff h adjusts the gain on the analog output. realized by multiplying the decoder output samples with (dv(7-0) + 1)/256, i.e. 00 h is the minimum and ff h the maximum volume.
psb 7230 firmware features semiconductor group 130 data sheet 1998-07-01 6.2.1.2 compressed audio protocol with outband control to minimize the bandwidth on the compressed audio interface, an outband controlled protocol is implemented in the jade an. this means that the mode settings for the jade an are usually done before audio data exchange is started using the procedure described in section section 6.2.1.1 . during audio data transfer the jade an keeps its current mode settings and only compressed audio is exchanged. the size and format of the 10 ms compressed data packets is summarized in table 18 for the various operating modes: 1) always the most significant bits of a byte are valid and the least significant bits are ignored. 2) all different g.723 packets are transmitted with the same number of bytes which is determined by the 6.3 kbit/s mode. this is to make the protocol simple, not to minimize the data rate. please refer to the drawing below for details. in g.723 mode the natural frame size of 30 ms is split up into three 10 ms packets. to simplify the protocol handling all different g.723 modes are transmitted with the same data rate. please refer to figure 45 for sub-frame numbering with p(1-0) bits and valid bytes per packet in the corresponding g.723 packets: table 18 compression mode compressed data packet size in bytes valid bits per byte 1) neutral 0 0 8 khz pass-through 160 8 g.711 80 8 g.723, 6.3 kbit/s 8 8 2) g.723, 5.3 kbit/s 8 8/0 2) g.723, silence insertion descriptor (sid) packets 88/0 2) g.723, untransmitted packets 80 2)
psb 7230 firmware features semiconductor group 131 data sheet 1998-07-01 figure 45 the two lsbs of the first byte inside a 30 ms frame determine the kind of frame that is currently being transmitted (see figure 45 ):
psb 7230 firmware features semiconductor group 132 data sheet 1998-07-01 note: independently of the interface selection for the compressed audio, always the most significant bit of the most significant byte is transferred first, e.g. when using pass-through modes, the 16-bit samples are split up into two bytes and the most significant bit of the most significant byte is transferred first (big endian). 6.2.1.3 compressed audio protocol with inband control the following paragraph describes an h.221/h.223 oriented protocol which transfers the control information inband with the compressed audio data. the user sends commands and data, and the provider sends status and data. commands and data or status and data are grouped into blocks of 16-bit words. between the user and the jade an one data packet is transferred each way every 10 ms. the packet, that is transferred from the video processor to the jade an - called command data - consists of eight command words followed by the appropriate number of data words for the current speech algorithm: table 19 g.723 mode supported in itu-t c-code version bit (1-0) of first byte comment g.723, 6.3 kbit/s 4.1, 5.0, 5.1 00 6.3 kbit/s mode standard packet g.723, 5.3 kbit/s 4.1, 5.0, 5.1 01 5.3 kbit/s mode standard packet g.723, silence insertion descriptor (sid) packets 5.0, 5.1 10 silence packet with filter coefficients, same for 6.3 and 5.3 kbit/s mode g.723, untransmitted packets 5.0, 5.1 11 silence packet without any data, same for 6.3 and 5.3 kbit/s mode
psb 7230 firmware features semiconductor group 133 data sheet 1998-07-01 the header of the command data packet describes the jade an operation modes in effect for data in the next packet. see section commands below for a detailed description of the above command words. the packet that is transferred from the jade an to the video processor - called status data - consists of eight status words followed by the appropriate number of data words for the current speech algorithm: the compressed data is between 0 and 80 words long depending on which of the decoding/encoding modes is active (neutral, g.723, g.711 or 8 khz samples pass-through). the most significant byte of a word is received/transmitted first. the g.723 compressed data framing is identical with the outband controlled mode, see section 6.2.1.2 for details. a header bit can indicate that the current compressed data is invalid. this means that it is not decoded and instead the sound from a previous packet is repeated. by that a simple interpolation of the speech signal is achieved to avoid an audible click. the size of the command and data packets is the following (header excluded): table 20 command data structure 0 command header word 1 checksum of words 2-7 2 set mode 3 set options 4 set volume 5-7 reserved for future expansion 8+ compressed data; 0, 4, 40 or 80 words (1 word = 16 bit) table 21 status data structure 0 status header word 1 capabilities 2 mode status 3 options status 4 volume satus 5 error conditions 6-7 reserved for future expansion 8+ compressed data; 0, 4, 40 or 80 words (1 word = 16 bit)
psb 7230 firmware features semiconductor group 134 data sheet 1998-07-01 the communication between user and jade an starts in the neutral mode. to initiate transfer of speech data, the user sends a command data structure set to the desired compression mode(s) in a neutral size packet. the mode change affects the jades input pipeline stage in the next 10 ms period. this means that if the decode mode changes, the next packet from the user will change in size (corresponding to the new decode mode), while if the encode mode changes, the third packet from the jade an will be affected (packets from the jade an represent the output stage of the pipeline). as a general rule, any changes to the current operating mode or options (volume, mute, etc.) transferred to the jade an from the user take effect on the input captured on the next 10 ms boundary. to change compression modes, the user must first send four neutral mode command packets. the first neutral mode command will be in a full-size packet per the current operating mode, while the following neutral mode command packet does only contain the 8 words header. two neutral packets are required to clear the jades pipeline. during that time the jade an will reorganize its memory (if required) and re-initialize internal variables. note: when a mode change is requested by the user without sending four neutral packets before, the jade an may not work stable. commands the following section defines the commands which are sent from the user to the jade an. any changes in mode affects the input pipeline stage in the next 10 ms time slot. 1. command header word 2. checksum the sum of the six following words (regarded as signed 16 bit values) in the command header. if the checksum is wrong, no modes or options are changed, and an error status is sent back in the next status header. 1) the 8-khz pass-through mode is not available when host/host is selected as interface combination for compressed/uncompressed data. table 22 mode compressed words (bytes) neutral 0 (0) g.723 4 (8) g.711 40 (80) 8 khz pass-through 1) 80 (160) 0000100000001111
psb 7230 firmware features semiconductor group 135 data sheet 1998-07-01 3. set mode audio modes for encoder (em0:3) and decoder (dm0:3). the following modes are defined: 4. set options: x x x x x x x x em3 em2 em1 em0 dm3 dm2 dm1 dm0 table 23 reset special full word definition of the command mode. reset is defined as 0xffff and returns the jade to its power on default state 0 neutral mode, only command and status header information is exchanged 1 pass-through 16-bit linear 8 khz sampled data 2 g.711 8 khz sample rate a-law encoding/decoding 3 g.711 8 khz sample rate m -law encoding/decoding 6 g.723 8 khz sample rate mp-mlq (6.3 kbit/s) or acelp (5.3 kbit/s) coding ixxp1p0l2l1l0xx re1 re0 rd1 rd0ed d decoding mute enable (1) and disable (0). after switching, a ramping function is implemented to avoid audible clicks e encoding mute enable (1) and disable (0). after switching, a ramping function is implemented to avoid audible clicks re(1-0), rd(1-0) when the encode mode is g.723 the re bits give the desired encoding method: 00 high rate, dont use silence suppression 01 high rate, use silence suppression 10 low rate, dont use silence suppresion 11 low rate, use silence suppression rd is the same as the above, but indicates the mode of the data in this packet. it is the same as the corresponding bits of the g.723 packet data.
psb 7230 firmware features semiconductor group 136 data sheet 1998-07-01 5. set volume adjusts the gain on the analog input and output. realized by multiplying the encoder samples with (ev(7-0)+1)/256 and the decoder samples with (dv(7-0)+1)/256, i.e. for maximum volume, the samples are not affected and for minimum volume they are divided by 256. l(2-0) loopback modes, used for testing the audio subsystem. the following loops are implemented: 000 no loopback (default) 001 send received compressed data back to the user as encode data 010 encode the decoded user data 011 reserved 100 reserved 101 decode the encoded audio input data 110 send the digital adc output to the dac input 111 reserved p(1-0) part number of the data in this packet. allows the natural period of the data to be 10 to 40 ms. for g.723 takes on the values 0, 1 or 2 corresponding to the first, second or third part of a 30 ms data packet. is always 0 for the other modes. note: when in g.723 mode, the user has to take care that g.723 encoder and decoder are running synchronously, i.e. the part number of the received and transmitted packet in one 10 ms frame must be identical for control and status. data is invalid. if i is set then the compressed data in this packet was missing or had errors. the data words in this packet are still sent to avoid buffer problems. ev7 ev6 ev5 ev4 ev3 ev2 ev1 ev0 dv7 dv6 dv5 dv4 dv3 dv2 dv1 dv0
psb 7230 firmware features semiconductor group 137 data sheet 1998-07-01 status the following section defines the status information that is sent from the jade an to the user. the status packet contains information about the current output pipeline stage, i.e. the modes used to generate the data in the status packet itself. 1. status header word: 2. capabilities: 3. mode status: report the audio mode or operation as defined in the command mode word above for the data that is in this packet. 4. options status: 0100100000001111 cs00000000m00 m ap p pass-through mode available (1) or not (0) a g.711 - 8 khz sample rate a-law coding available m g.711 - 8 khz sample rate m -law coding available m g.723 - 8 khz sample rate mp-mlq (6.3 kbit/s) or acelp (5.3 kbit/s) coding available s symmetry required. the jade an reports a 1 indicating the standards used for encoding must be the same as for decoding. asymmetry is allowed for neutral mode mixed with any other mode and mixed g.711 a-/ m -law, i.e. a-law encoder and m -law decoder or vice versa. c codec connected to the jade an (1) or not (0). default is 1. xxxxxxxx em3 em2 em1 em0 dm3 dm2 dm1 dm0 ixxp1p0l2l1l0xx re1 re0 rd1 rd0ed
psb 7230 firmware features semiconductor group 138 data sheet 1998-07-01 report the audio mode or operation per the bits as defined in the command options word above for the data in this packet. 5. volume status: report the gain on the analog input and output. defined as in the command volume word above, i.e. 0 is the minimum volume, and 255 is the maximum. 6. error conditions: set in response to an error, either in the command sequence or an internal error. all zero indicates no error. 6.2.1.4 control pipeline like stated before, there is a delay of three times the frame length (default: 30 ms) between the transfer of a new control block from the host to the jade an and the new settings being reported in the status data (transferred from the jade an to the host) due to the internal buffering pipeline of the jade an. this pipeline is independent of the chosen compressed audio protocol (inband or outband). therefore this chapter is applicable to section 6.2.1.2 and section 6.2.1.3 . in case g.723 is used it is recommended to use the inband protocol due to the fact that packet numbering information is needed on a 10 ms basis. the packet numbering information is included in the inband protocol header, thus there is no need to request additional status information from the jade (see chapter 6.2.1.1 ). table 25 shows the pipeline behaviour switching from neutral to g.711 and vice versa. ev7 ev6 ev5 ev4 ev3 ev2 ev1 ev0 dv7 dv6 dv5 dv4 dv3 dv2 dv1 dv0 e15 e14 e13 e12 e11 e10 e9 e8 e7 e6 e5 e4 e3 e2 e1 e0 table 24 bit error condition 0 invalid checksum 1 invalid audio mode 2 invalid loopback mode 3 hardware error 4 packet timing error 5 iom-host mode ( chapter 6.2.3.2 ): interrupt service from host has been delayed by more than 160 ms
psb 7230 firmware features semiconductor group 139 data sheet 1998-07-01 note: the encoder data is input through the uncompressed interface and output through the compressed interface. the decoder data is input through the compressed interface and output through the uncompressed interface. the #data bytes (see table 25 ) transferred together with the control/status information refers only to the compressed interface! table 25 control/status pipeline for g.711 (identical for pass-through) packet# (10 ms) control (user to jade an) status (jade an to user) comment mode opt1* #data bytes mode opt1 #data bytes 1 00 00 0 00 00 0 neutral status after reset 2 22 00 0 00 00 0 command: g.711 a-law encode & decode 3 22 00 80 00 00 0 first g.711 a-law encoded data to jade an 4 22008000000 C 5 220080220080first g.711 a-law en-/decoded data from jade an 6 220080220080C 7 00 00 80 22 00 80 command: neutral mode (at least 4 times), last g.711 data to jade an 8 00 00 0 22 00 80 C 9 00 00 0 22 00 80 last g.711 a-law en-/decoded data from jade an 10 00 00 0 00 00 0 4th neutral packet, next can change mode 11 33 05 0 00 00 0 command: g.711 m -law with loop 5 12 33 05 80 00 00 0 first (dummy) g.711 m -law encoded data to jade an 13 33 05 80 00 00 0 C
psb 7230 firmware features semiconductor group 140 data sheet 1998-07-01 the pipelining is identical for the 8 khz pass-through mode. 14 33 05 80 33 05 80 first g.711 m -law en-/decoded data from jade an 15 33 05 80 33 05 80 C 16 00 00 80 33 05 80 command: neutral mode, last g.711 data to jade an 17 00 00 0 33 05 80 C 18 00 00 0 33 05 80 last g.711 m -law en-/decoded data from jade an 19 00 00 0 00 00 0 4th neutral packet, next can change mode 20 02 00 0 00 00 0 command: g.711 a-law decoder only 21 02 00 80 00 00 0 first g.711 a-law encoded data to jade an 22 02 00 80 00 00 0 C 23 02 00 80 02 00 0 first g.711 a-law decoded data from jade an 24 02 00 80 02 00 0 C 25 00 00 80 02 00 0 command: neutral mode, last g.711 data to jade an 26 00 00 0 02 00 0 C 27 00 00 0 02 00 0 last g.711 a-law decoded data from jade an 28 00 00 0 00 00 0 4th neutral packet, next can change mode table 25 control/status pipeline for g.711 (identical for pass-through) (contd) packet# (10 ms) control (user to jade an) status (jade an to user) comment mode opt1* #data bytes mode opt1 #data bytes
psb 7230 firmware features semiconductor group 141 data sheet 1998-07-01 in g.723 the natural frame length of 30 ms is split up into three 10 ms packets to fit into the interface structure of the other audio modes. these packets are numbered by the p(1-0) bits (in opt1 for outband control, options for inband control) taking on the values 0, 1 or 2 for the first, second or third part of a 30 ms frame, respectively. when entering g.723 mode the pipelining is similar to the above listing, but the first g.723 packets from the jade an will be invalid (indicate by msb of opt1). as mentioned above for synchronisation of input and output packets one has to wait for valid packets from the jade. when in g.723 mode, mode changes will be recognized by the jade with the beginning of the first 10 ms packet. thus, the control block for a mode change request should be transmitted to the jade during the previous 3rd packet exchange. after an exit from g.723 encoder has been requested, the p(1-0) counter will no longer reflect the packet numbers even during the phase of draining the jade internal pipeline. see the example below for details (high rate without voice activity detection used in this example, behaviour for the other modes is similar). the recommended host procedure for setting up g.723 encoding (and/or decoding) is as follows: 1. wait for status packet showing the desired mode. the firmware takes care that the 4th packet after a mode change shows the desired mode 2. wait for the 1st valid g.723 encoded packet numbered as packet #0. all subsequent packets will be numbered correctly. table 26 control/status pipeline for g.723 packet# (10 ms) control (user to jade an) status (jade an to user) comment mode opt1* #data bytes mode opt1 #data bytes 1 00 00 0 00 00 0 neutral status after reset 2 66 00 0 00 00 0 command: g.723 high rate encode & decode 3 66 00 8 00 00 0 first (dummy) g.723 encoded data to jade an for g.723 decoding 4 66008 00000 C 5 66 90 8 66 90 8 first (invalid) g.723 en-/decoded data from jade an
psb 7230 firmware features semiconductor group 142 data sheet 1998-07-01 6 66808 66808 C 7 66888 66888 C 8 66908 66908 C 9 66 00 8 66 00 8 part 0 of valid g.723 encoded frame to/from jade an 10 66 08 8 66 08 8 part 1 of 30 ms frame 11 66 10 8 66 10 8 part 2 of 30 ms frame 12 66 00 8 66 00 8 part 0 of 30 ms frame 13 66 08 8 66 08 8 part 1 of 30 ms frame 14 00 10 8 66 10 8 part 2 of 30 ms frame, command: neutral mode, last g.723 data to jade an 15 00 00 0 66 00 8 C 16 00 00 0 66 00 8 last g.723 en-/decoded data from jade an 17 00 00 0 00 00 0 4th neutral packet, next can change mode 18 60 00 0 00 00 0 command: g.723 high rate encode 19 60 00 0 00 00 0 C 20 60 00 0 00 00 0 C 21 60 00 0 60 90 8 first (invalid) g.723 encoded data from jade an table 26 control/status pipeline for g.723 (contd) packet# (10 ms) control (user to jade an) status (jade an to user) comment mode opt1* #data bytes mode opt1 #data bytes
psb 7230 firmware features semiconductor group 143 data sheet 1998-07-01 22 60 00 0 60 80 8 C 23 60 00 0 60 88 8 C 24 60 00 0 60 90 8 C 25 60 00 0 60 00 8 part 0 of valid g.723 encoded frame from jade an 26 60 00 0 60 08 8 part 1 of 30 ms frame 27 60 00 0 60 10 8 part 2 of 30 ms frame 28 60 00 0 60 00 8 part 0 of 30 ms frame 29 60 00 0 60 08 8 part 1 of 30 ms frame 30 00 00 0 60 10 8 part 2 of 30 ms frame, command: neutral mode 31 00 00 0 60 80 8 invalid g.723 data from jade an internal pipeline 32 00 00 0 60 00 8 last g.723 encoded data from jade an 33 00 00 0 00 00 0 4th neutral packet, next can change mode 34 06 00 0 00 00 0 command: g.723 high rate decode 35 06 00 8 00 00 0 part 0 of valid g.723 encoded frame to jade an 36 06 08 8 00 00 0 part 1 of 30 ms frame 37 06 10 8 06 00 0 part 2 of 30 ms frame, first g.723 decoded data from jade an table 26 control/status pipeline for g.723 (contd) packet# (10 ms) control (user to jade an) status (jade an to user) comment mode opt1* #data bytes mode opt1 #data bytes
psb 7230 firmware features semiconductor group 144 data sheet 1998-07-01 *: p(1-0) bits are autoincremented in outband controlled mode. thus, opt1 does not need to be explicitly written for each 10 ms packet! if p(1-0) bits are written to the jade which dont match the corresponding status bits, they will be ignored. #data bytes means the number of compressed data bytes transmitted from the user to the jade an or from the jade an to the user, respectively. the uncompressed data is exchanged constantly with 80 samples in 10 ms (8 khz). 6.2.2 uncompressed data protocol the uncompressed data protocol is quite simple. the default configuration is 8 khz sampling rate and 16-bit linear data. the data format can be selected to be either 16-bit linear or 8-bit pcm (g.711 a-/ m -law). for a 10 ms framing the size of the uncompressed data (in bytes) is listed in the table below: note: i ndependently of the interface selection for the uncompressed audio, always the most significant bit of the most significant byte is transferred first, e.g. 16-bit linear samples are split up into two bytes and the most significant bit of the most significant byte is transferred first (big endian). 38 06 00 8 06 00 0 part 0 of 30 ms frame 39 06 08 8 06 00 0 part 1 of 30 ms frame 40 00 10 8 06 00 0 part 2 of 30 ms frame, command: neutral mode, last g.723 data to jade an 41 00 00 0 06 00 0 C 42 00 00 0 06 00 0 last g.723 decoded data from jade an 43 00 00 0 00 00 0 4th neutral packet, next can change mode 16-bit linear g.711 a-/ m -law 8 khz sampling rate 160 80 table 26 control/status pipeline for g.723 (contd) packet# (10 ms) control (user to jade an) status (jade an to user) comment mode opt1* #data bytes mode opt1 #data bytes
psb 7230 firmware features semiconductor group 145 data sheet 1998-07-01 6.2.3 audio interface timings in this chapter the timings and/or interrupt handshake procedures are described for the different hardware interface selections (host/host, iom/host, iom/serial audio interface). after a hardware reset the firmware automatically does all necessary initializations for the iom/serial audio interface combination described in chapter 6.2.3.3 . the other interface combinations can be configured by configuring the control block (see chapter 6.2.1.1 ). note: after a hardware reset, the jade an firmware needs to initialize its internal memories and interfaces. the time to do this is less than 10 ms. the user must take care to access the jade an only after this initialization phase is completed, i.e. 10 ms after the hardware reset. 6.2.3.1 uncompressed data: host if, compressed data: host if this interface combination is used for offline processing of audio (isel(1-0) = 00). i.e. the compression can be done faster than realtime, because the jade an is in each mode able to process audio at least in realtime. this definitely also depends on the capabilities of the host processor to provide a fast interrupt service to the handshake procedure described below. the most complex algorithm is g.723, in this mode the maximum possible speed is only slightly faster than realtime, because almost all of the computational power of the jade an is needed to compress the audio. the 8 khz pass-through mode is not available with this interface combination. the basic structure of data exchange between the host and the jade an is shown in the figure 46 . figure 46
psb 7230 firmware features semiconductor group 146 data sheet 1998-07-01 the picture shows the sequence of basic handshake procedures for one 10 ms frame. basically, there are three blocks: the compressed audio exchange (basic procedure 1/3), the uncompressed audio exchange (basic procedure 2/3) and the finishing procedure (basic procedure 3/3). the compressed audio exchange (1/3) is executed only once in a 10 ms frame. with the uncompressed audio handshake (2/3), 2.5 ms of uncompressed data are exchanged (20 samples at 8 khz). this results in a four times repetition of this block to collect 10 ms of uncompressed data for the next frame. finally, a finishing handshake (3/3) is executed, which acknowledges the audio data exchange, offers the possibility to the host to request for other interrupt services and starts the next frame. note: the first time frame after the host/host interface has been setup starts with the last part of the finishing handshake procedure (3/3), see figure and table below. for the handshake procedure of the compressed audio see figure 47 .
psb 7230 firmware features semiconductor group 147 data sheet 1998-07-01 figure 47 this procedure is (nearly) identical with the interrupt handshake when in iom/host mode (see chapter 6.2.3.2 ) and the following steps are perfomed:
psb 7230 firmware features semiconductor group 148 data sheet 1998-07-01 in the following, four 2.5 ms packets of uncompressed audio data are exchanged. see figure 48 for the handshake procedure. 1. the jade writes one frame of encoded audio data into the mailbox (most significant byte first). 2. the jade generates a vocoderfinished interrupt at int# line to the host by writing a value c0h or 80 h (toggling) into ind interrupt status register at address 58 h . the value of this interrupt is each time toggling between c0 h and 80 h to ensure that a polling host can consider a new vocoderfinished. for an interrupt driven host one should just connect both numbers to the same interrupt service routine. 3. the host reads the compressed audio frame from the mailbox using the procedure described in section 3.4 and may reset the indb bit. the reset of the indb bit is not mandatory and may be skipped. 4. the host writes the compressed audio frame for the decoder into the mailbox using the procedure described in section 3.4 . 5. the host generates an interrupt to the jade by writing value 24 h into inh interrupt status register at address 50 h . 6. the jade reads the compressed audio data from the mailbox and acknowledges the reception by resetting the inhb bit.
psb 7230 firmware features semiconductor group 149 data sheet 1998-07-01 figure 48 the following steps are executed:
psb 7230 firmware features semiconductor group 150 data sheet 1998-07-01 after the above procedure has been repeated four times, the finishing procedure is executed (see figure 49 ). 1. the jade writes a packet of uncompressed audio (2.5 ms) into the mailbox (most significant byte first). 2. the jade generates an interrupt at int# line to the host by writing a value 03 h into ind interrupt status register at address 58 h . this interrupt acknowledges the previous inh interrupt (either from the compressed data transfer or from the last uncompressed data transfer) and requests the current uncompressed data exchange. 3. the host reads the uncompressed audio from the mailbox using the procedure described in section 3.4 and may reset the indb bit. the reset of the indb bit is not mandatory and may be skipped. 4. the host writes a packet of uncompressed audio (2.5 ms) into the mailbox using the procedure described in section 3.4 . 5. the host generates an interrupt ot the jade by writing value 02 h into inh interrupt status register at address 50 h . 6. the jade reads the uncompressed audio data from the mailbox.
psb 7230 firmware features semiconductor group 151 data sheet 1998-07-01 figure 49 the following steps are executed:
psb 7230 firmware features semiconductor group 152 data sheet 1998-07-01 with this procedure the handling of one frame of data is finished and the next frame is started beginning with the exchange of the compressed audio (procedure 1/3). when starting the above protocol, it begins at the point marked with start in first frame. this is to enable the host to have control of the real start time, so the host first has to generate a host ready interrupt (inh = 05 h ) before the host will start with the exchange of the compressed audio (procedure 1/3). after that, the host/host handshake procedure is executed cyclically. note: a polling host should not directly poll the ind interrupt status register 58 h , but the dint bit in int interrupt status register 75 h . this bit always shows whether an interrupt from the dsp has been generated or not, independently of the corresponding mask register. the mask register only decides whether an interrupt at int line is generated. after having recognized an ind interrupt status, the polling host may read out the register 58 h to get the interrupt number. 1. the jade generates an interrupt at int# line to the host by writing a value 04 h into inh interrupt status register at address 50 h . 2. the host may reset the indb as a reaction to the jade interrupt. this step is not mandatory and may be skipped. 3. start point in first frame at this point, the host can request other interrupts, like read status or write control block (see section 6.2.1.1 ). the number of interrupts and the time to execute them is not limited by the jade, but dedicated by the host itself. the host may request interrupts as long as it has not executed the next step of this table. 4. the host generates an interrupt to the jade by writing value 05 h into inh interrupt status register at address 50 h . by that, the host indicates that it is ready to exchange the next frame of data. 5. the jade resets the inhb bit.
psb 7230 firmware features semiconductor group 153 data sheet 1998-07-01 6.2.3.2 uncompressed data: iom if, compressed data: host if the jade an can provide the uncompressed audio via the iom interface while exchanging the compressed audio through the host interface (isel(1-0) = 01). after switching to iom/host interface combination by programming the isel(1-0) bits in the control block, an initialization phase is executed by the jade an in which the internal firmware re-programs the configuration/control registers like in the default configuration (see section 5.3 ) to setup the iom interface for the communication with the analog front end (afe). this initialization phase is < 10 ms. the iom interface is in te mode (double dcl clock) and ic1/2 channels are selected for the 16 bit linear data transfer between the jade an and the analog front end (afe). the dd line is output of the jade an, du is input to the jade an. this configuration may be changed by the host by just overwriting the corresponding registers after the default initialization has been completed. an interrupt handshake protocol is implemented for the data exchange on the host interface. the basic timing for this protocol is determined by the uncompressed data rate at the iom interface. see figure 50 for the interrupt handshake procedure:
psb 7230 firmware features semiconductor group 154 data sheet 1998-07-01 figure 50
psb 7230 firmware features semiconductor group 155 data sheet 1998-07-01 the following steps are performed: 1) to keep the interrupt load for the host as small as possible, the jade an does not generate an acknowledge interrupt. it is guaranteed, that the inh interrupt 24 h is serviced within a time of 125 m s, so if the host sends the interrupt 24 h soon enough, it is guaranteed, that the interrupt handshake procedure is completed before the next vocoderfinished from the jade an appears. so, in this case the host does not need to check the status of inhb. 2) if the host wants to apply other actions, e.g. reading or writing of the control/status block, it has to wait for the inhb bit to be reset to 0. all these additional actions should be completed within the current time frame (default: within 10 ms after the vocoderfinished interrupt). otherwise special situations in the interrupt sequence have to be considered by the host, see text below. when starting the above procedure, it begins at the point marked with start in first frame. this is to enable the host to have control of the real start time, so the host first has to deliver compressed data to the jade an and generate the corresponding interrupt. after that, the iom/host handshake procedure is executed cyclically. 1. the jade writes one frame of encoded audio data into the mailbox (most significant byte first). 2. the jade writes a backup of the vocoderfinished interrupt number performed in the next step into the host accessible register 61 h . this is only used for detection of a missed interrupt when a slow host is connected, see text below. 3. the jade generates a vocoderfinished interrupt at int# line to the host by writing a value c0 h or 80 h (toggling) into ind interrupt status register at address 58 h . the value of this interrupt is each time toggling between c0 h and 80 h to ensure that a polling host can consider a new vocoderfinished. for an interrupt driven host one should just connect both numbers to the same interrupt service routine. 4. the host reads the compressed audio frame from the mailbox using the procedure described in section 3.4 and may reset the indb bit. the reset of the indb bit is not mandatory and may be skipped. 5. start point in first frame the host writes the compressed audio frame for the decoder into the mailbox using the procedure described in section 3.4 . 6. the host generates an interrupt to the jade by writing value 24 h into inh interrupt status register at address 50 h . 7. the jade reads the compressed audio data from the mailbox and acknowledges the reception by resetting the inhb bit. 1), 2)
psb 7230 firmware features semiconductor group 156 data sheet 1998-07-01 note: a polling host should not directly poll the ind interrupt status register 58 h , but the dint bit in int interrupt status register 75 h . this bit always shows whether an interrupt from the dsp has been generated or not, independently of the corresponding mask register. the mask register only decides whether an interrupt at int line is generated. after having recognized an ind interrupt status, the polling host may read out the register 58 h to get the interrupt number. note: some special situations have to be considered if one uses a slow host that cannot always ensure to finish the whole interrupt handshake in one frame period (default 10 ms), i.e. before the next vocoderfinished interrupt is generated by the jade. collisions between not finished interrupts and the new vocoderfinished interrupt may occur. interrupt conflicts with a slow host in the following some special situations and the recommended handling are described to keep the host protocol stable also in situations where the host has not finished its interrupt requests before the beginning of the next time frame, as long as the interrupt service delay is less than 160 ms. the following descriptions apply for all encoder/decoder modes. if the interrupt service from the host is delayed by up to 160 ms, none of the interrupts during this time (usually only one vocoderfinished every 10 ms) is lost, but they are delayed, too, until the host is able to service them. thus, after a gap in interrupt service a burst of interrupts has to be serviced by the host. note: g.723 mode: during the interrupt burst to catch up for the delayed host interrupt service, the number of interrupts ensures proper synchronisation after the burst, but the data and packet numbering during the burst will be garbage. thus, the synchronisation of encoder and decoder packets should only be done during non-delayed interrupt service. the interrupts write jade control block and read jade status are representative for all kinds of interrupts initiated by the host, so they are used in the following as an example for the corresponding type of interrupt. 1. write jade control block conflict with vocoderfinished , case 1 a critical situation for the host may occur when a write jade control block (wcb) interrupt handshake is done immediately before the next time frame starting with the new vocoderfinished (vocfin) interrupt begins. see figure 51 .
psb 7230 firmware features semiconductor group 157 data sheet 1998-07-01 figure 51
psb 7230 firmware features semiconductor group 158 data sheet 1998-07-01 in this case, the wcb interrupt handshake is finished correctly, but the acknowledge interrupt ind 32 h may be missed by the host if it is busy at that time, because the next vocfin may be generated by the jade an before the host is able to recognize the ind 32 h interrupt. the ind interrupt status register then is overwritten by the vocfin interrupt. if the host was busy during the time these two interrupts occured, it will afterwards only detect the vocfin interrupt and miss the acknowledge of the wcb. to handle this situation, the host should have an internal status register indicating an outstanding acknowledge interrupt. in case a vocfin is detected and an acknowledge interrupt is outstanding, the host has to check the inhb bit. as shown in the figure above, the inhb bit is reset in the wcb acknowledge procedure (see bold text). if the host detects inhb = 0, the wcb interrupt has been acknowledged, but the host has missed the ind 32 h interrupt. if the host detects inhb = 1, the wcb interrupt has not yet been serviced and will be serviced later. for this case see also the conflict situation below. 2. write jade control block conflict with vocoderfinished , case 2 another critical situation for the host may occur when a write jade control block (wcb) interrupt handshake is started in parallel with with the new vocoderfinished interrupt of the new time frame. see figure 52 .
psb 7230 firmware features semiconductor group 159 data sheet 1998-07-01 figure 52
psb 7230 firmware features semiconductor group 160 data sheet 1998-07-01 in this case, the host generates the wcb interrupt before it has recognized the vocfin from the jade an and the jade an generates the vocfin before it has recognized the wcb from the host. immediately after the reception of wcb request the jade an will service that interrupt and send the corresponding acknowledge interrupt ind 32 h . the vocfin interrupt status in the ind register is overwritten by that. if the host was busy between vocfin and the acknowledge of wcb, it will only receive one interrupt and recognize the later one, which is the ind 32 h . to recognize, that it has missed one vocfin interrupt, the host should check the vocoderfinished backup register 61 h . if the value of this register has toggled, it knows that there has been a vocfin before the ind 32 h interrupt and must continue to service it. note: a parallel read/write access of the 3061/61 register is not prohibited by hardware. thus an invalid value maybe read by the host when it reads the register at the same time as the jade an writes it. as a consequence, the host has to implement a double last look regarding this register, i.e. it has to read the contents until it has read the same value in two consecutive read-accesses, only then it is ensured that the value is valid. 3. read jade status conflict with vocoderfinished , case 1 if a read jade status (rs) interrupt handshake is initiated by the host immediately before the next time frame starts and is not completed at the time the new vocfin interrupt should occur, the vocfin is delayed until the rs is finished. due to audio delay reasons, the jade an has small internal buffers for the compressed data. this leads to an overwriting of audio data very soon after a vocfin is delayed. it is ensured that the jade an is working stable in these situations, nevertheless, a graceful degradation of speech quality has to be accepted by the user which is about proportional to the real delay time of the vocfin interrupt (the smaller the delay due to the busy host, the smaller the degradation of quality). 4. read jade status conflict with vocoderfinished , case 2 a read jade status (rs) request from the host coming in parallel with the vocfin of the new time frame will cause the following interrupt flow:
psb 7230 firmware features semiconductor group 161 data sheet 1998-07-01 figure 53
psb 7230 firmware features semiconductor group 162 data sheet 1998-07-01 the sr request will be recognized by the jade an, but not immediately be serviced. it is stored in an internal interrupt buffer and the vocfin is handled first as the higher priority interrupt. so, the host must not wait for the sr request to be serviced, but has to be able to recognize a vocfin interrupt from the jade an after an sr request. the vocfin interrupt then is serviced as usual and only after the corresponding handshake mechanism is finished, the sr request is serviced by the jade an. 6.2.3.3 uncompressed data: iom if, compressed data: serial audio interface (sai) this is the default mode of the jade an (isel(1-0) = 10). the complete setup of the interfaces, timeslots and so on is done by the on-chip firmware after reset, so that a standalone application with a video processor using the iom-sai interface combination can be realized without the need of an additional host. figure 54 the on-chip firmware uses the data controller for the transfer of the compressed audio data over the serial audio interface. during the initialization phase after a reset, the internal firmware programs the configuration/control registers (see section 5.3 ) and the data controller (see section 5.4 ). this results in a serial clock rate of 1.23 mhz continously generated by the jade an, a 16 bit time-slot length and msb sent/received first. the frame sync signals rfs and tfs are generated by the jade an non-continously, i.e. during one frame only the exact number of frame syncs needed for the transfer of the current packet of data is generated in one burst. the iom interface is in te mode (double dcl clock) and ic1/2 channels are selected for the 16 bit linear data transfer between the jade an and the analog front end (afe). the dd line is output of the jade an, du is input to the jade an. this configuration may be changed by the host by just overwriting the corresponding registers.
psb 7230 firmware features semiconductor group 163 data sheet 1998-07-01 the timing of the jade an firmware is controlled by the video processor, which generates an interrupt every 10 ms at the sio line. the jade an then starts generating a number of frame sync signals at rfs and tfs, depending on the length of the data packet that has to be exchanged. the rfs and tfs bursts are asynchronously, i.e. the rfs burst starts about 16 frame syncs before the tfs. after data packet transfer the jade an waits for the next sio interrupt. note: during startup procedure the uncompressed interface (iom) must be setup before the serial audio interface is started, i.e. the fsc and dcl signals must be stable before the first 10 ms interrupt is generated by the video processor. due to small differences in the clock of the video processor and the audio output, the jade an is able to add or drop two uncompressed audio samples every 10 ms. that means, a skew of 2.5% ( f s = 8 khz) between the communication boards clock and the audio codecs clock is acceptable to the jade an and should be aurally imperceptible. in the following this will be called the long term skew. in addition to the long term skew, the jade an can correct for short term variances using an internal buffer mechanism. this allows single sio periods to vary by +/C 15%. please refer to figure 55 : figure 55
psb 7230 firmware features semiconductor group 164 data sheet 1998-07-01 the full definition is as follows: long term sio period t l t l =10ms 0.25 ms short term sio period t s t s = t l (1 15%) ? 10 ms 1.5 ms duration of n consecutive sio periods the basic clock for the definition of [ms] is the frame sync signal (fsc) of the uncompressed audio interface. note: for maximum audio quality it is recommended to keep the skew between the iom-2 and the sio time base as small as possible, i.e. to adjust t l in the above definition as close to 10 ms as possible. in an application with the vcp from 8x8 (formerly iit) like in the siemens/8x8 demonstration board design, the sio interrupt period is locked to the iom-2 time base after a call is setup, so no compensation on the uncompressed audio needs to be done by the jade an any more. this ensures the maximum possible audio quality. t i n1 C () t l t s + = i1 = n ?
psb 7230 electrical specification semiconductor group 165 data sheet 1998-07-01 7 electrical specification 7.1 absolute maximum ratings esd-integrity is 500 v. note: stresses above those listed here may cause permanent damage to the device. exposure to absolute maximum rating conditions for extended periods may affect device reliability. 7.2 operating conditions v dd = 3.0 to 3.6 v, v ddp = 4.5 to 5.5 v, v ss = 0 v v dda = 3.0 to 3.6 v, v ssa = 0 v v ddap = 3.0 to 3.6 v, v ssap = 0 v 7.3 dc characteristics v- conditions: v dd = 3.0 to 3.6 v, v ddp = 4.5 to 5.5 v, v ss = 0 v, t a = 0 to + 70 c. all pins except xtal1, xtal2. note: in the operating range the functions given in the circuit description are fulfilled. table 27 parameter symbol limit values unit ambient temperature under bias t a 0 to 70 c storage temperature t stg C 65 to 125 c supply voltage v dd C 0.5 to 4.2 v supply voltage v dda C 0.5 to 4.2 v supply voltage v ddp C 0.5 to 6.0 v voltage of pin with respect to ground: xtal1, xtal2 v s C 0.4 to v dd + 0.5 v voltage of any other pin with respect to ground v s if v ddp < 3v: C 0.4 to v dd + 0.5 if v ddp > 3v: C 0.4 to v ddp + 0.5 v v
psb 7230 electrical specification semiconductor group 166 data sheet 1998-07-01 the power supply on voltage on v dd C v ss and v dda C v ssa must be applied after the power supply on v ddp / v ssp is applied (or at the same time as v dd is applied). if this is not accomplished, the device may be damaged permanently. applying voltages to signal pins when power supply is not active (circuit not under bias) may cause damage - refer to paragraph absolute maximum ratings. when power supply is switched on, the pads do not reach their stable bias until after 2 m s (maximum). table 28 parameter symbol limit values unit test condition min. max. high-level input voltage v ih 2.0 C v C low-level input voltage v il C0.8vC high-level output voltage v oh 2.4 C v i oh = C 400 m a low-level output voltage v ol C0.45v i ol = 7 ma pins for du, dd, sr and st (50 pf) i ol = 5 ma pins ca(0:15), cd(0:15), intn, intrn (30 pf) i ol = 2 ma all others (30 pf) input leakage current i li C 1 1 m a0 v < v in < v dda for xtal1 0 v < v in < v dd for cd(0:15) 0 v < v in < v ddp for all others output leakage current i lo C10 10 m a0 v < v out < v dda for xtal2 0 v < v out < v dd for ca(0:15), cd(0:15), cps , cds , cwr , crd 0 v < v out < v dd for all others v dd + v dda supply current i dds C90maC v ddp supply current i ddps C1maC
psb 7230 electrical specification semiconductor group 167 data sheet 1998-07-01 7.4 capacitances 7.5 oscillator circuit figure 56 7.6 xtal 1,2 recommended typical crystal parameters 1) first value for 7.68 mhz crystal (using internal pll), second value for 34.56 mhz crystal (using bypass mode). note: the 34.56 mhz crystal must be of the fundamental type. table 29 parameter symbol limit values unit test condition min. max. input capacitance c in C7pfC i/o capacitance c i/o C7pfC load capacitance c ld C 93/7 1) pf xtal1,2 table 30 parameter symbol limit values unit motional capacitance c 1 17 ff shunt c 0 5pf load c l 23/42 1) pf resonance resistance r r recommended 50/80 1) ohm
psb 7230 electrical specification semiconductor group 168 data sheet 1998-07-01 7.7 ac characteristics 7.7.1 testing waveform conditions as above (recommended operating conditions) at t a = 0 to 70 c. inputs are driven to 2.4 v for a logical 1 and to 0.4 v for a logical 0. timing measurements are made at 2.0 v for a logical 1 and 0.8 v for a logical 0. the ac testing input/output waveforms are shown in figure 57 . figure 57 7.7.2 parallel host interface timing siemens/intel bus mode figure 58 microprocessor read timing itt00712 rd x cs ad0 - ad7 t rd data t df rr tt ri
psb 7230 electrical specification semiconductor group 169 data sheet 1998-07-01 figure 59 microprocessor write timing figure 60 multiplexed address timing figure 61 non-multiplexed address timing itt00713 wr x cs ad0 -ad7 t dw data t wd ww tt wi itt00714 wr x cs ad0 - ad7 t la cs x rd or address ale t als t al t aa t ad itt09661 wr x cs or a0-a7 t ah t as address rd x cs
psb 7230 electrical specification semiconductor group 170 data sheet 1998-07-01 motorola bus mode figure 62 microprocessor read timing figure 63 microprocessor write timing figure 64 non-multiplexed address timing itt00716 cs x ds d0 - d7 t rd data t df dsd t rr t t ri r/w t rwd itt09679 cs x ds d0 - d7 t dw data t wd dsd t ww tt wi r / w t rwd itt09662 cs x ds ad0 - ad7 t ah t as
psb 7230 electrical specification semiconductor group 171 data sheet 1998-07-01 interrupt release timing figure 65 table 31 parameter symbol limit values unit min. max. ale pulse width t aa 50 Cns address setup time to ale t al 15 C ns address hold time from ale t la 10 C ns address latch setup time to wr , rd t als 0Cns address setup time t as 25 C ns address hold time t ah 10 C ns ale guard time t ad 15 C ns ds delay after r/w setup t dsd 0Cns r/w hold from cs xds inactive t rwd 0Cns rd pulse width t rr 110 C ns data output delay from rd t rd C 110 ns data float from rd t df C25ns rd control interval t ri 70 C ns w pulse width t ww 60 C ns data setup time to w xcs t dw 35 C ns data hold time w xcs t wd 10 C ns w control interval t wi 70 C ns
psb 7230 electrical specification semiconductor group 172 data sheet 1998-07-01 7.7.3 iom-2 interface timing iom-2 (pcm) timing with single rate dcl figure 66 table 32 parameter symbol limit values unit min. max. interrupt acknowledge to high-impedance t iat C 100 ns
psb 7230 electrical specification semiconductor group 173 data sheet 1998-07-01 iom-2 timing with double rate dcl figure 67 table 33 parameter symbol limit values unit min. max. dcl period t p 244 Cns dcl high t wh 100 C ns dcl low t wl 100 C ns frame sync setup t fss 120 C ns frame sync hold t fsh 40 C ns frame sync width t fsw 40 C ns output data delay from fsc (if t ozd < t odd ) t ozd C 100 ns output data delay from dcl (if t odd < t ozd ) t odd C 100 ns output data from active to high impedance t odz C80ns input data setup t ids 20 C ns input data hold t idh 40 C ns
psb 7230 electrical specification semiconductor group 174 data sheet 1998-07-01 iom-2 input timing with double rate dcl figure 68 table 34 parameter symbol limit values unit min. max. output data from high impedance to active t ozd C 100 ns output data delay from clock t odd C 100 ns output data from active to high impedance t odz C80ns input data setup t ids 20 C ns input data hold t idh 40 C ns table 35 parameter symbol limit values unit min. max. dcl period t p 244 C ns dcl high t wh 100 C ns dcl low t wl 100 C ns frame sync setup t fss 40 C ns frame sync hold t fsh 40 C ns
psb 7230 electrical specification semiconductor group 175 data sheet 1998-07-01 iom-2 output timing with double rate dcl figure 69 table 36 parameter symbol limit values unit min. typ. max. dcl period t p 520 651 782 ns dcl high t wh 240 CCns dcl low t wl 240CCns frame sync delay t fsd C C 100 ns fsc period t fsc C125C m s fsc high period t fsh 60 62.5 65 m s fsc low period t fsl 60 62.5 65 m s
psb 7230 electrical specification semiconductor group 176 data sheet 1998-07-01 7.7.4 serial audio interface timing serial clock figure 70 serial output timing figure 71 table 37 parameter symbol limit values unit min. max. sclk period t p 244 ns sclk high t wh 100 ns sclk low t wl 100 ns
psb 7230 electrical specification semiconductor group 177 data sheet 1998-07-01 serial input timing figure 72 table 38 parameter symbol limit values unit min. max. tfs/rfs setup t fss 40 Cns tfs/rfs hold t fsh 40 C ns output data delay from clock t odd C 100 ns output data from active to high impedance t odz C80ns table 39 parameter symbol limit values unit min. max. tfs/rfs setup t fss 40 C ns tfs/rfs hold t fsh 40 C ns input data setup t ids 20 C ns input data hold t idh 40 C ns
psb 7230 electrical specification semiconductor group 178 data sheet 1998-07-01 tfs/rfs output timing figure 73 7.7.5 external memory interface no external sram needs to be connected to the jade, since it has all memories on chip. nevertheless, an external memory interface is implemented for development purpose only. the timing of this interface is not part of the test procedure for the jade, and so not specified at this point. for development purpose especially tested devices (including external memory interface test) are available from siemens on request in small quantities. these devices are working under special conditions such as e.g. higher supply voltage. table 40 parameter symbol limit values unit min. max. tfs/rfs out t fo C40ns
psb 7230 package outlines semiconductor group 179 data sheet 1998-07-01 8 package outlines p-tqfp-100 (plastic thin quad flat package) gpp05614 sorts of packing package outlines for tubes, trays etc. are contained in our data book package information. dimensions in mm smd = surface mounted device


▲Up To Search▲   

 
Price & Availability of Q67101-H6864

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