Epson S1C17M20 Technical Manual page 212

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

16 SOUND GENERATOR (SNDA)
Internal trigger signal
Sound buffer
(SNDDAT register)
Sound register
SNDINTF.SBSY
SNDINTF.EMIF
SNDINTF.EDIF
BZOUT/#BZOUT pin
(Melody waveform output)
Melody output waveform configuration
Note/rest (duration) specification
Notes and rests can be specified using the SNDDAT.MDRS and SNDDAT.SLEN[5:0] bits.
Table 16.4.4.1 Note/Rest Specification (when f
SNDDAT.SLEN[5:0] bits
0x0f
0x0b
0x07
0x05
0x03
0x01
0x00
Other
Tie/slur specification
A tie or slur takes effect by setting the SNDDAT.MDTI bit to 1 and the previous note and the current note
are played continuously.
Note
SNDDAT.MDTI
Scale specification
Scales can be specified using the SNDDAT.SFRQ[7:0] bits.
SNDDAT.SFRQ[7:0] bits
0xf8
0xea
0xdd
0xd1
0xc5
0xba
0xaf
0xa5
0x9c
0x93
0x8b
16-8
Writing to the SNDDAT register
Note 1
Note 2
Note 1
Note 1
Software operation
Figure 16.4.4.1 Melody Mode Operation Timing Chart
Dotted quarter note
Quarter note
Dotted eighth note
Sixteenth note
Thirty-second note
0
0
Figure 16.4.4.2 Tie and Slur
Table 16.4.4.2 Scale Specification (when f
Seiko Epson Corporation
Note 3
Note 2
Note n-2
Note 2
Note n-2
CLK_SNDA
SNDDAT.MDRS bit
0: Note
Half note
Eighth note
Setting prohibited
Tie
0
1
= 32,768 Hz)
CLK_SNDA
Scale
C3
C#3
D3
D#3
E3
F3
F#3
G3
G#3
A3
A#3
Note n-1
Note n
Note n-1
Note n
Note n-1
Note n
(When SNDSEL.SINV bit = 0)
= 32,768 Hz)
1: Rest
Half rest
Dotted quarter rest
Quarter rest
Dotted eighth rest
Eighth rest
Sixteenth rest
Thirty-second rest
Slur
0
Frequency [Hz]
131.60
139.44
147.60
156.04
165.49
175.23
186.18
197.40
208.71
221.41
234.06
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents