Nothing Special   »   [go: up one dir, main page]

AL3101 DSP Datasheet

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

We make the parts that set creative people free

General Description Features


The 1KM DSP is a fast, low cost signal Internal regulator allows operation at
processor optimized for signal filtering, 3.3V or 5.0V
equalization and dynamics processing. Internal PLL. User need only supply
Large word size provides easy, accurate WORDCLK at the desired sample rate.
algorithm creation for audio and other 1024 instructions per word clock.
high dynamic range applications. (49.152 MIPS @ 48KHz.)
Single cycle instruction execution
The 1KM operates stand-alone with a Log and anti-log instructions
serial PROM or in conjunction with a host Single cycle calculate and move
microprocessor. The 1KS is identical to the Internal sample and program RAM
1KM except it only supports the serial 4 stereo in/outs
micro-interface. Parallel and serial micro-interface as well
as stand alone operation with serial
PROM.
Strikingly fast.

Applications
Signal compression and expansion. Polyphonic, additive signal generation
Vocoder Logarithmic compression
Surround sound 100 Band stereo EQ
Psycho-acoustic tricks Predictive acoustic non-linearity
Signal mixing and routing compensation
Hey, just think about the possibilities
28

CE R/W
1

IN3 D7
1KM

IN2 D6
16

IN1 D5 IN3 NU
1

1KS

IN0 D4 IN2 NU
AUTO D3 IN1 VDD
GND VDD IN0 BYPASS
SERIALM BYPASS GND CLOCK
WORDCLK D2 WORDCLK DATA
RST D1 OUT0 OUT3
OUT0 D0 OUT1 OUT2
9
8

OUT1 ADDR0 16 pin SOIC


OUT2 ADDR1 300 mils wide
14

15

OUT3 ADDR2

28 pin SOIC
300 mils wide

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
Recommended Operating Conditions and Electrical Characteristics
Symbol Description Condition Min Typ Max Units
Recommended Operating Conditions
VDD Supply Note 1 4.75/3.15 5.0/3.3 5.25/3.45 V
IDD Supply Current Note 2 37/31 mA
GND Ground 0 V
Fs Sample rate 30 48 50 kHz
Temp Temperature 0 70 °C
Inputs (AUTO, SERIALM, ADDR2-0, D7-2, D0) These pins have an internal 30K Ω pull-up
VIH Logical “1” input voltage 2.4 . VDD V
VIL Logical “0” input voltage GND . 0.8 V
VT Logic threshold 1.6 V
IIH Logical “1” input current 2 µA
IIL Logical “0” input current VDD = 5V 167 333 µA
Inputs (CE, RST, R/W) These pins are Schmitt trigger inputs with an internal 30KΩ pull-up
VIH Logical “1” input voltage 2.5 . VDD V
VIL Logical “0” input voltage GND . 0.5 V
VTR Rising logic threshold 2.0 V
VTF Falling logic threshold 1.0 V
IIH Logical “1” input current 2 µA
IIL Logical “0” input current VDD = 5V 167 333 µA
Inputs (D1) This pin has an internal 30KΩ pull down
VIH Logical “1” input voltage 2.4 . VDD V
VIL Logical “0” input voltage GND . 0.5 V
VT Logic threshold 1.6 V
IIH Logical “1” input current VIH = 5V 333 µA
IIL Logical “0” input current 2 µA
Inputs (IN3 - 0)
VIH Logical “1” input voltage 2.4 . VDD V
VIL Logical “0” input voltage GND . 0.8 V
VT Logic threshold 1.6 V
IIH Logical “1” input current VIH = 5V 2 µA
IIL Logical “0” input current 2 µA
Inputs (WORDCLK) This pin is a Schmitt trigger input
VIH Logical “1” input voltage 2.5 . VDD V
VIL Logical “0” input voltage GND . 0.5 V
VTR Rising logic threshold 2.0 V
VTF Falling logic threshold 1.0 V
IIH Logical “1” input current 2 µA
IIL Logical “0” input current 2 µA
Outputs (OUT3-0,D7-0)
VOH Logical “1” output voltage Unloaded VDD V
VOL Logical “0” output voltage Unloaded GND V
IOH Logical “1” output current VDD = 5V -8.0 mA
VO = 4.5V
IOL Logical “0” output current VDD = 5V 8.0 mA
VO = 0.4V

