Part Number Hot Search : 
CPZRL7 TPD4142K KRF7750 DTC143TK L540NS WU307 MC74VHC1 D5806T
Product Description
Full Text Search
 

To Download D6571E Datasheet File

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


  Datasheet File OCR Text:
  D6571E data sheet ds6571e.2 dsp group, inc., 3120 sco tt boulevard 1 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 a easytad ? chip for an all - digital telephone answering machine with flash memory interface D6571E
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 2 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 table of contents: general description ................................ ................................ ................................ ................................ ................................ .... 5 features ................................ ................................ ................................ ................................ ................................ ........................... 5 c hip configuration ................................ ................................ ................................ ................................ ................................ .... 6 additional system components (supplied by the customer according to dsp group?s specifications) .............. 6 pin descriptions ................................ ................................ ................................ ................................ ................................ ............ 7 functional description ................................ ................................ ................................ ................................ ............................ 9 host interface ................................ ................................ ................................ ................................ ................................ ..................... 9 voice message recording incoming and outgoing messages ................................ ................................ ................................ ... 9 digital voice - activated recording (vox) ................................ ................................ ................................ ................................ ....... 9 automatic gain control ................................ ................................ ................................ ................................ ................................ ...... 9 message playback ................................ ................................ ................................ ................................ ................................ ............... 9 offset and flexispeech ? ................................ ................................ ................................ ................................ .............................. 9 message deletion ................................ ................................ ................................ ................................ ................................ .............. 10 message time stamp ................................ ................................ ................................ ................................ ................................ ........ 10 volume control ................................ ................................ ................................ ................................ ................................ ................... 10 tone generation ................................ ................................ ................................ ................................ ................................ ................. 10 dtmf detection ................................ ................................ ................................ ................................ ................................ ................ 10 call progress tone (cpt) detection ................................ ................................ ................................ ................................ ............... 10 caller identification (cid and cwcid) ................................ ................................ ................................ ................................ .......... 10 caller alert signal (cas) detection ................................ ................................ ................................ ................................ ................ 10 sensitivity control ................................ ................................ ................................ ................................ ................................ ............. 10 speed dial telephone number storage ................................ ................................ ................................ ................................ .......... 1 0 non - erasable storage ................................ ................................ ................................ ................................ ................................ ........ 10 g eneral purpose storage ................................ ................................ ................................ ................................ ................................ ... 10 self test and initialization ................................ ................................ ................................ ................................ ................................ 11 reports ................................ ................................ ................................ ................................ ................................ ................................ 11 voice prompt generation ................................ ................................ ................................ ................................ ................................ .. 11 near end echo cancellation ................................ ................................ ................................ ................................ ............................. 11 full duplex digital speakerphone ................................ ................................ ................................ ................................ ................... 11 power down mode ................................ ................................ ................................ ................................ ................................ ............ 11 operational description ................................ ................................ ................................ ................................ ....................... 12 initial procedure ................................ ................................ ................................ ................................ ................................ ...... 12 modes of oper ation ................................ ................................ ................................ ................................ ................................ . 12 description of modes of operation ................................ ................................ ................................ ............................... 13 idle ................................ ................................ ................................ ................................ ................................ ................................ ... 13 record ................................ ................................ ................................ ................................ ................................ ............................. 13 playback ................................ ................................ ................................ ................................ ................................ .......................... 14 read memory status ................................ ................................ ................................ ................................ ................................ .... 15 telephone number storage ................................ ................................ ................................ ................................ ......................... 16 non - erasable storage ................................ ................................ ................................ ................................ ................................ ... 16 general purpose storage (gps) ................................ ................................ ................................ ................................ ................... 16 tone generation mode ................................ ................................ ................................ ................................ ................................ 16 new t one definition ................................ ................................ ................................ ................................ ................................ ..... 17 fsk modem ................................ ................................ ................................ ................................ ................................ ................... 17 line monitoring mode ................................ ................................ ................................ ................................ ................................ . 17 cid submode ................................ ................................ ................................ ................................ ................................ ................. 18 delete message ................................ ................................ ................................ ................................ ................................ ............. 18 set/modify time st amp ................................ ................................ ................................ ................................ ................................ 19 get time stamp ................................ ................................ ................................ ................................ ................................ .............. 19 get available record time ................................ ................................ ................................ ................................ .......................... 19
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 3 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 self test and initialization ................................ ................................ ................................ ................................ ............................ 19 voice prompt generation ................................ ................................ ................................ ................................ .............................. 22 program voice prompt ................................ ................................ ................................ ................................ ................................ .. 23 full duplex speakerphone operation ................................ ................................ ................................ ................................ ......... 24 re - compression mode ................................ ................................ ................................ ................................ ................................ . 27 host interface performance ................................ ................................ ................................ ................................ .............. 28 power down ope ration ................................ ................................ ................................ ................................ ................................ ......... 30 command set ................................ ................................ ................................ ................................ ................................ ................... 29 0. idle ................................ ................................ ................................ ................................ ................................ ................................ 29 1. record ................................ ................................ ................................ ................................ ................................ ......................... 29 2. playback ................................ ................................ ................................ ................................ ................................ ................... 33 3. read memory status ................................ ................................ ................................ ................................ ......................... 35 4. write telephone number ................................ ................................ ................................ ................................ ................. 37 5. read telephone number ................................ ................................ ................................ ................................ ................... 40 6. tone generation ................................ ................................ ................................ ................................ ................................ ... 42 new tone initialization ................................ ................................ ................................ ................................ .................. 44 f sk modem ................................ ................................ ................................ ................................ ................................ .................... 45 7. line monitor ................................ ................................ ................................ ................................ ................................ ............ 51 8. delete message ................................ ................................ ................................ ................................ ................................ ...... 52 9. set/modify time stamp ................................ ................................ ................................ ................................ ..................... 53 10. get time stamp ................................ ................................ ................................ ................................ ................................ ..... 53 11. get available record time ................................ ................................ ................................ ................................ ........... 55 12. self test and initialization ................................ ................................ ................................ ................................ ....... 55 13. voice prompt playback ................................ ................................ ................................ ................................ .................. 71 program voice prompt ................................ ................................ ................................ ................................ .................... 72 14. speaker phone ................................ ................................ ................................ ................................ ................................ ...... 74 16. re - compress message ................................ ................................ ................................ ................................ .............................. 82 functional blocks ................................ ................................ ................................ ................................ ................................ ..... 84 dsp core ................................ ................................ ................................ ................................ ................................ ........................... 84 address mux ................................ ................................ ................................ ................................ ................................ ................ 84 flash memory interface ................................ ................................ ................................ ................................ ...................... 84 clock generator ................................ ................................ ................................ ................................ ................................ ....... 84 m - law/a - law encoder ................................ ................................ ................................ ................................ ................................ ..... 84 codec interface ................................ ................................ ................................ ................................ ................................ ......... 84 i/o address decoder ................................ ................................ ................................ ................................ ................................ . 84 host d65 71e communication interface ................................ ................................ ................................ ...................... 83 data transfer modes ................................ ................................ ................................ ................................ ................................ 86 functional description ................................ ................................ ................................ ................................ ........................ 86 operational description ................................ ................................ ................................ ................................ ..................... 86 command set for data transfer modes ................................ ................................ ................................ ...................... 92 1. data pump from codec to host (record from codec to host) ................................ ................................ ............... 92 2. data pump from host to codec (playback from host to codec) ................................ ................................ ............ 95 3. data storage (from host t o flash) ................................ ................................ ................................ ................................ .... 98 4. data retrieval (from flash to host) ................................ ................................ ................................ ............................... 100 5. data compression (from host to host) ................................ ................................ ................................ ......................... 102 6. data decompression (from host to host) ................................ ................................ ................................ .................... 104 application hints ................................ ................................ ................................ ................................ ................................ ..... 106 electrical characteristics ................................ ................................ ................................ ................................ ............. 106
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 4 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 5 v operation ................................ ................................ ................................ ................................ ................................ .............. 106 3.3 v operation ................................ ................................ ................................ ................................ ................................ ........... 107 detectors characteristics ................................ ................................ ................................ ................................ .............. 109 dtmf & vox characteristics ................................ ................................ ................................ ................................ ........... 109 call progress tone detector performance ................................ ................................ ................................ ................................ ... 109 caller id fsk demodulator performance ................................ ................................ ................................ ................................ ..... 109 caller alert signal / idle state tone alert signal ................................ ................................ ................................ ........................ 110
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 5 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 a easytad ? chip for an all - digital telephone answering machine with flash memory interface general description the D6571E chip is a digital speech/signal processing subsystem that implements all functions of t rue s peech a speech c ompression and voice prompts, telephone line signal processing, flash memory management and true full duplex speakerphone ? for an all digital answering machine. the D6571E is fully controlled by the system host through a simple interface protocol. the hos t processor provides activation and control of all system functions such as speech recording and playback, dtmf and call progress tone detection, dtmf and tone generation, and voice prompting. the fully digital solution has no moving parts, yielding high reliability. the chip?s programmability enables a full range of answering, recording and playback features for the end user. the D6571E is a single - chip, digital signal processor that includes all of the necessary circuitry to interface with an external host, flash memory, and codec. features superior quality t rue s peech a triple rate coder tm allowing selectable 11, 15 or 25 minutes of recording time per each 4 mbit flash memory pcm recording flexible storage of incoming messages (icm), outgoing message s (ogm). supports multiple ogms and multiple mailboxes. t rue s peech a , natural - sound voice prompting, for day/time stamp and voice instructions f lexi s peech ? variable speed, natural sound playback (50% - 200%) dtmf generation and detection with near - end echo cancellation for superior performance extended dtmf detection (a, b, c, d) automatic gain control true full duplex speakerphone ? with both acoustical and near - end echo cancellation caller id and call waiting cid demodulation (both bell 202 and v.23) fsk modem for cid and a - 5 support supports 4 mb or 16 mb flash memory devices supports time stamp (message tag) modification programmable dtmf, cpt, vox, cas, and fsk detectors sensitivity digital volume control m - law and a - law codec support, selectable master and slave mode, selectable sampling rate. general purpose (cid) and non - erasable storages D6571E figure 1. D6571E block diagram * dashed lines indicate optional implementation ** only supported with single 4mbit flash or no D6571E dsp speech processor code c i/o codec host controlle r tel line or 16 mbit flash 4 mbit flash voice prompt * 4 . . 16 voice prompt rom ** mic speaker speakerphone codec all specifications are subject to change without prior notice
D6571E data sheet ds6571e.2 dsp group, inc., 3120 sco tt boulevard 6 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 chip configuration D6571E - 11 digital telephone answering device (tad) processor (80 - pin pqfp) - 1 each additional system components (supplied by the customer according to dsp group?s specifications) d0000 - 29 - m - law or a - law 8 bit serial codec - 1 , 2 - for speakerphone one of the following: samsung km29n040 (44 - pin tsop ii) - 4 mb , up to two devices per system (may have up to 3 bad blocks) samsung km29n1600 (44 - pin tsop ii) - 16 mb, single device (may have up to 10 bad blocks) toshiba tc58a040f - 4 mb, up to two devices per system (may have up to 10 bad blocks) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 80 7 9 7 8 7 7 7 6 7 5 7 4 7 3 7 2 7 1 7 0 6 9 6 8 6 7 6 6 6 5 64 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 hstdb4 mdb5 mdb6 mdb7 mdb8 mdb9 mdb10 mdb11 mdb12 mdb13 nc gnd 63 62 61 60 59 58 57 mdb15 addr0 addr1 addr4 addr3 top view D6571E-11 mdb4 mdb3 mdb2 addr2 addr5 vcc addr14 ack hi/lo hstrd hstwr hstdb7 hstdb6 hstdb3 hstdb0 gnd clkout xout xin vcc sclk reset pdn fsync dx1 hstdb2 hstdb1 hstdb5 mdb14 nc addr15/ ce3 flwr m d b 1 n c m d b 0 d x 0 d r 1 d r 0 g n d v c c ce1/s/p cle ale dspcs ce0 g n d v c c addr13 addr12 addr11 addr10 addr9 addr8 addr7 addr6 ce2 /vpcs gpio0 flrd gpio1 gpio5 gpio4 gpio3 gpio2 figure 2. D6571E - 11pin diagram * optionally, the system will suppor t up to 64k eprom/rom (access time 300 ms or less) for voice prompt storage. this option is only available in systems with a single 4mbit flash memory device or no flash in the system.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 7 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 pin descriptions D6571E - 1 1 (dsp) pin name no. i/o/z description hstdb0 (lsb) 14 i/o/z host data bus. the host writes commands and reads status to/from the D6571E via this bus. the hi/ lo pin selects between the low byte and the high byte of the command/status. hstdb1 13 i/o/z this bus is used for input when hstwr is low, and for output when hstrd is low. hstdb2 12 i/o/z it has high impedance when hstwr and hstrd are high or reset is high. hstdb3 11 i/o/z hstdb4 10 i/o/z hstdb5 9 i/o/z hstdb6 8 i/o/z hstdb7 (msb) 7 i/o/z active only during host read. hi/ lo 4 i high/low byte select. when this signal is low, the host can read/write the low byte of the status/command. when hig h , the high byte is selected. hstrd 5 i host read. when low, the host reads the low/high byte of the status word. hstwr 6 i host write. when low the host writes commands to the D6571E via hstdb 0 - 7. ack 3 o host acknowledge. this pin goes low when the D6571E send a status word to the host. it goes high when the host reads the high byte of the status word. dspcs 77 i dsp chip select (optional connection to ground recommended, if not used. ) addro (lsb) 59 o external memory address bus addr1 60 o addr2 61 o addr3 62 o addr4 63 o addr5 64 o addr6 65 o addr7 66 o addr8 67 o addr9 68 o addr10 69 o addr11 70 o addr12 71 o addr13 72 o addr14 2 o addr15 / ce 3 1 o chip enable 3 for flash device or address 15 for external 64k/ eprom ce 1 80 i/o chip enable 1 for flash device ce 0 75 o chip enable 0 for flash device ce2/vpcs 76 o chip enable 2 for flash device or voice p rompt rom/eprom chip enable ale/di 78 o address latch enable for samsung flash devices; data input for toshiba device cle/do 79 o command latch enable for samsung flash devices; data output for toshiba device mdb0 (lsb) 39 i/o/z external memory data bus . mdb1 40 i/o/z mdb2 41 i/o/z mdb3 42 i/o/z mdb4 43 i/o/z mdb5 44 i/o/z mdb6 45 i/o/z mdb7 46 i/o/z mdb8 47 i/o/z mdb9 48 i/o/z mdb10 49 i/o/z mdb11 50 i/o/z mdb12 51 i/o/z
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 8 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 D6571E - 11 (dsp) mdb13 52 i/o/z mdb14 57 i/o/z mdb15 (msb) 58 i/o/z flrd 37 o flash read enable flwr 36 o flash write enable; shift clock for toshiba flash dr0 27 i serial input for codec0 pcm data dx0 25 o serial output for codec0 pcm data dr1 26 i serial input for cod ec1 pcm data dx1 24 o serial output for codec1 pcm data fsync 23 i/o frame synchronization signal for codecs (input in slave mode) sclk 20 i/o shift clock for codecs (input in slave mode) xin 18 i crystal input pin for internal oscillator. xout 17 o c rystal output pin for internal oscillator. gnd 15 pwr ground pin gnd 31 pwr ground pin gnd 54 pwr ground pin gnd 74 pwr ground pin v cc 19 pwr v cc 32 pwr v cc 73 pwr v cc 53 pwr pdn 22 i power fail sensor input. when a low level is detected on this pin, the D6571E enters power - down mode. reset 21 i reset input egpio5 28 i/o general purpose i/os egpio4 29 i/o egpio3 30 i/o egpio2 33 i/o egpio1 34 i/o egpio0 35 i/o clkout 16 o these pins should be left unconnected nc 38 i nc 55 i optional, connection to ground recommended nc 56 i
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 9 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 functional description host interface the host interface is an 8 - bit parallel data port, used for control and status information transfer. the host controls the operation of the d65 71e using a simple command protocol. D6571E status information is updated after each command. the command and status protocol enables the host to have full control over the functions of the D6571E. this protocol is described in details in the following sections. voice message recording incoming and outgoing messages the D6571E message storage utilizes a proprietary, high quality speech compression algorithm to reduce the data rate of the speech signal. the compression algorithm is programmable and can support different bit rates: high, middle, and low bit rate. each of the rates can be activated with ?gap coding.? when activated with no ?gap coding? the D6571E provides 9.6, 7.2, and 4.4 kbps respectively at 8 khz sampling rate. at 7.2 khz sampling ra te bit rate will be 10% lower. when the compression algorithm utilizes both low bit rate and ?gap coding?, the D6571E achieves a recording time of 22 - 25 minutes in a 4 mbit device using a 8000 hz sampling rate. at 7200 hz sampling rate the D6571E provide s 24 - 27 min of recording time. the chip can support up to four 4 mbit devices or one 16 mbit device. the chipset supports up to 128 variable length incoming and outgoing messages. multiple outgoing messages and multiple mailboxes for incoming messages are supported. during recording, the D6571E performs telephone line signal monitoring. the host can stop recording and delete unwanted information (silence or telephone signaling) by performing a ?tail cut?. the host can delete the last n*tcf seconds f rom the memory using a record command with a tail cut factor (tcf). tail cut factor is 0.160 seconds for 8 khz sampling rate and 0.176 seconds for 7.2 khz. for pcm messages tail cut increment is 240 ms or 266 ms respectively. a message with less than 1 second duration won?t be stored in the message directory. during record mode the host can instruct the D6571E to generate an audible tone to the telephone line. the recorded audio signal that is digitized through the codec input is transmitted back throu gh the codec output for call screening and other features. this loop - back function can be disabled by the host in the record command. digital voice - activated recording (vox) digital voice activity detection is implemented in the D6571E and can be activa ted only in record mode. according to the host command recording of the speech signal may either start upon a positive result of voice activity detection or immediately after issuing a record command. the voice activity detector output is reported to the host via a status bit every frame when in record mode. the host reads this information and decides when to stop recording of the message. automatic gain control the D6571E supports agc in record mode. agc can be enabled/disabled by the host. paramete rs of the agc are host programmable. message playback the D6571E supports random access for playback of any recorded message. during playback, the D6571E monitors the telephone line. offset and f lexi s peech ? each message can be played from the beginnin g of the message or from any given offset point along the message (in 0.64 second increments). the host can also read during playback, the current offset position in order to implement jumps within the message. for pcm messages offset increment is 0.93 s ec for 8 khz sampling rate (1.03 sec for 7.2 khz sampling rate). the D6571E also supports f lexi s peech ? , variable speed playback, with a range of 0.5 to 2.0 relative to the original speed. the f lexi s peech ? feature allows listening to messages at differen t speeds without changing the voice characteristics and without degradation of the voice quality. message playback can be stopped by using the pause command, which is initiated by the host. after pause,
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 10 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 playback may be resumed from the same point. norma lly, during playback, the status word will contain information about the line signals and the playback status and will notify the host when the end of message is reached. message deletion the D6571E allows selective deletion of any prerecorded message f rom memory. after each deletion the message directory is updated accordingly. message deletion does not free the memory space. memory is freed by using the ?garbage collection? command. message time stamp the host may attach two 16 - bit data words to e ach of the 128 messages of the D6571E. this data can be used for time/date stamping the recorded message and any other information defined by the host. time stamp can be modified after message has been recorded. volume control the D6571E allows control of the signal that is playing to the codec. this function affects the level of the played back signal in the message playback and voice prompt modes, as well as the level of the looped back signal in the record and line monitor modes. tone generation s ingle and double tone signals can be generated by D6571E. there are 32 locations provided in the tone table. no tone and 12 standard dtmf tones are predefined and other telephony tones may be added to the table one time. the host can program tones into any of the 19 remaining entries in this table. the levels and frequencies are programmable and controlled by host. during tone generation the D6571E monitors the line. in case of ?cold start? the D6571E can generate no tone and 16 preprogrammed standar d dtmf tones. see mode description for details. dtmf detection dtmf detection is implemented by the D6571E in software. this function may be used for remote operation of the answering device. the identification code of detected dtmf signals is transmi tted to the host for further processing. host selects whether the D6571E reports detection of the 12 dtmf tones or 16 dtmf tones. call progress tone (cpt) detection the D6571E monitors the line for incoming telephone line signals and detects the presenc e of call progress tones in a predefined frequency region. the D6571E supports call progress tone detection by utilizing a filter/detector with a bandwidth of 300 - 640 hz. indication of the presence of call progress tones is transferred to the host, and may be used for terminating recording. caller identification (cid and cwcid) the D6571E can monitor and demodulate the fsk signals that provide cid information from the central office (co). both bell 202 and v.23 demodulation is supported and the D6571E wi ll automatically adapt to the fsk modulation provided from the co. caller alert signal (cas) detection the D6571E supports detection of the caller alert signal (cas) in all functional modes for call waiting cid support. the same signal known as idle sta te tone alert signal is a part of the v.23 protocol. sensitivity control the D6571E allows independent control of the sensitivity of the vox, dtmf, and call progress tone (cpt), and cas detectors. speed dial telephone number storage the D6571E may stor e up to 128 telephone numbers, each with up to 16 digits for dialing. the 1024 bytes of memory can also be used for any other purpose by the host. non - erasable storage the D6571E supports 1600 bytes of a non - erasable storage. general purpose storage th e D6571E supports up to 16 sectors of a general purpose storage. each sector allows 3200 bytes of storage.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 11 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 self test and initialization the D6571E supports various functions responsible for testing and initialization of the flash memory, codec interfac es, detectors, and other system configurations. reports the D6571E is capable of reporting to the host the status of the currently available flash memory storage space, as well as the overall status of the flash memory and the number of recorded messages. voice prompt generation the D6571E implements high - quality voice prompt playback, utilizing the built - in speech decoder. some portion of the flash memory or an external rom can store the vocabulary. the D6571E supports up to four 64k byte sectors of v oice prompts in flash memory or one 64k byte external rom or eprom. each 64k voice prompt sector supports up to 128 phrases or utterances. the D6571E receives the voice prompt sector number (if more than one is used) and the phrase number from the host, as part of the voice prompt command, and outputs the appropriate speech segment via the codec interface. the gap between two consecutive phrases is controlled by the host and can be as low as 0. during playback of the voice prompts, the D6571E monitors th e telephone line. the configuration with external voice prompt rom is available if only one 4m flash or no flash is installed. the voice prompts for the flash memory may be built with a voice prompt workstation, which is available through the dsp group, inc. near end echo cancellation a near - end echo canceller is activated during playback, tone generation, and voice prompt generation modes. this echo canceller enhances the performance of the dtmf and call progress tone detectors in the presence of near end echo from the hybrid. full duplex digital speakerphone the D6571E implements a true full duplex digital speakerphone mode. in this mode the D6571E provides adaptive acoustical echo cancellation between the speaker and microphone connection as well as adaptive near - end echo cancellation to the telephone line connection. while in speakerphone mode, the D6571E can generate tones from the tone table and monitor line for presence of dtmf, cpt, and cas signals. unlike most speakerphone implementations , the D6571E implements a full duplex speakerphone. in most speakerphones, only one party can speak at the same time, the other party is always muted, sometimes by as much as 50 db. this is half duplex speakerphone operation. the D6571E allows true full duplex speakerphone operation. this implementation allows both parties to speak at once and be heard by the party at the opposite end of the call. the D6571E allows full duplex speakerphone operation due to the highly efficient adaptive echo cancellation on both the acoustical and electrical sides. the D6571E supports dtmf, cas, and cpt detection during speakerphone mode thus enabling such functions as cid on call waiting, auto redial, and less cost routing. power down mode the D6571E will go into stop mode during power failure. no battery backup is required to retain data in the case of power failure.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 12 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 operational description initial procedure no operation should be performed with the new flash before it is initialized once. any flash access before initialization may destroy information about bad blocks and make flash unusable. after power up, the pdn signal (pin 22) should be set high followed by the reset pulse (refer to figure 4 for the timing). upon detecting falling edge of t he reset pulse, the D6571E checks some predefined locations in the flash memory to determine if flash was initialized and responds to one of the following situations: 1. flash memory was previously initialized - ?warm start?. the D6571E restores the previous conditions and system parameters. the message directory and all messages remain saved. the D6571E returns garbage collection status with the ?cold start? bit reset (0). 2. flash memory was not previously initialized - ?cold start?. the D6571E returns garbage collection status with the ?cold start? bit set (1). after sending garbage collection status the D6571E will enter idle mode. after sending reset the host should wait for ack pin to become low and then read status. no command sho uld be sent to the D6571E until host reads the garbage collection status. if this is a ?cold start? only commands that do not require flash access are available: idle, line monitor, read memory status, speakerphone, tone generation (16 standard dtmf tone s only), data pump, and self test and initialization. if any other command is issued, the D6571E will stay in idle mode and return idle status. the D6571E behaves in the same manner if the flash is not initialized ( ?cold start? condition) or there is no flash in the system ( ?no flash? condition). to initialize flash memory flash hardware selection (test mode = 0101) be issued first because no other self test and initialization command will be accepted until this command is issued! after flash hardware selection only test mode = 0011 (fast self test) and test mode = 0001 (flash initialization) are available. the flash hardware selection and the fast self test command can be issued to confirm the configuration of the flash if necessary. fast test will destroy the contents of the memory except for the voice prompt sectors, tone table, and bad block table. normally the flash hardware selection and then the flash initialization command may be sent to perform the initialization. all memory will be initial ized except for the voice prompt sectors and bad block table. modes of operation the D6571E is normally in idle mode. each time a command other than idle is issued, the system will enter the new mode. from some of the modes, the system will automatical ly return to idle mode after completion of the operation. other modes (record, playback, tone generation, line monitoring, voice prompt generation and speakerphone) require an idle command to return to idle mode. there are 16 modes of operation. each of these modes is entered from the monitor program through idle mode. the 16 modes are as follows: 0. idle - the D6571E performs command polling. it checks the command register in the host - D6571E interface and transfers to the requested operating mode. 1 . record - the D6571E performs speech compression and records a message into the flash memory.* 2. playback - the D6571E performs message playback using compressed speech data stored in the flash memory.* 3. read memory status - the D6571E returns informat ion on the memory status to the host, e.g., the number of messages stored in the flash memory, memory full condition, program rom checksum status, voice prompt checksum status and if garbage collection is recommended. 4. write data to storage - in this mod e the D6571E receives data from the host and stores it either in the telephone number storage, or non - erasable storage, or general purpose storage in the flash under index number given by the host. 5. read data from storage - the D6571E returns to the host data stored in telephone number storage, or non - erasable storage, or general purpose storage under the index number given by the host. 6. tone generation - the D6571E generates a single or double tone with programmable parameters. *
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 13 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 fsk modem is suppor ted as a submode of the tone generation mode 7. line monitoring - the D6571E monitors the telephone line for the presence of dtmf signals, call progress tones, cas, and cid signals.* 8. delete message - the D6571E can erase any selected flash memory messag e entry whose number is specified by the host from the message directory. the D6571E is able to perform garbage collection to free memory space by erasing sectors. 9. set current time - the host sends the D6571E the current time & date stamp and/or status information to be attached to the next recorded message. 10. get time stamp - the D6571E returns to the host the time & date stamp and/or any other information associated with a specific flash memory message. 11. get available record time - the D6571E r eports the currently available flash memory record time. 12. self test & initialize memory - the D6571E performs flash memory testing and mapping as well as other initialization functions. 13. voice prompt generation - the D6571E implements a t rue s peech ? voice prompt playback from flash memory or the external rom/eprom. the D6571E implements voice prompt programming into flash memory. * 14. speakerphone - the D6571E implements a true full - duplex speakerphone algorithm. * 15. re - compression -- re - compres ses recorded messages to another compression rate. 16. data transfer modes - the D6571E implements various modes, which involve transmit/receive voice data via host data bus. these modes are described in separate section ?data transfer modes?. *these mo des require an idle command to return to idle mode. description of modes of operation idle this is polling mode in which the D6571E monitors the D6571E - host interface for host commands. transition to any other mode must always be done through t he idle mode. record when the host sends a record command, the D6571E performs speech compression and stores the message in the flash memory. if bit 6 (vox) in the first record command is ?0?, the D6571E starts recording immediately after receiving the record command. if vox bit is set to ?1?, the D6571E starts recording after detecting voice activity. the t rue s peech compression algorithm, implemented in the D6571E is host programmable and is able to utilize three compression rates as well as ?gap cod ing?. record mode (bits 7 - 9 of the first record command) are defined as follows: 000 - low bit rate 001 - middle bit rate 010 - high bit rate 011 - reserved 100 - pcm ( m - law or a - law) when bit gap (bit 4) is set to ?1? gap coding will be activated with any of the compression rate (gap coding is not available in case of pcm recording). the compression algorithm is defined by the first record command. it can be changed while in record mode. while in this mode, the D6571E monitors the communication port every frame for host commands. if no new command is detected, the D6571E continues recording. while in record mode, the D6571E monitors the line. if an additional record command is detected, the D6571E returns the status word with vox status (bit 6 ), memory status (bit 7), index of the dtmf and cas signal detected (bits 0 - 3, 5), and call progress tone presence (bit 4) to the host. see line monitor mode for the respective indexes for dtmf tones. while in record mode, the host may issue a command to change independently the dtmf, vox, cpt, and cas sensitivity or the volume of the looped back signal without interrupting this mode. the status word will reflect the status for the record mode. therefore, line monitoring will not be affected. if an idle command is detected, the D6571E stops recording, updates the message directory, and returns to idle mode. the D6571E reports to the host by
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 14 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 sending the idle mode status word. the D6571E assigns the next available message number to a newly recorded messa ge. the first message will be assigned the number ?0?, the second message will be assigned the number ?1?, and so on, up to ?127?. record mode can be terminated by sending a record command with non - zero ?tail cut? factor (tcf). the D6571E stops recordin g and automatically deletes the last n*tcf seconds from memory. the value of the tcf is 0.160 seconds for 8000 hz sampling rate and 0.178 seconds for 7200 hz sampling rate. the D6571E then returns to idle mode. for pcm recording the value of the tcf is 0 .240 seconds and 0.266 seconds for 8 khz and 7.2 khz sampling rate respectively. host can pause recording by sending record command with rec mode = 10. the D6571E will stay in record mode, monitor line but won?t store data into flash. the host can send record command with rec mode = 00 to continue recording or terminate recording by idle or tail cut command. host can suspend recording (record command with rec mode = 01). the D6571E will terminate recording and go to idle mode. the host can instruct th e D6571E to perform another operation (other than record), for example, cid, tone generation, etc. note that message playback, voice prompt playback, and new message recording is not available during record suspend. then host may instruct the D6571E to r esume recording of the message that has been suspended. alternatively the host can close the suspended message and then start new message recording. the host may instruct the D6571E to change compression rate, enable/disable gap coding and loopback (rec mode = 11 and tone gen = 1). new mode will be set in the bits new bit rate (bits 8 - 6), lb dis (bit 5), and gap (bit 4). host can also instruct the D6571E to report current offset in the message being recorded (rec mode = 11 and ton gen = 0). a message will not be stored in the flash memory if the actual message length is less than 1 second. after performing the tail cut function, or if the message length is less than 1 second, the garbage collection recommended bit will be set (1) in the status of the read memory status command. if the flash memory has become full, the memory full bit (bit 7) in the status word is set. the D6571E stops recording, remains in record mode, and continues to perform line monitoring. during record mode, the host can instr uct the D6571E to generate a tone from the predefined tone table. the host should issue a record command with the ?t? bit (bit 9) set to ?1?, tone gain (bits 8 - 5) and ?tone index? (bits 4 - 0). tone generation will end if ?tone index? is ?00000? along with the ?t? bit set to ?1?. for more details about tone generation, see tone generation command. in record mode, the input signal is ?looped back? and transmitted through the output of the codec. this can be used for call screening or other purposes. if t he ?loop back? is not necessary, the host can disable this function by setting the ?lb dis? bit (bit 5) in the first record command to ?1?. the ?lb dis? bit should usually be set to ?1? if the tone generation function during record is used. in case of ?c old start? the record will not be activated, the D6571E remains in idle mode and returns idle status. playback in playback mode, the D6571E performs message playback and line monitoring. in the first playback command, the host instructs the D6571E which message to play, and at what f lexi s peech speed. the message number is defined in bits 0 - 6 and can be from 0 to 127. the f lexi s peech speed is defined in bits 7 - 9. to play a message at normal speed, the flexi speed should be ?000?. other playback speeds , from 0.5 to 2.0 (50% - 200%) of the normal speed can be selected according to the following table: flexi speed speed of playback bit 9 bit 8 bit 7 0 0 0 1.0 0 0 1 0.5 0 1 0 0.7 0 1 1 1.0 1 0 0 1.3 1 0 1 1.5 1 1 0 1.75 1 1 1 2.0 the secon d playback command instructs the D6571E to play back the message from the predefined offset location. this offset information is defined in units of
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 15 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 about 0.64 seconds (0.93 seconds for pcm messages) for 8 khz sampling rate. for 7.2 khz sampling rate the unit is 0.704 seconds (1.03 seconds for pcm recording). if the offset is ?0?, the message will be played from the beginning. message playback starts immediately after receiving the second playback command. after starting playback, the D6571E monitors c ommunication port for a host command every frame. the host issues additional playback commands during playback in order to perform line monitoring, change the speed of the playback, and/or pause playback. usually, the host will issue an additional playba ck command and get back the line status every frame. playback speed can be changed at any time while in playback mode by changing the flexi speed in any of the playback commands. if the pause bit (bit 11) is set to ?1?, playback will stop. the playback will resume from the same point if the host issues the command with ?0? in pause bit. line monitoring will continue during pause. if the read offset bit (bit 10) is high, the D6571E will return the current offset, i.e., the time elapsed from the beginnin g of the message, instead of the line status. the line status word contains information about the tones detected from the line and end of play flag (bit 7), which indicates whether the end of the current message has been reached. when this bit is low, th e message is still being played; when it is high, the end of the message has been reached. the D6571E will continue to stay in playback mode and monitor the line. if the requested message number does not exist, the D6571E will return a status word with th e end of play ?1? in response to the third playback command. if the D6571E detects a dtmf or cas tone, the index of this tone will be reported (bits 0 - 3, 5) of the status word. see line monitor mode for respective indexes for dtmf tones. the presence of a call progress tone will be contained in bit 4. the host will monitor these tones every frame and will act accordingly. playback will be terminated by the idle command and the D6571E will return to idle mode. while in playback mode, the host may issue c ommands to change independently the dtmf, vox, cpt sensitivity or the volume control without interrupting this mode. the status word will reflect the status for the playback mode. therefore, line monitoring will not be interrupted. if the host sends the command to play binary file, the D6571E will play silence and return status s3 with bin bit and end of play bit set to ?1.? see data storage mode in the data transfer modes section for binary file storage information. in case of ?cold start? the playbac k mode will not be activated, the D6571E will remain in idle mode, and return idle status. read memory status there are two submodes: 1) get memory status (mode = 00) in this submode the D6571E returns to the host a status word containing the followin g information: ? number of recorded messages ? memory full indication ? garbage collection recommended ? program rom status ? voice prompt status when 128 messages have been recorded or when there is no available memory space for recording further message s, the memory full flag (bit 7) is set. up to 127 messages are reported in the 7 lsbs of the status word. when 128 messages are recorded, the memory full flag is set and the number of messages is ?0?. note that the message directory may also become ful l if a large number of messages are deleted or not saved without running garbage collection. the garbage collection recommended bit is set to ?1? when the telephone number table has been reprogrammed, when message(s) have been deleted, the tail cut functi on has been performed, or when messages are too short to be saved. this bit will be reset after garbage collection is performed. in order to reduce response time of this command the calculation of the voice prompt checksum can be disabled if bit vp chk di s (bit 7) of the command is set. after sending the memory status, the D6571E returns automatically to idle mode. in case of ?cold start? the D6571E will return the status with the most significant nibble equal 0. this will be an indication of the ?cold start?. voice prompt status and program rom status bits have the same meaning as for ?warm start?. number of messages, memory full, and garbage collection bits are expected to be 0. 2) get product number (mode = 01) in this submode, the D6571E returns four digits of product number, i.e., 6571 (0110 0101 0111 0001). the
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 16 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 status is the same in ?cold? and in ?warm start? condition. telephone number storage in this mode the D6571E receives a word of data from the host and writes it into the telephone dire ctory under the entry number specified by host in a previous command. this stored information can be actually used as telephone number storage or for any other purpose. the D6571E automatically returns to the idle mode after this command. after a certai n number of programming cycles, without garbage collection, the telephone number directory will become full. up to 1024 bytes can be stored in the telephone number directory (128 telephone numbers, 16 digits each). this mode is not available in case of ? cold start.? idle status will be returned. non - erasable storage in this mode the D6571E receives a word of data from the host and writes it into the non - erasable storage under the entry number specified by host in a previous command. the D6571E can sto re up to 800 words (1600 bytes) of data. this data can be programmed only once and can not be erased or modified. this storage is not available in case of ?cold start.? general purpose storage (gps) the D6571E supports up to 16 sectors of the general p urpose storage. each sector has a capacity of 3200 bytes. the number of sectors has to be defined by host (storage configuration command of the selftest and initialization mode). after a certain number of programming cycles, without garbage collection, the sector of the gps will become full. after garbage collection the sector will become available for further programming. the D6571E allows erasing a sector by one command (gps command with erase bit set). note: garbage collection must be executed each time before and after writing data into gps. read memory status command should be sent and garbage collection should be executed if recommended. this storage is not available in case of ?cold start.? tone generation mode in case of ?warm start? the d65 71e can generate tones from the following tone table: tone index dtmf code freq. 0 freq. 1 0 no tone 1 1 697 1209 2 2 697 1336 3 3 697 1477 4 4 770 1209 5 5 770 1336 6 6 770 1477 7 7 852 1209 8 8 852 1336 9 9 852 1477 a * 941 1209 b 0 941 1 336 c # 941 1477 d - 1f user defined tones 13 entries (0 - c) are preprogrammed and parameters of these entries can not be changed. the default gain for each tone in the table is 6 db (code 0000) for frequency 1 and 4 db (code 0001) for frequency 0. the host can program 19 ?user defined tones? one time. any desired single or double tone within the telephony frequency bandwidth may be programmed as described in the section ?new tone definition?. the host can instruct the D6571E to generate any of the 31 tones from the tone table. to generate a tone, the host will send a tone generation command with bit 11 = ?0?, bits 0 - 4 will indicate the tone index in the tone table and bits 5 - 8 will indicate the tone output gain. the D6571E will start to generate the tone through the codec output and monitor the line from the codec input. the D6571E will return a status word containing information on dtmf, cas, and/or call progress tones detected from the line. see line monitor mode for a descriptions of the call progress and dtmf tones detected. the host can issue an additional, same tone generation command to monitor the line, and will get a status word every frame. the host can change the tone and/or the tone gain level, on the fly, without leaving the tone g eneration mode. in addition the host may issue a sensitivity control command to change sensitivity of any of the detectors without interrupting the tone generation mode. the status word will reflect the status of the tone generation mode. therefore line monitoring will not be interrupted. the tone generation mode will end with the idle command.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 17 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 in case of ?cold start? the D6571E can generate silence and 16 standard dtmf tones from the table below. tone index dtmf code freq. 0 freq. 1 0 no tone 1 1 697 1209 2 2 697 1336 3 3 697 1477 4 4 770 1209 5 5 770 1336 6 6 770 1477 7 7 852 1209 8 8 852 1336 9 9 852 1477 a * 941 1209 b 0 941 1336 c # 941 1477 d a 697 1633 e b 770 1633 f c 852 1633 10 d 941 1633 note that tones a, b, c, d (entrie s d - 10) are available in ?cold start? but are not available by default in case of ?warm start.? entries d - 10 should be programmed by the user (user defined tones) in case of ?warm start.? no user defined tones is available in case of ?cold start.? n ew tone definition the host can add tones to the table by sending the first tone generation command with bit 11 = ?1? and the tone index in bits 4 - 0. the next three commands will define the new tone (single or dual). the second command defines ?tone 0? output gain in bits 0 - 3 and ?tone 1? output gain in bits 4 - 7. each tone can be programmed from - 24 db (gain code 1111) to 6 db (gain code 0000) with resolution of 2 db. the user defined tones may be programmed once only. those tones can be programmed in case of ?warm start? only. the third and fourth commands define the tone 0 frequency and tone 1 frequency respectively by the following expression: 32767 * cos (2* p *fm/fs) where: fm is the desired frequency and fs is the sampling frequency (8000 hz) to define a single tone, either the third or fourth command has to be 7fffh. the host will define new tones from the idle mode and the D6571E will return to idle mode after the four commands/status sequence. the host can use the newly defined tone from the tone table immediately after the definition. fsk modem fsk modem is implemented as a submode of the tone generation mode. this mode allows to transmit and receive fsk data with 1200 baud rate. this mode is compatible with the cid receiver as well as w ith a - 5 function. in this mode the D6571E receives byte stream from host, converts it to fsk bit stream, and generates it in frames. the number of byte in the frame is specified by host. the D6571E generates ?leading mark bits? prior to the fsk frame. the D6571E generates start and stop bits for each byte of data (rs - 232 protocol). the number of start and stop bits can be programmed by host. after the frame has been transmitted the D6571E generates ?trailing mark bits.? the number of ?leading? and ?t railing? mark bits is host programmable. after completion of frame generation the D6571E can go to the fsk receive mode without delay. in the fsk receive mode the D6571E can report to host the number of detected channel seizure bits and the number of de tected mark bits. sensitivity (rejection threshold) of the fsk detector is host programmable (selftest and initialization command, test mode = 0111, submode = 100). line monitoring mode in this mode the D6571E monitors the telephone line for the detecti on of a dtmf signal, cas signal, and/or existence of call progress tones. caller alert signal (cas) is a part of the call waiting cid protocol. the same signal with the name idle state tone alert signal is part of the v.23 protocol. while in this mode, the D6571E is monitoring the communication port every frame for a host command. if no new command is detected, the D6571E continues monitoring the line. if an additional line monitoring command is detected, the D6571E returns a status word to the host co ntaining the call progress tone flag (bit 4), and the index of the dtmf or cas signal detected. the index is defined as follows:
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 18 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 ext tone index dtmf code 0 0 no tone 0 1 1 0 2 2 0 3 3 0 4 4 0 5 5 0 6 6 0 7 7 0 8 8 0 9 9 0 a * 0 b 0 0 c # 0 d a 0 e b 0 f c 1 0 d 1 1 - e reserved 1 f cas in line monitoring mode, the input signal is ?looped back? and transmitted through the output of the codec. this can be used for call screening or other purposes. if the ?loop back? is not necessary, t he host can disable this function by setting the ?lb dis? bit (bit 5) in the first line monitor command to ?1?. while in line monitoring mode the D6571E allows control of the volume level of the looped backed signal without interrupting the line monitor m ode. the volume can be controlled in 2 db steps from +16 db down to - 42 db and also includes mute. while in the line monitoring mode the host may change independently the dtmf, vox, cpt, and cas sensitivity without interrupting the line monitoring mode. the status returned for the volume control or sensitivity control command will be the status of the line monitoring mode. therefore, the line monitoring function will not be interrupted. the D6571E will stop monitoring the line and return to idle mode wh en an idle command is sent. the detector configuration command (submode of the initialization mode) defines if the D6571E will report detection of the a, b, c, d digits. by default the D6571E reports 12 digits only ( indexes 1 - c). the line monitor mod e has the same performance in case of ?cold? and ?warm start.? cid submode to monitor for cid information, line monitor command should be sent with cid bit (bit 10) set. the D6571E will return an ascii code of the detected character in the low byte of t he status word. ms bit of the ascii byte will be sent in bit 7 of the status word. ls bit of the ascii byte will be sent in the bit 0 of the status word. if no seizure signal is expected to be detected (off - hook detection) the ns bit (bit 8) should be s et in the cid command. cid command should be sent repeatedly until the entire cid message is received. in average 3 command/status will be transmitted per frame. if no character is detected the D6571E will return status with bit nd (bit 8) set and zero in low byte. in case of no detection the status will be returned once each frame. cid mode performance is the same in case of ?cold? and ?warm start.? delete message in this mode the D6571E performs one of the following functions: 1. if the garbage collection bit (bit 11) is 0, the D6571E removes the message entry specified in bits 0 - 6 from the message directory, shifts all higher message entries one place down in the directory and decreases the total number of messages by one. deletion of a message will not free up memory space until a garbage collection command is performed. the garbage collection recommended bit, in the status word of the read memory status command, will be set after message deletion. 2. if the garbage collection bit is 1, the d6 571e performs garbage collection to free memory space by erasing sectors. the garbage collection erases one sector per command. after erasing the last sector, the D6571E returns the status 8880h. the garbage collection recommended bit, in the status wor d of the read memory status command, will be reset after erasing the last sector. note: 1) the D6571E returns garbage collection status automatically after each release of reset signal from the chip. in the case of ?cold start? ,bit 0 will be set (1). in the case of ?warm start?, bit 0 will be reset (0).
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 19 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 2) in case of ?cold start? neither delete nor garbage collection command is being performed. both commands return idle status. erase flash the D6571E allows to erase the entire flash (with the except ion of the bad block table). to perform erase operation the erase commands should be sent twice. after sending the second command the contents of the flash including voice prompt will be erased. this command can be used on the development stage to clean used flash. this command is not recommended to be used in actual applications. the erase command must not be used with the flash that has not been initialized yet . the erase command performs in the same way in case of ?cold? and ?warm start.? set/modi fy time stamp in this mode, the host sends the D6571E the data that will be attached to the next recorded message. up to 2 words (4 bytes) may be attached to each message. usually the host sends the D6571E the current time and date mark that will be use d for time and date stamping of the messages. time stamp or any other data stored in these two words can be retrieved by get time stamp command. the D6571E automatically returns to the idle mode after this command. any bit of the time stamp can be modif ied from ?1? to ?0? by the modify time stamp command after message has been recorded. no modification from ?0? to ?1? is available. therefore it is recommended that all non used bits will be set to ?1? by set time stamp command. this command is not avai lable in case of ?cold start?. the D6571E will return idle status. get time stamp in this mode the D6571E sends the host the data that was attached to the recorded message. usually this will be the current time and date. the D6571E automatically retur ns to the idle mode after the set current time command. this command is not available in case of ?cold start?. the D6571E will return idle status. get available record time in this mode, the D6571E sends the host the minimum available flash memory reco rd time in units of memory. time representation of the units depends on the compression rate to be used. the D6571E automatically returns to the idle mode after this command. the D6571E will return idle status in case of ?cold start.? self test and init ialization in this mode the D6571E performs memory configuration, mapping, and testing, initialization of the system parameters as well as various selections related to the codec interfaces, data storages, signal detectors, etc. this mode allows also vol ume control and sensitivity control of dtmf, vox, cas, and cpt detectors. 1) flash initialization (test mode = 0001) this command initializes the flash memory. this command may be used immediately after the flash hardware selection command. flash memor y can not be addressed in functional modes before it is initialized. this command destroys the contents of the memory except the voice prompt blocks and bad block table. initialization is necessary to activate external vp rom even if no flash is installe d in the system. 2) flash fast test (test mode = 0011) this command is not needed for normal operation. it can be used to confirm the flash configuration. it gives a fast indication that the memory devices are installed and functional. this command ca n only be used after a flash hardware selection command. it destroys the contents of the memory except the voice prompt blocks and bad block table. flash must be initialized after using flash fast test command . 3) flash hardware selection (test mode = 0 101) the host must send this command to the D6571E in order to initialize and map the system memory. this command be issued first, because flash fast test and flash initialization command should follow flash hardware selection command. neither flash fast test
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 20 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 (test mode = 0011) nor initialization (test mode = 0001) are available if they don?t follow flash hardware selection command. 4) codec hardware selection (test mode = 0100) this command configures the system for the various codec interface operatin g modes available. m/s - configures the D6571E to operate in either master or slave mode of the codec interface. law - configures the D6571E to operate with either an m - law codec (default) or an a - law codec. codec type selection - allows selection of short (default) or long frame sync for the codec interface. when two codecs are connected to the D6571E, the host can select the input or the output codec for each function. if codec0 is connected to the telephone line and codec1 is connected to the micr ophone and speaker, the host can select to record or play through each one of the codecs. codec selection enables the following options with a 2 - codec configuration. input codec - allows selecting the input data streams from codec0 and codec1. codec in put bit 2 0 input through codec0 (default) 1 input through codec1 output codec - allows selecting the codec output between codec0 or codec1 (or both). codec output bit 4 bit 3 codec 0 0 (default mode.) output data stream in the record, playback, tone generation, line monitor, voice prompt modes is directed to codec0 (via pin tx0). in the speakerphone mode signal to the telephone line is directed to codec0, signal to the speaker to codec1 (via pin tx1). this mode should be used for speakerphone operation. 0 1 output data is directed in all modes only to codec1 (via pin tx1). 1 0 output data is directed in all modes only to codec0 (via pin tx0). 1 1 data is directed in all modes to both codecs. a reset signal will set al l codec configurations to the default values. codec selection command has the same performance in case of ?cold? and ?warm? start. 5) codec loopback (test mode = 0110) activates codec loopback. this mode is available in case of ?cold start.? 6) algo rithm configuration (test mode = 0111 ) submode 000 = dtmf configuration this command configures dtmf detector (sub mode 0) to report detection of 12 digits (0 - 9, *, #) or 16 digits (0 - 9, *, #, a, b, c, d). by default the D6571E is in 12 digit mode. sub mode 001 = cas configuration allows to change threshold levels of the cas detector submode 010 = agc configuration this command activates agc. agc, when activated, is functional in the record mode. main parameters of the agc are programmable and can be defined by the agc configuration command. by default agc is disabled. programmable agc parameters the following parameters can be programmed by host using agc configuration command. optimum level eopt - desired output level after agc operation. for input signals of eopt level the agc will set gain = 1. input signals greater that eopt will be attenuated. input signals smaller than eopt will be amplified.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 21 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 minimum level emin - minimum input signal energy level that is amplified to optimum value eopt . for signals greater than emin the agc gain is calculated as g = eopt/einput maximum gain gmax = eopt/emin gain threshold level eatt - signals smaller than emin and larger than eatt are amplified by maximum gain gmax silence threshold level es il - signals lower than esil are considered silence. the gain for such signals = 1. signals greater than esil but smaller than eatt will be amplified by the gain linearly growing from 1 to gmax. hold time thold - this parameter the hold time of the agc gain during the pause in the speech. the intent of the decay time is to ?bridge? the gaps between syllables and words resulting in stable gain. decay time tdec - this parameter defines the rate by which the gain increases after hold time elapsed. defaul t values of the parameters are presented in the following table. parameter default value (decimal) default value (hex) default value (physical meaning) eopt 4 db 0004 - 1 dbm* emin 22 db 0016 - 19 dbm* eatt 36 db 0024 - 33 dbm* esil 46 db 002e - 43 d bm* thold 100 0064 2.0 sec tdecay 10 000a 1.0 sec * - calculated as (3 - value) dbm 0 1 e sil e att e min e opt gain function g submode 011 = hpf configuration submode 3 enables low pass filter (enabled by default). the performance of this mode is the same in case of ?cold? a nd ?warm start.? submode 100 = fsk configuration this submode allows to control sensitivity of the fsk detector. 7) volume control (test mode = 1000) this mode allows setting of the signal level playing to the codec. the default value is 0 db and the volume may be set in 2 db steps from - 42 to +16 db or may be muted. this command allows the host to read the current volume setting without changing it (bit 7 = 0), or set new volume (bit 7 = 1) specified in bits 0 through 4. the status will reflect the current volume setting. the volume control command can be issued in record, playback, voice prompt and line monitor mode without interrupting these modes. when issued in one of these modes, the status will be the status of the current operating mode. therefore, current volume setting can not be read during operating modes. the performance of this mode is the same in case of ?cold? and ?warm start.? 8) storage configuration (test mode = 1001) this mode allows to define necessary space of the general purpose storage. gps can occupy up to 16 sectors 3200 bytes each sector. by default gps is not available (0 sectors). 9) program dtmf, vox, cpt, cas sensitivity (test mode = 1010) the mode allows independent setting of the sensitivity of the dtmf dete ction, cas detection, vox detection, and call progress tone detection. the default sensitivity level is 0 db and each sub - system may be adjusted in 2 db steps from - 16 db (most sensitive) to +42 db (least sensitive)or can be disabled. this command also a llows the host to read the current sensitivity setting of the selected signaling subsystem (specified in bits 6 - 7) without changing this setting (bit 5 = 0). when bit 5 = 1, the command sets the new
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 22 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 sensitivity value specified in bits 0 through 4. the status will reflect the sensitivity settings. the sensitivity control command can be issued in record, playback, voice prompt, line monitor, and tone generation mode without interrupting these modes. when issued in one of these modes, the status will b e the status of the current operating mode. the current sensitivity setting can not be read during operating modes. the performance of this mode is the same in case of ?cold? and ?warm start.? 10). test mode = 1011 (gpio access). in this mode the d657 1e allows host access to gpios. host can write and read data to/from gpios using this command. 11). test mode = 1101 (iom - 2 compatible codec interface configuration) in this mode the D6571E sets configuration of the gci/idl compatible codec interface. by issuing this command host activates gci/idl compatible codec interface. by sending codec hardware selection command (test mode = 0100) host disables gci/idl interface and activates ?old? codec interface. by default ?old? codec interface is active. see command set for details. voice prompt generation in this mode the D6571E plays back a speech segment using the speech decompression algorithm. speech should be previously stored in flash memory or external rom. the D6571E will support up to four 64k byte sectors. each sector will store up to 128 prompts. the default sector is sector 0. if the host is playing from sector 0 only, no set sector command is required. if however, the host selects sector 1 this continues to be in effect until the host ch anges it again. in addition, the host may change the sector while in idle mode without leaving idle mode and this change will remain in effect until another command is issued to change the voice prompt sector. as a general procedure, the host first sets the sector by setting bit 10 and including the sector number in bits 2 - 0. next, the host loads the new phrase by setting bit 11 and including the phrase number to play (0 - 127) in bits 0 - 6 in the command word. the D6571E will start playing the phrase and send the status word to the host containing line status and playback status. the line status will contain information about dtmf, cas, and cpt in the same manner as the line monitor command. the status word also contains two flags: end of play and read y. the host can continuously monitor the status by issuing a voice prompt command with both bit 10 and 11 equal 0 and act according to the returned flags. ready - this bit (bit 10) is set to ?1? by the D6571E two frames before the end of the phrase playb ack. it indicates that the D6571E is ready to load a new phrase. if the host is playing from the same sector, no additional set sector command is required. the host may send a change sector command, if required, during the playback from the previous s ector without interrupting the playback. the next phrase will be loaded from the new sector. sending a load command while the ready bit is ?0? will not load the new phrase. if the host sends load command immediately after status with ready bit high, ther e will be no silence gap between the two phrases. the host can delay the load command for a few frames and create a gap between two phrases. in that case, the D6571E will transmit silence to the codec but will stay in voice prompt mode. the voice prompt mode supports flexispeech in a manner similar to playback mode. end of play - this bit (bit 7) is set one frame after the ready bit and indicates that the D6571E is playing the last frame of the phrase. while in voice prompt generation mode, the host may issue a command to change the dtmf, cas, vox, and cpt sensitivity or the volume without interrupting this mode. the status word will reflect the status for voice prompt mode. therefore, line monitoring will not be interrupted. the voice prompt mode is terminated by sending an idle command. the external rom can be used as the voice prompt storage if only one 4m flash is activated in the system or no flash is installed. notes: 1) if the phrase number is higher than the last phrase recorded in the me mory, the status word will return end of play with ready bits high and no playback will be performed. 2) if the D6571E does not find the voice prompt area it will return idle status.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 23 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 3) the external voice prompt should be initialized using flash hardware selection and flash initialization command. the external voice prompt should be initialized even in case of ?cold start?. 4) the amount of recording time for voice prompts depends on the number of sectors allotted in the flash memory and it is 71 second s for each 32 kbytes of memory space. program voice prompt in this mode the D6571E allows programming of the voice prompt file into flash memory using the data pump technique. see voice prompt command set for details.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 24 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 full duplex speakerphone operatio n in this mode the D6571E implements a host controlled digital speakerphone algorithm. when activated, this algorithm enables enhanced speakerphone operation with both acoustical and electrical echo cancellation and programmable parameters. codec0 is us ed for the telephone line input and output. codec1 is used for the microphone input and the speaker output. (this is the default setting of the codec). the speakerphone command is comprised of two commands. the first command defines the ?static? paramet ers, which usually are optimized to the specific hardware setup (microphone and speaker locations, amplifier gains, etc.). this command can be issued once only while in speakerphone mode. the second command will define the ?soft? parameters that can be c hanged by the host during speakerphone operation (loop attenuation, speaker volume, etc.). the second command can also define echo cancellation and loop adjustment modes as well as instruct the D6571E to generate a tone from the predefined table. speaker phone function has the same performance in case of ?cold? and ?warm? start. explanation of the speakerphone parameters static parameters (first command) r/t ratio (bits 11 - 10) and t/r ratio (bits 9 - 8) this is ratio of transmit and receive signals. thi s ratio is used to determine which side is speaking. if the t/r ratio is greater than the set level, this is an indication that the microphone side is speaking. conversely, if the r/t ratio is greater than the set level, this is an indication that the lin e side is speaking. priority (bit 1) the system has two ways of behaving when neither side is speaking. if this parameter is set to ?0? - (no priority), the attenuation will be equally split between two sides. if, for example, the total loop attenuatio n is 16 db, when one side is active, the other side is attenuated by 16 db. if no one is speaking, both sides will be attenuated by 8 db. if the parameter is ?1? - (near side priority), the telephone line side will be attenuated (by 16 db) and the microp hone side will be open (0 db) when neither side is speaking. vox sensitivity the line and microphone sensitivity determine the signal - to - noise (snr) ratio at which the voice detectors for the transmit and receive directions will be activated. the voice detectors are used to determine which direction is talking. line vox sensitivity (bits 7 - 5) this parameter will control the sensitivity of the vox from the line side. mic vox sensitivity (bits 4 - 2) same as above for the microphone input. ?soft? pa rameters (second command and on) mode = 0000 (speakerphone status) in this mode, the D6571E reports to the host the current speakerphone status. loop attenuation (bits 2 - 0) this indicates the actual amount of loop attenuation currently in use. see the command set description for possible values of this parameter. direction (bits 7 - 4) this indicates which direction (microphone/speaker) is considered active by the D6571E speakerphone control logic. this is a 4 - bit field used to represent the number ran ge from +7 to - 8. the most positive values indicate that the signal coming from the microphone is dominate (microphone is speaking). the most negative values (2?s complement) indicate that the signal coming from the line side is dominant (telephone line is speaking). values in the center range can either indicate a transition form one side to the other, or if the value stays at approximately the zero position, that neither side is talking. see the command set description for possible values of this param eter. mode = 0001 (line status) the D6571E monitors in this mode the telephone line and reports the result of the cas detection. the status is updated by the D6571E every 16.5 msec. the D6571E allows to send any other speakerphone command and receive status accordingly without interrupting cas detection (other speakerphone commands have much shorter response time). when set new status bit
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 25 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 (bit 7) indicates that information in the line status has not been read by host yet. this bit will be set by the D6571E each time when the status is updated by the D6571E. the bit will be reset to 0 each time when the status is read by the host dtmf, tone, ext. tone (bits 0 - 5) see speakerphone command description and line monitor mode description for the bit ass ignment. new status (bit # 7) when set indicates that the status has been updated by the D6571E and has not been read yet by the host. will be set to 1 by the D6571E each time when the D6571E updates the status. will be reset to 0 after host reads the status. mode = 001 (speakerphone parameters) in this mode, the D6571E sets the ?soft? speakerphone parameters. speaker volume (bits 6 - 3) this parameter will control the speaker output signal level . see the command set description for possible values of this parameter. line volume (bits 8 - 7) this parameter will control the volume transmitted to the telephone line. see the command set description for possible values of this parameter. loop attenuation (bits 2 - 0) this parameter defines the target loop attenuation in the system. see the command set description for possible values of this parameter. also see the description at the end of this section for a description of the loop adjustment mode. mode = 010 (speakerphone configuration) in this mode, th e D6571E sets the echo cancellation and loop adjustment modes. automatic loop adjustment (bits 1 - 0) this parameter controls the loop attenuation allowing for automatic control or a specific setting for abnormal conditions. see the command set description for possible values of this parameter. also see the description at the end of this section for a description of how the speakerphone is controlled in the various modes available. line training (bits 3 - 2) this parameter sets the type of training of the e ec. the default and recommended mode is voice adaptation mode. alternatively white noise can be injected to the telephone line. then the D6571E will automatically returns back to the voice adaptation mode. see the command set description for possible val ues of this parameter. also see the description at the end of this section for a description of how the speakerphone is controlled in the various modes available. twist (bit 6 - 7) defines the twist of the dtmf tone generated in the speakerphone mode. tw ist defines the attenuation of the lower frequency of the dual frequency signal. dt (bits 5 - 4) defines the threshold for the dial tone detector. level below the threshold is considered noise and would not be detected. mode = 011 (speakerphone confi guration 2) defines additional options for the speakerphone. speaker noise (bit 7) when the speaker noise bit is set, a white noise pulse of duration 250 msec is injected into the speaker. after the pulse the dsp automatically returns to the adaptation mode of the aec. line noise (bit 6) when the line noise bit is set, a white noise pulse of duration 250 msec is injected into the line. (this is equivalent to line training type 1 in the speakerphone configuration command). after the pulse the dsp aut omatically returns to the adaptation mode of the lec. line processing (bit 5) this option allows additional linear processing to reduce the far end residual echo by 6 db.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 26 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 mic vox position (bit 4) defines position of the mic vox detector before the volu me compensater (default) or after the volume compensater. line vox response (bits 1 - 0), mic vox response (bits 3 - 2) defines frequency response of the line and mic vox detectors (flat or high pass filter). mode = 100 (tone generation) in this mode, the D6571E will generate tones. tone index (bits 4 - 0) and tone gain (bits 8 - 5) allows to generate 16 dtmf tones from the redefined tone table. no user defined tones are available in the speakerphone mode. even in case of ?warm start? dtmf will be generat ed according to the ?cold start? protocol in this mode. see the tone generation command for usage and definitions. to start generation the host should send tone generation command (mode = 100). to stop generation and return to speakerphone, the host sho uld send a second speakerphone command other than tone generation (for example, get speaker phone status). mode = 101 (speakerphone parameters 2) the set speakerphone parameters 2 command (mode 101) allows additional control over the range for the loop a ttenuation, speaker volume, line volume, and t/r and r/t ratios. if extended range is not a requirement, the set speakerphone parameters command (mode 001) can be used rather than this command. this command also introduces the acoustical decoupling and e lectrical decoupling parameters. parameter (bits 8 - 6): defines the parameter to be set. = 000: loop attenuation = 001: speaker volume = 010: acoustic decoupling = 011: line volume = 100: electrical decoupling = 101: t/r and r/t ratios = 110: reserved = 111: reserved value (bits 5 - 0) defines the value of the parameter to be set. speaker volume and line volume is equivalent to the parameters defined by set speakerphone parameters command with the exception that this command extend s the range of these parameters from - 20 db to + 20 db. the loop attenuation is the same as in the set speakerphone parameters command. r/t and t/r ratios are the same as for the first speakerphone command with the exception that the range of control is extended to 4. acoustical and electrical decoupling should be set by host according to the actual hardware design those parameters define the actual volume compensation that will set by the D6571E. if the speaker volume is more than 0 db the D6571E wil l activate speaker volume compensation. this compensation will be active until aec will be trained. then it will be deactivated. the amount of compensation introduced by the D6571E is: speaker volume compensation = speaker volume - acoustical decouplin g. the default value of the acoustical decoupling is 0 db. if this parameter is not set by host the speaker volume compensation = speaker volume. similarly if the line volume is more than 0 db the D6571E will activate line volume compensation. this com pensation will be active until eec will be trained. then it will be deactivated. the amount of compensation introduced by the D6571E is: line volume compensation = line volume - electrical decoupling. the default value of the acoustical decoupling is 0 db. if this parameter is not set by host the speaker volume compensation = speaker volume. use of this parameters allows to reduce volume compensation in the D6571E speakerphone. please, note that volume compensation is valid only at the beginning of th e conversation when the echo cancellers are not trained. control of available modes the D6571E speakerphone system actually contains two digital echo cancellers: an adaptive acoustical canceller (aec) which cancels the acoustical echo
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 27 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 between microphone and speaker, and an adaptive electrical echo canceller (eec) which cancels the echo caused by the 4 - to - 2 wire telephone line connection. automatic loop adjustment mode when starting the speakerphone mode, both of the echo cancellers are at their initial point. they are not trained and provide no cancellation. by default the D6571E starts the speakerphone with increased level in order to guarantee that the system will be stable. when the echo cancellers have converged, the additional loop attenuation is removed. the D6571E starts operation with the ?target? loop attenuation + 12 db. this attenuation will be reduced to ?target? value once echo cancellers get trained. the default setting of the D6571E is: target loop attenuation 8 db, starting point is 20 db, which will be reduced to 8 db. the host can set any desired ?target? value of the loop attenuation. if the D6571E is unable to provide efficient echo cancellation it will (temporarily) introduce an additional attenuation in order to prevent howlin g or feedback. this happens if the D6571E determines that it is unable to cancel either acoustical echo or electrical echo by adjusting the echo canceller coefficients. additional loop attenuation will be introduced if the speaker volume or line volume is increased or if the target loop attenuation is decreased by host to ensure the smooth transaction. the D6571E will restore the target loop attenuation selected by host by reducing the additional attenuation in steps of 4 db once efficient cancellation is achieved. the automatic loop adjustment mode is the default mode. it can be also selected by the speakerphone configuration command (mode = 10, loop adjustment = 10). if the actual loop attenuation is more than 0 db the speakerphone operates by dynam ically distributing the loop attenuation selected between the receive and transmit attenuaters providing natural non - interrupted conversation even with the loop attenuation higher than 0 db. the D6571E makes a decision as to which direction is talking and then rapidly shifts the attenuation to the opposite direction. voice adaptation of the echo cancellers the D6571E has two echo adaptive cancellers. both of them are adapting to speech. when microphone side is speaking the eec updates its coefficients. the aec updates its coefficients when telephone line side is speaking, the voice adaptation mode is default mode of the D6571E. alternatively the D6571E can send the noise pulse to train echo cancellers. after sending training pulse the D6571E would r eturn to the voice adaptation mode. the voice adaptation mode without any training pulse is the recommended one. also if the user desires to change the volume of the speaker, this should be done via the D6571E and not by changing the external speaker amp lification. re - compression mode this mode allows to change compression rate of the recorded message. first command c1 specifies message to be re - compressed. second command c2 specifies new compression rate. re - compression starts after c2 command. hos t can send c3 command continuously to monitor progress of the re - compression operation. ready bit will be set when re - compression is complete. error bit will be set if message to be recompressed does not exist, or if this a pcm or binary message. if memo ry full is reached the D6571E will set bit mem full and terminate re - compression. old message will be saved (before recompression), re - compressed message will be deleted. note: garbage collection must be executed before re - compression and after each re - c ompression.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 28 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 host interface performance the D6571E maximum response times to host commands (for samsung flash) are as follows: command max status response time * idle 1 ms idle after functional modes 11 - 12 ms record 1 frame tail cut 50 ms first p layback 2 ms second playback (offset) 1 sec next playback (continue) 1 frame line monitor 1 frame delete message 5 ms garbage collection 5.1 sec set current time 2 ms get time stamp 4 ms get available record time 1 0 ms read memory status (vp chks um disabled) 30 ms read memory status 30 ms + 1.95 sec for each vp sector write telephone number 2 ms read telephone number 1 ms tone generation (three program commands) 2 ms tone generation ( continue) 1 frame voice prompt generation 1 frame spea kerphone 2 ms initialization 2.2 sec gc status after reset (?cold start?) 3 sec gc status after reset (?warm start?) 40 ms * with 4m samsung flash 1 frame is 30 ms for 8 khz and 33 ms for 7.2 khz sampling rate the D6571E maxim um response times to host commands (for toshiba flash) are as follows: command max status response time * idle 1 ms idle after functional modes 11 - 12 ms record 1 frame tail cut 850 ms first playback 2 ms second playback (offset) 1 sec next playba ck (continue) 1 frame line monitor 1 frame delete message 10 ms garbage collection 5.1 sec set current time 2 ms get time stamp 4 ms get available record time 60 ms read memory status (vp chksum disabled) 60 ms read memory status 60 ms + 4.5 sec for each vp sector write telephone number 40 ms read telephone number 5 ms tone generation (three program commands) 6 ms tone generation ( continue) 1 frame voice prompt generation 1 frame speakerphone 2 ms initialization 2.2 sec gc status after reset (?cold start?) 3 sec gc status after reset (?warm start?) 250 ms * with 4m toshiba flash 1 frame is 30 ms for 8 khz and 33 ms for 7.2 khz sampling rate
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 29 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 figur e 3. speakerphone block diagram receive attenuator speaker volume mic. vox - volume compens. transmit attenuator line out vol. line vox line vol. comp. train pulse gen. codec0 - line in codec1 line echo canceler control acoustic echo canceler dial tone detec. mic. in spk. out codec1 spk. out mic. in codec0 digital speaker phone a4 line in line out a2 a3 2 wire tel. line line interface 4to2 wire coupling a1 acoustic coupling speakerphone figure 3a. digital part figure 3.b - acoustic and analog parts line out
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard 30 santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 power down operation the D6571E needs only one source of power: vcc - 5vdc that suppli es power only during power on, connected to the codec, memory and other components. power fail indication signal is supplied to the D6571E through the pdn pin (pin 22). a reset input signal is also connected to the D6571E (pin 21). during the power on sequence, the pdn \ signal of the D6571E and the wp \ signal of flash should go high after vcc and crystal oscillation have become stable (usually 20 - 50 msec after vcc is high). the reset signal may go high together with vcc or with delay. please, note tha t the D6571E will be in an undefined state before high level of the reset signal is applied. the reset signal should go low after vcc and crystal oscillation have become stable and with minimum delay of 1 msec after wp \ is high. reset pulse should be at least 10 m sec long. when power is being disconnected, the pdn signal should go low and the D6571E will enter power down mode. then wp \ pin of the flash should go low with minimum delay of 2 msec after pdn \ is low. the wp \ should go low before the vcc dr ops below 4.5v. please, note that the wp \ pin of the flash ic should be low when vcc is below 4.5v. 4.5v 4.75v t1 t3 t2 t4 vcc pdn\ wp\ reset t5 t1 > 3 msec t2 > 0 t3 20 - 50 msec t4 > 1 msec t5 > 10 m sec figure 4. power up and power down timing diagram
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 29 command set 0. idle command: 0000 0 0 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 0) status: 0000 0 0 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 0) 1. record command (c1): 0001 00 comp mode vox en lb dis gap 00 close resume (15 - 12) (11 - 10) (9 - 7) (6) (5) (4) (3 - 2) (1) (0) comp mode: = 000: low bit rate = 001: middle bit rate = 010: high bit rate = 100: m - law or a - law pcm (no compression) = else: reserved vox en: = 1: start recording on positive vox detection = 0: start recording without vox detection lb dis = 1: disable loopback of input samples = 0: enable loopback of input samples gap = 0: gap coding is disabled = 1: activate gap coding close = 1: close last message resume = 1: resume recording of the last message (if recording of the last message was suspended by the c2 command with rec mode = 01) status (s1): 0001 00 comp mode vox en lb dis gap 00 close resume (15 - 12) (11 - 10) (9 - 7) (6) (5) (4) (3 - 2) (1) (0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 30 command (c2): 0001 rec mode tone gen c o m m a n d b i t s (15 - 12) (11 - 10) (9) (8 - 0) rec mode tone gen 0 0 0 continue recording or stop record with tail cut 0 0 1 continue recording or stop record with tail cut and generate new tone 0 1 0 suspend recording - the D6571E terminates recording (message recording can be resumed later or messa ge can be closed, see resume and close bits of the c1 command); 1 0 0 pause recording (the D6571E stays in record mode and monitors line but doesn?t store data into the flash memory), the D6571E will continue recording after receiving record command with rec mode = 00 1 0 1 same as above plus new tone will be generated 1 1 0 read offset, the D6571E will report current offset within the message 1 1 1 change compression rate (allows switching between different compression rates as well as enable and disab le gap coding and codec loopback). switching from/to uncompressed recording is not allowed. when rec mode = 00 or 10 (continue recording or pause) command (c2): 0001 rec mode tone gen tail cut factor(if tone = 0) or tone index + gain (if tone = 1) ( 15 - 12) (11 - 10) (9) (8 - 0) when tone gen = 0: (c2): 0 0 0 tail cut factor (9) (8 - 7) (6 - 0) tail cut factor = 0: continue record and monitor status tail cut factor = non zero: end record and cut message tail in memory by tail cut factor * tcf for 8 khz sampling rate tcf = 160 ms for truespeech compression and 240 ms for pcm recording for 7.2 khz sampling rate tcf = 178 ms for truespeech compression and 266 ms for pcm recording when tone gen = 1: (c2): 1 tone gain tone index (9) (8 - 5) (4 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 31 when rec mode = 11 and tone gen = 1 (change compression rate) command (c2): 0001 1 1 1 new bit rate lb dis gap 0 0 0 0 (15 - 12) (11 - 10) (9) (8 - 6) (5) (4) (3 - 0) new bit rate = 000: low bit rate = 001: middle bit rate = 010: high bit rate lb dis = 1: disable loopback of input samples = 0: enable loopback of input samples gap = 0: gap coding is disabled = 1: activate gap coding change compression rate command allows switching between different compress ion rates. it allows also to enable/disable gap coding codec loopback. this command does not support switching from/to uncompressed speech recording. status (s2): 0001 rec mode tone gen 0 status or tail cut factor (15 - 12) (11 - 10) (9) (8) (7 - 0) w hen tone gen = 0 and tail cut factor = non zero: (s2) mem full tail cut factor (7) (6 - 0) in all other cases: (s2): mem full vox ext tone tone dtmf (7) (6) (5) (4) (3 - 0) mem full = 1: memory full condition has been reached. vox = 1: speech frame was detected. tone = 1: call progress tone was detected. dtmf } : code for valid dtmf signal detected. ext tone }
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 32 when rec mode = 01 (suspend recording) command (c2): 0001 0 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9) (8 - 7) (6 - 0) status (c2): 0001 0 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9) (8 - 7) (6 - 0) when rec mode = 11 and tone gen = 0 (read offset) command (c2): 0001 1 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9) (8 - 7) (6 - 0) status (c2): 0001 11 o f f s e t (15 - 12) (11 - 10) (9 - 0) notes: the record procedure starts with command c1 and returned status s1. then host continuously sends c2 commands. each command is responded with an s2 status, which includes status information in the status byte field. when in pause the D6571E stays in the record mode and continues line monitoring, however data is not being stored into the flash memory. sending c2 command with rec mode bits 00 (continue recording) restores recording process. recording mode can be suspended by c2 command with rec mode = 01. the D6571E terminates recording and goes to idle mode. after performing another operations (other than recording) recording of the same message can be resumed by sending c1 command with resume bit set to ?1 .? suspended message can be closed by c1 command with close bit set. the record mode continues and monitoring is performed even when memory is full. the record mode can be terminated with an idle command (for 0 tail cut) or with c2 command with a non ze ro value of the tail cut factor. status is given once every frame, after receiving the command. when a tail cut command is received, the status is given after the message tail is cut.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 33 2. playback command (c1): 0010 00 flexi speed message number (15 - 12) (11 - 10) (9 - 7) (6 - 0) flexi speed: = 000 1.0 = 001 0.5 = 010 0.7 = 011 1.0 = 100 1.3 = 101 1.5 = 110 1.75 = 111 2.0 status (s1): 0010 0 0 flexi speed me ssage number (15 - 12) (11 - 10) (9 - 7) (6 - 0) command (c2): 0010 0 0 offset (15 - 12) (11 - 10) (9 - 0) offset is defined in units. fo r 8 khz sampling frequency unit is 0.64 sec for truespeech messages and 0.93 sec for pcm messages. for 7.2 khz sampling frequency unit is 0.704 sec for truespeech messages and 1.03 sec for pcm messages. status (s2): 0010 0 0 offset (15 - 12) (11 - 10) (9 - 0) command (c3): 0010 pause read offset flexi speed 0 0 0 0 0 (15 - 12) (11) (10) (9 - 7) (6 - 0) pause = 0: c ontinue playback = 1: pause. read offset = 1: read current offset from the beginning of the message
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 34 status (s3): (read offset = 1) 0010 pause 1 offset (15 - 12) (11) (10) (9 - 0) status (s3): (read offset = 0) 0010 pause 0 bin 0 end of play 0 ext tone tone dtmf (15 - 12) (11) (10) (9) (8) (7) (6) (5) (4) (3 - 0) bin = 0: voice message =1: binary message end of play = 1: end of message reached. tone = 1: call progress tone detected. dtmf: } : code of valid dtmf signal detected. ext tone } notes: play mode starts with c1 and the returned s tatus s1. the second command, c2, sets offset from the beginning of the message. actual playback starts after returning the s2 status. from then on, continuous monitoring may be done, using command c3. status is returned each frame, after the command is r ecognized. setting pause to '1' stops the playback. playback is resumed when pause is reset to '0'. play mode is continued, and status is reported even when the system is in pause, or when end of message has been reached (end of play = 1). play mode is ter minated with an idle command. if the host sends the command to playback binary message, the D6571E will play silence and return bin bit and end of play bit set to ?1.?
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 35 3. read memory status command: 0011 mode 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9 - 0) mode = 00: get memory status = 01: get product number = 10: reserved = 11: reserved mode 00 command: 0011 0000 vp chk dis 0 0 0 0 0 0 0 (15 - 12) (11 - 8) (7) (6 - 0) vp chk dis = 0: checksum of the voice prompt is calculated = 1: voice prompt checksum calculation is disabled ?warm start?: status: 0011 voice prompt status 0 program rom status garbage collection re commended memory full # of messages (15 - 12) (11) (10) (9) (8) (7) (6 - 0) voice prompt status = 0: all activated voice prompts are ok or voice prompt checksum calculation is disabl ed. = 1: at least one of the activated voice prompt roms is not good or not installed or no voice prompt rom is activated in the system program rom status = 0: rom test ok. = 1: rom test failed. garbage collection = 1: when tel. number directory was reprogrammed, message(s) recommended were deleted or not saved, or when tail cut was performed. will be reset after garbage collection. memory full = 1: flash memory is full, or message dire ctory is full ?cold start?: status: 0000 voice prompt status 0 program rom status 0 0 0000000 (15 - 12) (11) (10) (9) (8) (7) (6 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 36 program rom status = 0: rom test ok. = 1: rom test failed voice prompt status = 0: external voice prompt is ok or voice prompt checksum calculation is disabled. = 1: external voice prompt roms is not good or not installed or no voice prompt rom is activated in the system mode 01: status: digit 1 digit 2 digit 3 digit 4 (15 - 12) (11 - 8) (7 - 4) (3 - 0) digit 1..4 in mode 01: 4 digit product no = 65 71 (0110 0101 0111 0001)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 37 4. write telephone number command (c1): 0100 storage type address (15 - 12) (11 - 10) (9 - 0) storage type mode 00 telephone number storage 01 non - erasable storage 10 host configurable general purpose storage 11 res erved if storage type = 00 (telephone number storage) command (c1): 0100 0 0 0 directory index word index (15 - 12) (11 - 9) (8 - 2) (1 - 0) di rectory index: telephone number index (0 - 127) word index: 4 digit group index (0 - 3) status (s1): 0100 directory full 0 0 directory index word index (15 - 12) (11) (10 - 9) (8 - 2) (1 - 0) directory is full: if this bit is set to 1, the D6571E will go to idle mode after sending this status, without waiting for the next programming command (c2). this bit will be set when words have been programmed too many times without applying garbage collection. this bit should be cleared after running garbage collection. command (c2): digit 1 digit 2 digit 3 digit 4 (15 - 12) (11 - 8) (7 - 4) (3 - 0) stat us (s2): digit 1 digit 2 digit 3 digit 4 (15 - 12) (11 - 8) (7 - 4) (3 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 38 if storage type = 01 (non - erasable storage) command (c1): 0100 0 1 directory index wo rd index (15 - 12) (11) (10) (9 - 2) (1 - 0) directory index: directory index (0 - 200) word index: word index (0 - 3) data can be written to this storage once only and can not be erased or modified. status (s1): 0100 directory full 1 directory index word index (15 - 12) (11) (10) (9 - 2) (1 - 0) directory full = 1: specified word has been programmed already. the D6571E will go to idle mode without waiting for c2 command. command (c2): d a t a (15 - 0) status (s2): e c h o of d a t a (15 - 0) if storage type = 10 (general purpose storage) command (c1): 0100 1 0 erase sector 0 0 0 0 sector number (15 - 12) (11) (10) (9) (8 - 5) (4 - 0) erase sector = 1: the whole sector will be erased. the D6571E will go to idle mode after ex ecuting this command. = 0: command defines the sector number that will be accessed by further commands sector number = from 0 to 16. defines the sector number to be erased or to be accessed by further commands if erase sector = 1 status (s1): 0100 1 0 1 0 bad sector 0 0 0 sector number
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 39 (15 - 12) (11) (10) (9) (8) (7) (6 - 5) (4 - 0) bad sector = 0: sector ok = 1: sector doesn?t exist if erase sector = 0 status (s1): 0100 1 0 0 0 bad sector 0 0 sector number (15 - 12) (11) (10) (9) (8) (7) (6 - 5) (4 - 0) bad sector = 0: sector ok = 1: sector doesn?t exist/not initialized. the D6571E will go to idle if sector does not exist. see self - test & initialization command for details of general purpose storage initial ization. command (c2): 0100 1 directory index word index (15 - 12) (11) (10 - 2) (1 - 0) directory index: directory index (0 - 400) word index: word index (0 - 3) status (s2): 0100 dir full directory index word index (15 - 12) (11) (10 - 2) (1 - 0) di rectory full = 1: this bit will be set if words in the sector has been reprogrammed too many times without applying gc or if directory index is greater than 400. command (c3): d a t a (15 - 0) status (s3): e c h o o f d a t a (15 - 0) note: garbage collection must be run prior and after executing write to gps. read memory status command should be sent by host. then garbage collection should be performed if recommended. the same should be done after writing data to general purpose sto rage.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 40 5. read telephone number 0101 storage type address (15 - 12) (11 - 10) (9 - 0) storage type mode 00 telephone number storage 01 unerasable storage 10 host configurable general purpose storage 11 reserved if storage type = 00 (telephon e number storage) command (c1): 0101 0 0 0 directory index word index (15 - 12) (11 - 9) (8 - 2) (1 - 0) directory index: telephone number index ( 0 - 127) word index: 4 digit group index (0 - 3) status (s1): digit 1 digit 2 digit 3 digit 4 (15 - 12) (11 - 8) (7 - 4) (3 - 0) if storage type = 01 (non - erasable storage) command (c1): 0101 0 1 directory index word index (15 - 12) (11) (10) (9 - 2) (1 - 0) directory index: directory index (0 - 200) word index: word index (0 - 3) status (s1): e c h o of d a t a (15 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 41 if storage type = 10 (general purp ose storage) command (c1): 0101 1 0 0 0 0 0 0 sector number (15 - 12) (11) (10) (9) (8 - 5) (4 - 0) sector number = from 0 to 16. defines the sector number to be erased or to be accessed by further commands status (s1): 0101 1 0 0 0 bad sector 0 0 sector number (15 - 12) (11) (10) (9) (8) (7) (6 - 5) (4 - 0) bad sector = 0: sector ok = 1: sector doesn?t exist/not initialized. the D6571E will go to idle if sector does not exist. see self - test & initialization command for details of ge neral purpose storage initialization. command (c2): 0101 1 directory index word index (15 - 12) (11) (10 - 2) (1 - 0) directory index: directory index (0 - 400) word index: word index (0 - 3) status (s2): d a t a (15 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 42 6. tone generation c ommand: 0110 0 0 0 master gain tone index (15 - 12) (11 - 10) (9) (8 - 5) (4 - 0) tone index - defines the tone index to be generated according to the table mentioned above. master gain - defines the master gain of this tone. the actual gain will be from - 24 db (gain code 1111) to +6 db (gain code 0000). the gain code equals: 0 =< (gainx + master gain)< =15 where gainx (x=0,1) has either the default value (for indexes 0 to c) o r a value defined by a new tone definition command (indexes from d to 1f). the default value of gain0 is 1 and the default value of gain1 is 0. to continue to generate the same tone and monitor the line, the same command should be issued every frame. t o change either tone or gain on the fly, a new tone index or a master gain should be sent in the command. an idle command terminates tone generation mode. status: 0110 0 0 0 0 0 0 0 ext tone tone dtmf (15 - 12) (11 - 6) (5) (4) (3 - 0) tone = 1: call progress tone detected. dtmf } : code of valid dtmf signal detected. ext tone } in case of ?warm start? 13 pre - defined tones (including 12 dtmf tones) can be generated from the table provided in the D6571E. the remaining 19 entries are user defined and may be programmed one time. see ?new tone initialization? below. ?warm start? table tone index dtmf code freq 0 freq 1 0 no tone 1 1 697 1209 2 2 697 1336 3 3 697 1477 4 4 770 1209 5 5 770 1336 6 6 770 1477 7 7 852 1209 8 8 852 1336 9 9 852 1477 a * 941 1209 b 0 941 1336 c # 941 1477 d - 1f user defined tones
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 43 in case of ?cold start? the D6571E allows generation of the following 16 dtmf tones. no user defin ed tones is available in case of ?cold start.? ?cold start? table tone index dtmf code freq 0 freq 1 0 no tone 1 1 697 1209 2 2 697 1336 3 3 697 1477 4 4 770 1209 5 5 770 1336 6 6 770 1477 7 7 852 1209 8 8 852 1336 9 9 852 1477 a * 941 1209 b 0 941 1336 c # 941 1477 d a 697 1633 e b 770 1633 f c 852 1633 10 d 941 1633
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 44 new tone initialization the D6571E allows definition of tones 13 - 31 in the table. tones can be programmed one time from the idle mode. the host can do this by using a sequence of four tone initialization commands. these commands can define gain and/or frequency for positions 13 - 31 in the tone generation table (indexes d - 1f). this command is available in case of ?warm start? only. command (c1): 0110 1 0 0 0 0 0 0 tone index (15 - 12) (11 - 10) (9 - 5) (4 - 0) tone index - defines the table entry that will be redefined. status (s1): 0110 1 0 0 0 entry not free 0 0 tone index (15 - 12) (11 - 10) (9 - 8) (7) (6 - 5) (4 - 0) entry not free - will be set to ?1? if the actual entry was previously programmed. if this is the case, the D6571E will return to idle mode after sen ding this status without waiting for the next programming command (c2). command (c2): 0110 0 0 0 0 gain 1 gain 0 (15 - 12) (11 - 10) (9 - 8) (7 - 4) (3 - 0) gain - defines gain of the tone. status (s2): 0110 0 0 0 0 gain 1 gain 0 (15 - 12) (11 - 10) (9 - 8) (7 - 4) (3 - 0) command (c3): frequency factor for tone #0 ( 15 - 0 ) status (s3): frequency factor for tone #0 ( 15 - 0 )
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 45 command (c4): frequency factor for tone #1 ( 15 - 0 ) status (s4): frequency factor for tone #1 ( 15 - 0 ) after new tone definition has been made in the table, any of the new defined tones can be generated in the usual way. fsk modem this mode allows support of the cid function, a - 5, as well as general purpose fsk receive and transmit mode with optional hdlc framing and optional rs - 232 encapsulation. command (c1): 0110 00 1 no cs master gain fsk configuration (15 ? 12) (11 ? 10) (9) (8) (7 ? 4) (3 ? 0 ) fsk config = 0000: fsk transmit first, fsk receive second = 0001: fsk transmit only = 0010: fsk receive only = 0011: fsk receive first, fsk transmit second master gain - defines the master gain of transmission. the actual gain will be from - 24 db (gain code 1111) to +6 db (gain code 0000). the gai n code equals: 0 =< (gainx + master gain)< =15 no cs = 1: fsk (cid) detector does not expect channel seizure signal = 0: fsk (cid) detector expects channel seizure signal prior message notes: command c2 - c5 are setup commands. for receive onl y mode value of the c2 - c5 commands are not important. host can send, for example, idle commands. the order of receive command (c7) and transmit command (c6) depends on the fsk configuration. for ?transmit before receive? mode c7 command will precede c6 . status (s1): 0110 0 hdlc 1 no cs 0 0 0 0 fsk configuration (15 ? 12) (11) (10) (9) (8 ? 4) (3 ? 0 )
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 46 set number of leading mark bits command (c2): number of leading mark bits (15 ? 0) status (s2): echo: number of leading mark bits (15 ? 0) set number of trailing mark bits command (c3): number of trailing mark bits (15 ? 0) status (s3): echo: number of trailing mark bits (15 ? 0) rs232 and hdlc configuration command (c4): number of stop bits number of start bits 0 0 0 0 0 0 0 cr c swap crc order crc invert crc dir crc init value (15 ? 14) (13 - 12) (11 - 5) (4) (3) (2) (1) (0) crc init value = 0: 0000 (initial value of the crc register) = 1: ffff crc dir = 0: lsb first (feeding order of input bytes to crc) = 1: msb first crc invert = 0: not inverted (invert crc checksum before tx) = 1: inverted crc order = 0: lsbit first (crc tx bit order) = 1: msbit first crc swap = 0: not swapped (swap crc bytes order) = 1: swapped fo r cid detection the default values: number of stop bits = 1
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 47 number of start bits = 1 status (s4): number of stop bits number of start bits 0 0 0 0 0 0 0 crc swap crc order crc invert crc dir crc init value (15 ? 14) (13 - 12) (11 - 5) (4) (3) (2) (1) (0) number of bytes in frame command (c5): 0110 number of bytes in frame (15 ? 12) (11 - 0) status (s5): 0110 number of bytes in frame (15 ? 12) (11 - 0) at this point transmit or receive command should be sent to start actual dat a receive/transmit transmit command command (c6): 0110 0 code byte (for load byte command) or 0 0 0 0 0 0 0 0 for other modes (15 ? 12) (11) (10 ? 8) (7 ? 0 ) code = 000: monitoring command = 001: load byte to fifo = 010: reset fifo (clean tx fifo) = 011: start generation (start leading mark bits generation) = 100: stop generation (stop data generation, start mark bit generation and receiving data) note: c6 command can be sent during data stream or mark bit generation without interrupti ng the mode. if an idle command received instead c6 command the fsk mode will terminated. upon receiving stop generation command the dsp should stop generating data from the fifo (upon completion of the current byte ) and start mark bits generation. statu s (s6): 0110 receive ready number of bytes in the fifo (15 ? 12) (11) (10) (9 - 0) ready = 1: frame generation is complete. the D6571E started generating trailing ?mark? bits. receive = 1: trailing ?mark? bits generation is complete. the D6571E is in receive mode.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 48 if transmit fifo is empty, mark bits will be generated. during mark bits generation the host may send load data command or monitoring command. idle command will terminate mode. transmit upon getting start generation command the dsp wi ll start generating mark bits according to the value set by the set number of leading bits command above. some default value should be set (for example, 300 as required for cid). during mark bits generation the host may send load data command or monitorin g command. idle command will terminate mode. data to tx fifo can be loaded before start generation command is received or after start generation command. if tx fifo is empty ?mark? bits will be generated. after generating ?number of bytes in frame? byt es the dsp will start generating trailing mark bits sequence. at this moment the dsp will set bit readt to ?1.? the number of trailing mark bits is defined by the set number of trailing bits command. at the same time the dsp goes to receive mode and prep ares input buffers for data reception. after mark bits generation is complete, the dsp sets receive bit in the status word to ?1.? receive after transmit the dsp will start accumulating input data immediately after it completes mark bits generation (data accumulated in the input buffers during mark bits generation will not be processed). the dsp will stay in the fsk receive mode at least until next host command is received. normally the host can not send idle command during trailing mark bits generation because idle command will terminate mode immediately. idle command can be sent only after receive bit is high . this means that transition from fsk transmit to fsk receive mode will be performed without going via idle mode. receive command command (c 7): 0110 1 code 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 ) code = 000: monitoring command = 001: move received byte to host = 010: monitor received mark bits (before first data byte) = 011: reset fifo (clean rx fifo) = 100: hdlc mon itoring = 101: monitor received channel seizure signals (before first data byte) = 110: reserved = 111: stop receiving data. the dsp will go to idle mode or fsk transmit according to c1. c7 command will be sent during fsk data receive. note: c7 command can be sent during data stream or mark bit detection without interrupting the mode. if an idle command received instead c7 command the fsk receive mode will terminated and the dsp will go to idle mode.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 49 monitoring command command (c7): 0110 1 0 0 0 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 ) status (s7): 0110 1 0 number of bytes in the fifo (15 ? 12) (11) (10) (9 - 0) move received byte to host command (c7): 0110 1 0 0 1 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 ) status (s7): 0110 0 0 0 nd data byte (15 ? 12) (11 (10 - 9) (8) (7 - 0) nd = 0: data byte detected = 1: no data byte detected (data byte = 00h) monitor received mark bits command (c7): 0110 1 0 1 0 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8 ) (7 ? 0 ) status (s7): 0110 1 current number of received mark bits (15 ? 12) (11) (10 - 0) reset fifo command (c7): 0110 1 0 1 1 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 )
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 50 status (s7): 0110 1 0 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 - 0) hdlc monitoring command (c7): 0110 1 1 0 0 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 ) status (s7): 0110 0 0 0 0 0 0 0 0 0 0 crc error frame ready (15 ? 12) (11) (10 - 2) (1) (0) frame ready = 1: frame is received, crc result is ready = 0: frame is not received yet crc error = 1: crc checksum is incorrect = 0: crc checksum is correct monitor channel seizure signal command (c7): 0110 1 1 0 1 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 ) status (s7): 0110 1 current number of received channel seizure bits (15 ? 12) (11) (10 - 0) stop receiving data command (c7): 0110 1 1 1 1 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 ? 8) (7 ? 0 ) status (s7):
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 51 0110 1 0 0 0 0 0 0 0 0 0 (15 ? 12) (11) (10 - 0) 7. l ine monitor command: 0111 0 cid 0 no cs 0 0 lb dis 0 0 0 0 0 (15 - 12) (11) (10) (9) (8) (7 - 6) (5) (4 - 0) cid = 0: line monitor mode = 1: cid demodulation lb dis = 1: disable loopback of input samples = 0: enable loopback of input samples no cs = 1: cid detector does not expect channel seizure signal (off - hook bellcore protocol) = 0: cid detector expects channel seizure signal prior message (on - hook bellcore, v.23) if cid = 0 st atus: 0111 0 0 0 0 0 0 ext tone tone dtmf (15 - 12) (11 - 6) (5) (4) (3 - 0) tone = 1: call progress tone detected. dtmf } : code of valid dtmf signal dete cted. ext tone } note: status is returned after recognizing the command, in each frame. line monitoring is ended by an idle command. if cid = 1 status: 0111 000 nd cid byte (15 - 12) (11 - 9) (8) (7 - 0) cid byte : ascii byte of a cid information. nd = 0: cid byte detected = 1: no cid byte is detected (cid byte = 00h in this case) the command / status sequence should be repeated until the entire cid message is received. an average rate is 3 - 4 command/s tatus sequences per frame when the cid data is being detected. if the D6571E does not detect cid information during last full frame the D6571E will return status with nd bit set. in case of no detection the command/status rate is 1 per frame. cid byte = 00h in case of no detection. when no cs bit is set the D6571E performs cid detection according to the bellcore off - hook protocol (detection of the seizure signal is not required), while if no cs bit is 0 the D6571E expects
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 52 detection of the seizure signal (v.23 and on - hook bell 202 protocol). 8. delete message command: 1000 gc erase 0 0 0 message number (15 - 12) (11) (10) (9 - 7) (6 - 0) gc = 0: delete message defined by message n umber = 1: perform garbage collection (message number is not relevant) erase = 1: erase entire flash including voice prompt if gc = 0, erase = 0 status: 1000 0 0 0 0 e message number (15 - 12) (11) (10 - 8) (7) (6 - 0) e = 0: indicates valid message. = 1: indicates non - valid message. if gc = 1, erase = 0 status: 1000 1 0 0 0 e 0 0 0 0 0 0 cold start (15 - 12) (11) (10 - 8) (7) (6 - 1) (0) e = 0: sectors have been erased (not the last one). = 1: the last sector was erased (procedure has been completed). cold start = 0: ?warm start? = 1: ?cold start? - flash should be initialized before being accessed. in case of garbage collection, the status is sent when the procedure has completed erasing sector. idle is automatically resumed after the sector erase. the garbage collection erases one sector per command. as a general procedure the h ost should send garbage collection commands until all sector are erased. if this is the last sector (or no sectors has to be erased) the e status bit is 1. garbage collection is stopped automatically upon detection of a power down condition. if erase = 1 status: 1000 0 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11) (10) (9 - 0) to perform erase of the entire flash the command 8400h should be sent twice. in response to each command the d6571 e
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 53 will return status 8400h. the erase operation will be performed upon receiving the second erase command. the second status will be returned upon completion of the erase operation. the erase operation can be performed in case of ?cold? and in case of ? warm start.? the erase operation must not be performed on the flash that has been never initialized. 9. set/modify time stamp allows storage of two words associated with the next recorded message. command (c1): 1001 word number modify 0 0 0 message num ber (15 - 12) (11) (10) (9 - 7) (6 - 0) word number = 0: set first word = 1: set second word modify = 0: initial setting of the time stamp prior recording (message number - don?t ca re, time stamp will be attached to the next recorded message) = 1: modify time stamp after message has been recorded (message number - specifies the number of the message the time stamp attached to) status (s1): 1001 word number modify 0 0 0 message number (15 - 12) (11) (10) (9 - 7) (6 - 0) command (c2): time stamp (15 - 0) status (s2): time stamp (15 - 0) note: the modify time stamp command allows modification of any bit of the time stamp from 1 to 0. no modification from 0 to 1 is allowed. therefore it is recommended to set all unused bits to 1 by the set time stamp command. 10. get time stamp command: 1010 word number 0 0 0 0 message number (15 - 12) (11) (10 - 7) (6 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 54 word number = 0: get first word = 1: g et second word status: time stamp (15 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 55 11. get available record time command: 1011 0 0 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 0) status: 1011 available time (15 - 12) (11 - 0) available time: available time in units of 0.833 seconds for high bit rate without gap coding and 8 khz sampling rate (1.111 seconds for mid bit rate without gap coding; 1.82 seconds for low bit rate without gap coding). for 7.2 khz sampling rate the value of the unit is 10% higher for each compression rate. 12. self test and initialization command (general): 1100 test mode test/initialization parameters (15 - 12) (11 - 8) (7 - 0) test mode = 0001: flash initialization = 0011: flash fast self - test = 0100: codec hardware selection = 0101: flash hardware selection = 0110: codec loopback = 0111: algorithm co nfiguration = 1000: volume control = 1001: storage configuration = 1010: program sensitivity = 1011: gpio access = 1100: reserved = 1101: reserved
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 56 test mode = 0001 (flash initialization) command: 1100 0001 flash size 0 dev ice 3 device 2 device 1 device 0 (15 - 12) (11 - 8) (7 - 5) (4) (3) (2) (1) (0) flash size = 0: 4 mbit (size of one flash device) = 1: reserved = 2: reserved = 3: 16 mbit device 0 .. 3 = 1: device is installed (for flash size 0) = 0: device is not installed device 0 = 1: device is installed (for flash size 3) = 0: device is not installed device 1,2,3 = don?t care status: 1100 0001 flash size 0 device 3 devic e 2 device 1 device 0 (15 - 12) (11 - 8) (7 - 5) (4) (3) (2) (1) (0) flash size = 0: 4 mbit (size of one flash device) = 1: reserved = 2: reserved = 3: 16 mbit device 0 .. 3 = 0: device is good (for flash size 0) = 1: device is not installed or bad device 0 = 0: device is good (for flash size 3) = 1: device is not installed or bad device 1,2,3 = 1 test mode = 0011 (flash fast self test): command: 1100 0011 flash size 0 device 3 device 2 device 1 device 0 (15 - 12) (11 - 8) (7 - 5) (4) (3) (2) (1) (0) flash size = 0: 4 mbit (size of one flash device) = 1: reser ved = 2: reserved = 3: 16 mbit device 0 .. 3 = 1: device is installed (for flash size 0) = 0: device is not installed device 0 = 1: device is installed (for flash size 3) = 0: device is not installed
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 57 device 1,2,3 = don?t care s tatus: 1100 0011 flash size 0 device 3 device 2 device 1 device 0 (15 - 12) (11 - 8) (7 - 5) (4) (3) (2) (1) (0) flash size = 0: 4 mbit (size of one flash device) = 1 : reserved = 2: reserved = 3: 16 mbit device 0 .. 3 = 0: device is installed (for flash size 0) = 1: device is not installed or bad device 0 = 0: device is installed (for flash size 3) = 1: device is not installed or bad device 1,2, 3 = 1 test mode = 0101 (flash hardware selection) command: 1100 0101 e/i vp # of vp rom 0 0 flash type (15 - 12) (11 - 8) (7) (6 - 4) (3 - 2) (1 - 0) flash type = 01: toshiba = 10: samsung e/i vp = 1: external vp rom is used (available only in the case of one 4 mbit flash device or no flash) = 0: internal (on flash) vp area is used # of vp rom installed = 000: no vp = 001: one vp sector = 010: two vp sectors = 011: tree vp sectors = 100: four vp sectors status: 1100 0101 e/i vp # of vp rom 0 0 flash type (15 - 12) (11 - 8) (7) (6 - 4) (3 - 2) (1 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 58 test mode = 0100 (codec hardware selection) command: 1100 0100 samp m/s codec type output codec input codec law 0 (15 - 12) (11 - 8) (7) (6) (5) (4 - 3) (2) (1) (0) samp = 1: 8 khz sampling rate (default) = 0: 7.2 khz sampling rate m/s = 0: master mode = 1: slave mode (default) codec type = 0: fixed mode (ti codec) (default) = 1: variable mode (oki codec) input codec = 0: in put data will be read from codec 0. in the speakerphone mode both codec are used (default). this setting should be used in the speakerphone mode and while taking signal from the telephone line. = 1: inp ut data will be read from codec 1. output codec = 00: output data will be written to codec0 in all the modes except speakerphone. in the speakerphone mode both codecs are used. codec0 is connected to the telephone line and codec1 to the speaker. (default). this mode should be used in the speakerphone mode. = 01: output data will be written all the time to codec1. = 10: output data will be written all the time to codec0. = 11: output data will be written all the time to both codecs. law = 0: m - law codec interface (default) = 1: a - law codec interface status: 1100 0100 samp m / s codec type output codec input codec law 0 (15 - 12) (11 - 8) (7) (6) (5) (4 - 3) (2) (1) (0) test mode = 0110 (codec loopback) command: 1100 0110 0 0 0 0 0 0 0 0 (15 - 12) (11 - 8) (7 - 0) status: 1100 0110 0 0 0 0 0 0 0 0
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 59 (15 - 12) (11 - 8) (7 - 0) note: the system will continue in codec loopback mode until an idle command is received. test mode = 0111 (al gorithm configuration) command: 1100 0111 sub mode x x x x x (15 - 12) (11 - 8) (7 - 5) (4 - 0) sub mode: = 000: dtmf = 001: cas configuration = 010: agc configuration = 011: filter configuration = 100: fsk configuration submode = 0 00 (dtmf ) command: 1100 0111 0 0 0 0 0 0 0 16 dtmf (15 - 12) (11 - 8) (7 - 5) (4 - 1) (0) 16 dtmf = 0: the D6571E reports detection of the 12 dtmf digits = 1: the D6571E reports detection of the 16 dtmf digits status: 1100 0111 0 0 0 0 0 0 0 16 dtmf (15 - 12) (11 - 8) (7 - 5) (4 - 1) (0) submode = 001 (cas configuration ) command (c1): 1100 0111 0 0 1 0 0 0 0 0 (15 - 12) (11 - 8) (7 - 5) (4 - 1) (0) status (s1): 1100 0111 0 0 1 0 0 0 0 0 (15 ? 12) (11 - 8) (7 - 5) (4 - 1) (0) com mand (c2): cas level (15 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 60 status (s2): cas level (15 - 0) command (c3): threshold level (15 - 0) status (s3): threshold level (15 - 0) submode = 010 (agc configuration) command: 1100 0111 010 enable agc parameters read/write agc # (15 - 12) (11 - 8) (7 - 5) (4 ) (3) (2) (1 - 0) enable agc = 0: disable agc = 1: enable agc parameters read/write 0 x enable/disables agc, the dsp enters idle mode after this command. 1 0 read current value of the parameter. 1 1 set new values for t he all parameters. agc # = 00: agc = else: reserved if parameters = 0: command c1: 1100 0111 010 enable agc 0 0 agc # (15 - 12) (11 - 8) (7 - 5) (4 ) (3) (2) (1 - 0) enable agc = 0: disable agc = 1: enable agc agc # = 00: agc = else : reserved status s1: 1100 0111 010 enable agc 0 0 agc #
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 61 (15 - 12) (11 - 8) (7 - 5) (4 ) (3) (2) (1 - 0) if parameters = 1: command c1: 1100 0111 010 0 1 read/write agc # (15 - 12) (11 - 8) (7 - 5) (4 ) (3) (2) (1 - 0) read/write = 0 : read current value of the parameter. = 1 : set new values for the all parameters. agc # = 00: agc = else reserved status s1: 1100 0111 010 0 1 read/write agc # (15 - 12) (11 - 8) (7 - 5) (4 ) (3) (2) (1 - 0) if read/write = 0: command c2: 1100 01 11 0 0 parameter # 00 (15 - 12) (11 - 8) (7) (6) (5 - 2) (1 - 0) parameter # = 0000: optimum level eopt. = 0001: minimum level emin. = 0010: gain level eatt = 0011: silence level esil. = 0100: hold time = 0101: decay time = else: reserved note: if idle command will be detected instead of c2 command the dsp will go to idle mode. after c2 command the D6571E will expect next command which either c1 command (to read another parameter) or idle command. status s2: parameter value
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 62 parameter: optimum level eopt, minimum level emin, gain threshold level eatt, silence level esil are in [db]. range of values [0, 2, 4, ..., 56] decimal in steps of 2 db. hold time thold in 20 ms units. range of values [0 .. 32 000] decimal, corresponds to 0 .. 640 sec decay time tdecay in 100 ms units. range of values [0 .. 360], corresponds to 0 .. 36 sec
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 63 the actual level of the parameter should be calculated as (3 dbm - parameter value) parameter default parameter value (decimal representation) default parameter value (hex representation) default value (physical meaning) eopt 4 db 0004 - 1 dbm* emin 22 db 0016 - 19 dbm* eatt 36 db 0024 - 33 dbm* esil 46 db 002e - 43 dbm* thold 100 0064 2.0 sec tdecay 10 000a 1.0 sec * - calculated as (3 - parameter value) dbm if read/write = 1: if read/write = 1 the next 6 commands should contain the values of the main agc parameters. first four parameters are in dbs. decimal representation of the parameter value should be c alculated as - (physical value - 3). command should contain hex representation of the parameter value. command c2: optimum level eopt[db] (0 - 15) status s2: optimum level eopt[db] (0 - 15) command c3: minimum level emin [db] (0 - 15) status s3: minimum level emin[db] (0 - 15) command c4: gain threshold level eatt [db] (0 - 15) status s4: gain threshold level eatt[db] (0 - 15)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 64 command c5: silence threshold level esil[db] (0 - 15) status s5: silence threshold level esil [db] (0 - 15) command c6: hold time [20ms] (0 - 15) status s6: hold time [20ms] (0 - 15) command c7: decay time tdecay [100 ms] (0 - 15) status s7: decay time tdecay [100 ms] (0 - 15) sub mode = 011 (filter enable/disable) command c1: 1100 0111 0 11 enable 0 0 filter # (15 - 12) (11 - 8) (7 - 5) (4) (3) (2) (1 - 0) hpf enable = 0: disable filter = 1: enable filter encoder (default) filter # = 00: high pass filter = else: reserved status s1: 1100 0111 011 enable 0 0 filter # (15 - 12) (11 - 8) (7 - 5) (4) (3) (2) (1 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 65 submode = 100 (fsk ) command: 1100 0111 1 0 0 sl sensitivity level (15 - 12) (11 - 8) (7 - 5) (4) (3 - 0) status: 1100 0111 1 0 0 sl sensitivity level (15 - 12) (11 - 8) (7 - 5) (4) (3 - 0) sensiti vity level sensitivity adjustment (db) 0000 - 32 0001 - 33 0010 - 34 0011 - 35 0100 - 36 0101 - 37 0110 - 38 0111 - 39 1000 - 40 1001 - 41 1010 - 42 1011 - 43 1100 - 44 1101 - 45 1110 - 46 1111 - 47 test mode = 1000 (volume control): command: 1100 1000 sv 0 0 volume level (15 - 12) (11 - 8) (7) (6 - 5) (4 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 66 sv - set volume: = 1: set the volume according to the volume level field = 0: read the current volume level volume level - set lev el of the signal playing to the codec. when sv = 1 then volume level is set by dsp according to the table below: volume level signal level (db) 00000 +16 00001 +14 00010 +12 00011 +10 00100 +8 00101 +6 00110 +4 00111 +2 01000 0 0 1001 - 2 01010 - 4 01011 - 6 01100 - 8 01101 - 10 01110 - 12 01111 - 14 10000 - 16 10001 - 18 10010 - 20 10011 - 22 10100 - 24 10101 - 26 10110 - 28 10111 - 30 11000 - 32 11001 - 34 11010 - 36 11011 - 38 11100 - 40 11101 - 42 11110 mute 11111 mute stat us: 1100 1000 sv 0 0 volume level (15 - 12) (11 - 8) (7) (6 - 5) (4 - 0) note: after reset, the system sets all parameters into default values. once volume is changed, the system operates with this v alue until the new "volume level" command is issued. this command can be issued during "record?, ?line monitor", "playback", and ?voice prompt? modes without interrupting these modes.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 67 test mode = 1001 (storage configuration): command (c1): 1100 1001 000 # of gps sectors (15 ? 12) (11 - 8) (7 - 5) (4 - 0) # of gps sectors = 0: no gps available (default) = 1 .. 16 defines number of sectors available for gps status (s1): 1100 1001 000 # of gps sectors (15 - 12) (11 - 8) (7 - 5) (4 - 0) test mode = 1010 (programmable sensitivity): command: 1100 1010 signaling system selection sl sensitivity level (15 - 12) (11 - 8) (7 - 6) (5) (4 - 0) sl - set sensitivity level: = 1: set sensitivity level for chosen signaling system according to the sensitivity level field = 0: read the current sensitivity level for chosen signaling system signaling system selection = 00: dtmf detector = 01: vox detector = 10: call progress tone detector = 11: cas detector sensitivity level sensitivity adjustment (db) 00000 - 16 00001 - 14 00010 - 12 00011 - 10 00100 - 8 00101 - 6 00110 - 4 00111 - 2 01000 0 01001 +2 01010 +4
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 68 01011 +6 0110 0 +8 01101 +10 01110 +12 01111 + 14 10000 +16 10001 +18 10010 +20 10011 +22 10100 +24 10101 +26 10110 +28 10111 +30 11000 +32 11001 +34 11010 +36 11011 +38 11100 +40 11101 +42 11110 disabled 11111 disabled status: 1100 1010 signaling system selection sl sensitivity level (15 - 12) (11 - 8) (7 - 6) (5) (4 - 0) note: after reset, the system sets all parameters into default values. once sensitivity is chang ed, the system operates with this value until the new "programmable sensitivity" command is issued. this command can be issued during "record?, ?line monitor", "playback", ?tone generation? and ?voice prompt? modes without interrupting these modes.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 69 tes t mode = 1011 (gpio access) command (c1): 1100 1011 wr/rd \ dir/value \ 000000 (15 - 12) (11 - 8) (7) (6) (5 - 0) wr = 0: read current setting = 1: write new setting dir/value = 0: read/write value of the pin = 1: read/write configuration of the pin each bit of the c2 command (for wr = 1) and s1 status represents gpio of the D6571E. the following is a bit assignment of the c2/s1. bit assignment: 0 0 0 0 0 0 0 0 0 0 gpio 5 4 3 2 1 0 (15 - 6) (5) (4) (3) (2) (1) (0) wr = 0 command (c1): 1 100 1011 0 dir/value \ 0 0 0 0 0 0 (15 - 12) (11 - 8) (7) (6) (5 - 0) status (s1): d a t a (15 - 0) the meaning of the bits in the status s1 depending on the bit dir/value of the c1 command. dir/value \ meaning of the status bit 0 for pins configu red as inputs: = 0: input pin reads low level = 1: input pin reads high level for pins configured as outputs: = 0: currently pin outputs low level = 1: currently pin outputs high level 1 = 0: currently pin is configured as input = 1: currently pin is con figured as output
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 70 wr = 1 command (c1): 1100 1011 1 dir/value \ 000000 (15 - 12) (11 - 8) (7) (6) (5 - 0) dir/value = 0: read/write value of the pin = 1: read/write configuration of the pin status (s1): 1100 1011 wr/rd \ dir/value \ 000000 (15 - 12) (11 - 8) (7) (6) (5 - 0) command (c2): d a t a (15 - 0) the meaning of the bits in the command c2 depending on the dir/value of the c1 command. dir/value \ meaning bits in the c2 suggested value 0 for pins configured as inputs: don't care ---------------------------------------------------------- for pins configured as outputs: = 0: pin will output low level = 1: pin will output high level 0 ---------------- 1 = 0: pin is being configured as input = 1: pin is being configured as output status (s2): d a t a (15 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 71 13. voice prompt playback command: 1101 load set sector flexi speed number (15 - 12) (11) (10) (9 - 7) (6 - 0) load set sector number mode 0 0 xxxx voice prompt playback / line monitor 1 0 phrase # to load load new phrase to play from pre - defined sector 0 1 sector # define sector the next phase will be loaded from 1 1 program voice prompt into the flash the default sector is #0. therefore, to playback from sector 0 no set sector command is required. to playback from any other sector, the set sector command is required prior to phrase load. once the sector has been changed this will remain active until a new set sector command is issued. in t his case, voice prompt command with set sector = 1 and load = 0 should be sent. this command will define new sector number (bits 2..0). next load command (with load bit = 1) will load the phrase from the new sector. if both load bit and set sector bit a re set to 1, the D6571E enters program voice prompt mode. load and play voice prompt mode (set sector bit = 0) command: 1101 load 0 flexi speed phrase number (15 - 12) (11) (10) (9 - 7) (6 - 0) load = 1: load new phrase number for playback = 0: monitor status phrase number: the serial number of the speech phrase located in the eprom/rom vocabulary, which is to be played back. flexi speed: same as in the playback command. st atus: 1101 load ready 0 0 end of play 0 ext tone tone dtmf (15 - 12) (11) (10) (9 - 8) (7) (6) (5) (4) (3 - 0) ready = 1: ready for loading a new phrase for play back end of play = 1: end of phrase reached. tone = 1: call progress tone detected. dtmf } = : code of valid dtmf signal detected. ext tone }
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 72 note: a playback sequence starts with a command with load set at 1, and a definition of a phrase number. status monitoring can be done by issuing command with load set at 0. when ready = 1 is detected, a new phrase can be loaded. to play a sequence of phrases, a new command with load bit set at 1 should be issued after n frames (n=0..x) from the mom ent ready bit is detected as 1. this will introduce n frame delays between the phrases. the monitoring commands (bit load = 0) may have any number in the phrase number field (for example 0 or the next phrase number to be played). the new phrase number w ill not be accepted until read bit has become 1. end of play bit indicates that the last frame is going to be played. an idle command ends the mode. set sector (set sector bit =1, load bit = 0) command: 1101 0 1 flexi speed 0000 sector number (15 - 12) (11) (10) (9 - 7) (6 - 3) (2 - 0) sector number: =00: selects voice prompt sector # 0 (default) =01: selects voice prompt sector # 1 =10: selects voice prompt sector # 2 =11: selects voice prompt sector # 3 status: 1101 load ready 0 0 end of play 0 0 tone dtmf (15 - 12) (11) (10) (9 - 8) (7) (6) (5) (4) (3 - 0) set sector command can be sent any time during phrase playback instead of monitoring command. the playback will not be interrupted. the D6571E will return status of the monitoring command. the next phrase will be loaded (by the command with load bit = 1) from the newly defined s ector. sector remains active until another set sector command is issued. by default sector 0 is active. set sector command can be sent from idle mode. in this case the D6571E activates a new sector, returns echo of the command in the status word, and r emains in idle mode. program voice prompt (set sector bit = 1, load bit = 1) command (c1): 1101 1 1 0 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9) (8) (7 - 0) status (s1): 1101 1 1 0 error 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9) (8) (7 - 0) error =1: four voice prompt sectors exist already.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 73 command (c2): 1101 1 1 0 0 0 0 0 number of words (1 5 - 12) (11 - 10) (9) (8) (7 - 5) (4 - 0) status (s2): 1101 1 1 0 error 0 0 0 transfer number of words (15 - 12) (11 - 10) (9) (8) (7 - 5) (4 - 0) error =1: more than 64k were programmed. data transfer command: (dc1...dc16) voice prompt data (15 - 0) data transfer status: (ds1...ds16) echo of voice prompt data (15 - 0) when host sends the voice prompt command with bits 11 and 10 set to ?1? the D6571E enters the program voice prompt mode. the command c1 should be sent only once. error bit will be sent if two voice prompt sectors exist already in the flash. t o program a portion of the voice prompt, the host sends the c2 command with number of words that host is going to transmit to the D6571E (usually 16). the D6571E will respond with the status s2 with the number of words that the D6571E will accept (usually 16). then actual data transfer begins. after loading 16 words of data the host will send another c2 command to start loading next portion of data. if more than 64k bytes is loaded the D6571E will set error bit in the s2 status.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 74 14. speaker phone co mmand (c1): 1110 r/t ratio t/r ratio line sensitivity mic sensitivity priority 0 (15 - 12) (11 - 10) (9 - 8) (7 - 5) (4 - 2) (1) (0) line sensitivity: = 000: 2 db = 001: 4 db = 010: 6 db = 011: 8 db = 100: 10 db = 101: 12 db = 110: 14 db = 111: 16 db mic. sensitivity: = 000: 2 db = 001: 4 db = 010: 6 db = 011: 8 db = 100: 10 db = 101: 12 db = 110: 14 db = 111: 16 db the line and microphone sensitivity determine the signal - to - noise ratio (snr) at which the voice detectors for the transmit and receive directions will be activated. priority = 0: no priority = 1: near end pri ority the priority control is used to determine the behavior of the system when both directions are silent. in the no priority mode, the loop attenuation is distributed equally between the receive and transmit directions when both sides are silent. if t he priority bit is set, the line side is given all the attenuation and the microphone (near end) has priority. t/r ratio - transmit/receive ratio = 00: 1.2 = 01: 1.5 = 10: 2.0 = 11: 2.5 r/t ratio - receive/transmit ratio = 00: 1 .2 = 01: 1.5 = 10: 2.0 = 11: 2.5 if the t/r ratio is greater than the set value, then the microphone side is speaking. conversely, if the r/t ratio is greater than the set value, then the line side is speaking. status (s1): 1110 r /t ratio t/r ratio line sensitivity mic sensitivity priority 0 (15 - 12) (11 - 10) (9 - 8) (7 - 5) (4 - 2) (1) (0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 75 command (c2): 1110 mode parameters (15 - 12) (11 - 9) (8 - 0) mode: = 0000: get speakerphone status = 0001: get line monitor status = 001: set speakerphone parameters = 010: set speakerphone configuration = 011: set speakerphone configuration 2 = 100: tone generation = 101: set speakerphone parameters 2 = 110: reserved = 111: reserved mode: = 0000: (get speakerphone status) command: 1110 0000 0 0 0 0 0 0 0 0 (15 - 12) (11 - 8) (7 - 0) status: 1110 direction 0 loop attenuation (15 - 12) (11 - 8) (7 - 4) (3) (2 - 0) loop attenuation: this indicates the amount of loop attenuation currently in use. = 000 0 db = 001 - 4 db = 010 - 8 db = 011 - 12 db = 100 - 16 db = 101 - 20 db = 110 - 24 db = 111 - 28 db direction: this indicates which direction (microphone/speaker) is considered active by the dsp speakerphone control logic. th is is a 4 bit field used to represent the number range from +7 to - 8. the most positive values indicate that the signal from the microphone side is dominant (microphone speaking). the most negative values indicate that the signal from the line s ide is dominant (telephone line speaking). values in the center of the range can either indicate a transition from one side to the other, or if the value stays at approximately zero, indicates that neither side is talking. = 0111 +7 = 0110 +6 microphone side is speaking. = 0101 +5 = 0100 +4 = 0011 +3
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 76 = 0010 +2 = 0001 +1 = 0000 0 both sides silent (constant energy) or transition = 1111 - 1 = 1110 - 2 = 1101 - 3 = 1100 - 4 = 1011 - 5 = 1010 - 6 = 1001 - 7 line side is speaking = 1000 - 8 mode = 0001: (get line monitor status) command: 1110 0001 0 0 0 0 0 0 0 0 (15 - 12) (11 - 8) (7 - 0) status: 0111 0 0 0 0 new 0 ext tone tone dtmf (15 - 12) (11 - 8) (7) (6) (5) (4) (3 - 0) new: 1: status has been updated by the D6571E, has not been read by host 0: status does not contain information that has not been read by host the status will be updated by the D6571E each 1/2 of a frame (16.5 ms for 7.2 khz sampling rate and 15 ms for 8 khz sampling rate). the new bit will be set each time when the D6571E updates status. the new bit will be reset each time w hen host reads line status. mode = 001: (set speakerphone parameters) command: 1110 001 line volume speaker volume loop attenuation (15 - 12) (11 - 9) (8 - 7) (6 - 3) (2 - 0) line volume: volume to the line out = 00 +8 db = 01 +4 db = 10 0 db = 11 mute
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 77 speaker volume: volume to the speaker out = 0000 +14 db = 0001 +12 db = 0010 +10 db = 0011 +8 db = 0100 +6 db = 0101 +4 db = 0110 +2 db = 0111 0 db = 1000 - 2 db = 1001 - 4 db = 1010 - 6 db = 1011 - 8 db = 1100 - 10 db = 1101 - 12 db = 1110 - 14 db = 1111 mute loop attenuation: combined gain of receiver and transmitter attenuaters = 000 0 db = 001 - 4 db full - duple x operation = 010 - 8 db = 011 - 12 db = 100 - 16 db natural half - duplex operation = 101 - 20 db = 110 - 24 db = 111 - 28 db status: 1110 001 line volume speaker volume loop attenuation (15 - 12) (11 - 9) (8 - 7) (6 - 3) (2 - 0) mode = 010: (set speakerphone configuration ) command: 1110 010 0 twist dt line training type automatic loop adjustment (15 - 12) (11 - 9) (8) (7 - 6) (5 - 4) (3 - 2) (1 - 0) twist: = 00: - 2 db (def ault value) = 01: - 4 db = 10: - 6 db = 11: 0 db defines the twist of the dtmf tone generated in the speakerphone mode. twist defines the attenuation of the lower frequency of the dual frequency signal.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 78 dt: = 00: 800 (6 db less sensitive than default) = 01: 400 (default) = 10: 300 (3 db more sensitive than default) = 11: 200 (6 db more sensitive than default) dt defines the threshold for the dial tone detector. level below the threshold is considered noise and w ould not be detected. line training type: = 00: reserved = 01: white noise injected into the line (250 msec duration) = 10: reserved = 11: voice adaptation (default) by default the dsp is in voice adaptation mode. white noise can be i njected to the line, after the noise pulse the dsp automatically returns to voice adaptation mode. automatic loop adjustment: = 00: reserved = 01: reserved = 10: automatic loop adjustment (default) = 11: reserved the automatic loop adj ustment mode is the default and is the only mode available. status: 1110 010 0 twist dt line training type automatic loop adjustment (15 - 12) (11 - 9) (8) (7 - 6) (5 - 4) (3 - 2) (1 - 0) mode = 011: (set speakerphone configuration 2) command: 1110 011 0 speaker noise line noise line process mic vox position mic vox response line vox response (15 - 12) (11 - 9) (8) (7) (6) (5) (4) (3 - 2) (1 - 0) speaker nois e: = 0: off (default) = 1: on when the speaker noise bit is set, a white noise pulse of duration 250 msec is injected into the speaker. after the pulse the dsp automatically returns to the adaptation mode of the aec. line noise: = 0: off (default) = 1: on when the line noise bit is set, a white noise pulse of duration 250 msec is injected into the line. (this is equivalent to line training type 1 in the speakerphone configuration command). after the pulse the dsp automatically returns to the adaptation mode of the lec. line processing: = 0: off (default) = 1: on
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 79 this option allows additional linear processing to reduce the far end residual echo by 6 db. mic vox position: = 0: mic vox detector is before the volume compensater (compati ble with the d6385a, d6386a, d6455a) = 1: mic vox detector is after the volume compensater line vox response: = 00: high pass filter (default) = 01: flat = 10: reserved = 11: reserved mic vox response: = 00: high pass filt er (default) = 01: flat = else: reserved status: 1110 011 0 speaker noise line noise line process mic vox position mic vox response line vox response (15 - 12) (11 - 9) (8) (7) (6) (5) (4) (3 - 2) (1 - 0) mode = 100: (tone generation) command: 1110 100 tone gain tone index ( 15 - 12) (11 - 9) (8 - 5) (4 - 0) see the tone generation command for usage and tone gain and tone index definitions. each command/statu s interaction generates a tone 1 frame long (33 ms for 7.2 khz sampling rate and 30 ms for 8 khz sampling rate). tone index: 0 - 16 (only 16 standard dtmf tones are available in the speakerphone mode) only the tones from the ?standard? tone table are ava ilable in speakerphone mode. no tones, defined by new tone definition command, are available in speakerphone mode. gain of these tones is defined by the tone gain parameter. twist is defined by twist parameter (speakerphone configuration command). stat us: 1110 100 tone gain tone index (15 - 12) (11 - 9) (8 - 5) (4 - 0) mode = 101: (set speakerphone parameters 2) the set speakerphone parameters 2 command (mode 101) allows additional control over the range for the loop attenuation, speaker volume, line volume, and t/r and r/t ratios. if extended range is not a requirement, the set speakerphone parameters command (mode 001) can be used rather than this command. this command also introduces the acoustical d ecoupling and electrical decoupling parameters.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 80 command: 1110 101 parameter value (15 - 12) (11 - 9) (8 - 6) (5 - 0) parameter: = 000: loop attenuation = 001: speaker volume = 010: acoustic decoupling = 011: lin e volume = 100: electrical decoupling = 101: t/r and r/t ratios = 110: reserved = 111: reserved value: = value of the parameter to be set for speaker volume and line volume (parameter = 001 or 011): value volume = 000000 +20 db = 000001 +18 db = 000010 +16 db = 000011 +14 db = 000100 +12 db = 000101 +10 db = 000110 +8 db = 000111 +6 db = 001000 +4 db = 001001 +2 db = 001010 0 db = 001011 - 2 db = 001100 - 4 db = 001101 - 6 db = 001110 - 8 db = 001111 - 10 db = 010000 - 12 db = 010001 - 14 db = 010010 - 16 db = 010011 - 18 db = 010100 - 20 db = 010101 mute for loop attenuation (parameter = 000): value attenuation = 000000 0 db = 000001 4 db = 000010 8 db = 000011 12 db = 000100 16 db = 000101 20 db = 000110 24 db
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 81 = 000111 28 db for acoustical and electrical decoupling (parameter = 010 and 100): value volume = 000000 0 db = 000001 - 2 db = 000010 - 4 db = 000011 - 6 db = 000100 - 8 db = 000101 - 10 db = 000110 - 12 db = 000111 - 14 db = 001000 - 16 db = 001001 - 18 db = 001010 - 20 db for r/t and t/r ratios (parameter = 101): bits 0,1,2 are for t/r ra tio bits 3,4,5 are for r/t ratio value ratio = 000 1.2 = 001 1.5 = 010 2.0 = 011 2.5 = 100 3.0 = 101 3.5 = 110 4.0 = 111 reserved status: 1110 101 parameter value (15 - 12) (11 - 9) (8 - 6) (5 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 82 16. r e - compress message command (c1): 1 1 1 1 1 1 1 0 0 message number (15 - 12) (11 - 9) (8 - 7) (6 - 0) status (s1): 1 1 1 1 1 1 1 0 0 message number (15 - 12) (11 - 9) (8 - 7) (6 - 0) command (c2): 1 1 1 1 0 0 new compression 0 0 gap 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4) (3 - 0) new compression rate: = 000: re - compress message to the low bit rate = 001: re - compress message to the middle bit rate = 010: re - compress message with high bit rate = else: reserved gap = 0: re - compress message without ?gap coding? activated = 1: re - compress message with ?gap coding" status (s2): 1 1 1 1 0 0 new compression 0 0 gap 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4) (3 - 0) mem full = 1: there is no memory available to re - compress message error = 1: error is detected. errors: - message does not exist - pcm message - binary message command (c3): 1 1 1 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4) (3 - 0) status (s3): 1 1 1 1 ready e rror 0 0 mem full 0 0 0 0 0 0 0 (15 - 12) (11) (10) (9 - 8) (7) (6 - 5) (4) (3 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 83 recompression starts with the c1 command (starts the mode and define message number) followed by the c2 command which defines new bit rate that the message will be recom pressed to. actual decompression starts after c2 command. host keeps sending monitoring command during decompression. when re - compression is complete the D6571E returns status with bit ready set to ?1.? if memory full condition is reached the D6571E wi ll send status with bit mem full set and will terminate re - compression. if idle command is detected instead of monitoring command the re - compression will be terminated. garbage collection should be run prior to and after re - compression mode. read memory status command should be sent by host. then garbage collection should be run if recommended. the same should be performed after re - compression of each message.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 84 functional blocks the block diagram in figure 5 shows the D6571E functional blocks and inte rface functional blocks and interface. xtal dsp data bus clock generator codec interface i/o address decoder flash interface interface host communication control bus memory address bus flash read/write flrd/flwr flash data host control host data bus address mux dsp clock codec data/control ulaw encoder d 0 0 9 1 a dsp i/o select dsp core dsp core at the heart of the chipset is the dsp core. all of the software algorithms such as compression, decompression, tone detection, tone generation, and echo cancellation run on that processor. the dsp core controls the system, memory and message management. the dsp program rom is masked internally. the dsp is connected via an internal bus to most of the other modules within the D6571E - 11 chip. address mux address mux controls external memory select signals and memory address bus. flash memory interface the flash memory interface provides access to the flash memory message storage. the interface supports up to 4 flash devices with 4 mbit configuration and 1 device with 16 mbit configuration. clo ck generator this block provides clock signals to the dsp core and all the internal devices. it also includes clock rate reduction in power down mode. m - law/a - law encoder this interface provides converting linear code (14 - bit) to 8 - bit m - law or a - law pcm code. codec interface the codec interface implements the data transfer and synchronization functions required interfacing the dsp with the codec chip. the data transfer to/from the codecs is serial. the codec interface supports fixed and variable r ate codecs. i/o address decoder the i/o address decoder generates the required i/o read and write pulses for the internal dsp peripheral devices. figure 5. D6571E - 11 block diagram
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 83 host D6571E communication interface the host communication port is a 16 - bit bi - directional register. the D6571E will access this register internally by one 16 - bit wide access. the host assesses this register via the 8 - bit bus in two accesses: first low byte then high byte. after the host writes a command to the high byte of this register the D6571E accepts this command. when the D6571E writes a status word to the communication register it sets the ack pin low which is connected to the host for indication. the host can use this pin as an interrupt or poll this signal periodically. when th e host reads the high byte of this register the dsp sets the ack bit high. the choice of high/low byte for the host will be made by the hi/ lo pin. the host should read the low byte of the status word first, then the hig h byte. table 1. host interface signals pin name type (*) description hstdb[0..7] input/output host 8 - bit data bus hstrd input host read line from register hstwr input host write line into register ack output flag to host status byte ready hi/ lo input high or low byte select cs input when high, disables host interface ** * input and output are referenced to the D6571E - 11. ** connection to ground recommended when not used. the D6571E will send a status word only in response to a host command except for the initial garbage collection status word. hstrd hi/lo hstdb(0-7) tdr thr ack hstwr hi/lo hstdb(0-7) tsw thw tww data valid data valid thr = 2 ns minimum tdr = 25 ns maximum thw = 5 ns minimum tsw = 30 ns minimum tww = 55 ns minimum host read cycle host write cycle figure 7. D6571E - host interface timing data 8051 D6571E - 11 p0 hstdb[0 - 7] rd wr hi/lo int hstr hstw hi/lo ack f igure 6. host interface D6571E - 8051 cs
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 84 figure 8. chipset interconnection with one samsung 4 mbit flash memory device and 36.864 mhz crystal
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 85 figure 9. chipset interconnecti on with one samsung 4 mbit flash memory device, one 64kx 8 voice prompt eprom, and 40.960 mhz crystal
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 86 data transfer modes functional description for most tad applications, the D6571E receives speech data from the codec, compresses it with t he truespeech compression algorithm and stores (?records?) it into the flash. to playback previously compressed speech, the D6571E retrieves data from the flash, decompresses it, and plays it back via codec. however, for some applications it is necessary to transmit/receive voice data to/from the host. this allows, for example, the ability to store compressed speech data in another storage media or transfer it to another location. to enable these functions, the following speech files transferring modes via host data bus are implemented in the D6571E. voice data pump from codec to host. the D6571E receives data from the codec and transmits via the host data bus in real time. two submodes are available. in one of them, the D6571E performs truespeech sp eech compression and then transmits it to the host. all three compression rates and ?gap coding? compression techniques are available. in the other submode, the D6571E transmits data without compression in m - law or a - law pcm format. this mode is fully f unctional in case of ?cold start.? voice data pump from host to codec . the D6571E receives speech data via host data bus and plays it back via the codec in real time. two submodes are available. in one of them the D6571E receives data previously compre ssed with truespeech coder, performs decompression, and then plays it back via the codec. in the other submode the D6571E receives the data from the host in m - law or a - law pcm format and plays it via the codec without decompression. this mode is fully fu nctional in case of ?cold start.? data storage (from host to flash). the D6571E retrieves data via the host data bus and stores it into the flash. the D6571E is capable of storing binary (non speech) messages. data retrieval (from flash to host). the D6571E retrieves data from the flash and transmits it via the host data bus. voice data compression. the D6571E receives linear pcm data via the host data bus, compresses it with the truespeech compression algorithm, and transmits it back to the host vi a the host data bus. all three compression rates and ?gap coding? compression techniques are available. this mode is fully functional in case of ?cold start? voice data decompression. the D6571E receives speech data previously compressed with the trues peech compression algorithm via the host data bus. the D6571E decompresses the data, and transmits it back to the host via the host data bus in linear pcm format. this mode is fully functional in case of ?cold start.? important note about data transfer. two formats will be used by the D6571E to transfer data (byte transfer and word transfer). for uncompressed speech data, word transfer will be used and the host or D6571E will use bits 15 - 0 of the host data bus to send a word of data . for compressed tr uespeech data, byte transfer will be used and the host or D6571E will use the high byte (bits 15 - 8) of the host data bus to send a byte of data . when byte transfer is utilized, the hi/lo pin (pin 4) of the D6571E should be set to high during the command/ status sequence. in this manner, the high byte of the host data bus (bits 15 - 8) will be used to transfer a byte of data. with the hi/lo pin set to high the host can still send a word to the D6571E, but the low byte will be ignored by the D6571E during by te transfer. operational description truespeech data pump from codec to host in this mode, the D6571E receives speech data from the codec, performs the compression with the truespeech algorithm, and transmits the compressed data via the host data bus in bursts of words for each frame. the size of bursts depends on the compression rate can be between 0 to 48 bytes per cycle. the truespeech compression algorithm implemented in the D6571E is host programmable and is able to utilize three rates as well as ?gap coding?. the first data pump command c1 defines compression rate (see command set for details).
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 87 in the first data pump command c1, the host can activate or disable audio loop back in the data pump mode. to start processing each frame the host issue s command c2. the D6571E returns status s2 of this command to host. normally status s2 will contain telephone line status (vox, tone, and dtmf detection). upon receiving status s2 the host issues command c3. command c3 contains the number of bytes tha t the host expects to receive from the D6571E in this particular frame. in status s3, the D6571E returns the actual number of bytes that the D6571E is going to transmit to the host in this frame. the actual number of bytes to be transmitted depends on t he compression rate and may vary from frame to frame. after the host reads the status s3, the actual data transfer begins. the host sends to the D6571E data transfer commands (the number of commands depends on the number ?transfer number of bytes?) and g ets a byte of data for each data transfer command that is sent. the host sends the high byte (bits 15 - 8) of a data transfer command. in response to a command the D6571E uses the high byte (bits 15 - 8) of the status word to send a byte of data to the h ost (data transfer status). with byte transfer, the hi/lo pin (pin 4) of the D6571E should be set to high during the command/status sequence. in this manner, the high byte of the host data bus will be used to transfer a byte of data. the host can still send a word to the D6571E, but the low byte will be ignored by the D6571E during byte transfer. after sending the last byte of data to the host, the D6571E is ready to process another frame. the host then sends the next c2 command to start processing the next frame. in this manner, the D6571E compresses and transmits data frame by frame in real time. while in data pump mode, the D6571E monitors the telephone line and reports this data to the host in s2. command c2 can instruct the D6571E to generate a tone while in data pump mode. status s2 will contain telephone line status in this case as well. data pump mode can be terminated by command c2 with a non - zero stop parameter. this mode can be terminated by issuing an idle command instead of command c2. in addition, at each command (c1, c2, c3) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. instead of sending the data pump c2 command, the host can send a set volume level comman d to set the volume level. the D6571E will respond with data pump status s2 as if ?continue record? command was sent. for the appropriate volume level settings, refer to the description of the set volume level command in the self - test and initialization mode (test mode = 1000). it is the host?s responsibility to perform communication quickly enough to avoid a real time problem. the length of time it takes to process one frame, including data transfer to the host, should be no longer than 1 frame (30 ms for 8 khz sampling rate and 33 ms for 7.2 khz sampling rate). the performance of the mode is the same in case of ?cold start.? pcm data pump from codec to host in this mode, the D6571E receives m - law or a - law pcm data from the codec and transmits this d ata via host data bus in bursts of 120 words per frame in real time. the first data pump command c1 defines the mode and activates or disables audio loop back. to process each frame the host issues command c2 and then reads status s2 of this command. no rmally, status s2 will contain line status (vox, tone, and dtmf detection). upon receiving status s2, the host sends command c3 with the number of words the host expects to receive from the D6571E. the D6571E returns status s3 with the actual number of w ords to be transferred from D6571E to host. in this mode, the number of words is 120. the actual data transfer begins upon receiving status s3. the host issues 120 data transfer commands and receives 120 words of speech data. the host uses the high by te (bits 15 - 8) to send a data transfer command to the D6571E. the host can still send a word to the D6571E, but the low byte will be ignored by the D6571E. in response to each command, the D6571E will return the data transfer status, which contains a word of data. after transmitting a burst of
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 88 words the host issues command c2 to start processing the next frame. while in data pump mode, the D6571E monitors the telephone line and reports this data to the host in s2. data pump mode can be terminated by comm and c2 with a non - zero stop parameter. this mode can be terminated by issuing an idle command instead of command c2. in addition, at each command (c1, c2, c3) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the d6571 e will return to idle mode. instead of sending the data pump c2 command, the host can send a set volume level command to set the volume level. the D6571E will respond with data pump status s2 as if ?continue record? command `was sent. for the appropriat e volume level settings, refer to the description of the set volume level command in the self - test and initialization mode (test mode = 1000). it is the host?s responsibility to perform communication quickly enough to avoid a real time problem. the lengt h of time it takes to process one frame, including data transfer to the host, should be no longer than 1 frame. the performance of the mode is the same in case of ?cold start.? truespeech data pump from host to codec in this mode the D6571E receives co mpressed speech in bursts of data via the host data bus, decompresses it, and plays it back via the codec. upon receiving the first data pump command c1 the D6571E enters the mode and returns status s1 to the host. this command should only be issued once for this mode. upon receiving status s1 the host issues command c2 to start processing a frame. the D6571E responds by returning to the host, status s2 with telephone line status information (dtmf and tone detection). then, the host issues command c3 w ith the number of bytes that the host is planning to transmit in the current frame. the D6571E returns status s3 with the actual number of bytes the D6571E will accept from the host in this frame. the number of bytes to be transferred in each frame depen ds upon the compression rate and may vary from frame to frame. upon receiving s3, the actual data transfer begins. the number of data transfer commands is determined by the information in bits 0 - 7 of status s3. upon receiving each of these commands, the D6571E returns to the host an echo of this command in the data transfer status. the host uses the high byte (bits 15 - 8) send a byte of data to the D6571E (data transfer command). in response to a command the D6571E uses the high byte (bits 15 - 8) to ech o the byte of data that was received (data transfer status). after the last data transfer status is sent the host can send another c2 command to start the processing cycle again. with byte transfer, the hi/lo pin (pin 4) of the D6571E should be set to hi gh during the command/status sequence. in doing so, the high byte of the command/status will be used to transfer a byte of data. the host can still send a word to the D6571E, but the low byte will be ignored by the D6571E during byte transfer. in this m anner, the D6571E decompresses and transmits data frame by frame in real time. if the host is going to transmit less data than is necessary for the D6571E to decompress the next frame, the D6571E will report this in bit ind (insufficient data) of s3. whi le in data pump mode, the D6571E monitors the telephone line and reports this data to the host in s2. command c2 can instruct the D6571E to generate a tone while in data pump mode. status s2 will contain telephone line status in this case as well. this mode can be terminated by issuing an idle command instead of command c2. in addition, at each command (c1, c2, c3) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. instead of sendi ng the data pump c2 command, the host can send a set volume level command to set the volume level. the D6571E will respond with data pump status s2 as if ?continue record? command was sent. for the appropriate volume level settings, refer to the descript ion of the set volume level command in the self - test and initialization mode (test mode = 1000). it is the host?s responsibility to perform communication quickly enough to avoid a real time problem. the length of time it takes to process one frame, inclu ding data transfer to the host, should be no longer than 1 frame.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 89 the performance of the mode is the same in case of ?cold start.? pcm data pump from host to codec in this mode, the D6571E receives m - law or a - law pcm data via the host in bursts of 120 words and plays it back via the codec. this mode is similar to the previous one. the major difference is that the data bursts have a fixed size of 120 words per frame. while in this mode the D6571E monitors the status of the telephone line and reports t his information to the host in status s2. this mode can be terminated by issuing an idle command instead of command c2. in addition, at each command (c1, c2, c3) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the d65 71e will return to idle mode. as with the previous mode, the host can send a set volume level command instead of a data pump c2 command to set the volume level. the D6571E will respond with data pump status s2 as if ?continue record? command was sent. it is the host?s responsibility to perform communication quickly enough to avoid a real time problem. the length of time it takes to process one frame, including data transfer to the host, should be no longer than 1 frame. the performance of the mode is the same in case of ?cold start.? data storage in this mode, the D6571E receives data via host data bus and stores it in the flash as a binary message. the D6571E assigns the next available message number to this message. upon receiving the first data storage command c1 the D6571E enters the mode and sends status with memory full bit to host. the c1 command contains bin bit. = 1. then the host sends c2 command with the number of words that the host is going to transmit to the D6571E. the D6571E respo nds with status s2 with the number of words that the D6571E will accept from the host in this particular frame. upon receiving s2, the actual data transfer begins. the host sends the appropriate number of data transfer commands. each of these commands c ontains data. the host issues the next c1 command to start processing the next frame. in this manner, the data can be transferred via host data bus and stored in the flash. after receiving each c1 command, the D6571E checks the memory full status bit an d reports it to the host in s1. this mode can be terminated by issuing an idle command instead of command c1. in addition, at each command (c1, c2) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the D6571E will retu rn to idle mode. data retrieval in this mode, the D6571E retrieves a message from the flash and transmits it via the host data bus in bursts of bytes. upon receiving the first data retrieval command c1, which specifies the message number to be retrieve d, the D6571E enters the mode and sends status s1 with end of message bit and bin bit =1. upon receiving status s1 the host sends command c2 with the number of bytes the host expects from the D6571E. the D6571E returns status s2 with the actual number of words the D6571E will send to the host in this particular frame. upon receiving s2 the actual transfer begins. the host sends the appropriate number of data transfer commands. upon transmitting bursts of words the D6571E can process the next frame. th e host issues the next c1 command to start transmission of the next frame. in this manner, the data can be retrieved from the flash and transmitted via host data bus. after receiving each c1 command the D6571E checks the status of the message that is ret rieved and reports end of message to the host in s1. this mode can be terminated by issuing an idle command instead of command c1. in addition, at each command (c1, c2) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. data compression mode
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 90 in this mode, the D6571E receives linear pcm data via host data bus in burst of 240 words, compresses it with truespeech compression algorithm, and transmits it back via host data bus in bursts of bytes. the size of bursts depends on the compression rate. the truespeech compression algorithm implemented in the D6571E is host programmable and is able to utilize three compression rates as well as ?gap coding?. the first voice data compression co mmand c1 defines the compression rate. then the host issues command c2. this command contains the number of words the host is going to transmit to the D6571E. the D6571E returns status s2, which contains the number of words the D6571E will accept from th e host. upon receiving s2 the actual word transfer begins. the host sends 240 words of uncompressed speech data. the D6571E responds with an echo of each word. upon receiving uncompressed speech the D6571E starts compression of the current frame. the host issues the c3 command, which will be accepted by the D6571E after compression of the current frame is accepted. the c3 command contains the number of bytes which the host expects to receive from the D6571E (48 bytes). in the status s3, the D6571E in forms the host the actual number of bytes the D6571E will transmit. after host reads the status s3, the actual byte transfer begins. the host uses the high byte (bits 15 - 8) of the data transfer command. in response to a command the D6571E sends the by te of compressed data in the high byte (bits 15 - 8) of the data transfer status. with byte transfer, the hi/lo pin (pin 4) of the D6571E should be set to high during the command/status sequence. the host can still send a word to the D6571E, but the low b yte will be ignored by the D6571E during byte transfer. the host sends the next c1 command to start processing the next frame. in this manner, the D6571E compresses and transmits data frame by frame. this mode can be terminated by issuing an idle command instead of command c2. in addition, at each command (c1, c2 and c3) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. the performance of the mode is the same in case of ?cold start .? data decompression mode in this mode, the D6571E receives speech data previously compressed with truespeech via the host data bus, compresses it, and transmits it back in linear format in bursts of words. the D6571E receives the first data decompressi on command c1 and returns status s1. then the host sends command c2 with the number of bytes that the host is going to transmit to the D6571E (48 bytes). the D6571E returns status s2 with the actual number of bytes that the D6571E will accept from the ho st in the current frame. after the host receives s2, the actual byte transfer begins. the host sends the appropriate number of data transfer commands, which contain compressed speech and receives an echo of each command in the data transfer status. the host sends the byte of data in high byte of the data transfer command. in response to each command the D6571E sends back the echo of the byte in the high byte of the data transfer status. with byte transfer, the hi/lo pin (pin 4) of the D6571E should be set to high during the command/status sequence. after the D6571E accepts the bursts of bytes, it starts decompression. to receive the decompressed data, the host sends a c3 command. the c3 command will be accepted by the D6571E after decompression of the current frame is completed. command c3 contains the number of words the host expects to receive from the D6571E (240 words). in status s3, the D6571E sends the actual number of words the D6571E is going to transmit to the host. after the host recei ves s3, the word transfer begins. then the host sends the appropriate number of data transfer commands and receives a word of linear pcm data in response to each command (data transfer status). the host sends the next c1 command to start processing the n ext frame. in this manner, the D6571E decompresses and transmits data frame by frame. this mode can be terminated by issuing an idle command instead of command c2. in addition, at each command (c1, c2 and c3) the D6571E checks bits 15 - 12 for the correct code. if an incorrect code is detected, the D6571E will return to idle mode.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 91 the performance of the mode is the same in case of ?cold start.?
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 92 command set for data transfer modes 1. data pump from codec to host (record from codec to host) command (c1 ): 0001 1 1 comp mode lb dis gap 0 0 0 0 (15 - 12) (11 - 10) (9 - 6) (5) (4) (3 - 0) comp mode: = 0000: low bit rate = 0010: middle bit rate = 0100: high bit rate = 0011: m - law or a - law pcm (no compression) = else: res erved lb dis = 1: disable loopback of input samples = 0: enable loopback of input samples gap = 0: gap coding is disabled = 1: activate gap coding status (s1): 0001 1 1 comp mode lb dis gap 0 0 0 0 (15 - 12) (11 - 10) (9 - 6) (5) (4) (3 - 0) command (c2): 0 0 0 1 0 0 t stop/tone parameters (15 - 12) (11 - 10) (9) (8 - 0) t = 1: to initiate tone generation (not valid for mode = 100). = 0: fo r no tone generation. when t=0: (c2): stop (8 - 0) stop = 000000000: continue record and monitor status stop = 000000001: end record. when t=1: (c2): tone gain tone index (8 - 5) (4 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 93 status (s2): 0 0 0 1 0 0 t 0 0 sta tus (15 - 12) (11 - 10) (9) (8 - 7) (6 - 0) when t = 1 or t = 0 and stop = 000000000: (s2): vox ext tone tone dtmf (6) (5) (4) (3 - 0) vox =1: speech frame was detected. tone =1: call progress tone was detected in last frame. dtmf } = code of valid dtmf or cas signal dete cted. ext tone } when t = 0 and stop = 000000001: (s2): 0 0 0 0 0 0 1 (6 - 0) command (c3) : 0 0 0 1 0 0 0 0 number of bytes (for compressed data) number of words (for m /a - law pcm data) (15 - 12) (11 - 8) (7 - 0) number of bytes - indicates the number of bytes the host expects to receive from the D6571E in the current frame. this number should generally be set to the maximum number of bytes per frame (48). number of words - indicates the number of words the host expects to receive from the D6571E in the current frame. this number should generally be set to the maximum number of words per frame (120). status (s3): 0 0 0 1 0 0 0 0 transfer number of bytes (for compressed data) transfer number of words (for m /a - law pcm data) (15 - 12 ) (11 - 8) (7 - 0) transfer number of bytes - indicates the actual number of bytes which the D6571E will transfer to the host. this number can be between 2 and 48. transfer number of words - indicates the actual number of words that the D6571E will transfer to the host. this number is 120. after the host receives status s3, the actual data transfer begins. shown below are the descriptions for truespeech data pump and m - law/a - law pcm data pump.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 94 truespeech data pump: for compressed data, the host sends the high byte of the command word (data transfer command) to the D6571E. the D6571E responds with compressed data in the high byte of the status (data transfer status). during the data t ransfer phase, the hi \ lo pin (pin 4) should be set to high. data transfer command: (dc1 . . . dc_transfer_number_of_bytes for truespeech data pump) 0 0 0 1 0 0 0 0 (15 - 12) (11 - 8) data transfer status: (ds1 . . . ds_transfer_number_of_bytes for truespeech data pump) data byte (15 - 8) m - law/a - law pcm data pump : for m - law/a - law pcm data, the host sends the high byte of the command word (data transfer command) to the D6571E. the D6571E responds with a word of the m - law/a - law data in the statu s word (data transfer status). data transfer command: (dc1 . . . dc_120 for m - law/a - law pcm data pump) 0 0 0 1 0 0 0 0 (15 - 12) (11 - 8) data transfer status: (ds1 . . . ds_120 for m - law/a - law pcm data pump) data word (15 - 0) for both truespee ch and m - law/a - law data pumps, in each frame the host issues command c2, reads status s2, then issues command c3. status s3 will be sent to the host after the D6571E completes compression of the current frame. the actual data transfer starts after s3 is received by the host. after data transfer is completed the host should issue the next c2 command. the D6571E checks bits 15 - 12 in the c1, c2, and c3 commands for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. note: instead of sending the data pump c2 command as shown above, the host can send a set volume level command to set the volume level. the D6571E will respond with data pump status s2 as if ?continue record? command was executed. the ?set volume c2 co mmand? and status s2 are shown below.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 95 command (c2): set volume 1 1 0 0 1 0 0 0 1 0 0 volume (15 - 12) (11 - 8) (7 - 5) (4 - 0) for the appropriate volume level settings, please refer to the set volume level command in the self - test and initialization mode (test mode = 1000). status (s2): set volume 1 1 0 0 0 0 0 0 0 vox ext tone tone dtmf (15 - 12) (11 - 7) (6) (5) (4) (3 - 0) vox =1: speech frame was detected. =1: call progress tone was detected in last frame. dtmf } : code of valid dtmf or cas signal detected. ext tone } 2. data pump from host to codec (playback from host to codec) command (c1): 0 0 1 0 1 1 0 0 0 mode 0 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4 - 0) mode: 00 - playback c ompressed data. 01 - playback m - law/a - law pcm data. status (s1): 0 0 1 0 1 1 0 0 0 mode 0 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4 - 0) command (c2): 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 0) status (s2): 0 0 1 0 0 0 0 0 0 0 ext tone tone dtmf (15 - 12) (11 - 6) (5) (4) (3 - 0) tone = 1: call progress tone detected. dtmf: } code of valid dtmf or cas signal detected. ext tone: }
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 96 command (c3) : 0 0 1 0 0 0 0 0 number of bytes (for compressed data) number of words (for m /a - law pcm data) (15 - 12) (11 - 8) (7 - 0) number of bytes - indicates the number of b ytes that the host plans to write to the D6571E. this number should generally be set to the maximum number of bytes per frame for compressed data (48). number of words - indicates the number of bytes that the host pla ns to write to the D6571E. this number should generally be set to the maximum number of words per frame for m - law/a - law pcm data (120). status (s3): 0 0 1 0 0 ind 0 0 transfer number of bytes (compressed data) transf er number of words ( m /a - law pcm data) (15 - 12) (11) (10) (9 - 8) (7 - 0) transfer number of bytes - indicates the number of bytes of compressed that the D6571E will accept from the host. this number is generally a value between 2 and 48. transfer number of words - indicates the number of words of m - law/a - law data that the D6571E will accept from the host. this number is 120. ind (insufficient data) - indicates that the host is going to transmit to the D6571E less data bytes than necessary for decompression. if the host is going to transmit less data than necessary for decompression, the D6571E will not accept this data. in this case, the D6571E will respond with transfer number of bytes set to 00000000 and will skip t he byte transfer phase. the D6571E will play silence if there is an inadequate amount of data for decompression. the pause function can be implemented by using this feature. if the ind bit is not set to ?1?, then the host can transfer data to the d6571 e. after the host receives status s3, the actual data transfer begins. the descriptions of the truespeech and m - law/a - law pcm data pumps are given below. truespeech data pump: the host sends the high byte of the command word (which contains data) to th e D6571E. the D6571E echoes the received data in the high byte of the status word (data transfer status). during the data transfer phase, the hi \ lo pin (pin 4) should be set to high. data transfer command: (dc1 . . . dc_transfer_number_of_bytes for true speech data pump) data byte (15 - 8) data transfer status: (ds1 . . . ds_transfer_number_of_bytes for truespeech data pump) ech o of data byte (15 - 8)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 97 m - law/a - law pcm data pump: the host sends the command word (which contains data) to the D6571E. the d6571 e echoes the received data in the status word (data transfer status). data transfer command: (dc1 . . . dc_120) data word (1 5 - 0) data transfer status: (ds1 . . . ds_120) echo of data word (15 - 0) for both truespeech and m - law/a - law pcm data pumps , in each frame the host issues command c2, reads status s2, then issues command c3. the actual data transfer starts after s3 is received by the host. after data transfer is completed the host should issue the next c2 command. the D6571E checks bits 15 - 12 in each c2 and c3 command for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. note: instead of sending the data pump c2 command shown above, the host can send a set volume level command to set the volume level. the D6571E will respond with status s2 of data pump mode. the ?set volume c2 command? and status s2 are shown below. command (c2): set volume 1 1 0 0 1 0 0 0 1 0 0 volume (15 - 12) (11 - 8) (7 - 5 ) (4 - 0) for the appropriate volume level settings, please refer to the set volume level command of the self test and initialization mode (test mode = 1000). status (s2): set volume 1 1 0 0 0 0 0 0 0 0 ext tone tone dtmf (15 - 12) (11 - 6) (5) (4) (3 - 0) tone = 1: call progress tone detected. dtmf } : code of valid dtmf or cas signal dete cted. ext tone }
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 98 3. data storage (from host to flash) command (c1): 1111 00 bin 00000 0000 (15 - 12) (11 - 10) (9) (8 - 0) status (s1): 1 1 1 1 00 bin 0 memory full 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9) (8) (7) (6 - 0) bin = 0: voice message storage = 1: binary file memory full = 1: memory full condition has been reached. note: data storage is not available for pcm messages. binary = 0 command (c2): 0 0 1 0 0 0 0 0 number of bytes (15 - 12) (11 - 8) (7 - 0) number of bytes - indicates the number of bytes that the host is going to transmit to the D6571E. in general, the host should plan to send the maximum number of bytes in one frame (48), and the D6571E will respond by informing the host the actual number of bytes that will be accepted. status (s2): 0 0 1 0 0 ind 0 0 transfer number of bytes (15 - 12) (11) (10) (9 - 8) (7 - 0) transfer number of bytes - indicates the number of bytes that the D6571E will accept from the host. ind (insufficient data) - indicates that the host is going to transmit to the D6571E less data bytes than are necessary. if the host is going to transmit less data than is necessary, the D6571E will not accept this data and respond with transfer number of bytes = 0. if the ind bit is not set to ?1?, then the host can transfer data to the D6571E. after the host receives status s2, the actual data transfer begins. the host sends the high byte of the command word (which contains a byte of data) to the D6571E. the D6571E echoes the received data in the high byte of the status word (da ta transfer status). during the data transfer phase, the hi \ lo pin (pin 4) should be set to high.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 99 data transfer command: (dc1 . . . dc_transfer _number_of_bytes) data byte (15 - 8) data transfer status: (ds1 . . . ds_transfer_number_of_bytes) echo of data byte (15 - 8) each frame the host issues c1 and c2 commands. the actual data transfer starts after s2 is received by the host. the D6571E checks bits 15 - 12 in each c1 and c2 command for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. to exit this mode, the D6571E should issue an idle command. when an idle command is received, the D6571E will update the message directory and return to idle mode. binary = 1 command (c2): 0 0 1 0 0 0 0 0 number of words (15 - 12) (11 - 8) (7 - 0) number of words - indicates the number of words that the host is going to transmit to the D6571E. in all frames but the last one, the host shoul d send the maximum number of words (16). the D6571E will send a confirmation to accept 16 words. the last frame of the binary file may have any number of words. status (s2): 0 0 1 0 0 0 0 0 transfer number of words (15 - 12) ( 11) (10) (9 - 8) (7 - 0) transfer number of words - indicates the number of words that the D6571E will accept from the host. after the host receives status s2, the actual data transfer begins. the h ost sends the command word (which contains a word of data) to the D6571E. the D6571E echoes the received data in the status word (data transfer status). data transfer command: (dc1 . . . dc_transfer _number_of_words) data word (15 - 0) data transfer status: (ds1 . . . ds_transfer_number_of_words) echo of data word (15 - 8)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 100 each frame the host issues c1 and c2 commands. the actual data transfer starts after s2 is received by the host. the D6571E checks bits 15 - 12 in each c1 and c2 command for the correct c ode. if an incorrect code is detected, the D6571E will return to idle mode. to exit this mode, the D6571E should issue an idle command. when an idle command is received, the D6571E will update the message directory and return to idle mode. 4. data re trieval (from flash to host) command (c1): 1 1 1 1 1 0 0 0 0 message number (15 - 12) (11 - 10) (9 - 7) (6 - 0) status (s1): 1 1 1 1 1 0 bin 0 end of message message number (15 - 12) (11 - 10) (9) (8) (7) (6 - 0) bin = 0: voice message = 1: binary message end of message = 1 - end of message has been reached. note : data retrieval is not available for pcm messages bin = 0 command (c2): 0 0 0 1 0 0 0 0 number of bytes (15 - 12) (11 - 8) (7 - 0) number of bytes - indicates the number of bytes that the hos t expects to receive from the D6571E. status (s2): 0 0 0 1 0 0 0 0 transfer number of bytes (15 - 12) (11 - 8) (7 - 0) transfer number of bytes - indicates the actual nu mber of bytes that the D6571E will write to the host. after the host receives status s2, the actual data transfer begins. the host sends the high byte of the data transfer command to the D6571E. the D6571E responds with compressed data in the high byte o f the status word (data transfer status). during the data transfer phase, the hi \ lo pin (pin 4) should be set to high.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 101 data transfer command: (dc1 . . . dc_transfer _number_of_bytes) 0 0 0 1 0 0 0 0 (15 - 12) (11 - 8) data transfer status: (ds1 . . . ds_transfer_number_of_bytes) data byte (15 - 8) each frame the host issues c1 and c2 commands. the actual data transfer starts after status s2 is received by the host. the D6571E checks bits 15 - 12 in each c1 and c2 command for the correct code. if an inc orrect code is detected, the D6571E will return to idle mode. the host should send an idle command to exit this mode. bin = 1 command (c2): 0 0 0 1 0 0 0 0 number of words (15 - 12) (11 - 8) (7 - 0) number of words - indicates the number of words that the host expects to receive from the D6571E. supposed to be 16 in this mode. status (s2): 0 0 0 1 0 0 0 0 transfer number of words (15 - 12) (11 - 8) (7 - 0) transfer number of words - indicates the actual number of words that the D6571E will write to the host. expected to be 16 for each frame but the last one. the last frame may have any number of words from 1 to 16. after the host receives status s2, the actual data transfer begins. the host sends the data transfer command to the D6571E. the D6571E responds with binary data in the status word (data transfer status). data trans fer command: (dc1 . . . dc_transfer _number_of_words) 0 0 0 1 000000000000 (15 - 12) (11 - 8) data transfer status: (ds1 . . . ds_transfer_number_of_words) data word (15 - 0)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 102 each frame the host issues c1 and c2 commands. the actual data transfer starts after status s2 is received by the host. the D6571E checks bits 15 - 12 in each c1 and c2 command for the correct code. if an incorrect code is detected, the D6571E will return to idle mode. the host should send an idle command to exit this mode. 5. da ta compression (from host to host) command (c1): 1 1 1 1 0 1 mode 0 0 gap 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4) (3 - 0) mode: = 000: low bit rate = 001: middle bit rate = 010: high bit rate = else: reserved gap: = 0: gap coding is disabled = 1: gap coding is activated status (s1): 1 1 1 1 0 1 mode 0 0 gap 0 0 0 0 (15 - 12) (11 - 10) (9 - 7) (6 - 5) (4) (3 - 0) command (c2): 0 0 1 0 0 0 0 0 number of words (15 - 12) (11 - 8) (7 - 0) number of words - indicates the number of words that the host plans to transmit to the D6571E. in general, the host sho uld plan to send the maximum number of words (160). the D6571E will respond by informing the host the actual number of words that will be accepted. status (s2): 0 0 1 0 0 ind 0 0 transfer number of words (15 - 12) (11) (10) (9 - 8) (7 - 0) transfer number of words - indicates the number of words that the D6571E will accept from the host. should be 160 in this mode. ind (insufficient data) - indicates that the number of words that the host is going to transmit to the D6571E is less than necessary for compression. if this is the case, ind will be set to ?1, transmit number of words will be set to 00000000, and the D6571E will skip the word transfer phase. if ind is not set to ? 1?, then the host can transmit data to the D6571E after receiving status s2. the host will transmit the data by sending a data transfer command. the D6571E will respond with echo of this word (data transfer status).
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 103 data transfer command: (dc1 . . . d c_transfer_number_of_words) speech data (15 - 0) data transfer status: (ds1 . . . ds_transfer_number_of_words) echo of speech data (15 - 0) command (c3): 0 0 0 1 0 0 0 0 number of bytes (15 - 12) (11 - 8) (7 - 0) number of bytes - indicates the number of bytes that the host expects to read from the D6571E. in general, the host should set this number to the maximum number of bytes per frame (48). status (s3): 0 0 0 1 0 0 0 0 transfer num ber of bytes (15 - 12) (11 - 8) (7 - 0) transfer number of bytes - indicates the actual number of bytes the D6571E will send to the host. after the host receives s tatus s3, the actual data transfer begins. the host sends the high byte of the data transfer command. the D6571E responds with compressed data in the high byte of the status word (data transfer status). during the data transfer phase, the hi \ lo pin (pin 4) should be set to high. data transfer command: (dc1 . . . dc_transfer_number_of_bytes) 0 0 0 1 0 0 0 0 (15 - 12) (11 - 8) data tran sfer status: (ds1 . . . ds_transfer_number_of_bytes) data byte (15 - 8) each frame the host issues command c2 and receives status s2. u pon receiving s2, the host starts transmitting uncompressed data to the D6571E. after data has been transferred to the D6571E the host issues command c3. the D6571E will accept this command and return status s3 upon completion of the compression of the c urrent frame. upon receiving status s3 the host starts data transfer from the D6571E. then the host issues the next command c1 to start processing the next frame. the D6571E checks bits 15 - 12 in each c1, c2, and c3 command for the correct code. if an i ncorrect code is detected, the D6571E will exit data pump mode and return to idle mode.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 104 6. data decompression (from host to host) command (c1): 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9 - 0) status (s1): 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 10) (9 - 0) command (c2): 0 0 1 0 0 0 0 0 number of bytes (15 - 12) (11 - 8) (7 - 0) number of bytes - indicates the number of bytes that the host will transmit to the D6571E (should be 48). status (s2): 0 0 1 0 0 ind 0 0 transfer number of bytes (15 - 12) (11) (10) (9 - 8) (7 - 0) transfer number of bytes - indicates the number of bytes that the D6571E will accept from the host ind (insufficient data) - indicates that the number of by tes that the host will transmit is less bytes than necessary for decompression. when there is an inadequate number of bytes, the D6571E will respond with transfer number of bytes equal to 00000000 and set ind equal to ?1?. as a result, the byte transfer phase will be skipped. if ind was not set to ?1? in s2, then the host begins data transfer to the D6571E. the host sends the byte of data in the high byte of the data transfer command. the D6571E echoes the received data in the high byte of the status w ord (data transfer status). during the data transfer phase, the hi \ lo pin (pin 4) should be set to high. data transfer command: (dc1 . . . dc_transfer _number_of_bytes) data byte (15 - 8) data transfer status: (ds1 . . . ds_transfer_number_of_bytes) echo of data byte (15 - 8)
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 105 command (c3): 0 0 0 1 0 0 0 0 number of words (15 - 12) (11 - 8) (7 - 0) number of words - indicates the number of words that the host expects to read from the D6571E. this number should be set to the maximum number of words (160). status (s3): 0 0 0 1 0 0 0 0 transfer number of words (15 - 12) (11 - 8) (7 - 0) transfer number of words - indicates the actual number of words that the D6571E will send to the host. this number should have a value 160. after the host receives status s3 the actual data transfer phase begins. th e host sends a data transfer command to the host data bus. after receiving this command, the D6571E responds by sending to the host one word of decompressed data (data transfer status). data transfer command: (dc1 . . . dc_transfer_number_of_words) 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 (15 - 12) (11 - 0) data transfer status: (ds1 . . . ds_transfer_number_of_words) speech data (15 - 0) each frame the host issues command c2 and receives status s2. upon receiving s2, the host starts transmitting compressed data to the D6571E. after data has been transferred to the D6571E the host issues command c3. the D6571E will accept this command and return status s3 upon completion of the decompression of the current frame. upon receiving status s3 the host starts data transfer from the d6571 e. then the host issues the next command c1 to start processing the next frame. the D6571E checks for the correct code in bits 15 - 12 in each c1, c2, and c3 command. if an incorrect code is detected, the D6571E will exit data pump mode and return to idle mode.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 106 application hints a good printed circuit board (pcb) layout is as important as the overall circuit design itself in achieving high audio quality. to achieve this, the designer has to be conscious of noise both in the D6571E chip and the front - e nd analog circuitry. switching mode power supplies are not recommended as the switching spikes will feed through. other causes of concern are ground loops and digital feed through. layout hints ensure that the layout for the printed circuit board has d igital and analog signal lines separated as much as possible. take care not to run any digital track along side an analog signal. guard the analog input with agnd. establish a single point analog ground separate from the digital ground. low impedance a nalog and digital power supply common returns are essential to low noise operation. power supply considerations since the D6571E is a chipset with analog input and output, its performance (especially the analog front - end) may be adversely affected by the noise of the power supply. in order to prevent mixing of noise, observe the following cautions: separate the power supply to the digital parts and analog parts. gnds of two power supplies should be connected at only one point. furthermore, that conne cting point should be close to the supplies. this will minimize the effect of noise from the digital power supply to the analog power supply. the power supply should have the least ripple possible, and a series regulator power supply is recommended for best operation. good engineering practice calls for proper supply decoupling between the various components. this may be achieved by running separate vcc and ground lines to the D6571E and flash memory and placing 0.1 m f ceramic decoupling capacitors nea r each v cc supply pin. microphone and speaker considerations an often overlooked fact is that the sound quality produced by D6571E chipset is directly related to the quality of the microphone and speaker connected to them. use a good quality microphone and speaker with good frequency response. carefully design the microphone preamplifier circuit. the physical location of the microphone, along with the characteristics of the microphone, play a large role in the playback sound quality. 0.1 m f 0.1 m f 0.1 m f 0.1 m f 10 m f 10 m f 33 m f 33 m f power supply D6571E pcb vcca (+ 5v, analog) vbba ( - 5v, analog) vcc (digital) vcc1 (dig ital) gndd (digital) gnda (analog) figure 10. power supply
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 106 electrical characteristics D6571E - 11 absolute maximum ratings over specified temperature range supply voltage range, v cc - 0.3 v to 7 v input voltage range - 0.3 v to 7 v output voltage range - 0.3 v to 7 v operating free - air temperature range 0 c to 70 c storage temperature range - 55 c to 150 c 5 v operation recommended operating conditions min typ max unit v cc supply voltage 4.5 5 5.5 v v ss supply voltage 0 v v ih high - level input voltage (al l pins except hstwr) 2.2 v v ih high - level input voltage (hstwr) 2.6 v v il low - level input voltage 0.8 v vt+ positive - going reset and pdn threshold vcc - 0.5 v v vt - negative - going reset and pdn threshold 1.1 v i oh high - level output current +4 ma i ol low - level output current - 4 ma crystal oscillator (100 ppm) 40.960 or 36.864 mhz t a operating free - air temperature 0 70 c electrical characteristics over recommended operating free - air ranges (unless otherwise noted) parameters test conditions min typ max unit v oh high - level output voltage v cc = 5v 2.6 v v ol low - level output voltage 0.4 v i oz off - state output current 10 m a i cc supply current operating mode f = 40.960 mhz; v cc = 5v 90 ma suspend mode ** 5 ma c i inp ut capacitance 20 pf ** no battery backup is required to retain data in the case of power failure. suspend mode may be used to conserve power.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 107 3.3 v operation recommended operating conditions min typ max unit v cc supply voltage 3.0 3.3 3.6 v v ss supply voltage 0 v v ih high - level input voltage 2.0 v v il low - level input voltage 0.6 v vt+ positive - going reset and pdn threshold vcc - 0.25 v v vt - negative - going reset and pdn threshold 0.7 v i oh high - level output current +2 ma i ol low - level output current - 2 ma crystal oscillator (100 ppm) 40.960 or 36.864 mhz t a operating free - air temperature 0 70 c electrical characteristics over recommended operating free - air ranges (unless otherwise noted) parameters test conditions min typ max unit v oh high - level output voltage v cc = 3.3v 2.4 v v ol low - level output voltage 0.4 v i oz off - state output current 10 m a i cc supply current operating mode f = 40.960 mhz; v cc = 3.3v 50 ma suspend mode ** 3.5 ma c i input c apacitance 20 pf ** no battery backup is required to retain data in the case of power failure. suspend mode may be used to conserve power.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 108 d0000 - 29 (codec) absolute maximum ratings over specified temperature range supply voltage range, v cc - 0. 3 v to 7 v output voltage, v o - 0.3 v to 7 v input voltage, v i - 0.3 v to 7 v digital ground voltage - 0.3 v to 7 v operating free - air temperature range 0 c to 70 c recommended operating conditions min typ max unit v cc supply voltage 4.75 5 5.25 v v bb supply voltage - 4.75 - 5 - 5.25 v v ih high - level input voltage, all inputs except clksel 2.2 v v il low - level input voltage, all inputs except clksel 0.6 v r l load resistance no change transmit 10 k w at vfro receive 600 w c l load capacitance at gsx 50 pf at vfro 500 t a operating free - air temperature 0 70 c electrical characteristics over recommended ranges of supply voltage and operating free - air temperature supply current, f dclk 2.048 mhz, outputs not loaded parameter test cond itions type max unit i cc supply current from v cc operating 6 9 ma power - down 0.5 1.5 i bb supply current from v bb operating - 6 - 9 ma power - down - 0.5 - 1.5 power dissipation operating 60 90 mw power - down 5 15 transmit amplifier input para meters test conditions min typ max unit input current at anlg in+, anlg in - v i = - 2.17 v to 2.17 v 200 na input offset voltage at anlg in+, anlg in - v i = - 2.17 v to 2.17 v 20 mv common - mode rejection at anlg in+, anlg in - v i = - 2.17 v to 2.17 v 60 db open - loop voltage amplification at gsx 5000 v/v open - loop unity - gain bandwidth at gsx 2 mhz input resistance at anlg in+, anlg in - 10 m w receive filter output parameters test conditions min typ max unit output offset voltage pwro+, pw ro - (single - ended) relative to anlg gnd - 200 200 mv output resistance at pwro+, pwro - 1 w
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 109 detectors characteristics dtmf & vox characteristics parameter min typ max unit dtmf signal level for detection* - 35 0 db0 dtmf twist (high/low tone) +4/ - 8 db dtmf frequency detect band width (1.5% + 2hz) 3.5% %fc dtmf noise tolerance** +12 db dtmf tone duration accept 40 ms dtmf tone duration reject 23 ms dtmf interdigit pause accept 40 ms dtmf interdigit pause reject 23 ms vox detec tion* - 37 +6 db0 tone generator frequency accuracy - 0.1 +0.1 %fc tone generator level*** - 24 +6 db0 tone generator level accuracy - 0.5 +0.5 db call progress tone detector performance parameter min typ max unit detection level* - 29 db0 rejec tion level* - 34 db0 rejection frequency range 800 2500 hz frequency range 300 640 hz signal duration accept 80 ms pause duration accept 80 ms response time 150 ms noise tolerance - 12 db *0.707 v rms is defined as the 0 db0 **bw limited (0 - 3.0 khz) gaussian noise ***0db0 is 0.707v rms programmable with resolution 2 db. caller id fsk demodulator performance parameter min typ max comments rate of reception 1200 bps 12 bps signal level differential 10 db mark (logic 1) bell 202 v.23 1188 hz 1287 hz 1200 12 hz 1300 13 hz 1212 hz 1313 hz space (logic 0) bell 202 v.23 2187 hz 2079 hz 2200 22 hz 2100 21 hz 2222 hz 2121 hz received signal level (mark) - 32 dbm - 12 dbm re ceived signal level (space) - 36 dbm - 12 dbm signal to distortion ratio 3 25 db
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 110 caller alert signal / idle state tone alert signal parameter min typ max unit detection level - 32 dbm rejection level - 45 dbm low frequency 2130 - 1.1% 2 130 2130 + 1.1% hz high frequency 2750 - 1.1% 2750 2750 + 1.1% hz twist +/ - 7 db duration 75 80 85 ms snr * - 20 db * the cas detector was tested according to the ?test plan for cpe alerting signal detectors? sr - tsv - 002476. see this document for d etails.
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 111 figure 11. D6571E - 11 mechanical data
D6571E data sheet ds6571e.2 dsp group, inc., 3120 scott boulevard santa clara, ca 95054 ph: 408 986 - 4300 fax: 408 986 - 4490 112 dspg chip set part number system dsp group, inc. japan office asia pacific technical support center 3120 scott boulevard nihon dsp group, k.k. san ta clara, ca 95054 yasuda kasai building - 2nd floor unit 1923, 19/f metro centre 1 telephone: (408) 986 - 4300 2 - 3 - 1, higashi gotanda 32 lam hing street facsimile: (408) 986 - 4490 shinagawa - ku, tokyo 141, japan kowloon bay, kowloon , hong kong teleph one: (81) 3 - 3449 - 7851 telephone: (852) 2750 - 7325 facsimile: (81) 3 - 3449 - 8006 facsimile: (852) 2305 - 0640 dsp group europe 18 rue de l?effort mutuel 91300 massy france telephone: (33) 6 - 07 - 68 - 67 - 54 facsimile: (33) 1 - 60 - 10 - 51 - 87 dsp group, inc. family prefix chip set device type revision letter 11 - dsp a . . z temperature c - commercial 0 to +70 package type q - pqfp d - pdip s - soj d 6 5 7 1 e 11 a q


▲Up To Search▲   

 
Price & Availability of D6571E

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