Alesis Semic onductor
DS3201-0 802 12555 Jeffer son Blvd. , Suit e 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 Re served. Set to zer o.
29:16 B[1 3: 0] : DRAM r e ad data. 1
15:11 Re served. Set to zer o.
10 O: MAC overflow. Self-clears after read. Read
only.
9 P: Self test pass. Read only.
8 R: Ready indication. Read/write/test/clear
complete.
7 M: DigOut mute in external mode. Resets
to 1.
6 Z: DRAM zero. Initiates zeroing cycles until
deasserted. Resets to 0. 2, 3, 4, 5, 6
5 X: DRAM zero cancel. Prevents zeroing
circuitry from running until deasserted.
Overrides Z. Resets to 0. 3
4 L: LFO reset pulse. Resets LFO internal
status registers and clears overflow flag. Self
clearing. Resets to 0.
3
I: Instr uction R AM direct mo d e. R esets t o 1.
1: Instructions are written/read as soon as
received; 0: In st r uct ions are writ t en/read
when the address count er rolls aroun d to
matching address. 7
2 Reserved. Set to zero.
1 S[1]: DRAM self test pattern select.
1: Load DRAM with 2AAA/1555 checkerboard;
0: Load DRAM with 1555/2AAA checkerboard.
0 S[0]: DRAM s elf t est 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
expans ion of the floa ting point into fixe d point is
as follows:
If E< 7, S E*S !S FFFFFF FFFF (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
extensi on s less than 7 bit s.
2. The DRAM zeroing circuitry and DRAM self test
circui try share gates; do not turn more tha n 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 an d S [0] at t he 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 t he D RA M are ig no red.
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
wait 1 word clock after the address before
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.66 m s t o complete with a 12 MHz cr y st a l.
Control/Status Word 1
Bit # Description
31
R: Read select. Read data from DRAM
addr ess A[15:0] an d p ut dat a in B of
control/st atus wor d 0. S elf- clears after
completion.
30 W: Writ e select. Write data D[13:0] to DRAM
addr ess A[1 5: 0]. Self-clears af ter c ompletion.
29:16 D[1 3: 0] : DRAM write da t a .
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 require ments below 70
°C, access each address (modulo 1024)
every 1.34 ms. If program code doesn't
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 w hen in int er n al mod e.
5. Use of Reset is mandatory to obtain
proper o per ation of t h e AL3201.
The 4 word formats: L F O , MAC, CS0, CS1
LFO: PSXXFFFF FFFFFFFF FAAAAAAA AAAAAAAA
MAC: SCCCCCCC CWIIIIII AAAAAAAA AAAAAAAA
CS0: --BBBBBB BBBBBBBB -----OPR MZXLI-SS
CS1: RWDDDDDD DDDDDDDD AAAAAAAA AAAAAAAA