Note 1: If VDD will always be below 3.6V (including the effects of ripple, spikes, etc.) then VDD should be connected to
BYPASS.
Note 2: Tested using AN310106.ASM which uses the AL3101 to its fullest.

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-2-
Pin Descriptions 1KM 28 pin package (* Pullup to VDD via nom 30K ✝ Pulldown to GND via nom. 30K)
Pin # Name Direction Description
1 CE In* Active low chip enable. If low, device is selected.
2 IN3 In Serial input channels 6&7
3 IN2 In Serial input channels 4&5
4 IN1 In Serial input channels 2&3
5 IN0 In Serial input channels 0&1
6 AUTO In* If low, loads code from external serial PROM. If high, enables micro interface.
7 GND In Ground
8 SERIALM In* If low, uses serial micro interface, if high uses parallel micro interface or
PROM
9 WORDCLK In Word clock input, PLL uses this input to derive other signals
10 RST In* Active low reset. If low chip is being reset.
11 OUT0 Out Serial output channels 0&1
12 OUT1 Out Serial output channels 2&3
13 OUT2 Out Serial output channels 4&5
14 OUT3 Out Serial output channels 6&7
15 ADDR2 In* Address bit 2
16 ADDR1 In* Address bit 1
17 ADDR0 In* Address bit 0
18 D0 I/O* Data I/O 0 (Data in serial micro mode)
19 D1 I/O✝ Data I/O 1 (Clock in serial micro mode)
20 D2 I/O* Data I/O 2
21 BYPASS I/O Connect capacitor for internal regulator to this pin. Typ 0.1µF
22 VDD In VDD
23 D3 I/O* Data I/O 3
24 D4 I/O* Data I/O 4
25 D5 I/O* Data I/O 5
26 D6 I/O* Data I/O 6
27 D7 I/O* Data I/O 7
28 R/W In* Read/Write. A low places the chip in write mode, a high in read

Pin Descriptions 1KS 16 pin package (* Pullup to VDD via nom 30K ✝ Pulldown to GND via nom. 30K)
Pin # Name Direction Description
1 IN3 In Serial input channels 6&7
2 IN2 In Serial input channels 4&5
3 IN1 In Serial input channels 2&3
4 IN0 In Serial input channels 0&1
5 GND In Ground
6 WORDCLK In Word clock input, PLL uses this input to derive other signals
7 OUT0 Out Serial output channels 0&1
8 OUT1 Out Serial output channels 2&3
9 OUT2 Out Serial output channels 4&5
10 OUT3 Out Serial output channels 6&7
11 DATA I/O* Serial data to/from host
12 CLOCK In✝ Clock for serial data
13 BYPASS I/O Connect capacitor for internal regulator to this pin. Typ 0.1µF
14 VDD In VDD
15 NU None No internal connection. For future compatibility, do not connect to this pin.
16 NU None No internal connection. For future compatibility, do not connect to this pin.

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-3-
Core Architecture

The 1KM contains the following blocks:

Data/arithmetic/logic unit (DALU)


16 28-bit general purpose registers
1K x 40-bit program memory
1K x 28-bit data memory
Memory control unit
ADC input interface
DAC output interface
Instruction decoding and program control unit
PLL and clock generator
Microprocessor interface
Serial PROM auto-loader
Peak-metering unit
Lots more stuff and a swift instruction set
DALU Condition
R/W Microprocessor
enables and modes
Interface &
/CE memory addresses
Serial PROM memory data
DATA AutoLoader
Peak
meter

WORDCLK PLL and


clock to all
generator blocks
1024 x 28
address address
data memory
1024 x 40
program memory

16 general
purpose
Instruction decoding registers
to all
and Program Control blocks

Memory Control
Unit B register

DALU
condition result

ADC DAC
IN
input output OUT
interface interface

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-4-
ARCHITECTURE OVERVIEW

Data/Arithmetic/Logic Unit Memory Control Unit

