Sound Generator (Snda); Overview - Epson S1C17W22 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

16 Sound Generator (SNDA)

16.1 Overview

SNDA is a sound generator that generates melodies and buzzer signals. The features of the SNDA are listed below.
• Sound output mode is selectable from three types.
1. Normal buzzer mode (for normal buzzer output of which the output duration is controlled via software)
- Output frequency:
- Duty ratio:
2. One-shot buzzer mode (for short buzzer output such as a clicking sound)
- Output frequency:
- Duty ratio:
- One-shot output duration: Can be set within the range of 15.6 ms to 250 ms. (16 types)
3. Melody mode (for playing single note melody)
- Pitch:
- Duration:
- Tempo:
- Other:
• A piezoelectric buzzer can be driven with the inverted and non-inverted output pins.
• Can control the non-inverted output pin status while sound stops.
Figure 16.1.1 shows the SNDA configuration.
Clock generator
Interrupt
controller
S1C17W22/W23 TECHNICAL MANUAL
(Rev. 1.3)
Can be set within the range of 512 Hz to 16,384 Hz.
Can be set within the range of 0 % to 100 %.
Can be set within the range of 512 Hz to 16,384 Hz.
Can be set within the range of 0 % to 100 %.
Can be set within the range of 128 Hz to 16,384 Hz.
(Scale: 3 octave from C3 to C6 with reference to A4 = 443 Hz)
Can be set within the range of half note/rest to thirty-second note/rest. (7 types)
Can be set within the range of 30 to 480. (16 types)
Tie can be specified (slur is not supported).
SNDA
CLK_SNDA
(SNDDAT register)
CLKSRC[1:0]
CLKDIV[2:0]
DBRUN
MODEN
Sound register
Sound generation
SINV
Output control circuit
SSTP
Interrupt control
EMIE
EDIE
Figure 16.1.1 SNDA Configuration
Seiko Epson Corporation
Sound buffer
SBSY
MOSEL[1:0]
STIM[3:0]
circuit
circuit
EMIF
EDIF
16 SOUND GENERATOR (SNDA)
BZOUT
#BZOUT
16-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17w23

Table of Contents