Alesis Semiconductor
DS3201-0402 12555 Jefferson Blvd., Suite 285
Los Angeles, CA 90066
Phone (310) 301-0780 Fax (310) 306-1551 www.alesis-semi.com
-7-
Control/Status Word 0
Bit # Description
31:30 Reserved. Set to zero.
29:16 B[13:0]: DRAM read data. 1
15:11 Reserved. Set to zero.
10 O: MAC overflow. Self-clears after read. Read
only.
9 P: Self test pass. Read only.
8R: Ready indication. Read/write/test/clear
complete.
7M: DigOut mute in external mode. Resets
to 1.
6Z: DRAM zero. Initiates zeroing cycles until
deasserted. Resets to 0. 2, 3, 4, 5, 6
5X: DRAM zero cancel. Prevents zeroing
circuitry from running until deasserted.
Overrides Z. Resets to 0. 3
4L: LFO reset pulse. Resets LFO internal
status registers and clears overflow flag. Self
clearing. Resets to 0.
3
I: Instruction RAM direct mode. Resets to 1.
1: Instructions are written/read as soon as
received; 0: Instructions are written/read
when the address counter rolls around to
matching address. 7
2 Reserved. Set to zero.
1S[1]: DRAM self test pattern select.
1: Load DRAM with 2AAA/1555 checkerboard;
0: Load DRAM with 1555/2AAA checkerboard.
0S[0]: DRAM self test initiate. Self-clears after
test completion. Resets to 0. 2, 3, 6, 8, 9
Notes:
1. The floating point format used in the DRAM is:
E[2:0].S.F[9:0], where E is the exponent, S is the
sign bit, and F is the fractional portion. The
expansion of the floating point into fixed point is
as follows:
If E<7, S E*S !S FFFFFFFFFF (8-E)*0
(where E*S means E number of S bits).
If E=7, S SSSSSSS FFFFFFFFFF 00.
This method encodes one extra bit for sign
extensions less than 7 bits.
2. The DRAM zeroing circuitry and DRAM self test
circuitry share gates; do not turn more than one
on at a time.
3. The DRAM zeroing cycle will run to completion
even if Z deasserted. Only the X bit may cancel
it mid-cycle. Until the cycle ends, self test
results will be inaccurate. Thus do not deassert
Z and assert S[0] at the same time. Rather,
assert X and S[0] at the same time.
Note that Z does not self-clear, and will affect
both internal and external mode.
4. After a DRAM zeroing cycle has completed, do
not start another for one word clock period.
5. A DRAM zeroing cycle takes approximately
5.33ms to complete with a 12MHz crystal.
6. During DRAM zeroing and test cycles, reads and
writes to the DRAM are ignored.
7. For dynamically changing programs, deassert I
so that changing the program does not interrupt
its execution. Otherwise reads and writes to the
Instruction RAM will usurp the address bus to
the RAM and cause address jumps in the
instruction sequence. With I deasserted, reads
and writes to each address may take up to one
word clock period to complete. Thus during
continuous writes, the start of each instruction
word should be at least one word clock period
apart, and during reads the serial clock should
wait1wordclockaftertheaddressbefore
continuing.
8. The DRAM self test cycle will run to completion
even if S[0] is deasserted. It may not be
cancelled.
9. A DRAM self test cycle takes approximately
10.66ms to complete with a 12MHz crystal.
Control/Status Word 1
Bit # Description
31
R: Read select. Read data from DRAM
address A[15:0] and put data in B of
control/status word 0. Self-clears after
completion.
30 W: Write select. Write data D[13:0] to DRAM
address A[15:0]. Self-clears after completion.
29:16 D[13:0]: DRAM write data.
15:0 A[15:0]: DRAM address. The MSB is unused
and reserved for future expansion.
Note:
Reading and writing DRAM will usurp DRAM access
for one cycle, possibly disrupting proper code
execution.
Other notes:
1. When in internal mode, program changes will
start a DRAM zero cycle.
2. Resets always start a DRAM zero cycle.
3. To meet refresh requirements below 70 °C,
access each address (modulo 1024) every 1.34
ms. If program code does not do this, then (at 48
kHz) read 16 locations each cycle spaced
1024/16 = 64 addresses apart, to meet refresh
requirements. (For instance, addresses 0x0002,
0x0042, ..., 0x03C2.)
4. ROMs may not be read due to the serial interface
becoming the program select interface when in
internal mode.
5. Use of Reset is mandatory to obtain proper
operation of the AL3201.
The 4 word formats: LFO, MAC, CS0, CS1
LFO: PSXXFFFF FFFFFFFF FAAAAAAA AAAAAAAA
MAC: SCCCCCCC CWIIIIII AAAAAAAA AAAAAAAA
CS0: --BBBBBB BBBBBBBB -----OPR MZXLI-SS
CS1: RWDDDDDD DDDDDDDD AAAAAAAA AAAAAAAA