The DALU performs all the arithmetic and To automatically implement circular
logical operations on the data in the 1KM. addressing, the effective address of a
All instructions are executed in one clock memory location is calculated by adding the
cycle. The DALU is a fixed-point unit using address portion of the instruction to a
a sign-integer-fraction format. In general, counter that decrements once each sample
this format is S3.X where 'S' indicates the period. (This offset is not added to the
sign bit, '3' is the number of integer bits and addresses which access the ADC input, DAC
'X' is the number of fractional bits. 'X' will output or the 16 general purpose registers.)
depend on the instruction being executed. If This counter is synchronized with the ADC
the instruction uses less than the number of inputs, DAC outputs and program counter
available bits then the most significant bits such that it decrements after execution of
are used. If the instruction uses more than instruction 1023 and before execution of
the number of available bits then the instruction 0. This feature may be turned off
number is 0 padded in its LSBs. The DALU if desired (Control Word 1 bit 1).
consists of:
ADC Input Interface
28-bit x 22-bit multiplier producing a
28-bit result. The 28-bit number is in a ADC and DAC data rates are 64 times the
S3.24 (sign bit, 3 integer bits and 24 WORDCLK frequency. ADC data is read into
fractional bits) and the 22-bit number is the 24 LSB's and sign extended into the
in a S3.18 format. integer and sign bits to create a 28-bit
A 28-bit accumulator in S3.24 format number. This results in the ADC having an
A 28-bit register (B) in S3.24 format that effective range of +0.5 to -0.5. As an
the accumulator may be copied to example, a full scale negative 24-bit ADC
16 28-bit general purpose registers in input of $800000 would become $F800000,
S3.24 format which in the S3.24 format is equivalent to
-0.5. The ADC inputs are read from
ADC input registers
addresses $410 - $417.
DAC output registers
It is also possible to directly read the input
Program Memory pins IN0 - IN3 (pins 2-5). Reading address
$419 will read IN3 - IN0 into bits 23-20 (just
The program memory is continuously cycled below the binary point). This allows the user
through the 1024 instructions. The to use these pins as flags within a program.
instruction execution is synchronized with
the ADC inputs and DAC outputs such that
a new sample is received after instruction
1023 is executed and before instruction 0 is
executed.

Data Memory
Data memory is in the S3.24 format. The
data memory is mapped in the range of
0 - $3FF of the internal memory map.

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-5-
DAC Output Interface
Serial PROM Autoloader
DAC outputs are taken as the 24-LSB's of (1KM Only)
the number written to them. This aligns the
DAC out with the ADC in. The MSB's are If the AUTO pin (pin 6) is low at power on,
checked to verify they are all the same as the serial PROM autoloader is enabled and
the sign bit. If not, the value is limited as the 1KM loads its program information from
maximum negative or positive depending on the serial PROM. The SERIALM pin (pin 8)
the sign bit prior to being written to the DAC must be high.
register. The DAC outputs are written to
addresses $410 - $417. Though these Microprocessor Interface
addresses are the same as for the ADC, they (1KM Only)
are separate registers and will not overwrite
the ADC values. There are two microprocessor interface
formats depending on the state of the
It is also possible to directly drive the serial SERIALM pin (pin 8). If SERIALM is low, the
output pins OUT0 - OUT3. By writing to the 1KM uses the serial microprocessor interface
range $421-$42F, bits 23-20 of the data can as described in Serial Micro Interface. If
be placed on the pins. Which pins are high, the 1KM uses the parallel
written to are controlled by the 4 LSB's of microprocessor interface. The AUTO pin (pin
the address. If bit 0 of the address is set (i.e. 6) must be high.
address $421), OUT0 will reflect the data
from bit 20, the remaining outputs will Function Pin 6 Pin 8
operate in the normal serial output mode. If Reserved 0 0
bits 1 and 2 of the address were set (i.e. Autoload – serial EEPROM 0 1
address $426), OUT1 would reflect data from
Serial µP interface 1 0
bit 21 and OUT2 would reflect data from bit
Parallel µP Interface 1 1
22, OUT0 and OUT3 would continue to
operate in their current mode. Once a pin is
directly written to, it will stay in this direct
write mode until it is written to as a serial
output by writing to the range $410-$417. PLL and Clock Generator
Addr. Outputs Bits The built-in PLL generates all necessary
$421 OUT0 20 clocks from WORDCLK. This minimizes the
$422 OUT1 21 external component count and lowers
$423 OUT1, OUT0 21,20 interconnection bandwidth, reducing EMI.
$424 OUT2 22
$425 OUT2, OUT0 22,20
$426 OUT2, OUT1 22,21
$427 OUT2, OUT1, OUT0 22,21,20
$428 OUT3 23
$429 OUT3, OUT0 23,20
$42A OUT3, OUT1 23,21
$42B OUT3, OUT1, OUT0 23,21,20
$42C OUT3, OUT2 23,22
$42D OUT3, OUT2, OUT0 23,22,20
$42E OUT3, OUT2, OUT1 23,22,21
$42F ALL 23-20

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-6-
The result $FC is a special value indicating
that the value being read is the largest
Peak-Metering Unit possible number that can be expressed in 16
bits. You may consider it an indication that
Each sample period the peak-metering unit the number in question is either clipped or
tests the 16 most significant bits of the on the verge of clipping.
serial inputs and outputs, and saves the
highest peak absolute value since the last
reading of the meter.

