ISD5116EIR

ISD5116EIR

  • 厂商:

    NUVOTON(新唐)

  • 封装:

    TSSOP-28

  • 描述:

    IC VOICE REC/PL 8-16MN IN 28TSOP

  • 数据手册
  • 价格&库存
ISD5116EIR 数据手册
ISD5116 SINGLE-CHIP VOICE RECORD/PLAYBACK DEVICE UP TO 16 MINUTE DURATION WITH DIGITAL STORAGE CAPABILITY -1- Publication Release Date: August, 2002 Revision 2.0 ISD5116 1. GENERAL DESCRIPTION The ISD5116 ChipCorder Product provides high quality, fully integrated, single-chip Record/Playback solutions for 8- to 16-minute messaging applications that are ideal for use in cellular phones, automotive communications, GPS/navigation systems and other portable products. The ISD5116 product is an enhancement of the ISD5000 architecture, providing: 1) the I2C serial port - address, control and duration selection are accomplished through an I2C interface to minimize pin count (ONLY two control lines required); 2) the capability of storing digital data, in addition to analog, information. These features allow customers to store phone book numbers, system configuration parameters and message address pointers for message management capability. Analog functions and audio gating have also been integrated into the ISD5116 product to allow easy interface with integrated digital cellular chip sets on the market. Audio paths have been designed to enable full duplex conversation record, voice memo, answering machine (including outgoing message playback) and call screening features. This product enables playback of messages while the phone is in standby, AND both simplex and duplex playback of messages while on a phone call. Additional voice storage features for digital cellular phones include: 1) a personalized outgoing message can be sent to the person by getting caller-ID information from the host chipset 2) a private call announce while on call can be heard from the host by giving caller-ID on call waiting information from the host chipset. Logic Interface Options of 2.0V and 3.0V are supported by the ISD5116 to accommodate portable communication products customers (2.0- and 3.0-volt required). Like other ChipCorder® products, the ISD5116 integrates the sampling clock, anti-aliasing and smoothing filters, and the multi-level storage array on a single-chip. For enhanced voice features, the ISD5116 eliminates external circuitry by integrating automatic gain control (AGC), a power amplifier/speaker driver, volume control, summing amplifiers, analog switches, and a car kit interface. Input level adjustable amplifiers are also included, providing a flexible interface for multiple applications. Recordings are stored into on-chip nonvolatile memory cells, providing zero-power message storage. This unique, single-chip solution is made possible through Winbond’s patented multilevel storage technology. Voice and audio signals are stored directly into solid-state memory in their natural, uncompressed form, providing superior quality voice and music reproduction. -2- ISD5116 2. FEATURES Fully-Integrated Solution • Single-chip voice record/playback solution • Dual storage of digital and analog information Low Power Consumption • +2.7 to +3.3V (VCC) Supply Voltage • Supports 2.0V and 3.0V interface logic • Operating Current: ICC Play = 15 mA (typical) ICC Rec = 30 mA (typical) ICC Feedthrough = 12 mA (typical) • Standby Current: ISB = 1µA (typical) • Most stages can be individually powered down to minimize power consumption Enhanced Voice Features • One or two-way conversation record • One or two-way message playback • Voice memo record and playback • Private call screening • In-terminal answering machine • Personalized outgoing message • Private call announce while on call Digital Memory Features • Up to 4 MB available • Storage of phone numbers, system configuration parameters and message address table in cellular application Easy-to-use and Control • No compression algorithm development required • User-controllable sampling rates • Programmable analog interface • Standard & Fast mode I2C serial interface (100kHz – 400 kHz) • Fully addressable to handle multiple messages HIGH QUALITY SOLUTION • High quality voice and music reproduction • Winbond’s standard 100-year message retention (typical) • 100K record cycles (typical) for analog data • 10K record cycles (typical) for digital data OPTIONS • Available in die form, µBGA (available upon request), TSOP and SOIC and PDIP • Extended (-20 to +70°C) and Industrial (-40 to +85°C) available, besides Commercial (0 to +70°C) -3- Publication Release Date: August, 2002 Revision 2.0 ISD5116 3. BLOCK DIAGRAM ISD5116 Block Diagram FTHRU ANA OUT MUX 6dB INP FILTO MICROPHONE MIC IN 1 (AGPD) AGCCAP ANA IN 1 ARRAY 1 ARRAY 2 ( AXG0 AXG1) Low Pass Filter ( S1S0 S1S1 ) SUM2 (ANALOG) FILTO VOL Σ ANA IN 2 SUM2 ( S2M0 S2M1) 3 AOS0 AOS1 AOS2 Multilevel/Digital Storage Array Array I/O Mux AUX OUT AMP FILTO 64-bit/samp. SUM2 64-bit/samp. ARRAY OUTPUT MUX VOL ARRAY OUT (DIGITAL) (ANALOG) SUM1 INP ANA IN 2 ( AIG0 AIG1 ) SUM2 2 Power Conditioning VSSA VSSA VSSD VSSD VCCD Volume Control 1 (VLPD) 3 ( ( ) VOL0 VOL1 VOL2 2 OPS0 OPS1 ) ( VLS0 VLS1 ) Device Control VCCD SCL -4- SDA INT RAC A0 AUX OUT SPEAKER Spkr. AMP ANA IN Vol MUX 0.625/0.883/1.25/1.76 ARRAY OUT 1 ANA OUT- 1 (AOPD) ( ) ANA IN AMP (AIPD) ANA OUT+ 2 (DIGITAL) VCCA ANA OUT AMP Output MUX CTRL ( FLD0 FLD1 ) SUM2 Summing AMP 1 (FLPD) 1 (FLS0) Internal Clock (AXPD) XCLK ANA IN 2 SUM1 ARRAY INPUT MUX 2 ( S1M0 S1M1 ) FILTO (INS0) AUX IN AMP Σ SUM1 MUX SUM1 SUM1 MUX 1.0 / 1.4 / 2.0 / 2.8 AUX IN AUX IN INP Filter MUX AGC Input Source MUX MIC+ MIC - SUM1 Summing AMP A1 2 ( OPA0 OPA1 ) SP+ SP- ISD5116 4. TABLE OF CONTENTS 1. GENERAL DESCRIPTIONS ............................................................................................................... 2 2. FEATURES ......................................................................................................................................... 3 3. BLOCK DIAGRAM .............................................................................................................................. 4 4. TABLE OF CONTENTS ...................................................................................................................... 5 5. PIN CONFIGURATION ....................................................................................................................... 7 6. PIN DESCRIPTION ............................................................................................................................. 8 7. FUNCTIONAL DESCRIPTION............................................................................................................ 9 7.1. Overview .................................................................................................................................... 9 7.1.1. Speech/Sound Quality...................................................................................................... 9 7.1.2. Duration ............................................................................................................................ 9 7.1.3. Flash Storage ................................................................................................................... 9 7.1.4. Microcontroller Interface................................................................................................... 9 7.1.5. Programming.................................................................................................................. 10 7.2. Function Details ....................................................................................................................... 10 7.2.1. Internal Resiters ............................................................................................................. 11 7.2.2. Memory Organization ..................................................................................................... 11 7.3. Operational Modes Description ............................................................................................... 12 7.3.1. I2C Interface.................................................................................................................... 12 7.3.2. I2C Control Registers...................................................................................................... 16 7.3.3 Opcode Summary ........................................................................................................... 17 7.3.4. Data Bytes ...................................................................................................................... 19 7.3.5. Configuration Register Bytes ......................................................................................... 20 7.3.6. Power-up Sequence....................................................................................................... 21 7.3.7. Feed Through Mode....................................................................................................... 22 7.3.8. Call Record..................................................................................................................... 24 7.3.9. Memo Record................................................................................................................. 25 7.3.10. Memo and Call Playback ............................................................................................. 26 7.3.11. Message Cueing .......................................................................................................... 27 7.4. Analog Mode............................................................................................................................ 28 7.4.1. Aux In and Ana In Description........................................................................................ 28 7.4.2. Analog Structure (left half) Description .......................................................................... 30 7.4.3. Analog Structure (right half) Description ........................................................................ 31 7.4.4. Volume Control Description ........................................................................................... 32 7.4.5. Speaker and Aux Out Description.................................................................................. 33 -5- Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.4.6. Ana Out Description ....................................................................................................... 34 7.4.7. Analog Inputs ................................................................................................................. 34 7.5. Digital Mode ............................................................................................................................. 37 7.5.1. Erasing Data................................................................................................................... 37 7.5.2. Writing Data.................................................................................................................... 37 7.5.3. Reading Data ................................................................................................................. 38 7.5.4. Example Command Sequence ...................................................................................... 38 7.6. Pin Details................................................................................................................................ 49 7.6.1. Digital I/O Pins................................................................................................................ 49 7.6.2. Analog I/O Pins .............................................................................................................. 51 7.6.3. Power and Ground Pins ................................................................................................. 55 7.6.4. Sample PC Layout ......................................................................................................... 55 8. TIMING DIAGRAMS.......................................................................................................................... 56 8.1. I2C Timing Diagram.................................................................................................................. 56 8.2. Playback and Stop Cycle......................................................................................................... 58 8.3. Example of Power-up Command (First 12 Bits) ...................................................................... 59 9. ABSOLUTE MAXIMUM RATINGS.................................................................................................... 60 10. ELECTRICAL CHARACTERISTICS ............................................................................................... 62 10.1. General Parameters .............................................................................................................. 62 10.2. Timing Parameters ................................................................................................................ 63 10.3. Analog Parameters ................................................................................................................ 65 10.4. Characteristics of the I2C Serial Interface.............................................................................. 69 10.5. I2C Protocol ............................................................................................................................ 72 11. TYPICAL APPLICATION CIRCUIT ................................................................................................. 74 12. PACKAGE SPECIFICATION .......................................................................................................... 75 12.1. Plastic Thin Small Outline Package (TSOP) Type E Dimensions ......................................... 75 12.2. Plastic Small Outline Intergrated Circuit (SOIC) Dimensions................................................ 76 12.3. Plastic Dual Inline Package (PDIP) Dimensions ................................................................... 77 12.4. Die Bonding Physical Layout ................................................................................................. 78 13. ORDERING INFORMATION........................................................................................................... 80 14. VERSION HISTORY ....................................................................................................................... 81 -6- ISD5116 5. PIN CONFIGURATION NC 1 28 SCL 1 28 NC A1 2 27 AUX OUT SDA 3 26 AUX IN AD 4 25 ANA IN VSSD 5 24 VCCA VSSD 6 23 SP+ NC VSSA 2 27 AUX OUT RAC 3 26 AUX IN INT 4 25 ANA IN XCLK 5 24 VCCA VCCD 6 23 SP+ VCCD 7 22 VSSA SCL 8 21 SP- A1 9 20 ACAP SDA 10 19 ANA OUT- AD 11 18 ANA OUT+ VSSD 12 17 MIC- VSSD 13 16 MIC+ NC 14 15 VSSA 28-PIN TSOP NC 7 22 VSSA MIC+ 8 21 SP- VSSA 9 20 ACAP MIC- 10 19 ANA OUT- ANA OUT+ 11 18 12 17 ANA OUT+ 13 16 14 15 ANA OUTACAP SP- MICMIC+ VSSA 28-PIN SOIC/DIP -7- Publication Release Date: August, 2002 Revision 2.0 ISD5116 6. PIN DESCRIPTION Pin Name Pin No. 28-pin TSOP 3 Pin No. 28-pin SOIC/DIP 24 4 25 XCLK 5 26 SCL 8 1 SDA 10 3 A0 11 4 Row Address Clock; an open drain output. The RAC pin goes LOW TRACLO1 before the end of each row of memory and returns HIGH at exactly the end of each row of memory. Interrupt Output; an open drain output that indicates that a set EOM bit has been found during Playback or that the chip is in an Overflow (OVF) condition. This pin remains LOW until a Read Status command is executed. This pin allows the internal clock of the device to be driven externally for enhanced timing precision. This pin is grounded for most applications. Serial Clock Line is part of the I2C interface. It is used to clock the data into and out of the I2C interface. Serial Data Line is part of the I2C interface. Data is passed between devices on the bus over this line. Input pin that supplies the LSB for the I2C Slave Address. A1 9 2 Input pin that supplies the LSB +1 bit for the I2C Slave Address. MIC+ 16 8 Differential Positive Input to the microphone amplifier. MIC- 17 10 Differential Negative Input to the microphone amplifier. ANA OUT+ 18 11 Differential Positive Analog Output for ANA OUT of the device. ANA OUT- 19 12 Differential Negative Analog Output for ANA OUT of the device. ACAP SP+ SP- 20 23 21 13 16 14 ANA IN AUX IN AUX OUT 25 26 27 18 19 20 VCCD 6,7 27,28 VSSD VSSA VCCA 12,13 2,15,22 24 5,6 9,15,23 17 NC 1,14,28 7,21,22 AGC Capacitor connection. Required for the on-chip AGC amplifier. Differential Positive Speaker Driver Output. Differential Negative Speaker Driver Output. When the speaker outputs are in use, the AUX OUT output is disabled. Analog Input. This is one of the gain adjustable analog inputs of the device. Auxiliary Input. This is one of the gain adjustable analog inputs of the device. Auxiliary Output. This is one the analog outputs of the device. When this output is in use, the SP+ and SP- outputs are disabled. Positive Digital Supply pins. These pins carry noise generated by internal clocks in the chip. They must be carefully bypassed to Digital Ground to insure correct device operation. Digital Ground pins. Analog Ground pins. Positive Analog Supply pin. This pin supplies the low level audio sections of the device. It should be carefully bypassed to Analog Ground to insure correct device operation. No Connect. RAC INT 1 Functionality See the Parameters section of on page 63 -8- ISD5116 7. FUNCTIONAL DESCRIPTION 7.1. OVERVIEW 7.1.1 Speech/Sound Quality The ISD5116 ChipCorder product can be configured via software to operate at 4.0, 5.3, 6.4 or 8.0 kHz sampling frequencies, allowing the user a choice of speech quality. Increasing the duration decreases the sampling frequency and bandwidth, which affects sound quality. The table in the following section compares filter pass band and product durations. 7.1.2. Duration To meet end-system requirements, the ISD5116 device is a single-chip solution, which provides from 8 to 16 minutes of voice record and playback, depending on the sample rates defined by customer software. Input Sample Rate (kHz) Duration1 Typical Filter Knee (kHz) 8.0 8 min 44 sec 3.4 6.4 10 min 55 sec 2.7 5.3 13 min 6 sec 2.3 4.0 17 min 28 sec 1.7 1. Minus any pages selected for digital storage 7.1.3. Flash Technology One of the benefits of Winbond’s ChipCorder technology is the use of on-chip nonvolatile memory, which provides zero-power message storage. The message is retained for up to 100 years (typically) without power. In addition, the device can be re-recorded over 10,000 times (typically) for the digital data and over 100,000 times (typically) for the analog messages. A new feature has been added that allows memory space in the ISD5116 to be allocated to either digital or analog storage when recorded. The fact that a section has been assigned digital or analog data is stored in the Message Address Table by the system microcontroller when the recording is made. 7.1.4. Microcontroller Interface The ISD5116 is controlled through an I2C 2-wire interface. This synchronous serial port allows commands, configurations, address data, and digital data to be loaded to the device, while allowing status, digital data and current address information to be read back from the device. In addition to the serial interface, two other pins can be connected to the microcontroller for enhanced interface. These -9- Publication Release Date: August, 2002 Revision 2.0 ISD5116 are the RAC timing pin and the INT pin for interrupts to the controller. Communications with all the internal registers are through the serial bus, as well as digital memory Read and Write operations. 7.1.5. Programming The ISD5116 is also ideal for playback-only applications, where single or multiple messages may be played back when desired. Playback is controlled through the I2C interface. Once the desired message configuration is created, duplicates can easily be generated via a third-party programmer. For more information on available application tools and programmers, please see the Winbond web site at www.winbond-usa.com 7.2. FUNCTIONAL DETAILS The ISD5116 is a single chip solution for voice and analog storage that also includes the capability to store digital data in the memory array. The array may be divided between analog and digital storage, as the user chooses, when configuring the device. The device consists of several sections that will be described in the following paragraphs. Looking at the block diagram below, one can see that the ISD5116 may be very easily designed into a cellular phone. Placing the device between the microphone and the existing voice encoder chip takes care of the transmit path. The ANA IN is connected between one of the speaker leads on the voice decoder chip and the speaker is connected to the SPEAKER pins of the ISD5116. Two pins are needed for the I2C digital control and digital information for storage. Baseband RF Section ISD5116 ANA OUT+ MIC IN- ANA OUT- BB VB Codec Codec DSP Keyboard MIC IN+ SP OUT- 12345678 Display - 10 - MIC+ MIC- SP+ ANA IN SP- SP OUT+ Microcontroller Microphone Earpiece SDA, SCL AUX IN AUX OUT CAR KIT ISD5116 Starting at the MICROPHONE inputs, the signal from the microphone can be routed directly through the chip to the ANA OUT pins through a 6 dB amplifier stage (Feed Through Mode). Or, the signal can be passed through the AGC amplifier and directed to the ANA OUT pins, directed to the storage array, or mixed with voice from the receive path coming from ANA IN and be directed to the same places. In addition, if the phone is inserted into a "hands-free" car kit, then the signal from the pickup microphone in the car can be passed through to the same places from the AUX IN pin and the phone's microphone is switched off. Under this situation, the other party's voice from the phone is played into ANA IN and passed through to the AUX OUT pin that drives the car kit's loudspeaker. Depending upon whether one desires recording one side (simplex) or both sides (duplex) of a conversation, the various paths will also be switched through to the low pass filter (for anti-aliasing) and into the storage array. Later, the cell phone owner can playback the messages from the array. When this happens, the Array Output MUX is connected to the volume control through the Output MUX to the Speaker Amplifier. For applications other than a cell phone, the audio paths can be switched into many different configurations, providing greater flexibility. 7.2.1. Internal Registers The ISD5116 has multiple internal registers that are used to store the address information and the configuration or set-up of the device. The two 16-bit configuration registers control the audio paths through the device, the sample frequency, the various gains and attenuations, power up and down of different sections, and the volume settings. These registers are discussed in detail in section 7.3.5 on page 20. 7.2.2. Memory Organization The ISD5116 memory array is arranged as 2048 pages (or rows) of 2048 bits for a total memory of 4,194,304 bits. The primary addressing for the 2048 pages is handled by 11 bits of address input in the analog mode. At the 8 kHz sample rate, each page contains 256 milliseconds of audio. Thus at 8 kHz there is actually room for 8 minutes and 44 seconds of audio. A memory page is 2048 bits organized as thirty-two 64-bit "blocks" when used for digital storage. The contents of a page are either analog or digital. This is determined by instruction (op code) at the time the data is written. A record of where is analog and where is digital, is stored in a message address table (MAT) by the system microcontroller. The MAT is a table kept in the microcontroller memory that defines the status of each message “page”. It can be stored back into the ISD5116 if the power fails or the system is turned off. Using this table allows for efficient message management. Segments of messages can be stored wherever there is available space in the memory array. [This is explained in detail for the ISD5008 in Applications Note #9 and will be similarly described in a later Note for the ISD5116.] - 11 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 When a page is used for analog storage, the same 32 blocks are present but there are 8 EOM (Endof-Message) markers. This means that for each 4 blocks there is an EOM marker at the end. Thus, when recording, the analog recording will stop at any one of eight positions. At 8 kHz, this results in a resolution of 32 msec when ENDING an analog recording. Beginning an analog recording is limited to the 256 msec resolution provided by the 11-bit address. A recording does not immediately stop when the Stop command is given, but continues until the 32 millisecond block is filled. Then a bit is placed in the EOM memory to develop the interrupt that signals a message is finished playing in the Playback mode. Digital data is sent and received serially over the I2C interface. The data is serial-to-parallel converted and stored in one of two alternating (commutating) 64-bit shift registers. When an input register is full, it becomes the register that is parallel written into the array. The prior write register becomes the new serial input register. A mechanism is built-in to ensure there is always a register available for storing new data. Storing data in the memory is accomplished by accepting data one byte at a time and issuing an acknowledge. If data is coming in faster than it can be written, the chip issues an acknowledge to the host microcontroller, but holds SCL LOW until it is ready to accept more data. The read mode is the opposite of the write mode. Data is read into one of two 64-bit registers from the array and serially sent to the I2C interface. (See section 7.5 on page 37 for details). 7.3. OPERATIONAL MODES DESCRIPTION 7.3.1. I2C Interface To use more than four ISD5116 devices in an application requires some external switching of the I2C interface. I2C interface Important note: The rest of this data sheet will assume that the reader is familiar with the I2C serial interface. Additional information on I2C may be found in section 10 on page 72 of this document. If you are not familiar with this serial protocol, please read this section to familiarize yourself with it. A large amount of additional information on I2C can also be found on the Philips web page at http://www.philips.com/. I2C Slave Address The ISD5116 has a 7-bit slave address of where x and y are equal to the state, respectively, of the external address pins A1 and A0. Because all data bytes are required to be 8 bits, the LSB of the address byte is the Read/Write selection bit that tells the slave whether to transmit or receive data. Therefore, there are 8 possible slave addresses for the ISD5116. These are: - 12 - ISD5116 Pinout Table A1 A0 Slave Address R/W Bit HEX Value 0 0 0 80 0 1 0 82 1 0 0 84 1 1 0 86 0 0 1 81 0 1 1 83 1 0 1 85 1 1 1 87 ISD5116 I2C Operation Definitions There are many control functions used to operate the ISD5116. Among them are: 1. READ STATUS COMMAND: The Read Status command is a read request from the Host processor to the ISD5116 without delivering a Command Byte. The Host supplies all the clocks (SCL). In each case, the entity sending the data drives the data line (SDA). The Read Status Command is executed by the following I2C sequence. 1. Host executes I2C START 2. Send Slave Address with R/W bit = “1” (Read) 81h 3. Slave (ISD5116) responds back to Host an Acknowledge (ACK) followed by 8-bit Status word 4. Host sends an Acknowledge (ACK) to Slave 5. Wait for SCL to go HIGH 6. Slave responds with Upper Address byte of internal address register 7. Host sends an ACK to Slave 8. Wait for SCL to go HIGH 9. Slave responds with Lower Address byte of internal address register (A[4:0] will always return set to 0.) 10. Host sends a NO ACK to Slave, then executes I2C STOP - 13 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 Note that the processor could have sent an I2C STOP after the Status Word data transfer and aborted the transfer of the Address bytes. Conventions used in I2C Data Transfer Diagrams A graphical representation of this operation is found below. See the caption box above for more explanation. S = START Condition P = STOP Condition DATA = 8-bit data transfer R = “1” in the R/W bit W = “0” in the R/W bit A = ACK (Acknowledge) N = No ACK = 7-bit Slave SLAVE ADDRESS Address The Box color indicates the direction of data flow = Host to Slave (Gray) = Slave to Host (White) S SLAVE ADDRESS R A DATA Status A DATA High Addr. - 14 - A DATA N Low Addr. P ISD5116 2. LOAD COMMAND BYTE REGISTER (SINGLE BYTE LOAD): A single byte may be written to the Command Byte Register in order to power up the device, start or stop Analog Record (if no address information is needed), or do a Message Cueing function. The Command Byte Register is loaded as follows: S SLAVE ADDRESS W A DATA A P 1. Host executes I2C START 2. Send Slave Address with R/W bit = “0” (Write) [80h] Command Byte 3. Slave responds back with an ACK. 4. Wait for SCL to go HIGH 5. Host sends a command byte to Slave 6. Slave responds with an ACK 7. Wait for SCL to go HIGH 8. Host executes I2C STOP 3. LOAD COMMAND BYTE REGISTER (ADDRESS LOAD): Registers are loaded as follows: For the normal addressed mode the 1. Host executes I2C START 2. Send Slave Address with R/W bit = “0” (Write) 3. Slave responds back with an ACK. 4. Wait for SCL to go HIGH 5. Host sends a byte to Slave - (Command Byte) 6. Slave responds with an ACK 7. Wait for SCL to go HIGH 8. Host sends a byte to Slave - (High Address Byte) 9. Slave responds with an ACK 10. Wait for SCL to go HIGH 11. Host sends a byte to Slave - (Low Address Byte) 12. Slave responds with an ACK 13. Wait for SCL to go HIGH 14. Host executes I2C STOP S SLAVE ADDRESS W A DATA Command A DATA High Addr. - 15 - A DATA A P Low Addr. Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.3.2. I2C Control Registers The ISD5116 is controlled by loading commands to, or, reading from, the internal command, configuration and address registers. The Command byte sent is used to start and stop recording, write or read digital data and perform other functions necessary for the operation of the device. Command Byte Control of the ISD5116 is implemented through an 8-bit command byte, sent after the 7-bit device address and the 1-bit Read/Write selection bit. The 8 bits are: Global power up bit DAB bit: determines whether device is performing an analog or digital function 3 function bits: these determine which function the device is to perform in conjunction with the DAB bit. 3 register address bits: these determine if and when data is to be loaded to a register Power Up Bit C7 C6 C5 C4 C3 C2 C1 C0 PU DAB FN2 FN1 FN0 RG2 RG1 RG0 Function Bits Register Bits Function Bits The command byte function bits are detailed in the table to the right. C6, the DAB bit, determines whether the device is performing an analog or digital function. The other bits are decoded to produce the individual commands. Not all decode combinations are currently used, and are reserved for future use. Out of 16 possible codes, the ISD5116 uses 7 for normal operation. The other 9 are undefined Function Bits Function C6 C5 C4 C3 DAB FN2 FN1 FN0 0 0 0 0 STOP (or do nothing) 0 1 0 1 Analog Play 0 0 1 0 Analog Record 0 1 1 1 Analog MC 1 1 0 0 Digital Read 1 0 0 1 Digital Write 1 0 1 0 Erase (row) - 16 - ISD5116 Register Bits The register load may be used to modify a command sequence (such as load an address) or used with the null command sequence to load a configuration or test register. Not all registers are accessible to the user. [RG2 is always 0 as the four additional combinations are undefined.] RG2 RG1 RG0 Function C2 C1 C0 0 0 0 No action 0 0 1 Load Address 0 1 0 Load CFG0 0 1 1 Load CFG1 7.3.3. Opcode Summary OpCode Command Description The following commands are used to access the chip through the I2C interface. Play: analog play command Record: analog record command Message Cue: analog message cue command Read: digital read command Write: digital write command Erase: digital page and block erase command Power up: global power up/down bit. (C7) Load address: load address register (is incorporated in play, record, read and write commands) Load CFG0: load configuration register 0 Load CFG1: load configuration register 1 Read STATUS: Read the interrupt status and address register, including a hardwired device ID - 17 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 OPCODE COMMAND BYTE TABLE Pwr Function Bits Register Bits OPCODE HEX PU DAB FN2 FN1 FN0 RG2 RG1 RG0 COMMAND BIT NUMBER CMD C7 C6 C5 C4 C3 C2 C1 C0 POWER UP 80 1 0 0 0 0 0 0 0 POWER DOWN 00 0 0 0 0 0 0 0 0 STOP (DO NOTHING) STAY ON 80 1 0 0 0 0 0 0 0 STOP (DO NOTHING) STAY OFF 00 0 0 0 0 0 0 0 0 LOAD ADDRESS 81 1 0 0 0 0 0 0 1 LOAD CFG0 82 1 0 0 0 0 0 1 0 LOAD CFG1 83 1 0 0 0 0 0 1 1 RECORD ANALOG 90 1 0 0 1 0 0 0 0 RECORD ANALOG @ ADDR 91 1 0 0 1 0 0 0 1 PLAY ANALOG A8 1 0 1 0 1 0 0 0 PLAY ANALOG @ ADDR A9 1 0 1 0 1 0 0 1 MSG CUE ANALOG B8 1 0 1 1 1 0 0 0 MSG CUE ANALOG @ ADDR B9 1 0 1 1 1 0 0 1 ENTER DIGITAL MODE C0 1 1 0 0 0 0 0 0 EXIT DIGITAL MODE 40 0 1 0 0 0 0 0 0 DIGITAL ERASE PAGE D0 1 1 0 1 0 0 0 0 DIGITAL ERASE PAGE @ ADDR D1 1 1 0 1 0 0 0 1 DIGITAL WRITE C8 1 1 0 0 1 0 0 0 DIGITAL WRITE @ ADDR C9 1 1 0 0 1 0 0 1 DIGITAL READ E0 1 1 1 0 0 0 0 0 DIGITAL READ @ ADDR E1 1 1 1 0 0 0 0 1 READ STATUS1 N/A N/A N/A N/A N/A N/A N/A N/A N/A 1. See section 7.2 on page 11 for details. - 18 - ISD5116 7.3.4. Data Bytes In the I2C write mode, the device can accept data sent after the command byte. If a register load option is selected, the next two bytes are loaded into the selected register. The format of the data is MSB first, the I2C standard. Thus to load DATA into the device, DATA is sent first, the byte is acknowledged, and DATA is sent next. The address register consists of two bytes. The format of the address is as follows: ADDRESS = PAGE_ADDRESS, BLOCK_ADDRESS Note: if an analog function is selected, the block address bits must be set to 0000. Digital Read and Write are block addressable. When the device is polled with the Read Status command, it will return three bytes of data. The first byte is the status byte, the next the upper address byte and the last the lower address byte. The status register is one byte long and its bit function is: STATUS = EOM, OVF, READY, PD, PRB, DEVICE_ID Lower address byte will always return the block address bits as zero, either in digital or analog mode. The functions of the bits are: EOM BIT 7 Indicates whether an EOM interrupt has occurred. OVF BIT 6 Indicates whether an overflow interrupt has occurred. READY BIT 5 Indicates the internal status of the device – if READY is LOW no new commands should be sent to device. PD BIT 4 Device is powered down if PD is HIGH. PRB BIT 3 Play/Record mode indicator. HIGH=Play/LOW=Record. DEVICE_ID BIT 0, 1, 2 An internal device ID. This is 001 for the ISD5116. It is recommended that you read the status register after a Write or Record operation to ensure that the device is ready to accept new commands. Depending upon the design and the number of pins available on the controller, the polling overhead can be reduced. If INT and RAC are tied to the microcontroller, it does not have to poll as frequently to determine the status of the ISD5116. - 19 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.3.5. Configuration Register Bytes The configuration register bytes are defined, in detail, in the drawings of section 7.4 on page 28. The drawings display how each bit enables or disables a function of the audio paths in the ISD5116. The tables below give a general illustration of the bits. There are two configuration registers, CFG0 and CFG1, so there are four 8-bit bytes to be loaded during the set-up of the device. Configuration Register 0 (CFG0) D15 D14 D13 D12 D11 D10 D9 D8 D7 D 6 D5 D4 D3 D2 D1 D0 AIG1 AIG0 AIPD AXG1 AXG0 AXPD INS0 AOS2 AOS1 AOS0 AOPD OPS1 OPS0 OPA1 OPA0 VLPD Volume Control Power Down SPKR & AUX OUT Control (2 bits) OUTPUT MUX Select (2 bits) ANA OUT Power Down AUXOUT MUX Select (3 bits) INPUT SOURCE MUX Select (1 bit) AUX IN Power Down AUX IN AMP Gain SET (2 bits) ANA IN Power Down ANA IN AMP Gain SET (2 bits) - 20 - ISD5116 Configuration Register 1 (CFG1) D15 D14 D13 D12 D11 D10 D9 D8 D7 D 6 D5 D4 D3 D2 D1 D0 VLS1 VLS0 VOL2 VOL1 VOL0 S1S1 S1S0 S1M1 S1M0 S2M1 S2M0 FLS0 FLD1 FLD0 FLPD AGPD AGC AMP Power Down Filter Power Down SAMPLE RATE (& Filter) Set up (2 bits) FILTER MUX Select SUM 2 SUMMING AMP Control (2 bits) SUM 1 SUMMING AMP Control (2 bits) SUM 1 MUX Select (2 bits) VOLUME CONTROL (3 bits) VOLUME CONT. MUX Select (2 bits) 7.3.6. Power-up Sequence This sequence prepares the ISD5116 for an operation to follow, waiting the Tpud time before sending the next command sequence. 1. Send I2C POWER UP 2. Send one byte 10000000 {Slave Address, R/W = 0} 80h 3. Slave ACK 4. Wait for SCL High 5. Send one byte 10000000 {Command Byte = Power Up} 80h 6. Slave ACK 7. Wait for SCL High 8. Send I2C STOP Playback Mode The command sequence for an analog Playback operation can be handled several ways. One technique would be to do a Load Address (81h), which requires sending a total of four bytes, and then sending a Play Analog, which would be a Command Byte (A8h) proceeded by the Slave Address Byte. This is a total of six bytes plus the times for Start, ACK, and Stop. - 21 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 Another approach would be to incorporate both into a single four byte exchange, which consists of the Slave Address (80h), the Command Byte (A9h) for Play Analog @ Address, and the two address bytes. Record Mode The command sequence for an Analog Record would be a four byte sequence consisting of the Slave Address (80h), the Command Byte (91h) for Record Analog @ Address, and the two address bytes. See “Load Command Byte Register (Address Load)” in section 7.3.2 on page 16. 7.3.7. Feed Through Mode The previous examples were dependent upon the device already being powered up and the various paths being set through the device for the desired operation. To set up the device for the various paths requires loading the two 16-bit Configuration Registers with the correct data. For example, in the Feed Through Mode the device only needs to be powered up and a few paths selected. This mode enables the ISD5116 to connect to a cellular or cordless base band phone chip set without affecting the audio source or destination. There are two paths involved, the transmit path and the receive path. The transmit path connects the Winbond chip’s microphone source through to the microphone input on the base band chip set. The receive path connects the base band chip set’s speaker output through to the speaker driver on the Winbond chip. This allows the Winbond chip to substitute for those functions and incidentally gain access to the audio to and from the base band chip set. To set up the environment described above, a series of commands need to be sent to the ISD5116. First, the chip needs to be powered up as described in this section. Then the Configuration Registers must be filled with the specific data to connect the paths desired. In the case of the Feed Through Mode, most of the chip can remain powered down. The following figure illustrates the affected paths. FTHRU ANA OUT MUX 6 dB INP Chip Set VOL Microphone Mic+ FILTO Mic- SUM1 ANA OUT+ ANA OUT1 SUM2 3 VOL Chip Set ANA IN ANA IN AMP 1 2 [AOS2,AOS1,AOS0] OUTPUT MUX ANA IN AMP Speaker SP+ FILTO [APD] SP- SUM2 2 [AIG1,AIG0] 2 - 22 - [AOPD] [OPS1,OPS0] [OPA1,OPA0] ISD5116 The figure above shows the part of the ISD5116 block diagram that is used in Feed Through Mode. The rest of the chip will be powered down to conserve power. The bold lines highlight the audio paths. Note that the Microphone to ANA OUT +/– path is differential. To select this mode, the following control bits must be configured in the ISD5116 configuration registers. To set up the transmit path: 1. Select the FTHRU path through the ANA OUT MUX—Bits AOS0, AOS1 and AOS2 control the state of the ANA OUT MUX. These are the D6, D7 and D8 bits respectively of Configuration Register 0 (CFG0) and they should all be ZERO to select the FTHRU path. 2. Power up the ANA OUT amplifier—Bit AOPD controls the power up state of ANA OUT. This is bit D5 of CFG0 and it should be a ZERO to power up the amplifier. To set up the receive path: 1. Set up the ANA IN amplifier for the correct gain—Bits AIG0 and AIG1 control the gain settings of this amplifier. These are bits D14 and D15 respectively of CFG0. The input level at this pin determines the setting of this gain stage. The ANA IN Amplifier Gain Settings table on page 36 will help determine this setting. In this example, we will assume that the peak signal never goes above 1 volt p-p single ended. That would enable us to use the 9 dB attenuation setting, or where D14 is ONE and D15 is ZERO. 2. Power up the ANA IN amplifier—Bit AIPD controls the power up state of ANA IN. This is bit D13 of CFG0 and should be a ZERO to power up the amplifier. 3. Select the ANA IN path through the OUTPUT MUX—Bits OPS0 and OPS1 control the state of the OUTPUT MUX. These are bits D3 and D4 respectively of CFG0 and they should be set to the state where D3 is ONE and D4 is ZERO to select the ANA IN path. 4. Power up the Speaker Amplifier—Bits OPA0 and OPA1 control the state of the Speaker and AUX amplifiers. These are bits D1 and D2 respectively of CFG0. They should be set to the state where D1 is ONE and D2 is ZERO. This powers up the Speaker Amplifier and configures it for its higher gain setting for use with a piezo speaker element and also powers down the AUX output stage. The status of the rest of the functions in the ISD5116 chip must be defined before the configuration registers settings are updated: 1. Power down the Volume Control Element—Bit VLPD controls the power up state of the Volume Control. This is bit D0 of CFG0 and it should be set to a ONE to power down this stage. 2. Power down the AUX IN amplifier—Bit AXPD controls the power up state of the AUX IN input amplifier. This is bit D10 of CFG0 and it should be set to a ONE to power down this stage. 3. Power down the SUM1 and SUM2 Mixer amplifiers—Bits S1M0 and S1M1 control the SUM1 mixer and bits S2M0 and S2M1 control the SUM2 mixer. These are bits D7 and D8 in CFG1 and bits D5 and D6 in CFG1 respectively. All 4 bits should be set to a ONE to power down these two amplifiers. - 23 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 4. Power down the FILTER stage—Bit FLPD controls the power up state of the FILTER stage in the device. This is bit D1 in CFG1 and should be set to a ONE to power down the stage. 5. Power down the AGC amplifier—Bit AGPD controls the power up state of the AGC amplifier. This is bit D0 in CFG1 and should be set to a ONE to power down this stage. 6. Don’t Care bits—The following stages are not used in Feed Through Mode. Their bits may be set to either level. In this example, we will set all the following bits to a ZERO. (a). Bit INS0, bit D9 of CFG0 controls the Input Source Mux. (b). Bits AXG0 and AXG1 are bits D11 and D12 respectively in CFG0. They control the AUX IN amplifier gain setting. (c). Bits FLD0 and FLD1 are bits D2 and D3 respectively in CFG1. They control the sample rate and filter band pass setting. (d). Bit FLS0 is bit D4 in CFG1. It controls the FILTER MUX. (e). Bits S1S0 and S1S1 are bits D9 and D10 of CFG1. They control the SUM1 MUX. (f). Bits VOL0, VOL1 and VOL2 are bits D11, D12 and D13 of CFG1. They control the setting of the Volume Control. (g). Bits VLS0 and VLS1 are bits D14 and D15 of CFG1. They control the Volume Control MUX. The end result of the above set up is CFG0=0100 0100 0000 1011 (hex 440B) and CFG1=0000 0001 1110 0011 (hex 01E3). Since both registers are being loaded, CFG0 is loaded, followed by the loading of CFG1. These two registers must be loaded in this order. The internal set up for both registers will take effect synchronously with the rising edge of SCL. 7.3.8. Call Record The call record mode adds the ability to record an incoming phone call. In most applications, the ISD5116 would first be set up for Feed Through Mode as described above. When the user wishes to record the incoming call, the setup of the chip is modified to add that ability. For the purpose of this explanation, we will use the 6.4 kHz sample rate during recording. The block diagram of the ISD5116 shows that the Multilevel Storage array is always driven from the SUM2 SUMMING amplifier. The path traces back from there through the LOW PASS Filter, THE FILTER MUX, THE SUM1 SUMMING amplifier, the SUM1 MUX, then from the ANA in amplifier. Feed Through Mode has already powered up the ANA IN amp so we only need to power up and enable the path to the Multilevel Storage array from that point: 1. Select the ANA IN path through the SUM1 MUX—Bits S1S0 and S1S1 control the state of the SUM1 MUX. These are bits D9 and D10 respectively of CFG1 and they should be set to the state where both D9 and D10 are ZERO to select the ANA IN path. 2. Select the SUM1 MUX input (only) to the S1 SUMMING amplifier—Bits S1M0 and S1M1 control the state of the SUM1 SUMMING amplifier. These are bits D7 and D8 respectively of - 24 - ISD5116 CFG1 and they should be set to the state where D7 is ONE and D8 is ZERO to select the SUM1 MUX (only) path. 3. Select the SUM1 SUMMING amplifier path through the FILTER MUX—Bit FLS0 controls the state of the FILTER MUX. This is bit D4 of CFG1 and it must be set to ZERO to select the SUM1 SUMMING amplifier path. 4. Power up the LOW PASS FILTER—Bit FLPD controls the power up state of the LOW PASS FILTER stage. This is bit D1 of CFG1 and it must be set to ZERO to power up the LOW PASS FILTER STAGE. 5. Select the 6.4 kHz sample rate—Bits FLD0 and FLD1 select the Low Pass filter setting and sample rate to be used during record and playback. These are bits D2 and D3 of CFG1. To enable the 6.4 kHz sample rate, D2 must be set to ONE and D3 set to ZERO. 6. Select the LOW PASS FILTER input (only) to the S2 SUMMING amplifier—Bits S2M0 and S2M1 control the state of the SUM2 SUMMING amplifier. These are bits D5 and D6 respectively of CFG1 and they should be set to the state where D5 is ZERO and D6 is ONE to select the LOW PASS FILTER (only) path. In this mode, the elements of the original PASS THROUGH mode do not change. The sections of the chip not required to add the record path remain powered down. In fact, CFG0 does not change and remains CFG0=0100 0100 0000 1011 (hex 440B). CFG1 changes to CFG1=0000 0000 1100 0101 (hex 00C5). Since CFG0 is not changed, it is only necessary to load CFG1. Note that if only CFG0 was changed, it would be necessary to load both registers. 7.3.9. Memo Record The Memo Record mode sets the chip up to record from the local microphone into the chip’s Multilevel Storage Array. A connected cellular telephone or cordless phone chip set may remain powered down and is not active in this mode. The path to be used is microphone input to AGC amplifier, then through the INPUT SOURCE MUX to the SUM1 SUMMING amplifier. From there the path goes through the FILTER MUX, the LOW PASS FILTER, the SUM2 SUMMING amplifier, then to the MULTILEVEL STORAGE ARRAY. In this instance, we will select the 5.3 kHz sample rate. The rest of the chip may be powered down. 1. Power up the AGC amplifier—Bit AGPD controls the power up state of the AGC amplifier. This is bit D0 of CFG1 and must be set to ZERO to power up this stage. 2. Select the AGC amplifier through the INPUT SOURCE MUX—Bit INS0 controls the state of the INPUT SOURCE MUX. This is bit D9 of CFG0 and must be set to a ZERO to select the AGC amplifier. 3. Select the INPUT SOURCE MUX (only) to the S1 SUMMING amplifier—Bits S1M0 and S1M1 control the state of the SUM1 SUMMING amplifier. These are bits D7 and D8 respectively of - 25 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 CFG1 and they should be set to the state where D7 is ZERO and D8 is ONE to select the INPUT SOURCE MUX (only) path. 4. Select the SUM1 SUMMING amplifier path through the FILTER MUX—Bit FLS0 controls the state of the FILTER MUX. This is bit D4 of CFG1 and it must be set to ZERO to select the SUM1 SUMMING amplifier path. 5. Power up the LOW PASS FILTER—Bit FLPD controls the power up state of the LOW PASS FILTER stage. This is bit D1 of CFG1 and it must be set to ZERO to power up the LOW PASS FILTER STAGE. 6. Select the 5.3 kHz sample rate—Bits FLD0 and FLD1 select the Low Pass filter setting and sample rate to be used during record and playback. These are bits D2 and D3 of CFG1. To enable the 5.3 kHz sample rate, D2 must be set to ZERO and D3 set to ONE. 7. Select the LOW PASS FILTER input (only) to the S2 SUMMING amplifier—Bits S2M0 and S2M1 control the state of the SUM2 SUMMING amplifier. These are bits D5 and D6 respectively of CFG1 and they should be set to the state where D5 is ZERO and D6 is ONE to select the LOW PASS FILTER (only) path. To set up the chip for Memo Record, the configuration registers are set up as follows: CFG0=0010 0100 0010 0001 (hex 2421). CFG1=0000 0001 0100 1000 (hex 0148). Only those portions necessary for this mode are powered up. 7.3.10. Memo and Call Playback This mode sets the chip up for local playback of messages recorded earlier. The playback path is from the MULTILEVEL STORAGE ARRAY to the FILTER MUX, then to the LOW PASS FILTER stage. From there, the audio path goes through the SUM2 SUMMING amplifier to the VOLUME MUX, through the VOLUME CONTROL then to the SPEAKER output stage. We will assume that we are driving a piezo speaker element. This audio was previously recorded at 8 kHz. All unnecessary stages will be powered down. 1. Select the MULTILEVEL STORAGE ARRAY path through the FILTER MUX—Bit FLS0, the state of the FILTER MUX. This is bit D4 of CFG1 and must be set to ONE to select the MULTILEVEL STORAGE ARRAY. 2. Power up the LOW PASS FILTER—Bit FLPD controls the power up state of the LOW PASS FILTER stage. This is bit D1 of CFG1 and it must be set to ZERO to power up the LOW PASS FILTER STAGE. 3. Select the 8.0 kHz sample rate—Bits FLD0 and FLD1 select the Low Pass filter setting and sample rate to be used during record and playback. These are bits D2 and D3 of CFG1. To enable the 8.0 kHz sample rate, D2 and D3 must be set to ZERO. 4. Select the LOW PASS FILTER input (only) to the S2 SUMMING amplifier —Bits S2M0 and S2M1 control the state of the SUM2 SUMMING amplifier. These are bits D5 and D6 respectively of CFG1 and they should be set to the state where D5 is ZERO and D6 is ONE to select the LOW PASS FILTER (only) path. - 26 - ISD5116 5. Select the SUM2 SUMMING amplifier path through the VOLUME MUX—Bits VLS0 and VLS1 control the state VOLUME MUX. These bits are bits D14 and D15, respectively of CFG1. They should be set to the state where D14 is ONE and D15 is ZERO to select the SUM2 SUMMING amplifier. 6. Power up the VOLUME CONTROL LEVEL—Bit VLPD controls the power-up state of the VOLUME CONTROL attenuator. This is Bit D0 of CFG0. This bit must be set to a ZERO to power-up the VOLUME CONTROL. 7. Select a VOLUME CONTROL LEVEL—Bits VOL0, VOL1, and VOL2 control the state of the VOLUME CONTROL LEVEL. These are bits D11, D12, and D13, respectively, of CFG1. A binary count of 000 through 111 controls the amount of attenuation through that state. In most cases, the software will select an attenuation level according to the desires of the current users of the product. In this example, we will assume the user wants an attenuation of –12 dB. For that setting, D11 should be set to ONE, D12 should be set to ONE, and D13 should be set to a ZERO. 8. Select the VOLUME CONTROL path through the OUTPUT MUX—These are bits D3 and D4, respectively, of CFG0. They should be set to the state where D3 is ZERO and D4 is a ZERO to select the VOLUME CONTROL. 9. Power up the SPEAKER amplifier and select the HIGH GAIN mode—Bits OPA0 and OPA1 control the state of the speaker (SP+ and SP–) and AUX OUT outputs. These are bits D1 and D2 of CFG0. They must be set to the state where D1 is ONE and D2 is ZERO to power-up the speaker outputs in the HIGH GAIN mode and to power-down the AUX OUT. To set up the chip for Memo or Call Playback, the configuration registers are set up as follows: CFG0=0010 0100 0010 0010 (hex 2422). CFG1=0101 1001 1101 0001 (hex 59D1). Only those portions necessary for this mode are powered up. 7.3.11. Message Cueing Message cueing allows the user to skip through analog messages without knowing the actual physical location of the message. This operation is used during playback. In this mode, the messages are skipped 512 times faster than in normal playback mode. It will stop when an EOM marker is reached. Then, the internal address counter will be pointing to the next message. - 27 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.4. ANALOG MODE 7.4.1. Aux In and Ana In Description The AUX IN is an additional audio input to the ISD5116, such as from the microphone circuit in a mobile phone “car kit.” This input has a nominal 694 mV p-p level at its minimum gain setting (0 dB). See the AUX IN Amplifier Gain Settings table on page 36. Additional gain is available in 3 dB steps (controlled by the I2C serial interface) up to 9 dB. Internal to the device Rb CCOUP=0.1 µF Ra AUX IN Input AUX IN Input Amplifier NOTE: fCUTOFF= 1 2πRaCCOUP Internal to the device Rb CCOUP=0.1 µF Ra AUX IN Input AUX IN Input Amplifier NOTE: fCUTOFF= 1 2πRaCCOUP - 28 - ISD5116 The ANA IN pin is the analog input from the telephone chip set. It can be switched (by the serial bus) to the speaker output, the array input or to various other paths. This pin is designed to accept a nominal 1.11 Vp-p when at its minimum gain (6 dB) setting. See the ANA IN Amplifier Gain Settings table on page 36. There is additional gain available in 3 dB steps controlled from the I2C interface, if required, up to 15 dB. Internal to the device Rb CCOUP=0.1 µF Ra ANA IN Input ANA IN Input Amplifier NOTE: fCUTOFF= 1 2πRaCCOUP - 29 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.4.2. ISD5116 Analog Structure (left half) Description INP SUM1 SUMMING AMP INPUT SOURCE MUX AGC AMP Σ SUM1 AUX IN AMP 2 (S1M1,S1M0) (INS0) SUM1 MUX FILTO ANA IN AMP ARRAY INSO Source 0 AGC AMP 1 AUX IN AMP 15 14 13 AIG1 AIG0 AIPD 12 15 14 13 VLS1 VLS0 VOL2 VOL1 2 (S1S1,S1S0) 11 AXG1 AXG0 12 11 VOL0 10 9 AXPD INS0 10 S1S1 8 AOS2 9 8 S1 S0 S1M1 7 S1M1 S1M0 0 0 BOTH 0 1 SUM1 MUX ONLY 1 0 INP Only 1 1 Power Down S1S1 S1S0 0 0 ANA IN 0 1 ARRAY SOURCE 1 0 FILTO 1 1 N/C 6 5 AOS1 AOS0 AOPD 7 SOURCE 6 5 S1 M0 S2 M1 S2M0 - 30 - 4 3 2 OPS1 OPS0 OPA1 1 0 4 3 2 1 0 FLS0 FLD1 FLD0 FLPD AGPD OPA0 VLPD C FG0 C FG1 ISD5116 7.4.3. ISD5116 ANALOG STRUCTURE (right half) description FILTER FILTER FILTO FILTO SUM2 SUMMING AMP MUX MUX SUM1 LOW PASS FILTER ARRAY FLS0 SUM2 SOURCE 0 SUM1 1 ARRAY FLPD Σ 1 1 (FLS0) (FLPD) 2 (S2M1,S2M0) CONDITION 0 Power Up 1 Power Down ANA IN AMP FLD1 FLD0 0 0 8 KHz 3.6 KHz 0 1 6.4 KHz 2.9 KHz 1 0 5.3 KHz 2.4 KHz 1 1 4.0 KHz 1.8 KHz 15 14 VLS1 VLS0 SAMPLE RATE 13 VOL2 12 FILTER BANDWIDTH 11 VOL1 VOL0 S2M0 0 0 SOURCE 0 1 ANA IN ONLY 1 0 FILTO ONLY 1 1 Power Down BOTH MULTILEVEL STORAGE ARRAY INTERNAL CLOCK XCLK S2M1 2 (FLD1,FLD0) ARRAY 10 9 S1S1 S1S0 8 7 6 S1M1 S1M0 S2M1 5 4 3 2 S2M0 FLS0 FLD1 FLD0 - 31 - 1 0 FLPD AGPD CFG1 Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.4.4. Volume Control Description VOL MUX ANA IN AMP SUM2 SUM1 VOLUME CONTROL VO L INP VLS1 VLS0 SOURCE AIG1 AIG0 AIPD 15 14 VLS1 VLS0 13 VOL2 Power Down VOL 0 ATTENUATION SUM2 0 0 0 0 dB SUM1 0 0 1 4 dB INP 0 1 0 8 dB 0 1 1 12 dB 1 0 0 16 dB 1 0 1 20 dB 1 1 0 24 dB 1 1 1 28 dB ANA IN AMP 0 1 1 0 1 1 AXG1 AXG0 AXPD INS0 VOL1 VOL0 Power Up 1 VOL1 0 11 CONDITION 0 VOL2 0 12 VLPD 3 1 (VLPD) (VOL2,VOL1,VOL0) 2 (VLS1,VLS0) 10 S1 S1 AOS2 9 8 S1S0 S1M1 AOS1 AOS0 7 6 S1 M0 S2M1 - 32 - AOPD OPS1 OPS0 OPA1 OPA0 VLPD 5 4 3 2 1 0 S2M0 FLS0 FLD1 FLD0 FLPD AGPD CFG0 CFG1 ISD5116 7.4.5. Speaker and Aux Out Description Car Kit AUX OUT (1 Vp -p Ma x) OUTPUT MUX VOL ANA IN AMP Sp eaker SP+ FILTO SP– 2 (OPA1, OPA0) SUM2 2 (OPS1,O PS0) OPA1 15 14 AIG1 AIG0 AIPD 13 12 11 10 OPS1 OPS0 0 0 VOL 0 1 ANA IN 1 0 FILTO 1 1 SUM2 9 AXG1 AXG0 AXPD INS0 8 AOS2 SOURCE 7 6 AOS1 AOS0 5 4 AUX OUT 0 Power Down Power Down 0 1 3.6 VP-P @ 150 Ω Power Down 1 0 23.5 mWatt @ 8 Ω Power Down 1 1 Power Down 1 VP-P Max @ 5 KΩ 3 AOPD OPS1 OPS0 - 33 - OPA0 SPKR DRIVE 0 2 1 0 OPA1 OPA0 VLPD CFG0 Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.4.6. Ana Out Description * FTHRU * INP (1 Vp -p m a x. from AUX IN o r ARRAY) (69 4 mVp-p ma x. fro m mi crop ho ne inp ut) * VOL Chip Set ANA OUT+ * FILTO ANA OUT– * SUM1 1 (AOPD) * SUM2 3 (AOS2,AOS1,AOS0) AOS2 AOS1 AOS0 SOURCE 0 0 0 FTHRU *DIFFERENTIAL PATH 15 14 13 AIG1 AIG0 AIPD 12 11 AOPD 0 0 1 INP 0 1 0 VOL 0 1 1 FILTO 1 0 0 SUM1 1 0 1 SUM2 1 1 0 N/C 1 1 1 N/C 10 AXG1 AXG0 AXPD 9 INS0 8 7 6 AOS2 AOS1 5 AOS0 AOPD 4 OPS1 3 2 OPS0 OPA1 CONDITION 0 Power Up 1 Power Down 1 0 OPA0 VLPD CFG0 7.4.7. Analog Inputs Microphone Inputs The microphone inputs transfer the voice signal to the on-chip AGC preamplifier or directly to the ANA OUT MUX, depending on the selected path. The direct path to the ANA OUT MUX has a gain of 6 dB so a 208 mV p-p signal across the differential microphone inputs would give 416 mV p-p across the ANA OUT pins. The AGC circuit has a range of 45 dB in order to deliver a nominal 694 mV p-p into the storage array from a typical electric microphone output of 2 to 20 mV p-p. The input impedance is typically 10kΩ. The ACAP pin provides the capacitor connection for setting the parameters of the microphone AGC circuit. It should have a 4.7 µF capacitor connected to ground. It cannot be left floating. This is because the capacitor is also used in the playback mode for the AutoMute circuit. This circuit reduces the amount of noise present in the output during quiet pauses. Tying this pin to ground gives maximum gain; to VCCA gives minimum gain for the AGC amplifier but will cancel the AutoMute function. - 34 - ISD5116 * FTHRU 6 dB AGPD MIC+ AGC MIC IN AGC MIC– CONDITION 0 Power Up 1 Power Down 1 (AGPD) To AutoMute ACAP (Playb ack Only) * Diffe re ntial Path 15 14 VLS1 VLS0 13 12 11 VOL2 VOL1 VOL0 10 S1S1 9 8 S1S0 S1M1 7 6 5 S1 M0 S2M1 S2M0 4 3 2 1 0 FLS0 FLD1 FLD0 FLPD AGPD CFG1 ANA IN (Analog Input) The ANA IN pin is the analog input from the telephone chip set. It can be switched (by the I2C interface) to the speaker output, the array input or to various other paths. This pin is designed to accept a nominal 1.11 V p-p when at its minimum gain (6 dB) setting. There is additional gain available, if required, in 3 dB steps, up to 15 dB. The gain settings are controlled from the I2C interface. Internal to the device Rb CCOUP = 0.1 µF ANA IN Input Ra ANA IN Input Amplifier NOTE: fCUTTOFF Gain Setting 00 01 10 11 Resistor Ratio (Rb/Ra) 63.9 / 102 77.9 / 88.1 92.3 / 73.8 106 / 60 Gain 0.625 0.883 1.250 1.767 Gain2 (dB) -4.1 -1.1 1.9 4.9 1 2xRaCCOUP ANA IN Amplifier Gain Settings Setting(1) 0TLP Input VP-P(3) 6 dB 9 dB 12 dB 15 dB 1.110 0.785 0.555 0.393 CFG0 AIG1 0 0 1 1 AIG0 0 1 0 1 - 35 - Gain(2) Array In/Out VP-P Speaker Out VP-P(4) 0.625 0.883 1.250 1.767 0.694 0.694 0.694 0.694 2.22 2.22 2.22 2.22 Publication Release Date: August, 2002 Revision 2.0 ISD5116 1. Gain from ANA IN to SP+/2. Gain from ANA IN to ARRAY IN 3. 0TLP Input is the reference Transmission Level Point that is used for testing. This level is typically 3 dB below clipping 4. Speaker Out gain set to 1.6 (High). (Differential) AUX IN (Auxiliary Input) The AUX IN is an additional audio input to the ISD5116, such as from the microphone circuit in a mobile phone “car kit.” This input has a nominal 694 mV p-p level at its minimum gain setting (0 dB). See the following table. Additional gain is available in 3 dB steps (controlled by the I2C interface) up to 9 dB. AUX IN Input Modes Internal to the device Rb CCOUP = 0.1 µF ANA IN Input Ra ANA IN Input Amplifier NOTE: fCUTTOFF Gain Setting 00 01 10 11 Resistor Ratio (Rb/Ra) 40.1 / 40.1 47.0 / 33.2 53.5 / 26.7 59.2 / 21 Gain 1.0 1.414 2.0 2.82 Gain(2) (dB) 0 3 6 9 1 2xRaCCOUP AUX IN Amplifier Gain Settings (1) Setting 0 dB 3 dB 6 dB 9 dB 0TLP Input VP-P(3) 0.694 0.491 0.347 0.245 CFG0 AIG1 0 0 1 1 AIG0 0 1 0 1 Gain(2) Array In/Out VP-P Speaker Out VP-P(4) 1.00 1.41 2.00 2.82 0.694 0.694 0.694 0.694 0.694 0.694 0.694 0.694 1. Gain from AUX IN to ANA OUT 2. Gain from AUX IN to ARRAY IN 3. 0TLP Input is the reference Transmission Level Point that is used for testing. This level is typically 3 dB below clipping 4. Differential - 36 - ISD5116 7.5. DIGITAL MODE 7.5.1. Erasing Digital Data The Digital Erase command can only erase an entire page at a time. This means that the D1 command only needs to include the 11-bit page address; the 5-bit for block address are left at 00000. Once a page has been erased, each block may be written separately, 64 bits at a time. But, if a block has been previously written then the entire page of 2048 bits must be erased in order to re-write (or change) a block. A sequence might be look like: - read the entire page - store it in RAM - change the desired bit(s) - erase the page - write the new data from RAM to the entire page 7.5.2. Writing Digital Data The Digital Write function allows the user to select a portion of the array to be used as digital memory. The partition between analog and digital memory is left up to the user. A page can only be either Digital or Analog, but not both. The minimum addressable block of memory in the digital mode is one block or 64 bits, when reading or writing. The address sent to the device is the 11-bit row (or page) address with the 5-bit scan (or block) address. However, one must send a Digital Erase before attempting to change digital data on a page. This means that even when changing only one of the 32 blocks, all 32 blocks will need to be rewritten to the page. Command Sequence: The chip enters digital mode by sending the ENTER DIGITAL MODE command from power down. Send the DIGITAL WRITE @ ADDR command with the row address. After the address is entered, the data is sent in one-byte packets followed by an I2C acknowledge generated by the chip. Data for each block is sent MSB first. The data transfer is ended when the master generates an I2C STOP condition. If only a partial block of data is sent before the STOP condition, “zero” is written in the remaining bytes; that is, they are left at the erase level. An erased page (row) will be read as all zeros. The device can buffer up to two blocks of data. If the device is unable to accept more data due to the internal write process, the SCL line will be held LOW indicating to the master to halt data transfer. If the device encounters an overflow condition, it will respond by generating an interrupt condition and an I2C Not Acknowledge signal after the last valid byte of data. Once data transfer is terminated, the device needs up to two cycles (64 us) to complete its internal write cycle before another command is sent. If an active command is sent before the internal cycle is finished, the part will hold SCL LOW until the current command is finished. After writing is complete, send the EXIT DIGITAL MODE command. - 37 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 7.5.3. Reading Digital Data The Digital Read command utilizes the combined I2C command format. That is, a command is sent to the chip using the write data direction. Then the data direction is reversed by sending a repeated start condition, and the slave address with R/W set to 1. After this, the slave device (ISD5116) begins to send data to the master until the master generates a NACK. If the part encounters an overflow condition, the INT pin is pulled LOW. No other communication with the master is possible due to the master generating ACK signals. As with Digital Write, Digital Read can be done a “block” at a time. each Digital Read command sequence. Thus, only 64 bits need be read in 7.5.4. Example Command Sequences An explanation and graphical representation of the Erase, Write and Read operations are found below. Note: All sequences assumes that the chip is in power-down mode before the commands are sent. 1. Erase digital data Erase ===== I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xc0) - Enter Digital Mode Command WaitACK WaitSCLHigh I2CStop I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xd1) - Digital Erase Command WaitACK WaitSCLHigh - 38 - ISD5116 SendByte(row/256) - high address byte WaitACK WaitSCLHigh SendByte(row%256) - low address byte WaitACK WaitSCLHigh I2CStop repeat until the number of RAC pulses are one less than the number of rows to delete { wait RAC low WAIT RAC high } Note: If only one row is going to be erased, send the following STOP command immediately after ERASE command and skip the loop above I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xc0) - Stop digital erase WaitACK WaitSCLHigh I2CStop wait until erase of the last row has completed { wait RAC low WAIT RAC high } I2CStart - 39 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0x40) - Exit Digital Mode Command WaitACK WaitSCLHigh I2Cstop Notes 1. Erase operations must be addressed on a Row boundary. The 5 LSB bits of the Low Address Byte will be ignored. 2. I2C bus is released while erase proceeds. Other devices may use the bus until it is time to execute the STOP command that causes the end of the Erase operation. 3. Host processor must count RAC cycles to determine where the chip is in the erase process, one row per RAC cycle. RAC pulses LOW for 0.25 millisecond at the end of each erased row. The erase of the "next" row begins with the rising edge of RAC. See the Digital Erase RAC timing diagram on page 51. 4. When the erase of the last desired row begins, the following STOP command (Command Byte = 80 hex) must be issued. This command must be completely given, including receiving the ACK from the Slave before the RAC pin goes HIGH at the end of the row. - 40 - ISD5116 S SLAVE ADDRESS W A CON A P Erase starts on falling edge of Slave acknowledge S SLAVE ADDRESS W A D1 Command Byte "N" RAC cycles Last erased row Note A DATA A DATA A High Addr. Byte P Note 2 Low Addr. Byte S SLAVE ADDRESS W A 80 A P Note Command Byte S SLAVE ADDRESS W - 41 - A 40h A P Publication Release Date: August, 2002 Revision 2.0 ISD5116 SUGGESTED FLOW FOR DIGITAL ERASE IN ISD5116 80,C0 ENTER DIGITAL MODE TO ERASE MULTIPLE (n) PAGES (ROWS) 80,D1,nn,nn SEND ERASE COMMAND COMMANDS NO 80 = PowerUp or Stop C0 = Enter Digital Mode D1 = Erase Digital Page@ 40 = Exit Digital Mode COUNT RAC FOR n-1 RAC\ ~ 250 uS YES 80,C0 SEND STOP COMMAND BEFORE NEXT RAC SEND STOP COMMAND BEFORE RAC NO WAIT FOR RAC NO RAC\ ~ 125 uS WAIT FOR RAC YES 80,40 80,C0 RAC\ ~ 125 uS YES EXIT DIGITAL MODE STOP COMMAND MUST BE FINISHED BEFORE RAC\ RISES 6/20/2002 BOJ Revision B DEVICE POWERS DOWN AUTOMATICALLY RAC\ SIGNAL 250 uS 125 uS 1.25 ms - 42 - ISD5116 2. Write digital data Write ===== I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xc0) - Enter Digital Mode Command WaitACK WaitSCLHigh I2CStop I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xc9) - Write Digital Data Command WaitACK WaitSCLHigh SendByte(row/256) - high address byte WaitACK WaitSCLHigh SendByte(row%256) - low address byte WaitACK WaitSCLHigh repeat until all data is sent { SendByte(data) - send data byte WaitACK() WaitSCLHigh() } - 43 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 I2CStop I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0x40) - Exit Digital Mode Command WaitACK WaitSCLHigh I2CStop S SLAVE ADDRESS W A W A C9h CON A Command Byte A DATA P A A Low Addr. Byte ~ ~ High Addr. Byte DATA DATA A DATA A DATA ~ ~ S SLAVE ADDRESS S SLAVE ADDRESS W - 44 - A 40h A P A P ISD5116 S U G G E S T E D F L O W F O R D IG IT A L W R IT E IN IS D 5 1 1 6 8 0 ,C 0 8 0 ,C 9 ,n n ,n n E N T E R D IG IT A L MODE S E N D W R IT E COMMAND W / START ADDRESS C O M M AN D S 8 0 = P o w e rU p o r S to p C 0 = E n te r D ig ita l M o d e C 9 = W rite D ig ita l P a g e @ 4 0 = E x it D ig ita l M o d e SEND DATA BYTE (S E N D NE XT BYTE) W A IT fo r S C L H IG H NO BYTE COUNTER =256? YES 8 0 ,4 0 6 /2 4 /2 0 0 2 B O J R e vis io n N /C E X IT D IG IT A L MODE D E V IC E POW ERS DOW N A U T O M A T IC A L L Y - 45 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 3. Read digital data Read ===== I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xc0) - Enter Digital Mode WaitACK WaitSCLHigh I2CStop I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0xe1) - Read Digital Data Command WaitACK WaitSCLHigh SendByte(row/256) - high address byte WaitACK WaitSCLHigh() SendByte(row%256) - low address byte WaitACK WaitSCLHigh I2CStart - Send repeat start command SendByte(0x81) - Read, Slave address zero repeat until all data is read { data = ReadByte() SendACK WaitSCLHigh - send clocks to read data byte - send NACK on the last byte - The only flow control available - 46 - ISD5116 } I2CStop() I2CStart SendByte(0x80) - Write, Slave address zero WaitACK WaitSCLHigh SendByte(0x40) - Exit Digital Mode WaitACK WaitSCLHigh I2CStop S S SLAVE ADDRESS SLAVE ADDRESS W A W E1h CON A A DATA P A High Addr. Byte DATA A Low Addr. Byte S SLAVE ADDRESS S R A DATA SLAVE ADDRESS A W - 47 - DATA A A 40h ~ ~ ~ ~ Command Byte A A DATA N P P Publication Release Date: August, 2002 Revision 2.0 ISD5116 S U G G E S T E D F L O W F O R D IG IT A L R E A D IN IS D 5 1 1 6 8 0 ,C 0 8 0 ,E 1 ,n n ,n n E N T E R D IG IT A L MODE SEND READ COMMAND W / START ADDRESS C O M M AN D S 8 0 = P o w e rU p o r S to p C 0 = E n te r D ig ita l M o d e E 1 = R e a d D ig ita l P a g e @ 4 0 = E x it D ig ita l M o d e READ DATA BYTE (R E A D N E XT BYTE) W A IT fo r S C L H IG H NO BYTE COUNTER =256? YES 8 0 ,4 0 6 /2 4 /2 0 0 2 B O J R e vis io n N /C E X IT D IG IT A L MODE D E V IC E POW ERS DOW N A U T O M A T IC A L L Y - 48 - ISD5116 7.6. PIN DETAILS 7.6.1. Digital I/O Pins SCL (Serial Clock Line) The Serial Clock Line is a bi-directional clock line. It is an open-drain line requiring a pull-up resistor to Vcc. It is driven by the "master" chips in a system and controls the timing of the data exchanged over the Serial Data Line. SDA (Serial Data Line) The Serial Data Line carries the data between devices on the I2C interface. Data must be valid on this line when the SCL is HIGH. State changes can only take place when the SCL is LOW. This is a bi-directional line requiring a pull-up resistor to Vcc. RAC (Row Address Clock) RAC is an open drain output pin that normally marks the end of a row. At the 8 kHz sample frequency, the duration of this period is 256 ms. There are 2048 pages of memory in the ISD5116 devices. RAC stays HIGH for 248 ms and stays LOW for the remaining 8 ms before it reaches the end of the page. 1 ROW RAC Waveform During 8 KHz Operation 256 msec TRAC 8 msec TRACLO The RAC pin remains HIGH for 484.4 µsec and stays LOW for 15.6 µsec under the Message Cueing mode. See the Timing Parameters table on page 64 for RAC timing information at other sample rates. When a record command is first initiated, the RAC pin remains HIGH for an extra TRACLO period, to load sample and hold circuits internal to the device. The RAC pin can be used for message management techniques. 1 ROW RAC Waveform During Message Cueing 500 usec TRAC - 49 - 15.6 us TRACLO Publication Release Date: August, 2002 Revision 2.0 ISD5116 RAC Waveform During Digital Erase 1.25 µsec .25 µsec Sample Rate 4.0 kHz 5.3 kHz 6.4 kHz 8.0 kHz tRAC 2.5µs 1.87µs 1.56µs 1.25µs tRACL0 0.5µs 0.37µs 0.31µs 0.25µs/0.125 tRACL1 2.0µs 1.50µs 1.25µs 1.00µs INT (Interrupt) INT is an open drain output pin. The ISD5116 interrupt pin goes LOW and stays LOW when an Overflow (OVF) or End of Message (EOM) marker is detected. Each operation that ends in an EOM or OVF generates an interrupt, including the message cueing cycles. The interrupt is cleared by a READ STATUS instruction that will give a status byte out the SDA line. XCLK (External Clock Input) The external clock input for the ISD5116 product has an internal pull-down device. Normally, the ISD5116 is operated at one of four internal rates selected for its internal oscillator by the Sample Rate Select bits. If greater precision is required, the device can be clocked through the XCLK pin at 4.096 MHz as described in section 7.4.3 on page 31. Because the anti-aliasing and smoothing filters track the Sample Rate Select bits, one must, for optimum performance, maintain the external clock at 4.096 MHz AND set the Sample Rate Configuration bits to one of the four values to properly set the filters to the correct cutoff frequency as described in section 7.4.3 on page 31. The duty cycle on the input clock is not critical, as the clock is immediately divided by two internally. If the XCLK is not used, this input should be connected to VSSD. External Clock Input Table Duration (Minutes) Sample Rate (kHz) Required Clock (kHz) FLD 1 FLD 0 Filter Knee (kHz) 8.73 8.0 4096 0 0 3.4 10.9 6.4 4096 0 1 2.7 13.1 5.3 4096 1 0 2.3 17.5 4.0 4096 1 1 1.7 - 50 - ISD5116 A0, A1 (Address Pins) These two pins are normally strapped for the desired address that the ISD5116 will have on the I2C serial interface. If there are four of these devices on the bus, then each must be strapped differently in order to allow the Master device to address them individually. The possible addresses range from 80h to 87h, depending upon whether the device is being written to, or read from, by the host. The ISD5116 has a 7-bit slave address of which only A0 and A1 are pin programmable. The eighth bit (LSB) is the R/W bit. Thus, the address will be 1000 0xy0 or 1000 0xy1. (See the table in section 7.3.1 on page 12.) 7.6.2. Analog I/O Pins MIC+, MIC- (Microphone Input +/-) The microphone input transfers the voice signal to the on-chip AGC preamplifier or directly to the ANA OUT MUX, depending on the selected path. The direct path to the ANA OUT MUX has a gain of 6 dB so a 208 mV p-p signal across the differential microphone inputs would give 416 mV p-p across the ANA OUT pins. The AGC circuit has a range of 45 dB in order to deliver a nominal 694 mV p-p into the storage array from a typical electret microphone output of 2 to 20 mV p-p. The input impedance is typically 10 k . 1.5kΩ Internal to the device MIC+ 220 µF + 1.5kΩ CCOUP=0.1 µF 6 dB FTHRU AGC MIC IN Ra=10kΩ Electret Microphone 0.1 WM-54B Panasonic 10kΩ 1.5kΩ NOTE: fCUTOFF= MIC- ANA OUT+, ANA OUT- 1 2πRaCCOUP (Analog Output +/-) This differential output is designed to go to the microphone input of the telephone chip set. It is designed to drive a minimum of 5 k between the “+” and “–” pins to a nominal voltage level of 694 mV p-p. Both pins have DC bias of approximately 1.2 VDC. The AC signal is superimposed upon this analog ground voltage. These pins can be used single-ended, getting only half the voltage. Do NOT ground the unused pin. - 51 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 ACAP (AGC Capacitor) This pin provides the capacitor connection for setting the parameters of the microphone AGC circuit. It should have a 4.7 µF capacitor connected to ground. It cannot be left floating. This is because the capacitor is also used in the playback mode for the AutoMute circuit. This circuit reduces the amount of noise present in the output during quiet pauses. Tying this pin to ground gives maximum gain; tying it to VCCA gives minimum gain for the AGC amplifier but cancels the AutoMute function. SP +, SP- (Speaker +/-) This is the speaker differential output circuit. It is designed to drive an 8 speaker connected across the speaker pins up to a maximum of 23.5 mW RMS power. This stage has two selectable gains, 1.32 and 1.6, which can be chosen through the configuration registers. These pins are biased to approximately 1.2 VDC and, if used single-ended, must be capacitively coupled to their load. Do NOT ground the unused pin. AUX OUT (Auxiliary Output) The AUX OUT is an additional audio output pin to be used, for example, to drive the speaker circuit in a “car kit.” It drives a minimum load of 5 k and up to a maximum of 1 V p-p. The AC signal is superimposed on approximately 1.2 VDC bias and must be capacitively coupled to the load. Car Kit AUX OUT (1 Vp -p Max) OUTPUT MUX VO L ANA IN AMP FILTO SP– 2 (OPA1, O PA0) SUM2 OPS1 OPS0 Speaker SP+ SOURCE 2 (OPS1,O PS0) OPS1 OPA0 SPKR DRIVE AUX OUT 0 0 VOL 0 0 Power Down Power Down 0 1 ANA IN 0 1 3.6 Vp.p @150Ω Power Down 1 0 FILTO 1 0 23.5 mWatt @ 8Ω Power Down 1 1 SUM2 1 1 Power Down 15 14 AIG1 AIG0 AIPD 13 12 11 10 9 AXG1 AXG0 AXPD INS0 8 7 6 5 4 3 AOS2 AOS1 AOS0 AOPD OPS1 OPS0 - 52 - 2 1 0 OPA1 OPA0 VLPD CFG0 1 Vp.p Max @ 5KΩ ISD5116 ANA IN (Analog Input) The ANA IN pin is the analog input from the telephone chip set. It can be switched (by the I2C interface) to the speaker output, the array input or to various other paths. This pin is designed to accept a nominal 1.11 V p-p when at its minimum gain (6 dB) setting. There is additional gain available, if required, in 3 dB steps, up to 15 dB. The gain settings are controlled from the I2C interface. ANA IN Input Modes Internal to the device Rb CCOUP = 0.1 ìF ANA IN Input Ra ANA IN Input Amplifier NOTE: fCUTTOFF Gain Setting Resistor Ration (Rb/Ra) Gain Gain2 (dB) 00 63.9 / 102 0.625 -4.1 01 77.9 / 88.1 0.88 -1.1 10 92.3 / 73.8 1.25 1.9 11 106 / 60 1.77 4.9 1 2xRaCCCUP ANA IN Amplifier Gain Settings (1) Setting 6 dB 9 dB 12 dB 15 dB 1. 0TLP Input VP-P(3) 1.110 0.785 0.555 0.393 CFG0 AIG1 0 0 1 1 AIG0 0 1 0 1 Gain(2) Array In/Out VP-P Speaker Out VP-P(4) 0.625 0.883 1.250 1.767 0.694 0.694 0.694 0.694 2.22 2.22 2.22 2.22 Gain from ANA IN to SP+/- 2. Gain from ANA IN to ARRAY IN 3. 0TLP Input is the reference Transmission Level Point that is used for testing. This level is typically 3 dB below clipping 4. Speaker Out gain set to 1.6 (High). (Differential) - 53 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 AUX IN (Auxiliary Input) The AUX IN is an additional audio input to the ISD5116, such as from the microphone circuit in a mobile phone “car kit.” This input has a nominal 694 mV p-p level at its minimum gain setting (0 dB). See the AUX IN Amplifier Gain Settings table on page 55. Additional gain is available in 3 dB steps (controlled by the I2C interface) up to 9 dB. AUX IN Input Modes Internal to the device Rb CCOUP = 0.1 ìF ANA IN Input Ra ANA IN Input Amplifier NOTE: fCUTTOFF Gain Setting 00 01 10 11 Resistor Ratio (Rb/Ra) 40.1 / 40.1 47.0 / 33.2 53.5 / 26.7 59.2 / 21 Gain 1.0 1.414 2.0 2.82 Gain(2) (dB) 0 3 6 9 1 2xRaCCCUP AUX IN Amplifier Gain Settings (1) Setting 0 dB 3 dB 6 dB 9 dB 0TLP Input VP-P(3) 0.694 0.491 0.347 0.245 1. Gain from AUX IN to ANA OUT 2. Gain from AUX IN to ARRAY IN CFG0 AIG1 0 0 1 1 AIG0 0 1 0 1 Gain(2) Array In/Out VP-P Speaker Out VP-P(4) 1.00 1.41 2.00 2.82 0.694 0.694 0.694 0.694 0.694 0.694 0.694 0.694 3. 0TLP Input is the reference Transmission Level Point that is used for testing. This level is typically 3 dB below clipping 4. Differential - 54 - ISD5116 7.6.3. Power and Ground Pins VCCA, VCCD (Voltage Inputs) To minimize noise, the analog and digital circuits in the ISD5116 device use separate power busses. These +3 V busses lead to separate pins. Tie the VCCD pins together as close as possible and decouple both supplies as near to the package as possible. VSSA, VSSD (Ground Inputs) The ISD5116 series utilizes separate analog and digital ground busses. The analog ground (VSSA) pins should be tied together as close to the package as possible and connected through a lowimpedance path to power supply ground. The digital ground (VSSD) pin should be connected through a separate low impedance path to power supply ground. These ground paths should be large enough to ensure that the impedance between the VSSA pins and the VSSD pin is less than 3 . The backside of the die is connected to VSSD through the substrate resistance. In a chip-on-board design, the die attach area must be connected to VSSD. NC (Not Connect) These pins should not be connected to the board at any time. Connection of these pins to any signal, ground or VCC, may result in incorrect device behavior or cause damage to the device. 7.6.4. Sample PC Layout The SOIC package is illustrated from the top. the bottom side of the board. 1 Note 3 Note V S S D (Digital Ground) 1 Note 1: VSSD traces should be kept separated back to the VSS supply feed point.. Note 2: VCCD traces should be kept separate back to the VCC Supply feed point. Note 3: The Digital and Analog grounds tie together at the power supply. The VCCA and VCCD supplies will also need filter capacitors per good engineering practice (typ. 50 to 100 uF). PC board traces and the three chip capacitors are on Note 2 O O O O O O O O O O O O O O C1 C2 C3 O O O O O O O O O O O O O O Analog Ground - 55 - V C C D XCLK VSSA C1=C2=C3=0.1 uF chip Capacitors To VCCA Note 3 Publication Release Date: August, 2002 Revision 2.0 ISD5116 8. TIMING DIAGRAMS 8.1. I2C TIMING DIAGRAM STOP START t t t f r SU-DAT SDA SCL t t f t HIGH t LOW t SCLK - 56 - SU-STO ISD5116 I2C INTERFACE TIMING STANDARD-MODE FAST-MODE PARAMETER SYMBOL MIN. MAX. MIN. MAX. UNIT fSCL 0 100 0 400 kHz tHD-STA 4.0 - 0.6 - s LOW period of the SCL clock tLOW 4.7 - 1.3 - s HIGH period of the SCL clock tHIGH 4.0 - 0.6 - s Set-up time for a repeated START condition tSU-STA 4.7 - 0.6 - s Data set-up time tSU-DAT 250 - 100(1) SCL clock frequency Hold time (repeated) START condition. After this period, the first clock pulse is generated - ns 300 ns 300 ns Rise time of both SDA and SCL signals tr - 1000 20 + 0.1Cb (2) Fall time of both SDA and SCL signals tf - 300 20 + 0.1Cb (2) tSU-STO 4.0 - 0.6 - s Bus-free time between a STOP and START condition tBUF 4.7 - 1.3 - s Capacitive load for each bus line Cb - 400 - 400 pF Noise margin at the LOW level for each connected device (including hysteresis) VnL 0.1 VDD - 0.1 VDD - V Noise margin at the HIGH level for each connected device (including hysteresis) VnH 0.2 VDD - 0.2 VDD - V Set-up time for STOP condition 1. A Fast-mode I2C-interface device can be used in a Standard-mode I2C-interface system, but the requirement tSU;DAT > 250 ns must then be met. This will automatically be the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA 2 line; tr max + tSU;DAT = 1000 + 250 = 1250 ns (according to the Standard-mode I C -interface specification) before the SCL line is released. 2. Cb = total capacitance of one bus line in pF. If mixed with HS mode devices, faster fall-times are allowed. - 57 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 8.2. PLAYBACK AND STOP CYCLE tSTOP tSTART SDA PLAY AT ADDR STOP SCL DATA CLOCK PULSES STOP ANA IN ANA OUT - 58 - ISD5116 8.3. EXAMPLE OF POWER UP COMMAND (FIRST 12 BITS) - 59 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 9. ABSOLUTE MAXIMUM RATINGS Absolute Maximum Ratings (Packaged Parts)(1) Condition Value Junction temperature 1500C Storage temperature range -650C to +1500C Voltage Applied to any pin (VSS - 0.3V) to (VCC + 0.3V) Voltage applied to any pin (Input current limited to +/-20 mA) (VSS – 1.0V) to (VCC + 1.0V) Lead temperature (soldering 3000C – 10 seconds) VCC - VSS 1. -0.3V to +5.5V Stresses above those listed may cause permanent damage to the device. Exposure to the absolute maximum ratings may affect device reliability. Functional operation is not implied at these conditions. Absolute Maximum Ratings (Die)(1) Condition Value Junction temperature 1500C Storage temperature range -650C to +1500C Voltage Applied to any pad (VSS - 0.3V) to (VCC + 0.3V) VCC - VSS -0.3V to +5.5V 1. Stresses above those listed may cause permanent damage to the device. Exposure to the absolute maximum ratings may affect device reliability. Functional operation is not implied at these conditions. - 60 - ISD5116 Operating Conditions (Packaged Parts) Condition Value Commercial operating temperature range(1) 00C to +700C Extended operating temperature(1) -200C to +700C Industrial operating temperature(1) -400C to +850C Supply voltage (VCC)(2) +2.7V to +3.3V Ground voltage (VSS)(3) 0V 1 2. . Case temperature VCC = VCCA = VCCD 3. VSS = VSSA = VSSD Operating Conditions (Die) Condition Die operating temperature range Value (1) 0 0 C to +50 C Supply voltage (VCC)(2) Ground voltage (VSS) 1. Case temperature 0 +2.7V to +3.3V (3) 0V 2. VCC = VCCA = VCCD - 61 - 3. VSS = VSSA = VSSD Publication Release Date: August, 2002 Revision 2.0 ISD5116 10. ELECTRICAL CHARACTERISTICS 10.1. GENERAL PARAMETERS Min(2) Symbol Parameters VIL Input Low Voltage VIH Input High Voltage VOL SCL, SDA Voltage VIL2V Input low interface VIH2V Input high voltage for 2V interface VOL1 RAC, INT Output Low Voltage VOH Output High Voltage ICC VCC Current (Operating) Max(2) Unit s VCC x 0.2 V VCC x 0.8 Output voltage Typ(1) for Conditions V Low 0.4 V IOL = 3 µA 2V 0.4 V Apply only SCL, SDA to V Apply only SCL, SDA to V IOL = 1 mA V IOL = -10 µA 1.6 0.4 VCC – 0.4 - Playback 15 25 mA No Load(3) - Record 30 40 mA No Load(3) - Feedthrough 12 15 mA No Load(3) ISB VCC Current (Standby) 1 10 µA (3) IIL Input Leakage Current +/-1 µA 1. Typical values: TA = 25°C and Vcc = 3.0 V. 2. All min/max limits are guaranteed by Winbond via electrical testing or characterization. Not all specifications are 100 percent tested. 3. VCCA and VCCD summed together. - 62 - ISD5116 10.2. TIMING PARAMETERS Symbol Parameters FS Sampling Frequency FCF TREC TPLAY TPUD TSTOP OR PAUSE Min(2) Typ(1) Max(2) Units Conditions 8.0 kHz (5) 6.4 kHz (5) 5.3 kHz (5) 4.0 kHz (5) 8.0 kHz (sample rate) 3.4 kHz Knee Point(3)(7) 6.4 kHz (sample rate) 2.7 kHz Knee Point(3)(7) 5.3 kHz (sample rate) 2.3 kHz Knee Point(3)(7) 4.0 kHz (sample rate) 1.7 kHz Knee Point(3)(7) 8.0 kHz (sample rate) 8.73 min (6) 6.4 kHz (sample rate) 10.9 min (6) 5.3 kHz (sample rate) 13.1 min (6) 4.0 kHz (sample rate) 17.5 min (6) 8.0 kHz (sample rate) 8.73 min (6) 6.4 kHz (sample rate) 10.9 min (6) 5.3 kHz (sample rate) 13.1 min (6) 4.0 kHz (sample rate) 17.5 min (6) 8.0 kHz (sample rate) 1 msec 6.4 kHz (sample rate) 1 msec 5.3 kHz (sample rate) 1 msec 4.0 kHz (sample rate) 1 msec 8.0 kHz (sample rate) 32 msec 6.4 kHz (sample rate) 40 msec 5.3 kHz (sample rate) 48 msec 4.0 kHz (sample rate) 64 msec 256 msec Filter Knee Record Duration Playback Duration Power-Up Delay Stop or Pause Record or Play TRAC RAC Clock Period 8.0 kHz (sample rate) - 63 - (9) Publication Release Date: August, 2002 Revision 2.0 ISD5116 TRACLO TRACM TRACML TRACE THD 6.4 kHz (sample rate) 320 msec (9) 5.3 kHz (sample rate) 384 msec (9) 4.0 kHz (sample rate) 512 msec (9) 8.0 kHz (sample rate) 8 msec 6.4 kHz (sample rate) 10 msec 5.3 kHz (sample rate) 12.1 msec 4.0 kHz (sample rate) 16 msec 8.0 kHz (sample rate) 500 µsec 6.4 kHz (sample rate) 625 µsec 5.3 kHz (sample rate) 750 µsec 4.0 kHz (sample rate) 1000 µsec 8.0 kHz (sample rate) 15.6 6.4 kHz (sample rate) µsec 19.5 5.3 kHz (sample rate) µsec 23.4 4.0 kHz (sample rate) µsec 31.2 µsec RAC Clock Period in Erase Mode 8.0 kHz (sample rate) 1.25 µsec 6.4 kHz (sample rate) 1.56 µsec 5.3 kHz (sample rate) 1.87 µsec 4.0 kHz (sample rate) 2.50 µsec RAC Clock Low Time RAC Clock Period Message Cueing Mode in RAC Clock Low Time in Message Cueing Mode Total Harmonic Distortion ANA IN to ARRAY, 1 2 ARRAY to SPKR 1 2 - 64 - % % @1 KHz at 0TLP, sample rate = 5.3 KHz ISD5116 10.3. ANALOG PARAMETERS MICROPHONE INPUT(14) Min(2) Symbol Parameters VMIC+/- MIC +/- Input Voltage VMIC (0TLP) MIC +/- input reference transmission level point (0TLP) AMIC Gain from MIC +/- input to ANA OUT AMIC (GT) MIC +/- Gain Tracking RMIC Microphone input resistance AAGC Microphone AGC Amplifier Range Typ(1)(14) Max(2) Units 300 mV Peak-to-Peak(4)(8) mV Peak-to-Peak(4)(10) 208 5.5 6.0 6.5 dB Conditions 1 kHz (4) (0TLP) at VMIC +/-0.1 dB 1 kHz, +3 to –40 dB 0TLP Input 10 kΩ MICpins 40 dB Over 3-300 Range Max(2) Units Conditions 1.6 V Peak-to-Peak (6 dB gain setting) 1.1 V Peak-to-Peak (6 dB gain setting)(10) +6 to +15 dB 4 Steps of 3 dB -4 to +5 dB 4 Steps of 3 dB dB (11) dB 1000 Hz, +3 to –45 dB 0TLP Input, 6 and MIC+ mV ANA IN(14) SYMBOL Min(2) Parameters VANA IN ANA IN Input Voltage VANA IN (0TLP) ANA IN Voltage AANA IN (sp) Gain from ANA IN to SP+/- AANA IN (AUX OUT) Gain from ANA IN to AUX OUT AANA IN (GA) ANA IN Gain Accuracy AANA IN (GT) ANA IN Gain Tracking (0TLP) Input Typ(1)(14) -0.5 +0.5 +/-0.1 6 dB setting RANA IN ANA IN Input Resistance (6 dB to +15 dB) 10 to 100 - 65 - kΩ Depending on ANA IN Gain Publication Release Date: August, 2002 Revision 2.0 ISD5116 AUX IN(14) SYMBOL Min(2) Parameters Typ(1)(14) Max(2) Units 1.0 V Peak-to-Peak (0 dB gain setting) Conditions VAUX IN AUX IN Input Voltage VAUX IN (0TLP) AUX IN Voltage Input 694.2 mV Peak-to-Peak (0 dB gain setting) AAUX IN (ANA OUT) Gain from AUX IN to ANA OUT 0 to +9 dB 4 Steps of 3 dB AAUX IN (GA) AUX IN Gain Accuracy dB (11) AAUX IN (GT) AUX IN Gain Tracking +/-0.1 dB 1000 Hz, +3 to –45 dB 0TLP Input, 0 dB setting RAUX IN AUX IN Input Resistance 10 to 100 kΩ Depending on AUX IN Gain (0TLP) -0.5 +0.5 SPEAKER OUTPUTS(14) SYMBOL Min(2) Parameters VSPHG SP+/- Output Voltage (High Gain Setting) RSPLG SP+/- Output (Low Gain) Load Imp. 8 RSPHG SP+/- Output (High Gain) Load Imp. 70 CSP SP+/- Output Load Cap. VSPAG SP+/- Output Bias Voltage (Analog Ground) VSPDCO Speaker Output DC Offset ICNANA IN/(SP+/-) ANA IN to SP+/Channel Noise CRT(SP+/-)/ANA OUT PSRR Typ(1)(14) Max(2) Units 3.6 V Peak-to-Peak, differential load = 150Ω, OPA1, OPA0 = 01 Ω OPA1, OPA0 = 10 Ω OPA1, OPA0 = 01 150 100 1.2 Conditions pF VDC +/-100 mV DC With ANA IN to Speaker, ANA IN AC coupled to VSSA Idle -65 dB Speaker Load (12)(13) 150Ω SP+/- to ANA OUT Cross Talk -65 dB 1 kHz 0TLP input to ANA IN, with MIC+/- and AUX IN AC coupled to VSS, and measured at ANA OUT feed through mode (12) dB Measured with a 1 kHz, 100 mV p-p Power Ratio Supply Rejection -55 - 66 - = ISD5116 Ratio FR sine wave input at VCC and VCC pins Frequency Response (3003400 Hz) dB +0.5 With 0TLP input to ANA IN, 6 dB setting (12) Guaranteed design by POUTLG Power Output (Low Gain Setting) 23.5 mW RMS Differential load at 8Ω SINAD SINAD ANA IN to SP+/- 62.5 dB 0TLP ANA In input minimum gain, 150Ω load (12)(13) ANA OUT (14) Min (2) Max (2) SYMBOL Parameters SINAD SINAD, MIC IN to ANA OUT 62.5 dB Load = 5kΩ(12)(13) SINAD SINAD, AUX IN to ANA OUT (0 to 9 dB) 62.5 dB Load = 5kΩ(12)(13) ICONIC/ANA OUT Idle Channel Microphone – -65 dB Load = 5kΩ(12)(13) ICN Idle Channel Noise – AUX IN (0 to 9 dB) -65 dB Load = 5kΩ(12)(13) -55 dB Measured with a 1 kHz, 100 mV P-P sine wave to VCCA, VCCD pins 1.2 VDC Inputs AC coupled to VSSA mV DC Inputs AC coupled to VSSA kΩ Differential Load dB 0TLP input to MIC+/in feedthrough mode. AUX IN/ANA OUT Supply Noise PSRR (ANA OUT) Power Ratio Rejection VBIAS ANA OUT+ and ANA OUT- VOFFSET ANA OUT+ to ANA OUT- RL Minimum Load Impedance FR Frequency Response (3003400 Hz) Type (1)(14) +/- 100 5 +0.5 Units Conditions 0TLP input to AUX IN in feedthrough mode(12) CRTANA OUT/(SP+/-) ANA OUT to SP+/- Cross Talk -65 - 67 - dB 1 kHz 0TLP output from ANA OUT, with ANA IN AC coupled to VSSA, and measured at Publication Release Date: August, 2002 Revision 2.0 ISD5116 SP+/-(12) CRTANA OUT/AUX OUT ANA OUT to AUX OUT Cross Talk -65 dB Max(2) Units 1.0 V 1 kHz 0TLP output from ANA OUT, with ANA IN AC coupled to VSSA, and measured at AUX OUT(12) AUX OUT(14) SYMBOL Parameters VAUX OUT AUX OUT – Maximum Output Swing RL Minimum Load Impedance CL Maximum Load Capacitance VBIAS AUX OUT SINAD SINAD – ANA IN to AUX OUT ICN(AUX OUT) Idle Channel Noise – ANA IN to AUX OUT CRTAUX AUX OUT to ANA OUT Cross Talk OUT/ANA OUT Min(2) Typ(1(14)) 5 Conditions 5kΩ Load KΩ 100 1.2 pF VDC 62.5 dB 0TLP ANA IN input, minimum gain, 5k load(12)(13) -65 dB Load=5kΩ(12)(13) -65 dB 1 kHz 0TLP input to ANA IN, with MIC +/- and AUX IN AC coupled to VSSA, measured at SP+/-, load = 5kΩ. Referenced to nominal 0TLP @ output Max(2) Units VOLUME CONTROL(14) SYMBOL Parameters AOUT Output Gain Absolute Gain Min(2) Typ(1)(14) -28 to 0 -0.5 - 68 - +0.5 Conditions dB 8 steps of 4 dB, referenced to output dB ANA IN 1.0 kHz 0TLP, 6 dB gain setting measured differentially at SP+/- ISD5116 Conditions 1. Typical values: TA = 25°C and Vcc = 3.0V. 2. All min/max limits are guaranteed by Winbond via electrical testing or characterization. Not all specifications are 100 percent tested. 3. Low-frequency cut off depends upon the value of external capacitors (see Pin Descriptions). 4. Differential input mode. Nominal differential input is 208 mV p-p. (0TLP) 5. Sampling frequency can vary as much as –6/+4 percent over the industrial temperature and voltage ranges. For greater stability, an external clock can be utilized (see Pin Descriptions). 6. Playback and Record Duration can vary as much as –6/+4 percent over the industrial temperature and voltage ranges. For greater stability, an external clock can be utilized (See Pin Descriptions). 7. Filter specification applies to the low pass filter. 8. For optimal signal quality, this maximum limit is recommended. 9. When a record command is sent, TRAC = TRAC + TRACLO on the first page addressed. 10. The maximum signal level at any input is defined as 3.17 dB higher than the reference transmission level point. (0TLP) This is the point where signal clipping may begin. 11. Measured at 0TLP point for each gain setting. See the ANA IN table and AUX IN table on pages 53 and 55 respectively. 12. 0TLP is the reference test level through inputs and outputs. See the ANA IN table and AUX IN table on pages 53 and 54 respectively. 13. Referenced to 0TLP input at 1 kHz, measured over 300 to 3,400 Hz bandwidth. 14. For die, only typical values are applicable. 10.4. CHARACTERISTICS OF THE I2C SERIAL INTERFACE The I2C interface is for bi-directional, two-line communication between different ICs or modules. The two lines are a serial data line (SDA) and a serial clock line (SCL). Both lines must be connected to a positive supply via a pull-up resistor. Data transfer may be initiated only when the interface bus is not busy. Bit transfer One data bit is transferred during each clock pulse. The data on the SDA line must remain stable during the HIGH period of the clock pulse, as changes in the data line at this time will be interpreted as a control signal. - 69 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 SDA SCL data line stable; data valid changed of data allowed Bit transfer on the I2C-Bus Start and stop conditions Both data and clock lines remain HIGH when the interface bus is not busy. A HIGH-to-LOW transition of the data line while the clock is HIGH is defined as the start condition (S). A LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the stop condition (P). SDA SDA SCL S P START condition System configuration SCL STOP condition Definition of START and STOP conditions A device generating a message is a ‘transmitter’; a device receiving a message is the ‘receiver’. Th System Configuration A device generating a message is a ‘transmitter’; a device receiving a message is the ‘receiver’. The device that controls the message I sthe ‘master’ and the devices that are controlled by the master are the ‘slaves’. - 70 - ISD5116 LSD DRIVER MICROCONTROLLER STATIC RAM OR EEPROM SDA SCL GATE ARRAY ISD 5116 2 Example of an I C-bus configuration using two microcontrollers Acknowledge The number of data bytes transferred between the start and stop conditions from transmitter to receiver is unlimited. Each byte of eight bits is followed by an acknowledge bit. The acknowledge bit is a HIGH level signal put on the interface bus by the transmitter during which time the master generates an extra acknowledge related clock pulse. A slave receiver which is addressed must generate an acknowledge after the reception of each byte. In addition, a master receiver must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges must pull down the SDA line during the acknowledge clock pulse so that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse (setup and hold times must be taken into consideration). A master receiver must signal an end of data to the transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. In this event, the transmitter must leave the data line HIGH to enable the master to generate a stop condition. DATA OUTPUT BY TRANSMITTER not acknowledge DATA OUTPUT BY RECEIVER acknowledge SCL FROM MASTER 1 8 2 9 S dock pulse for acknowledgement START condition 2 Acknowledge on the I C-bus - 71 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 10.5. I2C Protocol Since the I2C protocol allows multiple devices on the bus, each device must have an address. This address is known as a “Slave Address”. A Slave Address consists of 7 bits, followed by a single bit that indicates the direction of data flow. This single bit is 1 for a Write cycle, which indicates the data is being sent from the current bus master to the device being addressed. This single bit is a 0 for a Read cycle, which indicates that the data is being sent from the device being addressed to the current bus master. For example, the valid Slave Addresses for the ISD5116 device, for both Write and Read cycles, are shown in section 7.3.1 on page 12 of this datasheet. Before any data is transmitted on the I2C interface, the current bus master must address the slave it wishes to transfer data to or from. The Slave Address is always sent out as the 1st byte following the Start Condition sequence. An example of a Master transmitting an address to a ISD5116 slave is shown below. In this case, the Master is writing data to the slave and the R/W bit is “0”, i.e. a Write cycle. All the bits transferred are from the Master to the Slave, except for the indicated Acknowledge bits. The following example details the transfer explained in section 7.3.1-2-3 on pages 12-19 of this datasheet. Master Transmits to Slave Receiver (Write) Mode acknowledgement from slave S Start Bit SLAVE ADDRESS W A acknowledgement from slave COMMAND BYTE A acknowledgement from slave High ADDR. BYTE A acknowledgement from slave Low ADDR. BYTE A P Stop Bit R/W A common procedure in the ISD5116 is the reading of the Status Bytes. The Read Status condition in the ISD5116 is triggered when the Master addresses the chip with its proper Slave Address, immediately followed by the R/W bit set to a “0” and without the Command Byte being sent. This is an example of the Master sending to the Slave, immediately followed by the Slave sending data back to the Master. The “N” not-acknowledge cycle from the Master ends the transfer of data from the Slave. The following example details the transfer explained in section 7.3.1 on page 12 of this datasheet. - 72 - ISD5116 Master Reads from Slave immediately after first byte (Read Mode) acknowledgement from slave From Slave S SLAVE ADDRESS R A From Slave STATUS W ORD A From Slave High ADDR. BYTE A Low ADDR BYTE N P From Master Start Bit From Master acknowledgement from Master acknowledgement from Master R/W From Master Stop Bit From Master not-acknowledged from Master Another common operation in the ISD5116 is the reading of digital data from the chip’s memory array at a specific address. This requires the I2C interface Master to first send an address to the ISD5116 Slave device, and then receive data from the Slave in a single I2C operation. To accomplish this, the data direction R/W bit must be changed in the middle of the command. The following example shows the Master sending the Slave address, then sending a Command Byte and 2 bytes of address data to the ISD5116, and then immediately changing the data direction and reading some number of bytes from the chip’s digital array. An unlimited number of bytes can be read in this operation. The “N” notacknowledge cycle from the Master forces the end of the data transfer from the Slave. The following example details the transfer explained in section 7.5.4 on page 46 of this datasheet. Master Reads from the Slave after setting data address in Slave (Write data address, READ Data) acknowledgement from slave S SLAVE ADDRESS Start Bit From Master W A acknowledgement from slave COMMAND BYTE A acknowledgement from slave High ADDR. BYTE A acknowledgement from slave Low ADDR. BYTE A R/W From Master acknowledgement from slave From Slave S SLAVE ADDRESS R A 8 BITS of DATA From Slave A 8 BITS of DATA From Slave A 8 BITS of DATA N P From Master Start Bit From Master R/W From Master acknowledgement from Master acknowledgement from Master Stop Bit From Master not-acknowled from Master - 73 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 11. TYPICAL APPLICATION CIRCUIT - 74 - ISD5116 12. PACKAGE SPECIFICATION 12.1. Plastic Thin Small Outline Package (TSOP) Type E DIMENSIONS A A B B G G 1 22 33 44 55 66 77 88 99 10 10 11 11 12 12 13 13 14 14 28 28 27 27 26 26 25 25 24 24 23 23 22 22 21 21 20 20 19 19 18 18 17 17 16 16 15 15 F C E E D JJ H H I Plastic Thin Small Outline Package (TSOP) Type E Dimensions INCHES MILLIMETERS Min Nom Max Min Nom Max A 0.520 0.528 0.535 13.20 13.40 13.60 B 0.461 0.465 0.469 11.70 11.80 11.90 C 0.311 0.315 0.319 7.90 8.00 8.10 D 0.002 0.006 0.05 E 0.007 0.009 0.011 0.17 0.22 0.27 0.0217 F 0.15 0.55 G 0.037 0.039 0.041 0.95 1.00 1.05 H I 00 0.020 30 0.022 60 0.028 00 0.50 30 0.55 60 0.70 J 0.004 0.008 0.10 Note: 0.21 Lead coplanarity to be within 0.004 inches. - 75 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 12.2. Plastic Small Outline Integrated Circuit (SOIC) DIMENSIONS 28 27 26 25 24 23 22 21 20 19 18 17 16 15 2 3 4 5 1 6 7 8 9 10 11 12 13 14 A G C B D E H F Plastic Small Outline Integrated Circuit (SOIC) Dimensions INCHES MILLIMETERS Min Nom Max Min Nom Max A 0.701 0.706 0.711 17.81 17.93 18.06 B 0.097 0.101 0.104 2.46 2.56 2.64 C 0.292 0.296 0.299 7.42 7.52 7.59 D 0.005 0.009 0.0115 0.127 0.22 0.29 E 0.014 0.016 0.019 0.35 0.41 0.48 0.050 F 1.27 G 0.400 0.406 0.410 10.16 10.31 10.41 H 0.024 0.032 0.040 0.61 0.81 1.02 Note: Lead coplanarity to be within 0.004 inches. - 76 - ISD5116 12.3. Plastic Dual Inline Package (PDIP) Dimensions Plastic Dual Inline Package (PDIP) (P) Dimensions INCHES A B1 B2 C1 C2 D D1 E F G H J S 0 Min 1.445 0.065 0.600 0.530 0.015 0.125 0.015 0.055 0.008 0.070 0° Nom 1.450 0.150 0.070 0.540 0.018 0.060 0.100 0.010 0.075 MILLIMETERS Max 1.455 Min 36.70 0.075 0.625 0.550 0.19 1.65 15.24 13.46 Nom 36.83 3.81 1.78 13.72 Max 36.96 1.91 15.88 13.97 4.83 0.135 0.022 0.065 0.38 3.18 0.38 1.40 0.012 0.080 15° 0.20 1.78 0° - 77 - Publication Release Date: August, 2002 Revision 2.0 0.46 1.52 2.54 0.25 1.91 3.43 0.56 1.65 0.30 2.03 15° ISD5116 12.4 Die Bonding Physical Layout ISD5116 DEVICE PIN/PAD LOCATIONS WITH RESPECT TO DIE CENTER IN MICRON (µm) PIN X Axis Y Axis VSS Analog Ground 1879.45 3848.65 Row Address Clock 1536.20 3848.65 Interrupt 787.40 3848.65 XCLK External Clock Input 475.60 3848.65 VCCD VCC Digital Supply Voltage 288.60 3848.65 VCCD VCC Digital Supply Voltage 73.20 3848.65 SCL Serial Clock Line -201.40 3848.65 Address 1 -560.90 3848.65 Serial Data Address -818.20 3848.65 Address 0 -1369.40 3848.65 VSSD VSS Digital Ground -1671.30 3848.65 VSSD VSS Digital Ground -1842.90 3848.65 -1948.00 -3841.60 VSSA RAC INT A1 SDA A0 VSSA Pin Name “ “ “ MIC+ Non-inverting Microphone Input -1742.20 -3841.60 MIC- Inverting Microphone Input -1509.70 -3841.60 ANA OUT+ Non-inverting Analog Output -1248.00 -3841.60 ANA OUT- Inverting Analog Output -913.80 -3841.60 AGC/AutoMute Cap -626.50 -3841.60 SP- Speaker Negative -130.70 -3841.60 VSSA VSS Analog Ground 202.90 -3841.60 SP+ Speaker Positive 626.50 -3841.60 VCCA VCC Analog Supply Voltage 960.10 -3841.60 ANA IN Analog Input 1257.40 -3841.60 AUX IN Auxiliary Input 1523.00 -3841.60 Auxiliary Output 1767.20 -3841.60 ACAP AUX OUT - 78 - ISD5116 ISD 5116 SERIES BONDING PHYSICAL LAYOUT (1) (UNPACKAGED DIE) VSSD V SSD A0 SCL SDA A1 VCCD VCCD XCLK INT RAC VSSA ISD5116 Series Die Dimensions X: 4125 um Y: 8030 um ISD5116 Die Thickness(3) 292.1 um + 12.7 um Pad Opening (min) 90 x 90 microns 3.5 x 3.5 mils VSSA AUXOUT MIC+ AUX IN MIC– ANA IN ANAOUT+ (2) V ANAOUT– ACAP SP– V SSA(2) SP+ CCA Notes 1. The backside of die is internally connected to Vss. It MUST NOT be connected to any other potential or damage may occur. 2. Double bond recommended. 3. This figure reflects the current die thickness. Please contact Winbond as this thickness may change in the future. - 79 - Publication Release Date: August, 2002 Revision 2.0 ISD5116 13. ORDERING INFORMATION Winbond Part Number Description I5116-_ _ Product Family ISD5116 Product (8- to 16-minute durations) Special Temperature Field: Blank = Commercial Packaged (0°C to +70°C) or Commercial Die (0°C to +50°C) D = Extended (–20°C to +70°C) I = Industrial (–40°C to +85°C) Package Type: E = 28-Lead 8x13.4mm Plastic Package (TSOP) Type 1 Thin Small S = 28-Lead 0.300-Inch Plastic Small Outline Package (SOIC) X = Die P = 28-Lead 0.600-Inch Plastic Dual Inline Package (PDIP) When ordering ISD5116 series devices, please refer to the following valid part numbers. Part Number I5116E I5116ED I5116EI I5116S I5116SI I5116X I5116P Chip scale package is available upon customer’s request. For the latest product information, access Winbond’s worldwide website at http://www.winbond-usa.com - 80 - Outline ISD5116 14. VERSION HISTORY VERSION DATE 2.0 08/28/02 PAGE DESCRIPTION Overal datasheet. Clarifiying digital mode section Headquarters Winbond Electronics Corporation America Winbond Electronics (Shanghai) Ltd. No. 4, Creation Rd. III, Science-Based Industrial Park, Hsinchu, Taiwan TEL: 886-3-5770066 FAX: 886-3-5665577 http://www.winbond.com.tw/ 2727 North First Street, San Jose, CA 95134, U.S.A. TEL: 1-408-9436666 FAX: 1-408-5441798 27F, 2299 Yan An W. Rd. Shanghai, 200336 China TEL: 86-21-62365999 FAX: 86-21-62365998 Taipei Office Winbond Electronics Corporation Japan Winbond Electronics (H.K.) Ltd. 11F, No. 115, Sec. 3, Min-Sheng East. Rd., Taipei, Taiwan TEL: 886-2-27190505 FAX: 886-2-27197502 7F Daini-ueno BLDG, 3-7-18 Shinyokohama Kohoku-ku, Yokohama, 222-0033 TEL: 81-45-4781881 FAX: 81-45-4781800 Unit 9-15, 22F, Millennium City, No. 378 Kwun Tong Rd., Kowloon, Hong Kong TEL: 852-27513100 FAX: 852-27552064 Please note that all data and specifications are subject to change without notice. All the trade marks of products and companies mentioned in this data sheet belong to their respective owners. - 81 - Publication Release Date: August, 2002 Revision 2.0
ISD5116EIR 价格&库存

很抱歉,暂时无法提供与“ISD5116EIR”相匹配的价格&库存,您可以联系我们找货

免费人工找货