CHAPTER 18:Sound Generator
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
423
3.6.
Continuous Operation of Sound Generator by MCU
This section shows the continuous operation flow of the Sound Generator by MCU.
The flow from (7) is different from that of the single operation.
Figure
3
-
8 Continuous Operation of Sound Generator by MCU
External Sound
Output
SG
RAM
DMAC
MCU
Sound Control Register (SGCR)
Start
(3)
Amplitude Data Register (SGAR)
Frequency Data Register (SGFR)
Tone Output Number Register (SGNR
Time Cycle Register (SGTCR)
Increase and Decrease Data Register (SGIDR)
PWM Cycle Data Register (SGPCR)
(2) *1
SGO, SGA output #1
∬
∬
∬
∬
∬
SGO, SGA output #n
:
:
Interrupt
Sound Control Register (SGCR)
Stop
(4)
(5)
(6)
(12)
Amplitude Data Register (SGAR)
Frequency Data Register (SGFR)
Tone Output Number Register (SGNR
Time Cycle Register (SGTCR)
Increase and Decrease Data Register (SGIDR)
PWM Cycle Data Register (SGPCR)
(7) *1
SGO, SGA output
#n+1
∬
∬
∬
∬
∬
SGO, SGA output
#n+m
:
:
(8)
Interrupt
Amplitude Data Register (SGAR)
Frequency Data Register (SGFR)
Tone Output Number Register (SGNR
Time Cycle Register (SGTCR)
Increase and Decrease Data Register (SGIDR)
PWM Cycle Data Register (SGPCR)
SGO, SGA output
#n+1
∬
∬
∬
∬
∬
:
:
(9)
(11)
(10)
Interrupt
Within
(Frequency Data [SGFR] +1)
x 1 PWM cycle
Within
(Frequency Data [SGFR] +1)
x 1 PWM cycle
*1
Sound Control Register (SGCR)
- Setting and enabling of increase/decrease
- Enabling prescaler, tone and interrupt
Interrupt Clear Register (SGCCR)
- Initializing interrupt
Interrupt Clear Register (SGCCR)
- Clearing interrupt
Interrupt Clear Register (SGCCR)
- Clearing interrupt
Interrupt Clear Register (SGCCR)
- Clearing interrupt
Interrupt Clear Register (SGCCR)
- Clearing interrupt
(1)
Summary of Contents for S6J3200 Series
Page 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Page 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Page 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Page 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Page 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...