The scale of the reading approximates a


logarithm. The scale is 2 units per decibel
with a maximum value of $FC. The following
table shows the relationship between the
ADC or DAC absolute value and the peak The peak meter circuit approximates
meter result returned. Very small values absolute value by taking the ones
deviate from a true log (as shown below), but complement of negative numbers. From that
above $000008 the log conformance is good. absolute value, shifting and table lookup
determine the reading. The following table
illustrates the results for very small and very
ADC/DAC Value Peak meter result large inputs. In the range $000020 to
$000000 $00 $7FFEFF the peak meter reading is
$000001 $02 determined exactly by calculating the sum
$000002 $04 $24 + (12*S) + L. S is the number of bits
$000003 $05 that the leading one is further left than
$000004 $07 $000020. (For example, S is 5 for $000400.)
$000005 $08 L is the value from the table lookup, which
$000006 $09 is indexed by the 5 bits to the right of the
$000007 $0B leading one.
$000008 $0C
…………. … Lower limit Upper limit Result L
$000010 $18 00000 00001 $0
………… … 00010 00011 $1
$6BFFFF $F8 00100 00101 $2
$75FFFF $F9 00110 00111 $3
$7FFE00 $FB 01000 01010 $4
$7FFF00 $FC 01011 01100 $5
01101 01111 $6
When a meter is read, it is automatically 10000 10010 $7
cleared so that new peak values can be 10011 10101 $8
accumulated. 10110 11000 $9
11001 11011 $A
11100 11111 $B

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-7-
MEMORY MAPS
Parallel Microprocessor Interface Memory Map (1KM Only)
The 1KM allows read and write access to the internal instruction RAM, sample memory and
general purpose registers. In addition, there are peak meters on all 8 input and output channels
that may be read, control registers that may be written to and a status register that may be read.
Selection of the data to be read or written is done through a combination of address and settings
in the control words.

Reads
Address Description
A2 A1 A0
0 0 0 Data LSB (Least Significant Byte)
0 0 1 Data
0 1 0 Data
0 1 1 Data
1 0 0 Data MSB (Most Significant Byte)
1 0 1 Reserved
1 1 0 Reserved
1 1 1 Status Word

Writes
Address Description
A2 A1 A0
0 0 0 Data LSB (Least Significant Byte)
0 0 1 Data
0 1 0 Data
0 1 1 Data
1 0 0 Data MSB (Most Significant Byte)
1 0 1 Target address LSB
1 1 0 Target address MSB see “Note on Address MSB”
1 1 1 Control Words

Note on Address MSB


In RAM access mode, the format of “Address MSB” is:
Bit # Description
0 Address bit 8
1 Address bit 9
3,2 Select RAM to write to: 00: Instruction RAM, 01:Reserved, 10: Sample
RAM, 11:Direct access memory and serial I/O
4 0: Execute a write, 1: Execute a read
5 0: Execute access on instruction 1023, 1: Execute access immediately.
NOTE: An immediate access to sample RAM or serial I/O can corrupt the
memory if the 1KM is executing an access to memory at the same time.
The safest way to do this is to make instruction 1023 an instruction that
does no access to memory or any of the serial I/O and set this bit to 0. If
immediate access is required, then the external device accessing the 1KM
should monitor the WORDCLK signal. The device can then determine the
instruction being executed and determine if it is safe to access the
memory. Writes (but not reads) to general purpose registers are also
subject to this restriction.
6 Test, always write 1
7 Always write 1

When the Target address MSB is written to address 6, the data written to addresses 0-4 is
written to the target address. Note that Target address MSB has bits in it that define which
internal memory is being written to/read from, the style, etc.
Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-8-
Control Words
Both control words are at address 7. Bit 7 indicates which control word is being written.

Control Word 0
Bit # Description
0 ADC/DAC select (0 default) see next table
1 ADC/DAC select (0 default) see next table
2 0: Mute serial inputs,1: Enable serial inputs (0 default)
3 0: Mute OUT0, 1: Enable OUT0 (0 default)
4 0: Mute OUT1, 1: Enable OUT1 (0 default)
5 0: Mute OUT2, 1: Enable OUT2 (0 default)
6 0: Mute OUT3, 1: Enable OUT3 (0 default)
7 0: selects control word 0

ADC/DAC select in Control Word 0, bits 1-0


Bits1:0 Description
0 16 bit, ADC left justified, DAC right justified
1 20 bit, ADC left justified, DAC right justified
2 20 bit, ADC and DAC left justified
3 24 bit, ADC and DAC left justified

Control Word 1
Bit # Description
0 Reserved, always write 0 (0 default)
1 0: Enable, 1: Disable memory offset counter (1 default)
2 0: Truncate MAC results, 1: Round MAC results (0 default)
3 0: Normal word clock, 1: Invert word clock (0 default)
4 0: Read input peak meters, 1: Read output peak meters (0 default)
5 0: Read peaks, 1: Read status and ram (0 default)
6 0: Enable, 1: Disable writing to memory under program control (1 default)
7 1: selects control word 1

Status Word
Bit # Description
0 1: Memory access pending, 0: Memory access complete
1 1: Inputs are muted
2 1: OUT0 is muted
3 1: OUT1 is muted
4 1: OUT2 is muted
5 1: OUT3 is muted
6 1: An overflow occurred in the MAC
7 1: An overflow occurred in the DAC outs and output was clipped
MAC overflows are clipped except on integer instructions

Instruction/RAM/Status register access


To enable reading from this area, set bit 5 of control word 1 to “1”. Writes may be done
independent of the setting of that bit. All data is LSB aligned. Note that “Data” reads and writes
use 5 bytes to contain all 40 bits of an instruction word. When non-instruction “Data” words are
accessed, only 28 bits are used, so all of address 100 and the upper half of address 011 are zero.

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-9-
Peak Reading: Input
To set this mode to read peak registers set bit 5 of control word 1 to “0” and set bit 4 of control
word 1 to “0”.

Reads
Address Description
A2 A1 A0
0 0 0 Read channel 0 input peak register
0 0 1 Read channel 1 input peak register
0 1 0 Read channel 2 input peak register
0 1 1 Read channel 3 input peak register
1 0 0 Read channel 4 input peak register
1 0 1 Read channel 5 input peak register
1 1 0 Read channel 6 input peak register
1 1 1 Read channel 7 input peak register

Peak Reading: Output


To set this mode to read output peak registers set bit 5 of control word 1 to “0” and set bit 4 of
control word 1 to “1”.

Reads
Address Description
A2 A1 A0
0 0 0 Read channel 0 output peak register
0 0 1 Read channel 1 output peak register
0 1 0 Read channel 2 output peak register
0 1 1 Read channel 3 output peak register
1 0 0 Read channel 4 output peak register
1 0 1 Read channel 5 output peak register
1 1 0 Read channel 6 output peak register
1 1 1 Read channel 7 output peak register

Serial Microprocessor Interface Memory Map (1KM and 1KS)


Writes
Address Description
000H – 3FFH Instruction RAM
400H Control Word 0
401H Control Word 1
800H – BFFH Data RAM
C00H – C0FH General purpose registers

Reads
Address Description
000H – 3FFH Instruction RAM
407H Status register
500H – 50FH Peak registers
800H – BFFH Data RAM
C00H – C0FH General purpose registers

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 10 -
Internal Program Memory Map
Address Description
$0 - $3FF Sample (Data) memory
$400 - $40F Direct access memory
$410 - $417 Serial I/O
$418 LOG16 field extract – READ ONLY
$419 Direct input – READ ONLY
$41B Null output – WRITE ONLY
$421 - $42F Direct output – WRITE ONLY

