Command Codes
3-6
further commands after finishing speaking (either in 4-bit or in 8-bit mode). All
commands require at least one nibble of level 1 parameter. There are some
commands that require more than one nibble of level 1 parameter. Some
commands require more than one nibble of level 2 parameter. Some
commands return four nibbles back to the master in response. For example,
a return buffer status (command code 0x7) followed by a level 1 parameter
(0x1 for non-FM buffer) returns four nibbles reporting the number of bytes left
to fill up the buffer back to the master.
See section 3.5, Description of the Command Codes, for a description of each
command.
Table 3–1. Command Codes
Command
Header
Parameters
Level 1 Level 2
Return
Values
Description
Configure Internal Registers
Port
address
Value to
be written
1
N
1
N
2
N
1
N
2
N
3
N
4
None
Write to internal registers for configuration
Set/Clear I/O Ports, PD4 Through PD7
PD4–PD7
2
N
None
None
Upper four bits for port D
(Note: Configuration of port D4–7 as output is required)
Read Contents of I/O Ports
Port
address
Value
3
N
1
N
2
None
N
1
N
2
N
3
N
4
Returns the port value
Start Speaking
4
1
None
None
Speak CELP, MELP, or ADPCM in four-bit data transfer
4
2
None
None
Speak CELP, MELP, or ADPCM in eight-bit data transfer
4
3
None
None
Test mode
4
4
none
None
Play FM (Music) in four-bit mode only
4
5
none
None
Speak mixed mode in four-bit mode only (FM +
CELP/MELP)
4
6
None
None
Speak multiple phrases in mix mode—see the details
under the discussion of the command
4
7
None
None
Play sinewave in test mode at 1 kHz
Stop Speaking
5
1
none
None
Stop speaking all (in mix or nonmix mode)
5
2
None
None
Stop speaking CELP/MELP only in mix mode
5
3
None
None
Stop speaking FM only in mix mode
Note:
Each nibble is sent to the master with DATA4 bit set to 0, indicating that it is a command.
N—Represents one nibble.
N1N2N3N4—Represents four nibbles, with N1 being the first nibble sent and N4 being the 4th nibble sent (MSB and LSB).
The numbers in the box represent the actual value of the nibble sent to the MSP53C691.
Summary of Contents for MSP53C691
Page 1: ...MSP53C691 Speech Synthesizer December 2000 MSDS Speech User s Guide SPSU020 ...
Page 22: ...2 10 ...
Page 96: ...C 6 ...