Page 2
Furthermore, Nuvoton products are not intended for applications wherein failure of Nuvoton products could result in or lead to a situation wherein personal injury, death or severe property or environmental damage could occur.
Flash storage, an integrated audio signal path with up to 3 channel concurrent playback and a Class D speaker driver capable of delivering 1 W of power. The ISD2360 utilizes Flash memory, in 1-Kbyte sectors, to provide non-volatile audio playback for a single- chip audio playback solution for up to 64 seconds duration (based on 8 kHz/4-bit ADPCM compression).
Page 9
ISD2360 Design Guide Enhanced ADPCM: 2, 3, 4 or 5 bits per sample Variable bit-rate optimized compression allows best possible compression given a metric of Signal-to-Noise Ratios (SNR) and background noise levels Clock Source: Internal oscillator with internal reference, factory trimmed to ±1% deviation at room temperature ...
ISD2360 Design Guide Pin Configurations Pin Diagrams The ISD2360 ChipCorder is available in QFN 32-Lead and SOP 16-Lead 300 mil packages, as shown in Figure 2-1 and Figure 2-2. GPIO0/MOSI GPIO0/MOSI GPIO4/RDY/BSYB GPIO4/RDY/BSYB ISD2360 VSSD VSSD GPIO3/INTB GPIO3/INTB ISD2360 QFN32...
Figure 2-2 ISD2360 SOP 16-Lead 300 mil Package 2.2 Pin Descriptions The pin descriptions for the ISD2360 in QFN 32-Lead package and in SOP 16-Lead 300 mil package are provided in Table 2-1 and Table 2-2, respectively. Table 2-1 32-Lead QFN Pin Descriptions...
Page 12
GPIO3/INTB Can be configured as a General Purpose I/O pin. Output pin reports the status of data transfer on the SPI interface. ―High‖ indicates the ISD2360 is ready to accept new GPIO4/RDY/ BSYB SPI commands or data. Can be configured as a General Purpose I/O pin.
GPIO3/INTB Can be configured as a General Purpose I/O pin. Output pin reports the status of data transfer on the SPI interface. ―High‖ indicates the ISD2360 is ready to accept new GPIO4/RDY/ BSYB SPI commands or data. Can be configured as a General Purpose I/O pin.
ISD2360 Design Guide Block Diagram The major functional blocks of the ISD2360 ChipCorder, as shown in Figure 3-1 include: SPI and GPIO Interfaces Memory Management and Command Interpreters De-Compression Digital Signal Path Filtering, Mixing, Sampling and Volume Control ...
During an SPI transaction, for all commands except digital reading commands, the device status byte is sent back from device via MISO for every byte of data sent to the ISD2360.The details of the device status bits are shown in Table 4-1.
ISD2360 Design Guide 4.2 Device Interrupt Register Whenever the ISD2360 generates an interrupt, the Interrupt Status Register holds flags that indicate the type of interrupt that was generated. The interrupt bits are shown in Table 4-2. These flags will remain set until a READ_INT command clears them and the hardware interrupt pin (INTB) is set.
All configuration registers are reset to their default values when there is a reset condition. When the ISD2360 is in Power Down Mode, a group of 3 V registers will retain their values while all other registers lose their content. Note the difference between Power Down and Power Off: Power Down means the device is entering the standby state with the PD bit set;...
5.3.2 Special 3 V Registers The ISD2360 device contains a group of special registers that can keep their value during power down. This special group includes registers in the range of 0x14-0x16 and 0x19-0x2F, and they are powered by an internal regulated 3V power supply.
Transitions on the GPIO pins can generate a GPIO_INT interrupt. At the moment when the ISD2360 goes into a power down state, the status of the GPIO pins are latched. If the GPIO pin is configured as a triggering pin (interrupt enabled) and toggling on the pin is the valid triggering type indicated by AF1 and AF0, then when the toggling happens the ISD2360 device will execute a wake-up event.
ISD2360 Design Guide 5.5 Device Checksum The ISD2360 is able to calculate the hardware checksum from the beginning of memory to a specified end address. To start a checksum calculation, the user should first reset the circuit by writing one followed by a zero, to the RST_CHECKSUM bit in Checksum Reset Register, and then issue the SPI CHECKSUM command to initiate the calculation.
SPI when the FIFO has data – when RDY/BSYB is high. For digital write operations, the host controller should only try to write into ISD2360 via SPI when the FIFO has vacant space – when RDY/BSYB is high.
The default value of FAST_DEB bit in the De-bounce Time Control Register is zero, which gives 20 ms de-bounce time for the ISD2360 GPIO trigger. Writing one to this bit enables the fast de-bounce feature, and the de-bounce time will be reduced to 8 ns. Fast de-bounce time should be used only in such situations in which fast speed is desired, and more importantly, the triggering signal is very clean without glitches –...
Operational Description Overview In almost all cases, the ISD2360 needs to be programmed before being put into use in the field. A GUI software, ISD-VPE2360 (Voice Prompt Editor for ISD2360 device) can be used to generate the application image file. Once the image file is ready, the user can choose to program the devices before populating them onto target systems, or to perform in-system programming in field.
Power-On Initialization (POI) sequence and executes the POI Voice Macro, VM#0. When the ISD2360 receives a Power Up command (PU) under power down state, it begins a power-up initialization (PU) sequence and executes PU Vocie Macro, VM#1. Note that if the...
(powered up). Figure 6-1 shows the device initialization execution flow. Once powered on, no matter if it is in PU or PD state, the ISD2360 device constantly detects edge transition on all GPIO pins. If an edge transition is detected and it meets the triggering condition defined by the AF1 and AF0 registers, then it a valid trigger occurs.
6.6.2.1 Pulling SSB low automatically claims the SPI interface Each of the six ISD2360 GPIO pins can be configured to work at the one of the following four function modes: GPIO pin, alternate function pin, falling-edge triggering pin or falling-and- rising-edge triggering pin.
SPI operation, the user must check the device status before sending the SPI commands. Unlike the SPI operation, in GPIO Trigger operation, the ISD2360 always executes the associated VM in the assigned channel, regardless the current status of the channel. That is,...
ISD2360 Design Guide When the power supply drops to ~1.9 V, the 3 V registers of the ISD2360 start to lose their values. If the power supply continues to drop to a level lower than the POR (Power On Reset) voltage, which is about 0.9 V, then once the power supply rises back to normal working...
A GPIO triggering associated VM preempts only its own channel; the execution in other channels is not affected. In total, the ISD2360 device can have 3 channels running in parallel. If a trigger VM is assigned to ―all channels‖, i.e. 0x11 being written into the corresponding GPIOn_TRIG_VH_SEL bits, the result is that the VM will preempt all 3 channels when triggered;...
ISD2360 Design Guide Memory Management The internal Flash memory of the ISD2360 provides 2 Mbits of storage space. Its 2, 097, 152 bits of memory are organized into 256-sectors of 1024-bytes each. The ISD2360 is a playback-only device and usually must be pre-programmed before use. A GUI software ISD-VPE2360, provided by Nuvoton, can be used to generate the ISD2360 Flash image file.
ISD2360 Design Guide Memory Header 7.1.1 Memory Format The memory header is located from address 0x000000 and holds all the critical information about the memory organization upon which the device depends for all kinds of operations. Table 7-1 shows the typical memory data organization, including the memory header format, when there is no user data involved.
It may be desirable to protect portions of the internal memory from write/erase or interrogation (read) operations. The ISD2360 allows this by setting a Protection Memory Pointer (PMP) with which the user can protect an address range from the beginning of memory to the sector containing the PMP pointer.
ISD2360. Once it gets running, the command data in the script will be read from memory and executed by the device. For the ISD2360, VM can be called upon to run either by an SPI command or by a GPIO trigger event.
FINISH Finish the Voice Macro and exit. The GUI software ISD-VPE2360 provided by Nuvoton can be used to generate the VM command scripts for a project. The user can rely on this GUI software to implement all necessary VMs when creating the device image file needed for pre-programming before the device is put into use.
―two‖ when the GPIO1 button is pressed, and so on. How to configure: Create a falling edge when a button is pressed, and let the ISD2360 respond to the button-press event by executing the GPIO trigger associated Voice Macro.
ISD2360 Design Guide In the associated VM, simply play a VP then power down. See Figure 7-2 for detailed configuration information. Figure 7-2 Sample_Project_1 Configuration The following exlpains the POI VM: REG2, 0x44) write 0x44 into reg0x02; enable Decoder and PWM output path;...
ISD2360 Design Guide Once executed, at the end of POI VM, the device will play a sound effect ―FastBeep‖ then power down. As long as there is power applied, all 3 V registers configured in this VM will retain their values except the Path Control Register. This enables the device to continue detecting a falling edge during PD.
ISD2360 Design Guide Figure 7-3 Sample_Project_2 Configuration The following exlpains the POI VM: REG2, 0x44) write 0x44 into reg0x02; enable Decoder and PWM output path; CFG( VOLC, 0x04) write 0x04 into reg0x03; set attenuation at 4*(-0.25)dB value; CFG( ...
Pressing the GPI1 button once starts loop play of a sound effect; pressing the button twice stops the play. This ―play-stop-play-stop‖ pattern repeats. During play, the ISD2360 also drives the GP104 and GP105 LED on and off, as determined by Channel Counter 0. The GPI1 trigger play pattern is replicated on GP102, the volume is increase by pressing the GP100 button and the volume is decreased by pressing the HP104 button.
ISD2360 Design Guide Figure 7-4 Sample_Project_3 Configuration The following exlpains the POI VM: REG2, 0x44) write 0x44 into reg0x02; enable Decoder and PWM output path; CFG( CFG(GPIO_TRIG_CH_SEL_L, 0x24) write 0x24 into reg0x14, assign channel 0 to VM associated with GPIO0;...
That is, for every Voice Prompt or Voice Macro script, the data chunk must be continuous and should not be separated by reserved sections. Thus, the ISD2360 device hardware can successfully fetch data and finish the play for audio operation or VM execution.
Out - MISO). Also, for some transactions requiring data flow control, a RDY/BSYB signal (pin) is available. The ISD2360 supports SPI Mode 3: (1) SCLK must be high when SPI bus is inactive, and (2) data is sampled at the rising edge of SCLK. An SPI transaction begins on the falling edge of SSB and its waveform is illustrated in Figure 8-1.
The INT pin will go low to indicate (1) data overrun/overflow when sending data to the ISD2360; or (2) invalid data from ISD2360. Refer to Figure 8-3 for the timing diagram in which RDY/BSYB is ignored.
ISD2360 Design Guide SPI Commands The ISD2360 provides SPI commands to play audio, query device status, perform digital memory operations and configure the device. Table 8-1 provides a list of all SPI commands and their function descriptions. Table 8-1 SPI Commands Byte 4 …...
ISD2360 Design Guide Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Instructions Op Code DBUF_RDY CH2_BSY CH1_BSY CH0_BSY DIG_BSY ERASE_MEM 0x24 CHIP_ERASE 0x26 CHECKSUM 0xF2 PWR_UP 0x10 PWR_DN 0x12 SET_CLK_CFG 0X34 RD_CLK_CFG...
ISD2360 Design Guide PLAY_VP@Rn – Play Voice Prompt @ Rn 8.4.1.2 PLAY_VP@Rn Host Controller 0xAE Rn[7:0] Byte Sequence: ISD2360 Status Byte Status Byte Description: Play Voice Prompt with Index stored in Rn register Interrupt CMD_ERR if not accepted. CMD_FIN when playback is finished.
ISD2360 Design Guide command will be ignored. If the command is terminated after the command byte is sent, no interrupt will be generated. Once playback is finished a CMD_FIN interrupt will be generated. This command will be ignored when SPI_CMD_CH=3.
Generation: generates the interrupt. This command stops the audio command active on a given channel in the ISD2360. If a PLAY_MSG@, PLAY_VP, EXE_VM or PLAY_SIL command is active, playback is stopped immediately. The STOP command flushes the audio command buffer, so that any command queued in the buffer when a STOP is issued will not be executed.
ISD2360 Design Guide commands include PLAY_VP, PLAY_VP@Rn, PLAY_VP_LP, PLAY_VP_LP@Rn, EXE_VM and EXE_VM@Rn. (3) The SPI_PCM_READ command follows. Multiple SPI_PCM_READ commands can be sent. (4) To finish receiving data, a STOP command is sent and the device will generate a CMD_FIN interrupt.
Description: Query device status. This command queries the ISD2360 device status. For details, see Section 4 Device Status. If the device is powered up, the two status bytes will be repeated for each two dummy bytes sent to the SPI interface. If the device is powered down, only one status byte, 8oh, goes to the SPI interface at the same time the command is sent.
Byte Description: Return ID of ISD2360 This command queries the ISD2360 and returns four bytes to identify the ISD2360 part, the manufacturer, and the size and type of internal memory of the device. The bytes returned are: One byte ISD2360 Family ID, which is 0x05.
OVF_ERR interrupt will be generated. Once the SPI transaction has ended, the ISD2360 will finish the Flash write operation. When this operation is complete, the ISD2360 will generate a WR_FIN interrupt. While the device is actively writing to Flash memory, the CMD_BSY bit will be active.
ISD2360 Design Guide CHIP_ERASE – Erase Entire Memory 8.4.3.4 CHIP_ERASE Host Controller 0x26 0x01 Byte Sequence: ISD2360 Status Byte Status Byte Description: Initiate a mass erase of memory. Interrupt CMD_ERR if the device is busy and cannot accept a command. CMD_FIN when Generation: the erase operation completes.
ISD2360 Design Guide 8.4.4 Device Configuration Commands Six commands are used to configure the ISD2360. These commands are used to set up the clocking regime of the device (including the clock source and setting the master sample rate) and to configure the audio signal path, compression and sample rate. The signal path, compression and sample rate configuration are controlled by 48 bytes of the configuration register.
A standard four-wire Serial Peripheral Interface (SPI) is used for communication between the ISD2360 and the host. The interface consists of an active low slave-select (SSB), a serial clock (SCLK), a data input (Master Out Slave In - MOSI), and a data output (Master In Slave Out - MISO).
ISD2360 Design Guide 10.2 GPIO Trigger Standalone Application The ISD2360 can operate in standalone mode by triggers applied to the device’s six General Purpose Input/Output (GPIO) pins. Voice Prompt and Voice Macro commands facilitate fast programming. VCCD GPIO0/MOSI VCCD 0.01 0.001...
ISD2360 Design Guide 11. Electrical Characteristics 11.1 Operating Conditions Table 11-1 Operating Conditions (Industrial Packaging) Condition Value Operating temperature range (Case temperature) -40° C to +85° C Supply voltage (V +2.4 V to +5.5 V Ground voltage (V Input voltage (V 0 V to 5.5 V...
ISD2360 Design Guide 11.2.3 DC Parameters Parameter SYMBOL typ [1] Max Units Conditions Supply Voltage VSS- 0.3x Input Low Voltage 0.7x Input High Voltage VSS- 0.3x IOL = 1mA Output Low Voltage 0.7x IOH = -1mA Output High Voltage kΩ...
ISD2360 Design Guide Table 11-2 SPI Timing Symbol Description Unit SCLK Cycle Time SCLK High Pulse Width SCKH SCLK Low Pulse Width SCKL Rise Time for All Digital Signals RISE Fall Time for All Digital Signals FALL SSB Falling Edge to first SCLK Falling Edge Setup Time...
ISD2360 Design Guide 12. Package Dimensions The ISD2360 is available in a QFN 32-Lead package, as shown in Figure 12-1 and an SOP 16-Lead package, as shown in Figure 12-2. Figure 12-1 QFN 32-Lead Package Release Date: Nov 20, 2014 - 62 - Revision v1.14...
ISD2360 Design Guide 13. Ordering Information I23XX Y Y I Temperature Duration I: Industrial -40 C to 85 C 60: 64 Seconds * Based on 8 kHz/4-bit ADPCM Lead-Free Y: Green Package Type Y: 32-Lead QFN S: 16-Lead SOP 300 mil...
ISD2360 Design Guide Revision History Version Date Description December 21, 2011 Initial draft July 05, 2012 First release 1.11 August 23, 2012 SOP 16-Lead device: Replaced pin diagram, added pin descriptions. Commercial Parts Operating Conditions removed. Linguistic and format changes.