English
Language : 

80-0208-B Datasheet, PDF (3/13 Pages) List of Unclassifed Manufacturers – Speech And Music Processor
Data Sheet
SC-604
Functional Description
The SC-604 is a member of the SC-6x family, which is based on the SC-614 core. For specific details about the
core operations, instruction sets, register definitions, port configuration, etc., consult the SC-614 User’s Guide
(80-0212).
The SC-604 can be used as a slave synthesizer in slave mode or can operate stand-alone in master mode. The
slave mode activates logic circuitry internal to the device that gives the device a dedicated slave interface. The
slave or master mode is controlled by the bit 0 of the Port G (PG0). By default the device initially starts in slave
mode. To change to master mode write a 0x01 to G port 0 (0x2C). To change back to slave mode write a 0x00
to port G bit 0 (0x2C).
Master Mode
In master mode, the slave logic circuitry is disabled and SC-604has 16 general-purpose I/Os. These 16
input/output pins are organized as 2-byte-wide ports (C and D), initialized as inputs. Each of the pins can be
configured as a totem-pole output or as a high-impedance input by setting or clearing the appropriate bit in the
appropriate control register (0x14, 0x1C). When configured as an output, the data driven by the output pin can
be controlled by setting or clearing the appropriate bit in the appropriate data register (0x10, 0x18). Whether
configured as input or as output, reading the data port reads the actual state of the pin.
External interrupts can be caused by transitions on pins PD2, PD3, PD4, and PD5 in the master mode. These
interrupts are supported whether the pins are programmed as inputs or outputs.
Slave Mode
In slave mode, the slave logic circuitry is enabled allowing the device to have a dedicated slave interface. In this
mode, only four pins of port D (PD4–PD7) are available as general-purpose I/O while the remaining pins (PD0–
PD3) are redefined as INRDY, OUTRDY, STROBE and R/W. These pins are used to operate the slave
interface. The SC-604controls the INRDY and OUTRDY pins to let the external microcontroller know when the
slave is ready to accept or transmit data. The external microcontroller controls the R/W and STROBE pins of
SC-604to sequence the read/write data flow. Each read or write sequence generates an interrupt that needs to
be serviced by an interrupt service routine. These interrupt service routines need to be written by the code
developer. The INT3 interrupt service routine indicates that the host has completed the write sequence, and the
slave should read the data from port A. The INT4 interrupt service routine indicates the host has completed the
read sequence. An interrupt is not generated when a read/write is done on port G bit 0 (PG0).
The slave interface consists of:
8-bit bidirectional data bus (PC0–PC7)
2 status outputs: INRDY/PD0, and OUTRDY/PD1
2 control inputs: STROBE/PD2, and R/W/PD3
4 general-purpose I/Os (PD4–PD7)
Port C is used as an 8-bit bidirectional data bus. When data is to be sent to the host, it needs to be written to
port C data register (0x10). When data is read from the host, it needs to be read from port A data register
(0x00). Port A pins are not physically brought outside the device but are internally connected with the pins of
port C.
System Initialization Sequence In The Slave Mode
Initialize the host processor first.
The host must hold the slave RESET pin low until the slave STROBE pin can be held high by the host
throughout the slave initialization process.
The INRDY and OUTRDY pins are set high by the slave on the rising edge of the slave RESET pin.
Slave Mode Software Initialization
Write 0x00 to port A (0x00), port C (0x10), port D (0x18) data registers.
Configure the port C (PC0–PC7), port D0, and port D1 as output ports. (Write 0xFF to port C (0x14) and
0x03 to port D (0x1C) control registers)
© 2002 Sensory Inc.
P/N 80-0208-B
3