Addresses in the range of $0 - $3FF are Serial micro interface: the host micro
calculated by taking the address and adding communicates to the 1KM in a special serial
it to a counter that is auto-decremented format. To select this interface, set pin 6
every sample period. high and pin 8 low. See “Serial Micro
Interface” for an explanation of the format.
Addresses in the range $400 and up are not 1KS uses this method only.
added to the address counter.
Auto load interface: In this mode, the 1KM
Reads from addresses $410-$417 read the will operate without a host micro and on
serial inputs, writes write to the serial power-up automatically load its code from a
outputs. serial EEPROM. To select this mode, set
pins 6 low and 8 high. See section
“Autoload Interface” for an explanation of
METHODS OF CONTROLLING THE the format. This method is not available in
1KM the 1KS.

The 1KM DSP has 3 interface methods by Parallel Micro Interface


which external devices may control it. The
1KS only supports the serial micro interface. The parallel micro interface is conventional.
The R/W and address pins must be set up
Parallel interface: Standard 8-bit micro before the CE pin pulses low, and held until
interface. To select this interface, set pins 6 after CE is high again. During writes (R/W
and 8 high. See “Parallel Micro Interface” low) data must be stable around the rising
for an explanation. Not available in 1KS. edge of CE. During reads, data becomes
stable shortly after CE falls and remains
valid until shortly after CE rises.
5ns min 6ns min

ADDRESS
5ns min 6ns min note:
CE width min =
R/W read cycle DATA valid after CE falls max =

CE
note
( WORDCLK cycle
1024
+ 32 ns )
5ns min 6ns min (52ns with 48 kHz WORDCLK)
write cycle
DATA
note
read cycle
DATA 1ns min
1ns min
10ns max

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 11 -
Serial Micro Interface
interface control access to peak metering,
have no effect with the serial interface.
Memory Map
The “Last” data access function is required
Write for reads and writes to the data ram and
Address Description writes to the general purpose registers.
When using the “Last” data access function
000H – 3FFH Instruction RAM
for reads, the microprocessor driving the 1K
400H Control Word 0 must pause after sending the last address
bit clock. Clocking to receive the data read
401H Control Word 1
must not resume until after instruction
800H – BFFH Data RAM 1023 is executed. This delay may be
achieved by waiting one full sample period,
C00H – C0FH General purpose registers
or waiting until the 1K’s internal word clock
rises. (If Control Word 1 bit 3 is low, the
Read internal word clock follows the external
Address Description WORDCLK. If the bit is high, the internal
word clock is the inversion of the external
000H – 3FFH Instruction RAM WORDCLK.)
407H Status register
The reason for using the “Last” data access
500H – 50FH Peak registers function is that the microprocessor data
800H – BFFH Data RAM memory read/write function shares timing
with the internal use of the data memory. If
C00H – C0FH General purpose registers access is immediate and unsynchronized, it
may coincide with data access by the 1K’s
own program, resulting in corrupted data.
Control Word 1 differs from the Parallel By using the “Last” function, and making
Micro Interface by having one more bit. Bit 7 sure that instruction 1023 does not read or
controls the Immediate/Last data access write data memory, the access occurs during
function. Set to one, accesses are immediate instruction 1023 without disturbing the 1K’s
(not recommended). Set to zero, accesses are processing.
delayed until the last instruction execution
time. Bits 4 and 5, which with the parallel

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 12 -
Serial Micro Interface Format and Timing

Format for serial interface:


ATTN SEL* R*/W A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 DN DN-1 DN-2 ... D2 D1 D0 ATTN DESEL

ATTN: A low to high to low is used as attention or start signal In write mode only
Sel: 0=Select, 1=Deselect
R*/W: 0=Read, 1=Write
A11 - A0: Address
D7 - D0: Data

Notes:
1. There is a period of High-Z during a read between A0 and first data bit shifted out. When
the "Last" function is in use, the clock for the first data bit must be delayed until after
instruction 1023.
2. As long as data is being sent during a write, the address will be automatically incremented so
only a start address need be sent.
3. Clock phase is not important.

Clock

Read
A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 DN DN-1 DN-2 D2 D1 D0
Data
ATTN Read
Select High-Z No deselect needed in read

Write
A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 DN DN-1 DN-2 D2 D1 D0
Data
ATTN Write ATTN
Select Deselect

Write Timing Read Timing


60nS min 60nS min

Clock Clock
20nS min 40nS min 5nS max
Data (In) Data (Out)

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 13 -
Autoload Interface
Program information and control words can Order of events during autoload
be loaded from a serial “configuration
EEPROM” such as the ATMEL AT17C65. A The /AUTO and /RST pins must be held low
capacity of 1024 words x 5 bytes + 2 control while power supplies stabilize; /SERIALM
bytes = 5122 bytes or 40976 bits is required. must be high. After circuits external to the
The first bit from the EEPROM is the most 1KM drive /RST high, the 1KM waits 1024
significant bit of the first instruction WORDCLK periods. For each of the next
(program address 0) of the 1KM. The second 1024 WORDCLK periods, the 1KM produces
bit from the EEPROM is the 2nd most forty 160 ns pulses spaced 160 ns apart
significant bit of the first instruction word, (320 ns period) on pin 19 (D1). At each
and so forth. The 41st bit from the EEPROM rising edge one bit is accepted on pin 18
is the MS bit of the second instruction of the (D0). The first forty pulses load instruction
1KM. This pattern continues until 40960 address 0, the next forty instruction address
bits are used, the 40960th bit is the least 1, and so forth. The MSB is loaded first.
significant bit of the last word in the 1KM’s Sixteen more pulses are produced, loading
instruction memory. The next 8 bits fill Control Word 0 and Control Word 1, both
Control Word 0 of the 1KM, most significant MSB first.
bit first; the following 8 bits fill Control Word
1. Any other bits in the EEPROM are The loaded program runs for 1024
ignored. WORDCLK periods with Serial I/O muted,
then Serial I/O is unmuted (if control bits
allow).

CE
5v 1 28
2
1KM 27
3 26
4 25
5 24
6 23 5v
7 22
5v
8 21
WORDCLK 9 20 AT17C65
19 DATA
10 1 8
CLOCK
11 18 2 7
12 17 RESET 3 6
13 16 4 5
14 15

RESET

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 14 -
Package Dimensions

AL3101 - 28-pin Dimensions (Typ)


Inches Millimeters
A 0.705" 17.90
28 15
B 0.297" 7.54
C 0.406" 10.32
C B D 0.090" 2.28
E 0.008" 0.02
1 14
F 0.030" 0.76
G 0.050" 1.27
H 0.017" 0.40
J 0.011" 0.27
A K 0.329" 8.33
L 0.033" 0.83

7° nom
K

D 4° nom

E H J L
G
F

Dimensions (Typ)
AL3102 - 16-pin Inches Millimeters
A 0.402" 10.21
B 0.297" 7.54
16 9 C 0.406" 10.32
D 0.090" 2.28
C B E 0.008" 0.02
F 0.030" 0.76
1 8
G 0.050" 1.27
H 0.017" 0.40
J 0.011" 0.27
K 0.329" 8.33
A L 0.033" 0.83

7° nom
K

D 4° nom

E H J L
G
F

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 15 -
NOTICE

Alesis Semiconductor reserves the right to make changes to their products or to discontinue any
product or service without notice. All products are sold subject to terms and conditions of sale
supplied at the time of order acknowledgement. Alesis Semiconductor assumes no responsibility
for the use of any circuits described herein, conveys no license under any patent or other right,
and makes no representation that the circuits are free of patent infringement. Information
contained herein is only for illustration purposes and may vary depending upon a user’s specific
application. While the information in this publication has been carefully checked, no
responsibility is assumed for inaccuracies.

Alesis Semiconductor products are not designed for use in applications which involve potential
risks of death, personal injury, or severe property or environmental damage or life support
applications where the failure or malfunction of the product can reasonably be expected to cause
failure of the life support system or to significantly affect its safety or effectiveness.

All trademarks and registered trademarks are property of their respective owners.

Contact Information:

Alesis Semiconductor
12509 Beatrice Street
Los Angeles, CA 90066
Phone: (310) 301-0780
Fax: (310) 306-1551

Email: sales@alesis-semi.com

Copyright 2000 Alesis Semiconductor


Datasheet December 2000

Reproduction, in part or in whole, without the prior written consent of Alesis


Semiconductor is prohibited.

Alesis Semiconductor
DS3101&2-1200 12509 Beatrice Street
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
- 16 -

You might also like